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

Daniel Roesler diafygi at gmail.com
Thu Jan 6 14:16:14 CST 2011


Howdy Gilles,

When I go to your rss feed for the Site/RecentChanges page, it does
not list any items. Is this the expected behavior?
http://www.languefrancaise.net/Site/RecentChanges?action=rss

When I go to your rss feed for the Site/AllRecentChanges page, it does
list the top 10 items. Is this the expected behavior?
http://www.languefrancaise.net/Site/AllRecentChanges?action=rss

Avast!
Daniel
diafygi at gmail.com


On Thu, Jan 6, 2011 at 12:00 PM,  <pmwiki-users-request at pmichaud.com> wrote:
> Message: 2
> Date: Wed, 5 Jan 2011 19:42:46 +0100
> From: ABClf <languefrancaise at gmail.com>
> To: pmwiki-users <pmwiki-users at pmichaud.com>
> Subject: [pmwiki-users] rss doesn't work for a group where
>        $MakePageNamePatterns is altered
> Message-ID:
>        <AANLkTimkzJ=-AAMfc97=h2fTKrv5gmd0LnQ3uu-kgf1S at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> 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