[TYPO3-english] tt_news RSS feed empty
nomen nescio
nomen.nescio at nomen.nescio
Tue Aug 25 10:08:20 CEST 2009
"Philipp Gampe" <phil at philippgampe.info> ha scritto nel messaggio
news:mailman.1.1251187017.31610.typo3-english at lists.netfielders.de...
> works for me, accept that urls are wrong...
>
> can you post your TS?
Here is it: id 5 for single view, 10 for list. News-feed static ext-template
is included to TS setup.
plugin.tt_news {
displayXML {
rss2_tmplFile = EXT:tt_news/res/rss_2.tmpl
xmlFormat = rss2
xmlTitle = Title
xmlLink = http://mylink
xmlDesc = Description
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 = 100 | ... | 1
subheader_stdWrap.ifEmpty.field = bodytext
xmlLastBuildDate = 1
}
}
xmlnews = PAGE
xmlnews {
typeNum = 100
10 >
10 < plugin.tt_news
10.pid_list >
10.pid_list = 10
10.singlePid = 5
10.defaultCode = XML
config {
disableAllHeaderCode = 1
additionalHeaders = Content-type:text/xml
no_cache = 1
xhtml_cleaning = 0
}
}
And on news page (id 10):
page.headerData.100 = TEXT
page.headerData.100.value = <link rel="alternate" type="application/rss+xml"
title="RSS-Feed" href="http://mylink/index.php?id=10&type=100" />
Thanks,
C.
More information about the TYPO3-english
mailing list