Extension:WikiFeeds

The RSS and ATOM 0.3 feeds coming out of MediaWiki are not robust enough for all individuals. Hence the need for WikiFeeds. WikiFeeds is an alternative feed generator that outputs RSS 2.0 and ATOM 1.0 feeds. It can generate the following feeds:


 * Recent page changes
 * Newest pages
 * Recent changes by user
 * Newest pages by user
 * User watchlist (can be either public or private)
 * Recent changes for articles in a category
 * Recent changes for articles except changes made in selected category
 * Newest articles in a category
 * Newest articles except articles in selected category

WikiFeeds is present as a special page. It also inserts itself into the page view process and creates links to the available feeds. For example, when you are on a category page, the appropriate links to the per-category feeds are inserted into the HTML document for feed auto-discovery.

Demo
See http://wiki.case.edu/Special:WikiFeeds

Instructions
Most recent version of source code is available at http://opensource.case.edu/svn/MediaWikiHacks/extensions/WikiFeeds/trunk/SpecialWikiFeeds.php. (This URL seems to be down for good - try /SpecialWikiFeeds.php and /GenericXmlSyndicationFeed.php instead. No guarantee of being current.)

Installation directions are located in this source file.

Feeds can be accessed by visiting Special:WikiFeeds in your wiki. This page should show up on the special page list page.

WikiFeeds requires PHP 5 because it makes use of the PHP 5 class constants, the PHP 5 DOM functions, and the PHP SPL.

Newer versions of WikiFeeds have some of the class declarations split off in a separate file, GenericXMLSyndicationFeed.php. This file can be obtained at http://opensource.case.edu/svn/MediaWikiHacks/classes/GenericXmlSyndicationFeed/GenericXmlSyndicationFeed.php. It is recommended to use the most recent version of this file with WikiFeeds.

Unique Parameter
If you want use the unique parameter change the sql-query in line 545

replace by

Namespace Parameter
If you want to filter feeds by a namespace, add parameter /namespace/ or /namespace/ to URL.

Updates

 * Re-factored to a Special Page on March 22, 2006. (version 0.2)
 * Version 0.4 features a disk-based cache system and the ability to localize messages using the MediaWiki messages system
 * Version 0.5 has private watchlist feeds implemented as well as minor bug fixes.
 * Version 0.6 supports filtering by namespaces, has two new parameters and doesn't show changed articles with changes marked as minor in feeds. (all changes in code can be seen here: http://www.assembla.com/code/zcu-cz-wikifeeds/subversion/changesets/3)

Author
WikiFeeds is authored by Gregory Szorc. More information can be found at http://opensource.case.edu/projects/MediaWikiHacks. Modifications in version 0.6 made by Jenda Rybak for purpouses of http://support.zcu.cz (Univeristy of West Bohemia, Czech Rep.).

Sites using WikiFeeds

 * SiteHoppin
 * The Quarter Wiki - Recently Sold RSS Example
 * One Buck Wiki - Rss Feed example
 * Zedomax Wiki
 * EntreWiki - Featured pages RSS Example