Add the body text to your rss feed (2)

by Konstantin Rysyanin last modified Dec 30, 2008 03:02 PM

a revised How-To "Add the body text to your rss feed"

1. Go to: ZMI

While in ZMI go to:   "portal_skins"  folder

portal skins 


While in "portal_skins" folder  go to: plone_templates/


Plone Templates


2. Find "rss_template"

While in:   portal_skins/plone_templates/

Find and open "rss_template".

rss_template



3. Edit template

  • Click on Customize button to copy this template to your portal_skins/Custom folder

Plone customize button



  • While seeing your already custom template, look for the following code:
<description tal:content="obj_item/Description">Description </description>


4. Insert the following code immediately after </description>

<content:encoded
xmlns:content="http://purl.org/rss/1.0/modules/content/"><span
tal:replace="structure python:
'\074![CDATA['+obj_item.getText()+']]\076'">blah</span></content:encoded>

5. Test your feed.

  • Go to one od the smart folders or wherever you want to pull the feed off
  • Click on RSS button

rss button



  • You should see the wacko XML page. :)

6. Contribute to Plone and other FOSS/FLOSS projects!