Grouper Documentation
Grouper Documentation
twitter youtube linkedin google-plus
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


Atom 0.3 plugin

The Atom 0.3 plugin works with the XML plugin to convert Atom 0.3 feeds to RSS.

Installation:
To use the Atom 0.3 plugin, xml.php and atom-0.3.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 Atom 0.3 feed and output it as RSS:

<?php
require_once '/YOUR/PATH/TO/grouper/grouper.php';
GrouperLoadPlugin('xml.php');
GrouperLoadPlugin('xml-atom-0.3.php');
GrouperSourceURL('http://example.com/atom.xml');
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','/atom.xml');

Configuration:
No additional configuration is needed for the Atom 0.3 plugin. Check the documentation for the XML plugin for configuration options.