|
Plug-in PHP: 100 Power Solutions By Robin Nixon (McGraw Hill 2010, ISBN 978-0071666596) Home | About | Buy It |
Chapter 10: Plug-in 76 - Search Yahoo!Both Yahoo! and Google provide excellent search results and Microsoft's Bing search isn't bad either. But because the quality of Yahoo!'s results are, in my opinion, equal to Google's I thought I would root for the underdog and provide a plug-in for Yahoo!'s search API, particularly considering that their API allows unlimited uses per day (although they reserve the right to limit this and/or charge in future), plus you are permitted to re-order and blend the results with other content. Using this plug-in you can provide three arguments to have up to 50 results returned at a time, and can page through the remaining results as deeply as you like. |