Wikka Documentation : RssInfo

HomePage :: Index :: RecentChanges :: Search :: Login/Register

RSS Feeds

See Wikka in action:
See also:

RSS feeds have recently gained much popularity. Subscribing to a feed allows one to retrieve a list of what is changed on a page or site without having to visit the site.

Pages that make this possible often have a small button like "rss" or similar on their page(s). For example, Wikka's page revision feeds are available at the bottom of the page under the image icon.
 


Including RSS Feeds to wikka-pages

Wikka allows you to embed external RSS feeds within a page body. To include a RSS-feed, use the following action:

{{rss url="http://www.example.com" cachetime="30"}}

Parameters
nametyperequired?defaultdescription
urlstringoptionalsee usage!the url of the feed to be included
cachetimeintegeroptional30Time (in minutes) for which the feed is cached. Can't be below 5 minutes. This is useful for pages which aren't changed very often, reducing the traffic produced.


The following parameters are configured in actions/rss.php and can be changed only by page-admins:

$max_items = 30; // set this to the maximum items the RSS action should ever display
$caching = true; // change this to false to disable caching
$rss_cache_path = "/tmp"; // set this to a writable directory to store the cache files in
$lowest_cache_time_allowed = "5"; // set this to the lowest caching time allowed


Usage:
{{rss url="http://www.example.com" cachetime="30"}}


The following usage is deprecated and probably will not be supported in future versions. It is listed here for informational purpose only:
{{rss http://www.example.com}}


Example:

Wikka Documentation - recently changed pages




CategoryEN
flat flat threaded
Comments [Hide comments]
Comment by anonymous
2008-07-23 08:27:25
I want to embed an RSS feed of Google News Search results, yet when I followed these instructions it wouldn't work. I think it's because of the characters in the address e.g. +, however when I encode the address it still won't work. Don't get an error message, it's just blank......webgurl
Comment by DotMG
2008-07-23 09:54:17
No, that should be your server that can't access the requested ressource. Versions 1.1.6.5 and below use fopen() to get the resource. (The community mailing-list is a better place to ask for assistance.)
Creative Common Attribution-ShareAlike License
Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki
Page was generated in 0.1742 seconds