pnWikka : RssInfo
HomePage :: Categories :: Page Index :: RecentChanges :: Search :: Help :: Login/Register
Wikka Documentation
pnWikka note: To be revised...
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
icon.
{{rss url="http://www.example.com" cachetime="30"}}
The following parameters are configured in actions/rss.php and can be changed only by page-admins:
Usage:
Example:
CategoryDocumentation
pnWikka note: To be revised...
RSS Feeds
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
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
| name | type | required? | default | description |
|---|---|---|---|---|
| url | string | optional | see usage! | the url of the feed to be included |
| cachetime | integer | optional | 30 | Time (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
$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"}}Example:
Name : http://dev.pnconcept.com/index.php?module=pnWikka&func=RecentChangesXML
URL : http://dev.pnconcept.com/index.php?module=pnWikka&func=RecentChangesXML
2006-05-27 14:27:58 by Chestnut (Various fix on the Formatting rules...)
CategoryDocumentation

