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
Introduced in Tiki 1. Required parameters are inbold
.Preferences required: wikiplugin_rss
Parameters | Accepted Values | Description | Default | Since |
---|---|---|---|---|
id |
int separator: : |
List of feed IDs separated by colons. ex: feedId:feedId2 |
1 | |
desclen |
digits | Max characters/length, truncates text to fit design | 0 | 10.1 |
icon |
url | URL to a favicon to put before each entry | 5.0 | |
max |
int | Number of results displayed. | 10 | 1 |
author |
(blank) 1 0 |
Show authors (not shown by default) | 0 | 1 |
date |
(blank) 1 0 |
Show date of each item (not shown by default) | 0 | 1 |
desc |
(blank) 1 0 |
Show feed descriptions (not shown by default) | 0 | 1 |
showtitle |
(blank) 1 0 |
Show the title of the feed (shown by default) | 1 | 6.0 |
ticker |
(blank) 1 0 |
Turn static feed display into ticker news like | 1 | 10.1 |
Usage notes
-
feedId
is the id of the feed set up at Settings > External Feeds (ortiki-admin_rssmodules.php
),max
is the number of shown entries,date
andauthor
(optional) are added if set to1
, and hidden if set to0
,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:
{rss id="1" max="3" date="1" author="0" desc="1"}
On this site, this would produce:
-
Happy Birthday, Tiki!
()
October 9 is a special date for us, as it marks the completion of another successful year for Tiki Wiki CMS Groupware. It was all started in 2002 by Luis Argerich with just handful of users and with significant community support still off in the future. After years of active development, in 2020, Tiki has had one of the largest Open Source teams in the world. Tiki has been contributed to by some 300 developers, and has thousands of users, many features and configuration options, continuous improvement and industry-wide use for public websites and nonpublic intranets and special applications.
-
Security Releases of all Tiki versions since 16.3
()
Due to some essential security fixes in all Tiki branches since 16.x we are happy to announce the release of the following minor updates: 21.2, 20.4, 19.3, 18.7, 17.3, 16.4. We strongly recommend all Tiki website administrators to upgrade their sites to the latest Tiki versions. If you cannot do even a minor upgrade please contact security at tiki.org for advice on to how to secure your installation.
-
New Security Releases! Tiki 21.1 LTS, 20.3, 18.6 and 15.9 LTS Versions Just Released!
()
The Tiki community just released important security and bug-fix updates of the supported branches! We strongly recommend all Tiki website administrators to upgrade their sites to the latest relevant Tiki version. Download Now!
Now you want the same using a "Ticker like" effect:
{rss id="1"max="3" date="1" author="0" desc="1" ticker="1" desclen="50"}
On this site, this would produce:
-
Happy Birthday, Tiki!
()
October 9 is a special date for us, as it marks the completion of another successful year for Tiki Wiki CMS Groupware. It was all started in 2002 by Luis Argerich with just handful of users and with significant community support still off in the future. After years of active development, in 2020, ...
-
Security Releases of all Tiki versions since 16.3
()
Due to some essential security fixes in all Tiki branches since 16.x we are happy to announce the release of the following minor updates: 21.2, 20.4, 19.3, 18.7, 17.3, 16.4. We strongly recommend all Tiki website administrators to upgrade their sites to the latest Tiki versions. If you cannot do even a minor upgrade please contact ...
-
New Security Releases! Tiki 21.1 LTS, 20.3, 18.6 and 15.9 LTS Versions Just Released!
()
The Tiki community just released important security and bug-fix updates of the supported branches! We strongly recommend all Tiki website administrators to upgrade their sites to the latest relevant Tiki version. Download Now!
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:
{rss id="5" max="10"}
Parameters for Smarty Function
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 |