How To... Display an RSS Feed

Pepperio makes it easy for you to add a user-definable external RSS feed to your site.

1. Create an RSS Snippet.

Build a snippet based around the RSS tag to present the End User with a component editor dialog box that enables that user to add their own feed url.

  1. %RSS%(
    itemtemplate=rss_style,
    maxitems=5,
    type=ol,
    contentcache=20000)%

This RSS snippet will then reference another snippet (in this case, rss_style) to format the display of the RSS items in this list...

2. Create the item style Snippet.

This code for the RSS style snippet displays the name of each RSS link held in the URL that the user will later supply, and applies a hyperlink to the label.

  1. <li><a href="%LINK%">%TITLE%</a></li>

3. Provide content.

This component should present the End USer with an editable icon to open the RSS snippet editor. This will allow the End User to populate the RSS tag with a feed url, and order the list by date or direction.

See Also:

Video Guides

How To...

Tag Definitions