[Show/Hide Right Column]

Display items from an RSS feed
Print

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

idlist of IDs separated by commamandatory list of rss feeds
maxnumberoptionalNumber max of objects of the feeds (overwrite the default given in admin->rss modules)
date1 or 0 OptionalShows the date(default: 0=do not show the date)
desc1 or 0 or n OptionalShows the description(default: 0 do not show the description). If n, will show only the first n characters of the description
author1 or 0OptionalShows 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

idIDmandatoryID of the rss (see admin->Feeds modules
maxnumberoptionalmax number of objects to show
skipnumbers separated by commaoptionalthe objects to skip. Ex: 1,3 will skip the first object and the third one


Contributors to this page: DavidBright108 points  , xavidp901 points  , sylvie4333 points  , Rick7121 points  , pmorenogarcia2 points  , Marc Laporte5511 points  , lindon2331 points  and Nelson393 points  .
Page last modified on Friday 18 June, 2010 23:23:41 UTC by DavidBright108 points .

Find by Page Name

Exact match

Keywords

The following is a list of keywords that should serve as hubs for navigation within the Tiki documentation and should correspond to development keywords (bug reports and feature requests):