|
PmWiki /
WebFeeds-TalkHow 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)? 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. |