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

Brent Zupp atticus4 at gmail.com
Tue Jan 15 08:09:03 CST 2008


Thanks Roman!   I don't know how that works, but your code appears to
pull in a snippet of content into the rss description--wonderful! A
lot better than what I had before. Thanks for sharing that.

Best,
Brent

On Jan 15, 2008 4:00 AM, Roman <romat2 at gmail.com> wrote:
> 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
> >
>
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>
>



-- 
Brent Zupp
http://www.wanderings.net/

There is a very fine line between "hobby" and "mental illness."
 ~ Dave Barry



More information about the pmwiki-users mailing list