[TYPO3-mvc] problem with fluid template for a rss feed

Claus Due claus at wildside.dk
Fri Nov 11 14:56:20 CET 2011


Hi Bastian,

> BTW: There is a f:format.raw ViewHelper now in Fluid, too - not that I wouldn't recommend using fed! ;)

If I recall correctly it isn't included in the 4.5 core version of Fluid? But yes, always use the built-in stuff if you can :)

> <content:encode>{f:format.raw(value: '<![CDATA')}[{newsItem.bodytext}]]></content:encode>
> 
> should do the trick, but a cdata viewHelper would be nicer:
> <content:encode>{newsItem.bodytext -> x:format.cdata()}</content:encode>

Absolutely a good idea. Winning! ;)

> If you create an issue, I'll create the code ;)

Coming up right away!

Cheers,
Claus


More information about the TYPO3-project-typo3v4mvc mailing list