Plugin Feeds
This plugin includes an Feeds feed in a wiki page, and it has been introduced in Tikiwiki 1.9.For information about what an Feeds feed is, please read Feeds.
Usage
{RSS(id=feedId,max=numberOfItems,date=1,author=1,desc=1)}{RSS}feedId is the id of the feed in the feed list of Admin / Feeds, max is the number of shown entries, date and author (may be missing) are added if the switch is 1, and hidden if the switch is 0, desc is a short description of the current rss item (may be missing).
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.
You must create the feedID at tiki-admin_rssmodules.php
Example
Let's say you wish to display the contents of 10 items of a feed with the Id of 5 inside a Wiki page. Simply include this in your page, with date, but no author:{RSS(id=5,max=10,date=1,author=0,desc=1)}{RSS}Parameters
| id | list of IDs separated by comma | mandatory | list of rss feeds |
| max | number | optional | Number max of objects of the feeds (overwrite the default given in admin->rss modules) |
| date | 1 or 0 | Optional | Shows the date(default: 0=do not show the date) |
| desc | 1 or 0 or n | Optional | Shows the description(default: 0 do not show the description). If n, will show only the first n characters of the description |
| author | 1 or 0 | Optional | Shows the author(default: 0 do not show the author) |
Smarty Feeds Function
You can also include an Feeds feed in a wiki page by using the Feeds Smarty function (lib\smarty_tiki\function.rss.php). Its usage is:{rss id=5 max=10}Parameters
| id | ID | mandatory | ID of the rss (see admin->Feeds modules |
| 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 |
