[pmwiki-users] adding LastChangeSummery to rss feed

Hans design at softflow.co.uk
Fri Feb 3 15:17:32 CST 2006


Cookbook LastChangeSummery adds a {$LastChangeSummery} page variable.
To include the change summery in a rss feed can i just add this to
config.php:

$FeedFmt['rss']['item']['changesummery'] = '{$LastChangeSummery}';

or do i need to write this:

$FeedFmt['rss']['item'] = array(
  '_start' => "<item>\n",
  '_end' => "</item>\n",
  'title' => '{$Group} / {$Title}',
  'link' => '{$PageUrl}',
  'description' => '$ItemDesc',
  'changesummery' => '{$LastChangeSummery}',
  'dc:contributor' => '{$LastModifiedBy}',
  'dc:date' => '$ItemISOTime',
  'pubDate' => '$ItemRSSTime',
  'enclosure' => 'RSSEnclosure');

or something else entirely?


thanks!
 ~Hans






More information about the pmwiki-users mailing list