Grouper - Documentation
Yahoo! News Plugin
The
Yahoo! News plugin can be used to search Yahoo! News for news items, blog posts, etc.
Since Yahoo! News is able to return its results in RSS format, the plugin simply returns the search results as formatted by Yahoo! News.
Installation:
To use the Yahoo! News plugin, yahoo.php must be located in the "plugins" folder inside the folder containing grouper.php.
This is the default location when Grouper Evolution is installed.
Use:
The following code searches Yahoo! News and outputs the results in RSS format:
<?php
require_once '/YOUR/PATH/TO/grouper/grouper.php';
GrouperLoadPlugin('yahoo.php');
GrouperShow('SEARCH TERMS','CACHE-FILE-NAME');
?>
Configuration:
You may configure the behavior of the Yahoo! News plugin using the function GrouperSourceConf, as follows:
GrouperSourceConf('OptionName','new value');
See
this page for a description of the options available for the Yahoo! News plugin.