04 RSS

DRAFT

uPortal ships with a couple of different ways to consume RSS feeds, both of which use compatible channel configuration parameters:

  • CGenericXSLT - A number of XSL stylesheets ship which allow you to render RSS into HTML
  • CSynFeedReader - A dedicated feed reader channel

In addition, various institutions have developed channels and portlets – notably Duke University's tabbed RSS Portlet.

Troubleshooting RSS Channels

HTML markup in RSS displays

Problem: I am seeing html markup in my rss channels. I have set output escaping to "yes" in portal.properties, and restarted tomcat. No change. I did an ant scrub-tokens and redeployed and still see the same thing. Any ideas? How do I get the channel to render correctly?

Solution: if you're using the CGenericXSLT RSS channel you probably need to edit the stylesheets to include the attribute "disable-output-escaping" in your XSL.

Warning: there are potential XSS and other issues with disabling output escaping. Escaping output protects you from unscrupulous feed providers. Enabling escaping output is only recommended for "safe" feeds.