Hallo zusammen,
ich setze erfolgreich eigene Marker in den diversen Ansichten meiner News ein. Dort klappt alles wie gewünscht.
Wenn ich den gleichen Marker (z.B. ###GENERIC_TWITTER###) allerdings im Template meines RSS-Feeds verwenden will, wird der Inhalt nicht gerendert. Hat jemand einen Tipp für mich?
Hier meine Konfiguration:
plugin.tt_news {
displayXML {
rss2_tmplFile = fileadmin/templates/rss_2.tmpl
xmlFormat = rss2
xmlTitle = MeinTitel
xmlLink = MeinLink
xmlDesc = Aktuelle Nachrichten
xmlLang = de
xmlIcon = fileadmin/images/icons/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 = 200 | ... | 1
subheader_stdWrap.ifEmpty.field = bodytext
xmlLastBuildDate = 1
}
}
twitterfeed = PAGE
twitterfeed {
typeNum = 500
10 >
10 < plugin.tt_news
10.pid_list >
10.pid_list = {$plugin.tt_news.pid_list}
10.singlePid = 58
10.categorySelection = 7
10.categoryMode = 1
10.defaultCode = XML
config {
disableAllHeaderCode = 1
additionalHeaders = Content-type:text/xml
no_cache = 1
xhtml_cleaning = 0
index_enable = 0
}
}
<!-- ###TEMPLATE_RSS2### begin -->###XML_DECLARATION###
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
<!-- ###HEADER### begin -->
<title>###SITE_TITLE###</title>
<link>###SITE_LINK###</link>
<description>###SITE_DESCRIPTION###</description>
###SITE_LANG###
<image>
<title>###SITE_TITLE###</title>
<url>###IMG###</url>
<link>###SITE_LINK###</link>
<width>###IMG_W###</width>
<height>###IMG_H###</height>
<description>###SITE_DESCRIPTION###</description>
</image>
<generator>TYPO3 - get.content.right</generator>
<docs>http://blogs.law.harvard.edu/tech/rss</docs>
###NEWS_COPYRIGHT###
###NEWS_WEBMASTER###
###NEWS_MANAGINGEDITOR###
###NEWS_LASTBUILD###
<!-- ###HEADER### end -->
<!-- ###CONTENT### begin -->
<!-- ###NEWS### begin -->
<item>
<title>###NEWS_TITLE###</title>
<link>###NEWS_LINK###</link>
<guid>###NEWS_LINK###</guid>
<content:encoded><description>###GENERIC_TWITTER###</description></content:encoded>
###NEWS_IMAGE###
<content:encoded><![CDATA[###NEWS_CONTENT###]]></content:encoded>
###NEWS_CATEGORY###
###NEWS_AUTHOR###
<pubDate>###NEWS_DATE###</pubDate>
###NEWS_RSS2_ENCLOSURES###
</item>
<!-- ###NEWS### end -->
<!-- ###CONTENT### end -->
</channel>
</rss><!-- ###TEMPLATE_RSS2### end -->