Login   Register  
PHP Classes
elePHPant
Icontem

Google_Query

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of MARY Matthieu  >  Google_Query  >  Download .tar.gz .zip  >  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
Related classes: , , , , , , ,
Version: -
PHP version: 5.0
License: GNU General Public License (GPL)
All time users: 3317 users
All time rank: 874
Week users: 1 user
Week rank: 2417
 

  Author  
Picture of MARY Matthieu
Name: MARY Matthieu <e-mail contact>
Packages: 19 Browse all classes by MARY Matthieu Browse all classes by
Country: France, Metropolitan France, Metropolitan - PHP jobs in France, Metropolitan
Age: 33
All time rank: 231 in France, Metropolitan France, Metropolitan
Week rank: 125 Down1 in France, Metropolitan France, Metropolitan Equal


  Detailed description  
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.

  Groups   Freshmeat project   Rate classes User ratings  
  Applications   Related links   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


  Freshmeat project  
Project record: class_google
Popularity score: 22.72
Vitality score: 54.94

  User ratings  
Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Sufficient (78.6%)
Good (82.1%)
-
Sufficient (75.0%)
-
-
Not sure (55.0%)
1171
Month:
Not yet rated by the users

  Applications that use this class  
Link Description
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 links  
Link Description
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)
Plain text file Autoload.php Aux. loader
Plain text file class_google_example.php Example how to install and use this class
Plain text file LICENCE Lic. GPL copy

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

  Files  /  Files folder image 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  /  Files folder image Test  
File Role Description
Files folder imageGoogle (2 files)

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

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

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

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.