![Grouper: RSS manager, XML converter, website scraper](/img/logos/grouper_logo.jpeg)
Grouper - Documentation
Getting Started: Free Download |
Purchase |
Install
Reference: Functions | Plugins | Themes
Etc.: Configure | Affiliates
Reference: Functions | Plugins | Themes
Etc.: Configure | Affiliates
Networking Settings
Use the function "GrouperConf" to set the options listed on this page.
basicauth
To access password protected data, if the server accepts "Basic" authorization (the most widely supported method), enter your credentials here as "username:password".
Example: (loading a password protected Atom feed)
<?php
require_once '/YOUR/PATH/TO/grouper/grouper.php';
GrouperLoadPlugin('xml.php');
GrouperLoadPlugin('xml-atom-1.0.php');
GrouperSourceURL('http://example.com/password-protected/feed.atom');
GrouperConf('basicauth','johnsmith:admitme');
GrouperShow('');
?>
proxyserver
If the server on which Grouper is installed must go through a proxy server to reach the internet, Enter the proxy server's name or address here. The installation script will most likely tell you if you need to do this.
Example:
<?php
require_once '/YOUR/PATH/TO/grouper/grouper.php';
GrouperConf('proxyserver','192.168.15.188');
GrouperShow('cuisine');
?>
proxyauth
If the server on which Grouper is installed must go through a proxy server to reach the internet, and that server requires authorization credentials and accepts "Basic" authorization (the most widely supported method), enter your credentials here as "username:password".
Example:
<?php
require_once '/YOUR/PATH/TO/grouper/grouper.php';
GrouperConf('proxyserver','192.168.15.188');
GrouperConf('proxyauth','johnsmith:admitme');
GrouperShow('cuisine');
?>
timeout
The number of seconds to wait during the "CONNECT" phase of setting up a TCP/IP connection before aborting the attempt to execute the search.
Example: (set the "CONNECT" timeout to 5 seconds--fairly short)
<?php
require_once '/YOUR/PATH/TO/grouper/grouper.php';
GrouperConf('timeout',5);
GrouperShow('cuisine');
?>
maxredir: The maximum number of redirects to follow before giving up (default 15).
Example:
require_once '/path/to/grouper.php'; GrouperConf('maxredir',5); GrouperLoadPlugin('xml.php'); GrouperLoadPlugin('xml-atom-1.0.php'); GrouperConvert('http://example.com/feed.atom');