[pmwiki-users] rss doesn't work for a group where $MakePageNamePatterns is altered

ABClf languefrancaise at gmail.com
Wed Jan 5 12:42:46 CST 2011


Hello PmWiki users !

I am in trouble with  ?action=rss for my group Info (the rss page
prints nothing ; but the RecentChanges is working as expected) ;
that group uses a special config file Info.php to change the way page
names are formatted.

The code involved (rss works fine when deleted) is :

	$MakePageNamePatterns = array(
    "/'/" => ' ',			   # strip single-quotes
    "/[^$PageNameChars]+/" => ' ',         # convert everything else to space
    #    "/((^|[^-\\w])\\w)/e" => "strtoupper('$1')",
     "/(^\\w)/e" => "strtoupper('$1')",     # initial caps
    "/ /" => '-');         # Convert spaces to -

(Inspired from : http://www.pmwiki.org/wiki/Cookbook/AlternateNamingScheme)

I don't understand why the rss doesn't work whereas the RecentChanges is ok.
Can someone help me ? Do I need to write something about rss in my Info.php ?

Best wishes for the new year ;)
Gilles.

http://www.languefrancaise.net/Info/RecentChanges
http://www.languefrancaise.net/Info/RecentChanges?action=rss

-- 

---------------------------------------
| A | de la langue française
| B | http://www.languefrancaise.net/
| C | languefrancaise at gmail.com
---------------------------------------



More information about the pmwiki-users mailing list