[pmwiki-users] PmWiki as RSS engine

Christophe David pmwiki at christophedavid.org
Wed Oct 1 04:53:26 CDT 2008

> To get an RSS feed based on a pagelist with those parameters, it's simply:
> http://.../pmwiki.php?action=rss&group=abc&name=def&order=jkl&count=123
> Then we just need to change the format of the feed itself -- this can
> be done with the $FeedFmt array (see the bottom of PmWiki.WebFeeds for
> some examples).

In the pages selected for the feed (group=, page=), I have
(:MyDescription:This is my description:), etc.

I tried  'description'  => '{$:MyDescription}'  in $FeedFmt but without success.

$FeedFmt['rss']['item'] = array(

                                '_start'         => "<item>\n",

                                '_end'           => "</item>\n",

                                'title'          => '{$Group} / {$Title}',

                                'link'           => '{$PageUrl}',

                                'description'    => '{$Description}',

                                'dc:contributor' => '{$LastModifiedBy}',

                                'dc:date'        => '$ItemISOTime',

                                'pubDate'        => '$ItemRSSTime',

                                'enclosure'      => 'RSSEnclosure'

Could you please tell me the right syntax to retrieve a value stored
in a PageTextVariable ?

Also, is it possible to retrieve part of a page like (:include
MyPage#FromHere#ToHere:) does?

Thank you again for your help.


More information about the pmwiki-users mailing list