Actions
Bug #37246
closed<link> tags in RSS feeds destroyed on cached pages
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Caching
Target version:
-
Start date:
2012-05-17
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.5
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
Sprint Focus:
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</link> to <link />http://www.typo3.org</link>. 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 -->
Files
Actions