Home » Blog » Simple default use of Grouper

Simple default use of Grouper


by Paul Flyer

This example simply uses Grouper to search a term on Google News. No cache file will be set.

Grouper’s default mode uses Google News, so there are no other settings other than the search terms.

<?php
require_once ‘homedir/rootdir/grouper/grouper.php’;
GrouperShow(”fishing”);
?>

The require_once line points to the installed location of Grouper. This line calls Grouper.
GrouperShow is a Grouper command that goes out and finds the search results, creates the feed, and then displays the feed.

Create a php document. Call it test.php. Paste the above code into the test.php document.
Upload test.php to the web server. Call test.php from a browser. ie (www.yoursite.com/test.php or www.yoursite.com/dir/test.php)

In IE, the xml structure should appear in the browser window. Within Firefox, an open dialog will commence. Opening the document in wordpad will display the xml document for the feed.

This will successfully create a feed based off Google News for the search terms entered.

Want to add this feed to an RSS Reader?

Simply add www.yoursite.com/test.php to the Reader. Think of the test.php file as the actual feed.

06.16.2005 @ 7:48 AM — Filed under: Add to del.icio.us | Add to diigo

TrackBack this entry

Comments »

  1. » Turn Google News into RSS Feed with Grouper :: Recommended Web Tools comments:

    [...] The first example simple uses Grouper in default mode. Grouper uses Google News by default. [...]

    July 15th, 2005 at 1:35 pm


  2. » Turn Yahoo News into RSS Feed with Grouper :: Recommended Web Tools comments:

    [...] The search terms have double quotes around them to perform an exact phrase search. See my post on the simple default use of Grouper for more information on accessing the generated feed. [...]

    July 29th, 2005 at 3:48 pm


Leave a comment

Note: All comments are moderated. It may take 24-72 hrs for your comment to appear.

Partners

Point of Sale POS Software
The source for pos software point of sale & pos systems.



Ebook Feature

Domain Name Handbook

The Domain Name Handbook

Content Links

Recent Blog Posts

Blog Categories

Content You Should Read

  1. The Domain Name Handbook
  2. Keyword Analysis
  3. Search Engine Optimization Tip
  4. Diigo Social Bookmarking
  5. Website Validation
  6. 10 Things Text Link Brokers Can Improve
  7. 10 Text Link Advertising Pitfalls
  8. Three Problems with Google Analytics
  9. Merchant Account Comparison

Most Viewed Content

  1. Web Development and Design
  2. Web Tools
  3. Digital Point Keyword Suggestion Tool
  4. Removing Line Breaks After H1 Tags
  5. Google Analytics Review Part 1
  6. Keyword Suggestion Tools
  7. Three Problems with Google Analytics
  8. Graphic Design Tools
  9. Keyword Popularity Research
  10. Web Tools Directory

Most Clicked Links

  1. Digital Point Keyword Suggestion Tool
  2. Absolute Color Picker
  3. How to Build Websites
  4. HTML Kit
  5. HTMLDog
  6. Nichebot
  7. Yahoo Search Marketing Keyword Selector Tool
  8. Wordpress
  9. Keyword Activity Tool
  10. Total Validator

RSS & Atom Syndication

  • Subscribe to the RWT RSS Feed
  • Subscribe to the RWT Atom Feed

Email Updates

Weekly Blog Updates plus Quarterly Newsletter