【转载】Full RSS-feeds for Plone
egg and bacon; egg sausage and bacon; egg and plone; egg bacon and plone; egg bacon sausage and plone; plone bacon sausage and plone; plone egg plone plone bacon and plone; plone sausage plone plone bacon plone tomato and plone
While tweaking the FuxData website I came across the problem, that Plone’s default RSS-template only includes the description of its items but not the body text. Firmly believing that only ‘fullsize’ RSS-feeds are ‘real’ feeds I set out to add the body to Plone.
In the end there ain’t much to be done. Simply add the following line after the
description in the
rssBody template (located in
<content:encoded><span tal:replace="structure python: '\074![CDATA['+item.getBody()+']]\076'">Bla</span></content:encoded>
Voila! And as a practical side-effect, you can now subscribe to our FuxData blog feed ;-)