PHP Classes

Unified Search Engine Access: Search engine results retrieving

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 1,869 All time: 2,112 This week: 524Up
Version License Categories
usea 1.0.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
  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: 180 Up4 in Ukraine Ukraine Up
Innovation award
Innovation award
Nominee: 1x

Details

---------------------------------------------------------------------- Unified Search Engine Access - search engine grabber Copyright (C) 2003 Voznyak Nazar narkov@yahoo.com ---------------------------------------------------------------------- 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 http://www.gnu.org/copyleft/gpl.html ---------------------------------------------------------------------- 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("http://192.168.100.10:3128", "login:password"); Then you should start usea search: $usea->find();

  Files folder image Files (7)  
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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,869
This week:0
All time:2,112
This week:524Up