Skip to content

AmauryCarrade/flarum-ext-syndication

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Syndication for Flarum

Brings RSS and Atom feeds to Flarum.

Installation

composer require amaurycarrade/flarum-ext-syndication

Usage

This extension adds the following feeds to Flarum:

  • /atom: feed with the last discussions with activity (the / page as an Atom feed);
  • /adom/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 the tags extension 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.