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
.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 |
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 21st Anniversary, Tiki!
()
Today, we raise a virtual toast to celebrate the remarkable journey of Tiki Wiki CMS Groupware as it turns 21. What began as a modest wiki with extras in 2002 has blossomed into a versatile web application, shaping the landscape of intranets, websites, portals, knowledge bases, and more. Tiki has not just stood the test of time; it has evolved into a tech powerhouse.
-
Tiki 26 Release Continues Rapid Feature Development
()
Following the project's biggest-ever release, Tiki 25, seven months ago, the pace of code commits has only accelerated and now Tiki 26 is available with significant new features, further development of recent feature additions, and the usual bug fixes and enhancements. New features include color mode support, so Tiki sites are responsive to the user's browser color scheme preference and can be toggled between light, dark, and auto (with more configurability options coming soon). A new emoji picker enables picking and inserting emojis (finally 😬). Tiki 26 includes a new theme, BookStacked, an implementation of the BookStack web app appearance. Interact.js and a URL fragment guesser have also been added. Enhancements have been made to Cypht webmail, Calendars, the debugger console, InterTiki (for inter-Tiki-website interaction), Manticore search, Tiki's Markdown implementation, several modules, Tablesorter, Tiki Crawl for web scraping and web crawling, and the tracker feature. See https://doc.tiki.org/Tiki26 for more details. Tiki 26 has been updated to benefit from the higher performance and new features of PHP 8.1, including enums, readonly properties, first-class callable syntax, fibers, intersection types and so on. See Requirements for more information about Tiki and PHP versions. This release is available for download or installation via git or Tiki Manager. Many thanks to all who contributed to developing and testing Tiki 26. Tiki is free Open Source software that is made possible by individual volunteer efforts and donated funds and services. If you would like to help the project continue, please visit the page Contribute to Tiki. Any donation would be greatly appreciated. If there are any questions about this new release, please ask in the Tiki community chat room or use other contact options. To look into paid assistance, please visit the consultants page. For enterprise-level support, please contact EvoluData.
-
Tiki's code contributions are up 100% compared to the previous year!
()
See analysis at https://tiki.org/Open-Hub
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 21st Anniversary, Tiki!
()
Today, we raise a virtual toast to celebrate the remarkable journey of Tiki Wiki CMS Groupware as it turns 21. What began as a modest wiki with extras in 2002 has blossomed into a versatile web application, shaping the landscape of intranets, websites, portals, knowledge bases, and more. Tiki has not just ...
-
Tiki 26 Release Continues Rapid Feature Development
()
Following the project's biggest-ever release, Tiki 25, seven months ago, the pace of code commits has only accelerated and now Tiki 26 is available with significant new features, further development of recent feature additions, and the usual bug fixes and enhancements. New features include color mode support, so Tiki sites are responsive ...
-
Tiki's code contributions are up 100% compared to the previous year!
()
See analysis at https://tiki.org/Open-Hub
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 |