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

GrouperSourceConf(option name(s),value[, array name]);

Sets a data source specific configuration option to the specified value. Note that you must set the "source" option (eg. GrouperConf('source','yahoo');) or load a plugin (eg. GrouperLoadPlugin('yahoo.php');) BEFORE calling this function if you wish to set an option for a non-default source. See the configuration page for a list of available configuration options.

option name(s): The name of the option to set.
value: The value to which to set the option or options.
array name: If the option is part of an array of options, the name of the array. Refer to the documentation for individual options to see when this is needed.



Example: (get Yahoo! News results encoded as UTF-8)

<?php
require_once '/YOUR/PATH/TO/grouper/grouper.php';
GrouperLoadPlugin('yahoo.php');
GrouperSourceCont('encoding','UTF-8');
GrouperShow('cuisine','yahoo-cuisine');
?>