[pmwiki-users] Multiple Languages, RSS and Categories.

Patrick R. Michaud pmichaud at pobox.com
Mon Oct 29 14:20:35 CDT 2007


On Sat, Oct 27, 2007 at 02:06:06PM -0400, Stirling Westrup wrote:
> I am currently working on a recipe for a multi-lingual blog, and I'm having
> trouble figuring out how I should implement tags so that RSS feeds work.
> 
> With a single blog, one often just sticks [[!foo]] into a blog page, and its
> automagically picked up by the RSS feed and a <category>foo</category> gets added.
> 
> My problem is that I want the English RSS feed to only link to English
> articles using English category names, and the French Blog should be similarly
> set up. Now, I can't just mix them altogether into one Category group, because
> some labels (like 'blog') are the same in French and English, and I don't want
> someone looking up Category/Blog to get a mix of languages.
> 
> I've been thinking of setting up individual Category-like groups (probably
> 'Tags' for English and 'Balises' for French) and creating links like
> [[Tags.thing]] and [[Balises.chose]]. This will keep my tags in separate
> namespaces, but how do I get the separate RSS feeds for the two blogs to each
> grab the right category pages?

RSS feed of the pages in the Tags.Thing category, most recently
changed pages returned first:

    .../pmwiki.php?action=rss&link=Tags.Thing&order=-mtime


RSS feed of pages in the Balises.Chose category, most recently
changed pages returned first:

    .../pmwiki.php?action=rss&link=Balises.Chose&order=-mtime

Pm



More information about the pmwiki-users mailing list