[pmwiki-users] Create RSS description using (:include:) ?

Roman romat2 at gmail.com
Tue Jan 15 06:00:04 CST 2008


Here is a snippet from my config:

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

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

Roman

On Jan 12, 2008 6:53 PM, Brent Zupp <bplotter at yahoo.com> wrote:

> I'd like to include the text between [[#start]] and [[#end]] anchor
> links I have on my pages for each item in my RSS feed.
>
> I poked around the documentaion and found:
>
> $FeedFmt['rss']['item']['description'] = '$LastModifiedSummary';
>
> Can I substitute some form of the (:include:) directive for
> $LastModifiedSummary ?
>
> I did some experiments and I couldn't get it to work.
>
> Best,
> --
> Brent Zupp
> http://www.wanderings.net/
>
> There is a very fine line between "hobby" and "mental illness."
>  ~ Dave Barry
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/pmwiki-users/attachments/20080115/437b93f8/attachment.html 


More information about the pmwiki-users mailing list