Is there any way to have the feed of a forum not readable from global, but to registered users only?
When I add username and password to my feed reader it can't retrieve them
Syndication extension (RSS & Atom feeds)
Is there any way to show discussions from multiple tags in one feed?
It's really weird that some sort of RSS is not included into the core .
ZaKeks It's really weird that some sort of RSS is not included into the core
.
It is the philosophy of this software to keep the core as lean as possible. And since a forum is possible without feeds, why should any forum owner be forced to carry this functionality around with them when they don't need it?
hope an udpate will come
I've made some small modifications and made it work for beta.15. I haven't tested it on beta.14, but it should work.
Hopefully the pull request will be merged soon. You can probably use the git repository before that.
Flarum 0.1.0-beta.15
PHP 7.3.10-1+0~20191008.45+debian9~1.gbp365209
flarum-ext-syndication v0.3.1
/atom/discussions
generates https://www.linuxmint.com.ua/d/463-463-reliz-distributiva-linux-mint-201/1/1 instead https://www.linuxmint.com.ua/d/463-reliz-distributiva-linux-mint-201
sizonov_stas fix is here
In order to use the syndication fork in your flarum instance at the time of writing this:
There is no version tags yet, so edit your composer.json
and in the "require"
section, use "dev-master"
instead, e.g.:
"amaurycarrade/flarum-ext-syndication": "dev-master",
And because it is not in packagist currently, you need to add the git repository to override the packagist one just for it. This won't affect other dependencies which will continue using packagist:
"repositories": [{
"type": "vcs",
"url": "https://github.com/GuDzpoz/flarum-ext-syndication"
}],
- Edited
Ffuser1 you need to edit the composer.json file from your root flarum installation and add those lines as mentioned. Once done, run from the command line composer update
or php composer.phar update
from that directory, then it should work from the paths mentioned in the first post. I'm assuming php-cli
and composer
are installed in your host, which is commonly required when installing or updating Flarum.
Another way to do this, maybe simpler and safer for you, from the same working directory as a the composer.json
file, you can do the same as explained in my previous post just by executing the following two composer commands from the command line:
composer config repositories.syndication vcs https://github.com/GuDzpoz/flarum-ext-syndication
composer require amaurycarrade/flarum-ext-syndication:dev-master
Ffuser1 as explained above, adding this repository will keep the main repository (packagist .org) working. Only packages in that github repository (there is only one package there) will be overriden with the specific version.
I recommend a backup of your composer.json before proceeding, as usual in these cases.
- Edited
https://www.kobocity.com/atom/d gives error while https://www.kobocity.com/atom works just fine.
Error message is:
[2021-02-28 15:31:09] flarum.ERROR: Error: Call to undefined function AmauryCarrade\FlarumFeeds\Controller\starts_with() in /home/mysite1/flarum/vendor/amaurycarrade/flarum-ext-syndication/src/Controller/RedirectsController.php:59
Ffuser1 the correct link is supposed to be https://www.kobocity.com/atom/discussions so I edited the file Listerner/addClientLinks.php, changed line 73 from atom/d to atom/discussions and the correct link is inserted into the web page now.
One bug left: open settings in Admin is not opening.
Ffuser1 this extension uses the starts_with
method which was removed in Flarum beta 14.
Between that and the other issues I see reported on GitHub, I'm going to mark this extension as incompatible.
It seems like it's been a while since the last update by the author.
I see there has been some talk about a fork above. If someone wants to take on the maintenance of a forked version, please create a dedicated discussion under the Extensions tag so we can stay organized.