Login   Register  
PHP Classes
elePHPant
Icontem

Google_Query: Retrieve the count of results of Google query

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author Author  
Picture of MARY Matthieu
Name: MARY Matthieu <contact>
Classes: 19 packages by
Country: France, Metropolitan France, Metropolitan
Age: 35
All time rank: 241 in France, Metropolitan France, Metropolitan
Week rank: 136 Down1 in France, Metropolitan France, Metropolitan Equal


  Detailed description   Download Download .zip .tar.gz  
This class is meant to connect to Google and perform a query to Google.

The class lets you specify the query parameters as in the advanced search page of Google. Then it connects to Google site via HTTP and retrieves the contents of the results page.

The class also parses the results to obtain the number of occurrences found for the specified query.

The class requires PHP with TCP socket connection support enabled.

A bug has been fix : if google change it's result page design, results wasn't parse. To fix this problem, Google_AdvancedQuery class retrieve from a centralised location the valid detection pattern. you can update it according with your policy.
Class has been wrote back to php5 and zend coding standards.

  Classes of MARY Matthieu  >  Google_Query  >  Download Download .zip .tar.gz  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Google_Query
Base name: google_query
Description: Retrieve the count of results of Google query
Version: -
PHP version: 5.0
License: GNU General Public License (GPL)
All time users: 3372 users
All time rank: 950
Week users: 0 users
Week rank: 1831 Equal
 
  Groups   Rate classes User ratings   Applications   Related pages   Files Files  

  Groups  
Group folder image Searching Search engines, crawling and indexing View top rated classes
Group folder image Web services Web data clipping, SOAP or XML-RPC clients and servers View top rated classes


  User ratings  
RatingsUtility Consistency Documentation Examples Tests Videos Overall Rank
All time: Sufficient (78%) Good (82%) - Sufficient (75%) - - Not sure (54%) 1254
Month: Not yet rated by the users

  Applications that use this package  
phplibrairies
phplibraries
Usage example
Usage example
Add link image If you know an application of this package, send a message to the author to add a link here.

  Related pages  
documentation
phpdoc
exemple
another exemple with copy screen and related code
forum
Share yours problems, questions, and use on the official forum for this class
simpletest
Simpletest package

  Files folder image Files  
File Role Description
Files folder imageCache (1 file)
Files folder imageGoogle (3 files)
Files folder imageTest (1 directory)
Files folder imageTestlaunchers (1 directory)
Accessible without login Plain text file Autoload.php Aux. loader
Accessible without login Plain text file class_google_example.php Example how to install and use this class
Accessible without login Plain text file LICENCE Lic. GPL copy

  Files folder image Files  /  Cache  
File Role Description
  Plain text file class_cache.php Class this class make the cache functions

  Files folder image Files  /  Google  
File Role Description
  Plain text file AdvancedQuery.php Class query which can updated result number design pattern
  Plain text file class_google.php Class class file
  Plain text file Query.php Class basic query class

  Files folder image Files  /  Test  
File Role Description
Files folder imageGoogle (2 files)

  Files folder image Files  /  Test  /  Google  
File Role Description
  Accessible without login Plain text file AdvancedQuery.php Test Unit test class for Google_AdvancedQuery
  Accessible without login Plain text file Query.php Test Unit test class for Google_Query

  Files folder image Files  /  Testlaunchers  
File Role Description
Files folder imageGoogle (2 files)

  Files folder image Files  /  Testlaunchers  /  Google  
File Role Description
  Accessible without login Plain text file AdvancedQuery.php Test Launch unit test case Test_Google_AdvancedQuery
  Accessible without login Plain text file Query.php Test Launch unit test case Test_Google_Query

Download Download all files: google_query.tar.gz google_query.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.