Login   Register  
PHP Classes
elePHPant
Icontem

File: GoogleDIT.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Umang Beri  >  Google It  >  GoogleDIT.php  >  Download  
File: GoogleDIT.php
Role: Example script
Content type: text/plain
Description: Example
Class: Google It
Get the latest headline from Google news
Author: By
Last change: Updated with more examples.
Date: 10 years ago
Size: 293 bytes
 

Contents

Class file image Download
<?

require ("GoogleClass.php");

//change your topic here
$str "PHP";

//create object
$blah = new GoogleIt($str);

//create output
echo $blah->GoogleD();        //default 1 output
echo $blah->GoogleD(5);       //5 articles
echo $blah->GoogleD(10);      //10 articles (max)
?>