[TYPO3-mvc] problem with fluid template for a rss feed
Kerstin Eitner
eitner.kerstin at googlemail.com
Fri Nov 11 09:52:44 CET 2011
Hi again,
I've solved the problem with the tag <content:encoded> and now there is
another barrier.
Within the <content:encoded> tags there will be html-code like <b>, <p>
and so on.
In order the rss feed has the right structure and the hmtl-code is not
interpreted as rss-tags, i have to wrap this into CDATA tags like:
<content:encoded>
<![CDATA[<b>test</b>]]>
</content:encoded>
But the CDATA tags don't show up in the source code of the rss feed. It
looks like:
<content:encoded>
<b>test</b>
</content:encoded>
I've tried the f:format.raw helper around the CDATA tags, but nothing
changed.
Has anybody an idea how to handle that?
Thanks and greets
Kerstin
Am 10.11.2011 15:33, schrieb Sebastian Kurfürst:
> Hi Kerstin,
>
> you can wrap the tag inside <![CDATA[ ... ]]>, then it is ignored by the
> Fluid parser.
>
> Greets, Sebastian
More information about the TYPO3-project-typo3v4mvc
mailing list