PHP Classes

Unified Search Engine Access: Search engine results retrieving

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   View files View files (7)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2004-01-26 (11 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 1,850 All time: 2,022 This week: 1,159Up
Version License Categories  
usea 1.0GNU General Publi...Searching, Web services
Description Author  

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
Name: Voznyak Nazar is available for providing paid consulting. Contact Voznyak Nazar .
Classes: 4 packages by
Country: Ukraine Ukraine
Age: 35
All time rank: 36810 in Ukraine Ukraine
Week rank: 938 Down21 in Ukraine Ukraine Down
Innovation award
Innovation award
Nominee: 1x

 Unified Search Engine Access - search engine grabber
 Copyright (C) 2003 Voznyak Nazar
 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
 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)

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.

>> curl_lib


// 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

The first thing that has to be added is corresponding search engine class:
require_once '../cusea_google.php'
require_once '../cusea_lycos.php'
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:

  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  
 0%Total:1,850All time:2,022
 This week:0This week:1,159Up