PHP Classes

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    
Ratings Unique User Downloads Download Rankings
StarStarStar 57%Total: 949 All time: 3,788 This week: 75Up
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
Age: 47
All time rank: 1733103 in India India
Week rank: 312 Up22 in India India Up

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:949
This week:0
All time:3,788
This week:75Up
User Ratings User Comments (2)
 All time
Utility:75%StarStarStarStar
Consistency:75%StarStarStarStar
Documentation:56%StarStarStar
Examples:68%StarStarStarStar
Tests:-
Videos:-
Overall:57%StarStarStar
Rank:1588
 
Thanks a lot for this.
15 years ago (Justin Noel)
77%StarStarStarStar
the script is not working.
15 years ago (Pushpinder Singh Bagga)
35%StarStar