Fullscreen
Loading...
 
[Show/Hide Right Column]

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: DavidBright112 points  , lindon132 điểm  , sylvie7387 points  , Marc Laporte9140 points  , pmorenogarcia2 points  , Rick22958 points  , Nelson810 points  and xavidp1213 points  .
Page last modified on Friday 18 June, 2010 23:23:41 UTC by DavidBright112 points .
The content on this page is licensed under the terms of the Creative Commons Attribution-ShareAlike License.

Site Language

Reference Guide

Keywords

These keywords serve as "hubs" for navigation within the Tiki documentation. They correspond to development keywords (bug reports and feature requests):



Tiki Newsletter

Delivered fresh to your email inbox!
Newsletter subscribe icon
Don't miss major announcements and other news!
Contribute to Tiki