[TYPO3-ttnews] rss feed with no items
Jesper Goos
jesper at goos.dk
Thu Jun 25 09:04:25 CEST 2009
I got it.
The problem was that the "xmlnews.10.pid_list" was not set in the setup ;-)
After setting it to the SysFolder id where my news are it works perfectly...
Jesper
"Jesper Goos" <jesper at goos.dk> wrote in message
news:mailman.1.1245913008.13052.typo3-project-tt-news at lists.netfielders.de...
> Hi Jiri
>
> I have the same problem.
> As far as I can see your rss feed now works.
> Could you tell me what the problem was?
>
> Thanx a lot
> Jesper
>
>
> "Jiri Sedlacek" <jiri at sedlackovi.cz> wrote in message
> news:mailman.46784.1235917415.2904.typo3-project-tt-news at lists.netfielders.de...
>> 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