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

Stirling Westrup sti at pooq.com
Tue Oct 30 02:06:58 CDT 2007


Patrick R. Michaud wrote:
> 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

Ah, no, that's not what I meant. I have two blog groups, EnBlog containing the
pages of an English blog and FrBlog containing pages of a French blog. I need

   .../pmwiki.php/EnBlog/RecentChanges?action=rss

to somehow know to fill in the <category>...</category> tags in the RSS feed
using links to the Tags group as category indicators.

Similarly, I want

   .../pmwiki.php/FrBlog/RecentChanges?action=rss

to fill in the <category>...</category> values using links from the FrBlog
pages to the Balises group.

Is this possible, or have I fundamentally misunderstood how PmWiki generates
category tags inside RSS feeds?



More information about the pmwiki-users mailing list