|
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/Questionsnikos (30-08-2012) Insted of an rss feed, I get the message... PmWiki can't process your request ?invalid page name We are sorry for any inconvenience. Return to ../main/pmwiki.php Hey nikos, do you have a link to a specific example I can take a look at? -Diafygi August 31, 2012, at 07:14 PM
nikos (16-09-2012) this... anarchy-domisi-ideon.awardspace.info/main/pmwiki.php?n=Main.Τα?action=pagefeed compared to this ... anarchy-domisi-ideon.awardspace.info/main/pmwiki.php?n=Main.UAZ4x4?action=pagefeed (sorry for the late reply, no internet at home)
Hey nikos, thanks for the examples, will troubleshoot and update with a fix! Diafygi September 17, 2012, at 08:13 AM
nikos (29-11-2012)
Well, the problem seems to be browser specific.
Firefox and IceApe print a valid feed,
whereas Chromium gives an invalid feed error,
and Konqueror shows a text page.
I suspect that the issue is with the name of the file that is being created,
and not with the content of that file.
User notes : If you use, used or reviewed this recipe, you can add your name. These statistics appear in the Cookbook listings and will help newcomers browsing through the wiki. |