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. Required parameters are in bold.
Go to the source code
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
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
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
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:

The Tiki Wiki CMS Groupware community is excited to announce the release of Tiki 27.0 LTS. This Long-Term Support (LTS) version, which promises to be a game-changer for those anticipating the feature enhancements, will be supported until June 2029. Tiki 27.0 LTS is not a typical LTS release, which usually focuses on refining features rather than introducing major changes. This time, the Tiki developers have implemented significant updates, including Smarty 5 and a new build system. These enhancements are steps in a continuum, with more major changes coming in Tiki 28. The effort from Tiki 24 LTS to Tiki 27 LTS represents, by far, the most development work (quantity, complexity, and repayment of technical debt) that has gone into Tiki between any two LTS releases, including thousands of code commits and the most challenging PHP upgrade in Tiki's 20+ year history. Thanks to EvoluData and all the Tiki developers who made this possible. This version supports PHP 8.1, 8.2, and 8.3, along with MariaDB 10.5+ and MySQL 8+, ensuring compatibility with the latest server technologies. Major enhancements These are some of the features receiving major enhancements: Tiki's API functionality was expanded to support data and system management for Internet of Things (IoT) networks. Major changes were made in calendar event handling, recurring events, and the ability to specify periods of user availability when creating events and to specify appointment slots. And the Markdown editing experience was made more user-friendly while retaining compatibility with traditional Tiki syntax, via the TOAST UI editor. Webmail has also been enhanced as Cypht was upgraded from version 1.4x to 2.0x. Continuous improvement Along with the move forward in PHP version support, the Smarty template engine was updated from version 4 to 5. In other areas, the search feature, including semantic search, have been enhanced, and the onsite user-mentions feature has been improved with new features . . . .

On 2024-06-10, the Cypht community interviewed Jason. Watch the recording! https://github.com/cypht-org/cypht/wiki/AMA-Jason-Munro


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:

The Tiki Wiki CMS Groupware community is excited to announce the release of Tiki 27.0 LTS. This Long-Term Support (LTS) version, which promises to be a game-changer for those anticipating the feature enhancements, will be supported until June 2029. Tiki 27.0 LTS is not a typical LTS release, which usually focuses on refining ...

On 2024-06-10, the Cypht community interviewed Jason. Watch the recording! https://github.com/cypht-org/cypht/wiki/AMA-Jason-Munro

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
Unable to load the jQuery Sortable Tables feature.