I am now using Yahoo Search

December 13th, 2007 by Alistair MacDonald Leave a reply »

You may have noticed that I am have a search option on my site for a while now. This searches my blog and other sites, and has been powered by Google. This used the Google AJAX Search API and although did an okay job, it did not give me the control I wanted.

Today, after leaving it until later many times, I decided to have a play with the Yahoo Search API and it does everything I want it to.

Now when you search from something on my site it constructs a REST query and submits it to Yahoo. The result is retuned (I am using JSON) and then I parse the data how I want it. The search is restricted to my sites alone and I also add a little icon that identifies what site the data was found on. I am keeping the layout simple and not overloading the user with information, but if you hover over the logo and title you should see the URL.

So why not give it a go and search my stuff.

Advertisement
i love Quidco GreenWhite

Leave a Reply

css.php