[TYPO3-ttnews] RSS feeds in a multilingual site?
Oliver Rowlands
oliver at liquidlight.co.uk
Sun May 25 15:03:00 CEST 2008
Hi Trine,
Simply add the language parameter (usually 'L') to the GET request of
your RSS feed - something along the lines of:
http://www.domain.com/index.php?id=1&type=100&L=1
In order to add the RSS icons in the browser's address bar you will need
to add an 'alternative link' element to your HTML <head> output. You can
do so by using the following TS setup:
page {
### RSS feed ###
300 = TEXT
300.value (
<link rel="alternate" type="application/rss+xml"
title="{$plugin.tt_news.displayXML.xmlTitle} -
{$plugin.tt_news.displayXML.xmlDesc} (RSS 2.0 feed)"
href="http://www.domain.com/index.php?id=1&type=100&L=1" />
)
}
Best regards,
Oliver
Trine Buhl wrote:
> Hi,
>
> Do any one know how to make RSS feeds from tt_news in a multilingual site?
>
> I to publish the RSS feed in three different languages and active the RSS
> icon in the browsers.
>
> Kind regards,
>
> Trine
>
>
--
Oliver Rowlands
:: Liquid Light ::
E - oliver at liquidlight.co.uk
W - http://www.liquidlight.co.uk
T - 00 44 (0)845 6 58 88 35
F - 00 44 (0)845 6 58 44 35
More information about the TYPO3-project-tt-news
mailing list