Tag Definitions %RSS%

Renders a list of RSS items from an external RSS feed

Displays a list of links imported from an RSS feed.

Attribute Definitions
ParameterTypeDescription
typeul
ol
dl
The list type that is rendered. Any type of valid XHTML list can be used here.
captionStringThe caption to label the input field, default is 'List of links'
classStringThe 'class' attribute to add to the rendered HTML tags as determined by type.
idStringThe 'id' attribute to add to the rendered HTML.
startitemIntegerThe first item to be displayed from the list of items found, default is '1'
maxitemsIntegerThe maximum number of items to be rendered from the list. Default value is 100.
moduloIntegerDisplays only the nth element from a list, for example when creating multi-column lists.
itemtemplateStringThe snippet that is used to render each item in the list.
firstitemtemplateStringThe snippet that is used to render the first item in the list.
lastitemtemplateStringThe snippet that is used to render the last item in the list.
noitemstemplateStringThe snippet that is used whenever the RSS feed contains no items.
httperrortemplateStringThe snippet that is used whenever the RSS feed can not be reached.
pageparamfieldStringThe name of the parameter in the URL that contains the value of the current page number.

Default is 'pagenr'. Change this parameter in the event that there are multiple lists with paginators on the template.
usepaginatoryes
no
Set this parameter to 'yes' whenever this list has a Paginator tag attached. Default is 'no'.
sortorderasc
desc
Sets the default sort order for the list of links. This setting can be overruled by the editor.
sorttypemanual
type
Determines what field is used to sort the items by default. This setting can be overruled by the editor.

manual: The items are sorted using the sequence of the items in the editor.
name: The items are sorted by name

contentcacheIntegerA number in seconds that determines how long the RSS items are cached since the last feed retrieval. A minimal value of 3600 is mandatory.

Example

In this example the latest five rss items are shown. Content is refreshed every 20000 seconds:

  1. %RSS(class=rssclass, maxitems=5, itemtemplate=rss_item, type=ul, firstitemtemplate=rss_item, lastitemtemplate=rss_item, noitemstemplate=rss_listempty, httperrortemplate=rss_listerror, sortorder=asc,sorttype=manual, contentcache=20000)%


See Also:

Video Guides

How To...

Tag Definitions