#37246<link> tags in RSS feeds destroyed on cached pages
Description
I created an extension plugin, that produce a RSS feed output. My extension has 2 plugins with the same output. One plugin is from type USER and the other from type USER_INT. If I use the plugin with cache, the RSS feed output is invalid, because the <link> tags are broken. The code changes from <link>http://www.typo3.org to <link>http://www.typo3.org. The link tag is closed in the first tag. The output was changed by the system caching mechanism. My plugin definitely produce the same output.
This is my TypoScript setup for the RSS feed page:
# define rss page type
rss = PAGE
rss.typeNum = 444
rss.config.disableAllHeaderCode = 1
rss.config.additionalHeaders = Content-type:text/xml
# configurate template
rss.1 = TEMPLATE
rss.1 {
# include xml template
template = FILE
template.file = fileadmin/design1/templates/template_rss.xml
# define work subpart
workOnSubpart = DOCUMENT_BODY
subparts.CONTENT < styles.content.get
}
# content configuartion
tt_content.stdWrap.innerWrap >
config.admPanel = 0
The template_rss.xml look linke this:
<!-- ###DOCUMENT_BODY### start --><?xml version="1.0" encoding="utf-8"?> <!-- ###CONTENT### start --> <!-- ###CONTENT### stop --> <!-- ###DOCUMENT_BODY### stop -->
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.