[TYPO3-ttnews] rss feed with no items

Jiri Sedlacek jiri at sedlackovi.cz
Sun Mar 1 15:23:18 CET 2009


Hi all,

I have very strange problem with my tt_news rss feed configuration. 
Everything seems to be fine, news are shown well on news page, but in 
rss feed there is just a rss header with channel title, link, 
description etc., no items with news.

I included right static template form extension (as user guide sais), I 
also created one page with tt_news content element list for xml feed.

You can try these two links - rss feed with no items 
http://web.eu-egi.eu/index.php?id=187&type=100 and the same page without 
type=100 with news shown.

Here is my TS configuration from template:

##CONSTANTS
xmlnewsfeed_id = 187
plugin.tt_news {
# SYS-Folder with News
   pid_list = 188
# page with single view
   singlePid = 192
   archiveTypoLink = 193
}


##SETUP

plugin.tt_news {
         displayList.subheader_stdWrap.stripHtml = 0
         displayList.content_stdWrap.stripHtml = 0
         displayLatest.subheader_stdWrap.stripHtml = 0
         templateFile = fileadmin/templates/news_default.html
         displayList.date_stdWrap.strftime = %B %e, %Y
         displaySingle.date_stdWrap.strftime = %B %e, %Y
         pid_list >
         pid_list = {$plugin.tt_news.pid_list}
         singlePid = {$plugin.tt_news.singlePid}
         archive = 1
         archiveTypoLink.parameter = {$archiveTypoLink}
         _CSS_DEFAULT_STYLE >
         displayList.subheader_stdWrap.crop = 750 | ... | 1
         displayList.subheader_stdWrap.stripHtml = 0

         displayXML {
             rss2_tmplFile = EXT:tt_news/res/rss_2.tmpl
             xmlFormat = rss2
             xmlTitle = EGI_DS News
             xmlLink = http://web.eu-egi.eu
             xmlLimit = 10
             xmlDesc = EGI_DS News
             xmlLang = en
             title_stdWrap.htmlSpecialChars = 1
             title_stdWrap.htmlSpecialChars.preserveEntities = 1
             subheader_stdWrap.stripHtml = 1
             subheader_stdWrap.htmlSpecialChars = 1
             subheader_stdWrap.htmlSpecialChars.preserveEntities = 1
             subheader_stdWrap.crop = 750 | ... | 1
             subheader_stdWrap.ifEmpty.field = bodytext
             xmlLastBuildDate = 1
         }
}

###RSS NEWSFEED
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
   }
}


If anyone can help, I'll be very happy, because I don't know what is wrong.

Thanks in advance,

-- 
Jiri Sedlacek


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