Page 1 of 1
Syndicate *this* !
Posted: Fri Nov 04, 2005 7:53 pm
by randulo
In a French default-language s9y install, I'm trying to see how I can add English (2nd lang) as an RSS. As we noted earlier, the RSS by default will be the um, default language. Fair enough. How to make the RSS icons point to an English version?
Can someone give me a hint or two as to how to add an English version RSS feed? I can't even find the syndicate plugin - is it a core function?
cheers,
r
Re: Syndicate *this* !
Posted: Fri Nov 04, 2005 8:58 pm
by garvinhicking
Hm. That might get a bit harder.
You'll want to investigate the rss.php file which does the syndication stuff. The syndication plugin itself is in include/plugins_internal.inc.php.
I've just committed a new version 1.8 of the multilingua plugin, which *should* support foreign languages of RSS feeds by calling this URL:
http://yourblog/rss.php?version=2.0&ser ... lected]=en
I was not able to test this, so I would like to get some feedback of yours. It might be hard to hack the URLs into the syndiation plugin, so showing them within a HTML nugget may be easier.
HTH,
Garvin
Re: Syndicate *this* !
Posted: Sat Nov 05, 2005 10:25 am
by randulo
garvinhicking wrote:
I've just committed a new version 1.8 of the multilingua plugin, which *should* support foreign languages of RSS feeds by calling this URL:
http://yourblog/rss.php?version=2.0&ser ... lected]=en
I was not able to test this, so I would like to get some feedback of yours. It might be hard to hack the URLs into the syndiation plugin, so showing them within a HTML nugget may be easier.
Garvin
Garvin, thanks for that info. I'll look into it. I have a problem though, we are staying with version 8 for the moment. I'll see if your plugin works with that (or you can tell me now if you see this and have a moment).
Otherwise, perhaps I could someone clone the rss.php to generate a new stream based on the second language.
Re: Syndicate *this* !
Posted: Sat Nov 05, 2005 2:06 pm
by garvinhicking
I think it should work with serendipity 0.8 the same way, yes.
Regards,
Garvin
Posted: Sun Nov 06, 2005 11:34 am
by randulo
In fact, since it's an independent URL, I have decided to write my own feed by reading the multilingual_title_en and multilingual_body_en in the database directly. I'll use your suggestion of showing the icons and links in a multilingual HTML nugget.
cheers,
r