Open baden32 opened 4 years ago
hi Joel,
in my local testing instance with TYPO3 8.7 and tt_news 9.5.3 this works as it should. So it seems not to be a generic error, but something that is special with your site's configuration.
Are you sure that the Template file exists at the location where it is configured in xmlnews.10.displayXML.rss2_tmplFile
?
greetings Rupert
I upgraded my typo3 7.6 to 8.7 and unfortunately the rss output based on tt_news is not working anymore. Tt_news 9.5.3 is used on Typo3 8.7.26 with fluid.
As I try to get rss feed/output, I cannot understand why a HTML template is required.
In specific page (id 701), I made a template extension with the following TS
Configure tt_news to display the xml template
plugin.tt_news { displayXML {
rss091_tmplFile = EXT:tt_news/res/rss_0_91.tmpl
rss2_tmplFile = EXT:tt_news/res/rss_2.tmpl
rss2_tmplFile = EXT:tt_news/Resources/Private/Templates/Rss/rss_2.tmpl
/ xmlIcon = fileadmin/tt_news_article.gif 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 = 100 | ... | 1 subheader_stdWrap.ifEmpty.field = bodytext / // subheader_stdWrap.crop = 100000 | ... | 1 subheader_stdWrap.crop > subheader_stdWrap.ifEmpty.field = bodytext xmlLastBuildDate = 1 }
categoryMode = 1 categorySelection = 29
}
This enables the xml news feed
xmlnews = PAGE xmlnews { typeNum = 100
10 > 10 < plugin.tt_news 10.pid_list > 10.pid_list = 107 10.singlePid = 110 10.defaultCode = XML
config { disableAllHeaderCode = 1 additionalHeaders = Content-type:text/xml no_cache = 1 xhtml_cleaning = 0 } }
Unfortunaltey, when I call the page /index.php?id=701&type=100, no rss output but this error
No HTML template found
Is that a know problem suing tt_news rss on this Typo3 version? Thanks in advance for your help. Regards Joel