On 6/26/07, Paul Giacherio <[EMAIL PROTECTED]> wrote:
> Can anyone point me in the right direction on how to include the full text
> of a page, with markup digested, in an RSS feed? I'm looking to mimic blog
> functionality, where an entire post can be sent in the RSS feed.
> I see the undigested excerpt example on the Web Feeds page [
> http://www.pmwiki.org/wiki/PmWiki/WebFeeds ], and was
> wondering if a "digested excerpt" were possible.

Following quick copy from my config should give you the direction:

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

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

Roman

_______________________________________________
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to