Hallo
Als erstes musst du "News feed" in Include static aktivieren. Das alleine reicht aber nicht. Ich mach es immer wie folgt:
Constants:
###RSS CONSTANTS
# Seite, die die News List enthält
xmlnewsfeed_id = 28
plugin.tt_news {
# SYS-Folder mit News
pid_list = 31
# Seite mit Singleanzeige
singlePid = 32
displayXML {
# rss091_tmplFile = EXT:tt_news/res/rss_0_91.tmpl
# rdf_tmplFile = EXT:tt_news/res/rdf.tmpl
# atom03_tmplFile = EXT:tt_news/res/atom_0_3.tmpl
rss2_tmplFile = EXT:tt_news/res/rss_2.tmpl
# mögliche: rss091 / rss2 / rdf / atom03
xmlFormat = rss2
xmlTitle = News Tssssss
xmlLink =
[ U.R.L. ] Agentur für Informationsdesign
# Anzahl News in Reader
xmlLimit = 10
xmlDesc = Tolle News via RSS
# Sprache
xmlLang = de
xmlIcon = fileadmin/templates/gfx/rss.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 = 700 | ... | 1
subheader_stdWrap.ifEmpty.field = bodytext
xmlLastBuildDate = 1
}
}
In das Setup kommt fogendes:
###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
}
}
page.headerData.500 = TEXT
page.headerData.500.value = <link rel="alternate" type="application/rss+xml" title="RSS-Feed" href="http://genie/gasunion/index.php?id={$xmlnewsfeed_id}&type=100" />
Und schon sollte es funktionieren. Du kannst die Seite dann unter deiner URL mit Anhang &type=100 aufrufen.
Gruß AFIsch