|
Cookbook /
PageFeedSummary: Creates RSS feeds from page histories
Version: 2010-03-14
Prerequisites: PmWiki 2.2 or higher
Status: Beta
Maintainer: Diafygi
Categories: RSS
QuestionHow can I create an RSS feed from a wiki page's history? AnswerPageFeed will create an RSS xml web feed from a selected page's history. All you need to do is install this recipe and call the 'pagefeed' action (i.e. ?action=pagefeed). InstallationTo enable PageFeed, save pagefeed.phpΔ in your cookbook folder, and include the following line in your config.php: include_once("UsePageFeed is a recipe for PmWiki that creates an RSS feed from a single wiki page's history, where each edit is an entry in the feed. The resulting RSS feed can be called by using ?action=pagefeed (i.e. To enable the feed on all pages of a group you can edit the GroupHeader page and add :
Feed Link
Count OptionYou can define how many items are in the feed (default is 25) by adding &count=n to the url, where n is the number of items you want to appear. (i.e. Minor Edit DisplayYou can choose to not include minor edits in the page feed by turing the minor option to 0 in the feed url. By default, PageFeed displays all edits. (i.e. FormatThe format for the feed xml is saved in the template Special VariablesThere are several special variables you can include to make the PageFeed more dynamic. These can be included in any part of the $PageFeedFmt nested array:
You may also use any other PmWiki variables ( For example, each item has a default description of ExampleRelease Notes
See AlsoContributorsComments/Questions
User notes?: If you use, used or reviewed this recipe, you can add your name. The following format is recognized:
* (+) Optional positive comment. Name, date * (-) Optional negative comment. Name, date These statistics appear in the Cookbook listings and will help newcomers browsing through the wiki. |