Expression Engine and RSS

11, December, 2008

I finally got around to fixing my rss feed today, so I thought I would post this quick snippet as it may be helpful to others. I use the standard RSS template that came with Expression Engine to create my feed the problem was that HTML and images were not showing up in the feed.

This is a simple little fix which requires the following change to the RSS Template:

In the description tag change {exp:xml_encode}{summary}{body}{/exp:xml_encode} to <![CDATA[{summary}{body}]]> this will enable your feed to have both HTML and images shown. Quick and easy for something that can be a pain in the arse.