[TYPO3-ttnews] Get rid of relative URLs when generating RSS Feeds

Marcus 'biesior' Biesioroff vsbies at wp.pl
Sat Aug 8 11:27:46 CEST 2009


Prakash pisze:


> In RSS generated using tt_news, I tried to convert all relative URLs to 
> absolute URLs. I tried a solution for the same.
> 
> I used the general_stdWrap property of tt_news which applies stdWrap for 
> body, shorttext and, links to add the URL prefix as follows:


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]

-- 
Marcus 'biesior' Biesioroff
a.k.a. Marek Krawczyk (original)

Polish TYPO3 Community Proud Member
http://typo3.pl


More information about the TYPO3-project-tt-news mailing list