Skip to content

imorland/syndication

 
 

Repository files navigation

MIT license Latest Stable Version Total Downloads Compatibility

Syndication for Flarum

Brings RSS and Atom feeds to Flarum.

Based on amaurycarrade/flarum-ext-syndication, seemingly now abandoned. This fork, and the changes required to bring this extension back to life were sponsored by 010101

Compatible with Flarum v1.0 and above

Installation

composer require ianm/syndication:"*"

Usage

This extension adds the following feeds to Flarum:

  • /atom: feed with the last discussions with activity (the / page as an Atom feed);
  • /atom/discussions: feed with the newly created discussions in the forum;
  • /atom/t/tag: feed with the last discussions in the given tag (the /t/tag page as an Atom feed);
  • /atom/t/tag/discussions: feed with the newly created discussions in the given tag;
  • /atom/d/21-discussion-slug: feed with the recent posts in the given discussion.

You can replace atom by rss in the URLs above to get RSS feeds instead. The tags-related feeds are only available if flarum/tags is installed and enabled.

You can also add ?sort=latest|top|newest|oldest to the discussions lists feeds to sort the feed, and ?q=<search> to filter it. Or both using ?sort=<sorting>&q=<search>.

Feeds are linked in the pages for autodiscovery. This said, they are not dynamically updated as the page change (except when fully reloaded), earlier because of this Firefox bug, and now because even Firefox no longer display RSS feeds in the browser.

Links

About

Brings RSS and Atom feeds to Flarum

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 89.2%
  • TypeScript 7.3%
  • Blade 3.3%
  • JavaScript 0.2%