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.
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
| Name | Optional | Allowed values | Default value | Description |
|---|---|---|---|---|
| feed | no | URL | none | The RSS feed's URL |
| content | yes | "true" or "false" | "false" | If "true" displays the feed contents in addition to the feed item link |
| count | yes | an integer | undefined (i.e. all items) | The number of feed items to display |
| css | yes | "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 |
| image | yes | "true" or "false" | "false" | If "true" and if the feed has an image, display it |
| width | yes | a string | 30% | 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