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

Patrick R. Michaud pmichaud at pobox.com
Sat Jan 12 21:39:38 CST 2008


On Sat, Jan 12, 2008 at 09:53:52AM -0800, Brent Zupp 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.

RSS doesn't normally process wiki markup in its output,
so things like (:include:) don't work.  There is a way to
get $FeedFmt entries to call a PHP function, though,
so one could write a PHP function that does the same
as the (:include:) (or even processes markup).

Pm



More information about the pmwiki-users mailing list