History: PluginRSS
Source of version: 21 (current)
Copy to clipboard
! Plugin RSS Use this ((wiki plugin)) to display items received from an external RSS feed that has been set up in the external feed feature (at -+tiki-admin_rssmodules.php+- ). See ((External Feeds)) on how to set up Tiki to receive external feeds, which will need to be done first before using this plugin. For outgoing RSS feeds, see ((Feeds)). !!Parameters {pluginmanager plugin="rss"} !!!Usage notes * -+feedId+- is the id of the feed set up at ''Settings > External Feeds'' (or -+tiki-admin_rssmodules.php+- ), -+max+- is the number of shown entries, -+date+- and -+author+- (optional) are added if set to -+1+- , and hidden if set to -+0+- , -+desc+- is a short description of the current rss item (optional). You can also combine feeds by indicating -+1:2+- , or -+1:2:3+- to add feeds together. Note, however, that if you are combining feeds, "show publish date" must be checked in the Feeds module settings, in order to allow this plugin to sort the combined feeds. !! Examples Let's say you wish to display the list of last 3 items of a feed with the Id of 1 inside a Wiki page. Simply include this in your page, with date, but no author: {CODE(colors="tiki")} {rss id="1" max="3" date="1" author="0" desc="1"} {CODE} ''On this site, this would produce:'' {rss id="1" max="3" date="1" author="0" desc="1"} Now you want the same using a "Ticker like" effect: {CODE(colors="tiki")} {rss id="1"max="3" date="1" author="0" desc="1" ticker="1" desclen="50"} {CODE} ''On this site, this would produce:'' {rss id="1"max="3" date="1" author="0" desc="1" ticker="1" desclen="50"} !! Smarty Feeds Function You can also include a feed in a wiki page by using the Feeds Smarty function ( -+lib\smarty_tiki\function.rss.php+- ). Its usage is: {CODE(colors="tiki")} {rss id="5" max="10"} {CODE} !!! Parameters for Smarty Function {FANCYTABLE(head-"Parameters|Accepted Values|Required?|Description")} id|ID|mandatory|ID of the rss max|number|optional|max number of objects to show skip|numbers separated by comma|optional|the objects to skip. Ex: 1,3 will skip the first object and the third one {FANCYTABLE} !!Related pages * ((External Feeds))