Loading...
 
Skip to main content
Display items from one or more RSS feeds

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

Display items from one or more RSS feeds
Introduced in Tiki 1.
Go to the source code
Preferences required: wikiplugin_rss

Parameters Accepted Values Description Default Since
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
tplWiki text Custom wiki page with smarty content to use for displaying feed items instead of the default template 28.0
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
refresh digits Refresh period in minutes, determining how frequently the RSS feed is updated. 60 29.0
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
url url The full URL of the RSS feed. Use this parameter if you want to directly link to an RSS feed without adding it to the RSS Administration page. 29.0
id int
separator: :
List of feed IDs separated by colons (e.g., feedId:feedId2). You can find the IDs in the RSS Administration page: tiki-admin_rssmodules.php. 1
sortBy title
publication_date
author
Sort by field publication_date 28.0
sortOrder ASC
DESC
Sort order DESC 28.0

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:

Copy to clipboard
{rss id="1" max="3" date="1" author="0" desc="1"}


On this site, this would produce:

A Security update is now available for Tiki 21.x LTS (Long-Term Support). Users of this version are strongly recommended to update their websites. Please get the latest version file here: Tiki 21.11. Note that Tiki 21.x will enter end of life in March 2025 and after March it will no longer receive security fixes, so any site using this version should start making upgrade to Tiki 24.7 or Tiki 27.1. Many thanks to Shimon Silberschlag and Aviv Vinograzki (as main reporter) from Israel National Cyber Directorate | Active Cyber Defense Center, Sheela Sarva and Mayank from QUALYS for vulnerabilities report. If there is any question, please post it in the forums here or in the Tiki chat or on a Tiki mailing list. Support beyond what the Tiki community can provide through these channels is also available from EvoluData (https://evoludata.com/Tiki-Extended-Security-Maintenance), including support for any version, including outdated versions.

Security updates are now available for several Tiki versions: Tiki 27.x LTS(Long-Term Support), Tiki 26.x, Tiki 24.x LTS and Tiki 21.x LTS. Users of any of these versions are strongly recommended to update their websites. Please get the latest version files here: Tiki 27.1, Tiki 26.3, Tiki 24.7, Tiki 21.10 Note that Tiki 26x entered end of life period and will no longer receive security fixes, so any site using this version should be upgraded to Tiki 27.1. Many thanks to Shimon Silberschlag (Israel National Cyber Directorate | Active Cyber Defense Center), Sheela Sarva and Mayank from QUALYS for vulnerabilities report. If there is any question, please post in the forums here or in the Tiki chat or on a Tiki mailing list. Support beyond what the Tiki community can provide through these channels is also available from EvoluData (https://evoludata.com/Tiki-Extended-Security-Maintenance), including support for any version, including outdated versions.

Security updates are now available for several Tiki versions: Tiki 27.x LTS(Long-Term Support), Tiki 26.x, and Tiki 24.x LTS. Users of any of these versions are strongly recommended to update their websites. Please get the latest version files here: Tiki 27.1, Tiki 26.3, Tiki 24.7. Note that Tiki 26x entered end of life period and will no longer receive security fixes, so any site using this version should be upgraded to Tiki 27.1. Many thanks to Shimon Silberschlag and Aviv Vinograzki (as main reporter) from Israel National Cyber Directorate | Active Cyber Defense Center, Sheela Sarva and Mayank from QUALYS for vulnerabilities report. If there is any question, please post in the forums here or in the Tiki chat or on a Tiki mailing list. Support beyond what the Tiki community can provide through these channels is also available from EvoluData (https://evoludata.com/Tiki-Extended-Security-Maintenance), including support for any version, including outdated versions.


Now you want the same using a "Ticker like" effect:

Copy to clipboard
{rss id="1"max="3" date="1" author="0" desc="1" ticker="1" desclen="50"}


On this site, this would produce:

A Security update is now available for Tiki 21.x LTS (Long-Term Support). Users of this version are strongly recommended to update their websites. Please get the latest version file here: Tiki 21.11. Note that Tiki 21.x will enter end of life in March 2025 and after March it will no longer receive ...

Security updates are now available for several Tiki versions: Tiki 27.x LTS(Long-Term Support), Tiki 26.x, Tiki 24.x LTS and Tiki 21.x LTS. Users of any of these versions are strongly recommended to update their websites. Please get the latest version files here: Tiki 27.1, Tiki 26.3, Tiki 24.7, Tiki 21.10 Note that Tiki 26...

Security updates are now available for several Tiki versions: Tiki 27.x LTS(Long-Term Support), Tiki 26.x, and Tiki 24.x LTS. Users of any of these versions are strongly recommended to update their websites. Please get the latest version files here: Tiki 27.1, Tiki 26.3, Tiki 24.7. Note that Tiki 26x entered end of ...

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:

Copy to clipboard
{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