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

Roman romat2 at gmail.com
Tue Jan 15 06:43:50 CST 2008


I have just tried it on clean installation and verified with RecentChanges
RSS feed and it works as it should (description filled with page content).
What was your configuration before, when description contained PmWiki
markup?

Roman

On Jan 15, 2008 1:10 PM, Steve Glover <steve at fell-services.net> wrote:

> On Tue, 2008-01-15 at 13:00 +0100, Roman 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>";
> > }
>
> I'm trying to get rid of PmWiki markup appearing in the RSS feed from my
> News.RecentChanges page, but when I use the above (I assume it's meant
> to be in my local/config.php), I just get empty <description> tags in
> the feed - which at least eliminates users' complaints about the "odd"
> mark-up, but doesn't quite do what I'd like it to.
>
> Has anyone else had this problem, please?
>
> Thanks
>
> Steve
>
>
> --
> Steve Glover at                          email: steve at fell-services.net
> SDSS, EDINA, University of Edinburgh,          tel: +44 (0)131-650 2908
> Causewayside House, 160 Causewayside,          fax: +44 (0)131-650 3308
> Edinburgh EH9 1PR                          mobile: +44 (0) 7961 446 902
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/pmwiki-users/attachments/20080115/c855c5ad/attachment.html 


More information about the pmwiki-users mailing list