[Typo3] XML problem

Eirik Wulff eirik at wulff.biz
Thu Nov 17 00:29:02 CET 2005


Hello,

Check out the documentation on:

http://typo3.org/documentation/document-library/tt_news/Configuration-1/#oodoc_part_6610

Mind that the rss feed page should have another typenum than the rest of 
the site, as in:

"xmlnews = PAGE
xmlnews {
   typeNum = 100

   10 >
   10 < plugin.tt_news
   10.pid_list >
   10.pid_list = {$plugin.tt_news.pid_list}
   10.singlePid = {$plugin.tt_news.singlePid}
   10.defaultCode = XML

   config {
     disableAllHeaderCode = 1
     additionalHeaders = Content-type:text/xml
     no_cache = 1
     xhtml_cleaning = 0
   }
}"

Following the docs description in all its detail should yield a working 
setup.

E (:

Claus Lavdal wrote:
> Dear list.
> 
> Im trying to make an rss feed for tt_news.
> 
> I have set the config.additionalHeaders = Content-type:text/xml
> 
> But it keeps setting the header to text/html.
> 
> my ts setup http://lavdal.dk/index.php?id=59 (Typo3 v. 3.8.0 and tt_news 
> 2.2.24 )
> my rss feed: http://lavdal.dk/index.php?id=54 or whit real url: 
> http://lavdal.dk/rss_feed.54.0.html
> 
> can anyone guide me to a solution.
> 
> Claus Lavdal 
> 
> 



More information about the TYPO3-english mailing list