Attention

This document was written for an unsupported version of Plone, Plone 2.1.x, and was last updated 1239 days ago.

For more information, see the version support policy.

To learn how to upgrade to the current version of Plone, read the upgrade manual.

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!


Contribute

Something wrong or out of date? Anybody can edit or create a new article in the knowledge base. Simply create an account on this site, log in, and click the Edit button to contribute.