[TYPO3-ttnews] Get rid of relative URLs when generating RSS Feeds
Prakash
spabhat at chandanweb.com
Mon Aug 10 10:01:26 CEST 2009
Dan Osipov wrote:
> Have you tried using config.absRefPrefix ?
Marcus 'biesior' Biesioroff wrote:
> I was implementing yesterday RSS on my clients site and had same ...
> well it cannot be called problem :) , there is simple solution:
>
> [globalVar = GP:type = 100]
> config.absRefPrefix = http://yourdomain.loc/
> [global]
Hi Dan and Marcus,
Thanks for the information. to be clear, I already tried this method.
When I used this method, the news title had the siteURL repeated twice
as in this example:
<item>
<title>Test News item with an internal Link</title>
<link>*http://www.testdom.ws/http://www.testdom.ws/*index.php?id=668&tx_ttnews%5Btt_news%5D=562&cHash=60de7afc2a</link>
<description> Lorem ipsum dolor sit amet...</description>
<content:encoded><![CDATA[
<p> Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
]]></content:encoded>
<pubDate>Thu, 06 Aug 2009 09:15:00 +0200</pubDate>
</item>
I am also using config.baseurl, do you think that could have caused this
issue?
Could you give me details if there is any other setting that I need to make?
--
*Regards,
Prakash A Bhat*
Skype/Yahoo/GTalk/MSN: spabhat
Ph: +91 80 420 33 515
Mobile: +91 94481 40430
www.chandanweb.com <http://www.chandanweb.com>
Chandan Web Solutions <http://www.chandanweb.com>
<http://www.chandanweb.com>
More information about the TYPO3-project-tt-news
mailing list