Rss Macro

This is a XWiki macro, bundled with all the XWiki products by default.
Macro developed by the XWiki Development Team.
This macro cannot currently be downloaded separately.

Rss Macro

Displays the contents of a RSS feed.

Usage

{{rss feed="<feed>" /}}

Parameters definition

NameOptionalAllowed valuesDefault valueDescription
feednoURLnoneThe RSS feed's URL
contentyes"true" or "false""false"If "true" displays the feed contents in addition to the feed item link
countyesan integerundefined (i.e. all items)The number of feed items to display
cssyes"true" or "false""false"If "true" then adds class id elements (rssitem, rssitemtitle, rssitemdescription, rsschanneltitle, etc) which you can style by modifying your skin's CSS file
imageyes"true" or "false""false"If "true" and if the feed has an image, display it
widthyesa string30%The width, in px or %, of the box containing the RSS output

Example

{{rss feed="http://feeds.feedburner.com/massol" content="true" image="true" count="2" /}}

Result

rssexample.png

Tags:
Created by Dan Miron on 2009/03/20 15:19
Last modified by Asiri Rathnayake on 2009/07/23 14:37

This wiki is licensed under a Creative Commons license
2.2.1.27354