PHP Classes

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

Recommend this page to a friend!
  Info   Screenshots   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 57%Total: 950 All time: 3,790 This week: 524Up
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: 48
All time rank: 1735103 in India India
Week rank: 195 Up20 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 (1)  
  • boss
  Files folder image Files (10)  
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 (10)  /  images  
File Role Description
  Image file loadingAnimation.gif Icon Image file

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:950
This week:0
All time:3,790
This week:524Up
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:1608
 
Thanks a lot for this.
15 years ago (Justin Noel)
77%StarStarStarStar
the script is not working.
16 years ago (Pushpinder Singh Bagga)
35%StarStar