Eemeli Aro wrote:
Can you be more specific about what you want to achieve?
I want to specify RSS feed options directly from a wiki page not from a php
file, because I want the
freedom to change the criteria that establish which wiki pages comprise the
feed, and I won't have access
to the
2009/10/12 SteP step.list+pmw...@gmail.com:
Unfortunately, feeds.php calls MakePageList() which ignores the 'fmt' option
regardless of whether it is set through $FeedPageListOpt or $_REQUEST.
Complex fmt processing seems to take place elsewhere in pagelist.php,
not in MakePageList().
Ah,
I want to specify RSS feed options for scripts/feeds.php directly from a wiki
page, instead of hardwiring
them as $FeedPageListOpt values in a php file.
First I tried setting $FeedPageListOpt['fmt'] = 'Group.Page/#feed-options'
and then setting feed options as template defaults for template
2009/10/12 SteP step.list+pmw...@gmail.com:
My question is, how can I set feed options for script/feeds.php from a wiki
page?
By setting them as HTTP GET parameters. The relevant lines from
feeds.php are these:
# determine list of pages to display
if (@($_REQUEST['trail'] ||
Thanks Eemeli, indeed my question arose while I was integrating Bloge-feeds.php.
So if I've understood your situation correctly,
You have.
if ($action == 'rss') {
SDV($_REQUEST['group'], 'Group');
SDV($_REQUEST['fmt'], '#feed-options');
}
I tried your suggestion above, and also