Extension:RSS/tr

The RSS extension renders ("displays") one or more RSS feeds on a wiki page in a standard or user-definable format. Since version 2.00, the extension is compatible with which generates RSS or ATOM feeds from MediaWiki pages (authoring tool).

Usage
Use one section between -tags for each feed. The rss element may contain parameters if you provide them as attributes to the rss element:

Tracking category
All pages in a wiki which use the RSS extension are automatically added to the RSS tracking Category:Pages_with_RSS_feeds.

Templates for channel subelements and styling the RSS Feed
The RSS extension renders feeds on wiki page by using two templates in the MediaWiki system namespace, which can be changed, or which wiki admins can redirected to user-editable namespaces. The mechanism is perhaps not easy to understand, but after its installation, the extension starts with a useful set of templates; a manual set-up is not required.

If a template is not specified, then the one in MediaWiki:Rss-item is used and determines only which RSS feed channel subelements (items) are used. The other template MediaWiki:Rss-feed determines how the complete feed is shown on wiki pages i.e. how and which channel items are shown are listed.

This is the template MediaWiki:Rss-item (since version 1.90) which determines which item elements are used

The selected items are passed to the other template MediaWiki:Rss-feed (since version 1.90) which determines how the RSS Feed is rendered on the wiki pages. It iterates over each &lt;item&gt; of the RSS feed and substitutes the value of each element found there, e.g. &lt;title&gt;, &lt;link&gt;, &lt;date&gt;, &lt;author&gt;, etc.

Basic MediaWiki:Rss-feed template:
 *  [ ] 

An alternative improved MediaWiki:Rss-feed template requires the Extension:ParserFunctions: \
 *  [ ]  \

Example
The following code renders the four recent items of the wikimedia blog feed on the present page and highlights some terms. The layout depends on the content of feed template MediaWiki:Rss-feed and also of the item template MediaWiki:Rss-item as mentioned above: https://wikimediafoundation.org/news/feed/ https://wikimediafoundation.org/news/feed/

Configuration settings
Add any one of the following settings you want to customize to your LocalSettings.php.

Technical history and attributions
RSS extension is a heavily modified version of the engines RSS by Mafs, RSS by Rdb78, RSS by Duesentrieb, and RSSFeed by Mutante.