Personal tools
You are here: Home Documentation How-tos Add the body text to your rss feed (2)
Support

Get Help

Join our chat rooms or support forums if you have more specific questions.

Plone Training
Learn how to design, build, and deploy a website in Plone through one of the numerous Plone training sessions around the world.
Find Plone training…
 
Document Actions

Add the body text to your rss feed (2)

Warning: This item is marked as outdated.

This How-to applies to: Plone 2.1.x
This How-to is intended for: Site Administrators, Developers

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!

see also:

Add the body text to your rss feed
Explains how to edit your rss_template to include the body of each rss feed item. (ie, the body of the news item in addition to the title/description).
by Konstantin Rysyanin last modified February 28, 2006 - 23:03
Contributors: Kelly, vinsci, miyashiro
All content is copyright Plone Foundation and the individual contributors.

For any issues with the web site functionality, please file a ticket.

Please consult the policy on plone.org content if you want your content published on this site.

Servers and hosting by