PHP Classes

Unified Search Engine Access: Search engine results retrieving

Recommend this page to a friend!
  Info   View files View files (7)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 1,868 All time: 2,112 This week: 190Up
Version License Categories
usea 1.0.0GNU General Publi...Searching, Web services


This package is mean to access search engine sites to perform search queries and collect the URL of each of the search results.

The package comes with base classes that perform retrieval and parsing of generic search engine result pages. There are also sub-classes specialized on performing search queries to Google, Lycos and Rambler.

Picture of Voznyak Nazar
  Performance   Level  
Name: Voznyak Nazar is available for providing paid consulting. Contact Voznyak Nazar .
Classes: 4 packages by
Country: Ukraine Ukraine
Age: 44
All time rank: 38910 in Ukraine Ukraine
Week rank: 362 Up7 in Ukraine Ukraine Up
Innovation award
Innovation award
Nominee: 1x


---------------------------------------------------------------------- Unified Search Engine Access - search engine grabber Copyright (C) 2003 Voznyak Nazar ---------------------------------------------------------------------- LICENSE This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License (GPL) as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have recieved the lincence included with the disribution. If not visit ---------------------------------------------------------------------- Unified Search Engine Access (USEA) v.0.0.1 USEA is a suite which can be used for grabbing results from search engine. In order to provide flexibility of our software and its compatibility with existed search engines we should use some generalized set of subroutines. It is the highest abstract layer for accessing the search engine results. Implementation of these functions may use both page parsing algorythm or engine's API. Requirements: >> curl_lib Classes ------- iusea+ | cusea+ | cusea_google | cusea_lycos | cusea_rambler Interface --------- // Unified Search Engine Access Interface class iusea { // Perform search function find() {} // getting page from Internet function get_page() {} // getting links from page function parse() {} // recursive grabbing documents from search engine // $start - number of search engine page to start grabbing // it must be overriden for each search engine function grab($start) {} // Get total number of found documents function get_doc_count() {} // Get USEA version function get_version() {} } // end of interface usea Example ------- The first thing that has to be added is corresponding search engine class: require_once '../cusea_google.php' or require_once '../cusea_lycos.php' or require_once '../cusea_rambler.php' That needs to be placed before anything else in the page. The next step is to create object of corresponding class and set some additionaly parameters: $usea = new cusea_google($search); $usea->set_proxy("", "login:password"); Then you should start usea search: $usea->find();

  Files folder image Files  
File Role Description
Plain text file cusea.php Class general usea class
Plain text file cusea_google.php Class cusea google class
Plain text file cusea_rambler.php Class cusea rambler class
Plain text file iusea.php Class usea interface
Accessible without login Plain text file readme.txt Doc. usea documentation
Accessible without login HTML file search.html Data usea example
Accessible without login Plain text file usea_test.php Example usea example

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:2,112
This week:190Up