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

GrouperGetSearchCache(search terms, cachefile);

Retrieves the specified data from Grouper's cache and stores it in the PHP variable $grouperrawdata. Returns 1 on success or 0 on failure.

search terms: The search terms that were used when performing the search. These will not affect the contents of the data that is returned, but will stored for possible internal use by Grouper.

cachefile: The filename of the local cache file or database key if using mySQL caching.



Example: (cache search results--then retrieve and output them (in RSS format)

<?php
require_once '/YOUR/PATH/TO/grouper/grouper.php';
GrouperCacheSearch('internet marketing','example.rss');
if (GrouperGetSearchCache('internet marketing','example.rss')) echo $grouperrawdata;
else echo "ERROR";
?>