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

Function Reference

GrouperSourceURL(URL);

DEPRICATED: Beginning with Grouper 1.6, replace the use of GrouperSourceURL and GrouperShow with GrouperConvert.

This function is a shortcut to setting the "searchdomain" and "querystart" configuration settings at the same time. When Grouper was originally created, it only worked with news search engines, for which these configuration setting names made complete sense. But when blog and XML support were added, it made more sense to specify the source URL all at once.

URL: The address of the feed or other document to be processed by Grouper. Beginning with Grouper 1.6, the name of a cache file may be specified by entering "grouper:cache-name".

IMPORTANT NOTE: With Grouper Evolution 1.5.2 and earlier, if GrouperLoadPlugin is called or GrouperConf is called to change the "source" option after calling this function, this function's settings will be lost. Be sure to call this function after loading the desired plugin.



Example: (set the URL of an Atom feed)
<?php
require_once '/YOUR/PATH/TO/grouper/grouper.php';
GrouperLoadPlugin('xml.php');
GrouperLoadPlugin('xml-atom-1.0.php');
GrouperSourceURL('http://example.com/feed.atom');
GrouperShow('','example-atom.rss');
?>