Recent Changes - Search:

PmWiki

pmwiki.org

WebFeeds-Talk

How do I include the last change (the last diff section) in the feed body ? I would like to see directly what has been modified.

What if I want the text included to be marked up to HTML?

From mailing list June 26, 2007, by Roman:

  $FeedFmt['rss']['item']['description'] = 'FeedText';

  function FeedText($pagename, &$page, $tag) {
    $p = ReadPage($pagename);
    $content = MarkupToHTML($pagename, $p['text']);
    return "<$tag><![CDATA[$content]]></$tag>";
  }

How can I create an rss feed, listing only the new pages (and not all recent changes)?

Appending &order=-ctime to the URL seems to work as a quick fix. The feed will then show only the most recently created pages, even if (unfortunately) the time displayed in the feed itself is still the time of the latest change to the page.
Demo: http://www.pmwiki.org/wiki/Site/AllRecentChanges?action=rss&order=-ctime
RSS feed of latest Cookbook additions: http://www.pmwiki.org/wiki/Cookbook/RecentChanges?action=rss&order=-ctime
StefCT, July 23 2014

Are some aggregators better for wiki pages than others? I can't configure Gregarius or Simple Pie to recognize my PMWiki wikitrails, no matter what I append; rss, atom, etc. Is there an aggregator that you recommend?


This is a talk page for improving PmWiki.WebFeeds.

Edit - History - Print - Recent Changes - Search
Page last modified on July 23, 2014, at 01:55 PM