Grouper: RSS manager, XML converter, website scraper
Web This Site

Grouper - Documentation


Getting Started: Free Download | Purchase | Install
Reference: Functions | Plugins | Themes
Etc.: Configure | Affiliates


RSS 2.0 plugin

The RSS 2.0 plugin works with the XML plugin to convert RSS 0.91-0.94 to RSS 2.0, and to clean up RSS 2.0 feeds.

Installation:
To use the RSS 2.0 plugin, xml.php and rss-2.0.php must be located in the "plugins" folder inside the folder containing grouper.php. This is their default location when Grouper Evolution is installed.

Use:
The following code will read an RSS 2.0 feed and output it as RSS:

<?php
require_once '/YOUR/PATH/TO/grouper/grouper.php';
GrouperLoadPlugin('xml.php');
GrouperLoadPlugin('xml-rss-2.0.php');
GrouperSourceURL('http://example.com/feed.rss');
GrouperShow('','CACHE-FILE-NAME');
?>

Note: if you are using Grouper version 1.4.2 or earlier, you must replace the call to GrouperSourceURL with something like the following:

GrouperSourceConf('searchdomain','example.com');
GrouperSourceConf('querystart','/feed.rss');

Configuration:
No additional configuration is needed for the RSS 2.0 plugin. Check the documentation for the XML plugin for configuration options.