Wiki source code of RSS Macro (Radeox)

Last modified by Vincent Massol on 2016/06/05 22:04

Hide last authors
Vincent Massol 12.2 1 Displays a RSS feed.
2
3 {{info}}
Vincent Massol 12.5 4 There's now a [[XWiki Syntax 2.0 RSS Macro>>Extension.RSS Macro]].
Vincent Massol 12.2 5 {{/info}}
6
7 == Usage ==
8
9 {{code language="none"}}
10 {rss:feed=<feed>|img=<img>}
11 {{/code}}
12
13 === Parameters definition ===
14
15 |=Name|=Optional|=Allowed values|=Default value|=Description
16 |feed|no|URL|none|The RSS feed URL
17 |img|yes|"true" or "false"|"false"|If "true" and if the feed has an image, display it
Vincent Massol 12.6 18 |align|yes|values allowed by the align parameter of the [[Image Macro>>Image Macro (Radeox)]]|"left"|Specifies how to align the image (only used if the ##img## parameter has been specified
Vincent Massol 12.2 19 |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
20 |count|yes|an integer|undefined (i.e. all items)|The number of feed items to display
21 |full|yes|"true" or "false"|"false"|If "true" displays a summary in addition to the feed item link
22 |search|yes|"true" or "false"|"false"|If "true" and if the feed as a search field, then this field will be displayed
23
24 == Example ==
25
26 {{code language="none"}}
27 {rss:feed=http://beust.com/weblog/index.rdf|full=true|count=3}
28 {{/code}}
29
30 === Result ===
31
32 {{image reference=rssexample.png/}}
33

Get Connected