项目作者: AmauryCarrade

项目描述 :
Brings RSS and Atom feeds to Flarum
高级语言: PHP
项目地址: git://github.com/AmauryCarrade/flarum-ext-syndication.git
创建时间: 2016-12-02T18:37:58Z
项目社区:https://github.com/AmauryCarrade/flarum-ext-syndication

开源协议:Other

下载


Syndication for Flarum

Brings RSS and Atom feeds to Flarum.

Installation

  1. 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.