PHP Classes
elePHPant
Icontem

Yahoo Boss Search: Search the Internet using the Yahoo BOSS API

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (9)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2008-08-20 (8 years ago) RSS 2.0 feedStarStarStarStar 63%Total: 946 This week: 1All time: 3,658 This week: 1,047Up
Version License PHP version Categories
yahoo_boss_search 1.0.1BSD License5.2PHP 5, Searching, Web services
Description Author

This class can be used to search the Internet using the Yahoo BOSS (Build your Own Search Service) Web services API.

It can send a HTTP request to the Yahoo BOSS Web services server to perform a search that can be for Web pages, images or news.

The request can limit the number of results to return per page and specify the start page.

The class decodes the results returned in JSON format and stores them in a class array variable for use of the application. The results may also be cached in a local file.

Picture of Anirban Bhattacharya
Name: Anirban Bhattacharya <contact>
Classes: 2 packages by
Country: India India

Details
////////////////////////////////////////////////////

Y A H O O   B O S S  S E A R C H  1 . 0 . 1
//////////////////////////////////////////////////

System Requirement:

PHP Version 5.2 or higher

CURL : You can get cURL here 

You can get libcURL here http://curl.haxx.se/

Linux : To use PHP's cURL support you must also compile PHP --with-curl[=DIR] where DIR is the 
location of the directory containing the lib and include directories. In the "include" directory 
there should be a folder named "curl" which should contain the easy.h and curl.h files. 
There should be a file named libcurl.a located in the "lib" directory. 

Windows : In order to enable this module on a Windows environment, libeay32.dll and ssleay32.dll 
must be present in your PATH. 

Windows with Apache: Uncomment this line (extension=php_curl.dll) in php.ini and restart apache

Now place all files in your web folder or in any folder under web folder.

Sign up and generate Yahoo API key from here http://developer.yahoo.com/search/boss/

Open boss.php and edit this line $bs->setAPI('Your Yahoo API key');

Your application is ready to go


Screenshots  
  • boss
  Files folder image Files  
File Role Description
Files folder imageimages (1 file)
Plain text file boss.php Example An example script for Ajax example
Plain text file bossSearch.php Class The class file
Plain text file index.2.php Example Ajax example script
Plain text file index.php Example Example
Plain text file jquery-1.2.1.pack.js Data Jquery file
Plain text file ReadMe.txt Doc. Installation Instructions
Plain text file reset-fonts-grids.css Data The CSS file
Plain text file search.php Example Example

  Files folder image Files  /  images  
File Role Description
  Image file loadingAnimation.gif Icon Image file

 Version Control Unique User Downloads Download Rankings  
 0%
Total:946
This week:1
All time:3,658
This week:1,047Up
User Ratings User Comments (2)
 All time
Utility:83%StarStarStarStarStar
Consistency:83%StarStarStarStarStar
Documentation:58%StarStarStar
Examples:75%StarStarStarStar
Tests:-
Videos:-
Overall:63%StarStarStarStar
Rank:835
 
Thanks a lot for this.
7 years ago (Justin Noel)
77%StarStarStarStar
the script is not working.
8 years ago (Pushpinder Singh Bagga)
35%StarStar