Google Blogoscoped

Friday, June 2, 2006

Google Ajax Search API

Google released a search widget for bloggers/ webmasters to include on their sites. The interesting thing about the widget is that users won’t leave the page searching for something, as results are loaded right below the search box via AJAX. Search results are sorted into 4 different categories – local, web, video, and blogs – and can be displayed in a list or with tabs. As a bonus, users can use the “copy” button on results to add them to other content (such as blog post comments).

[Thanks Dan Neal and Garrett French.]

Update: MarkL, apparently a Google employee, in the comments writes:

And as for version 0.1 vs. 1.0... If enough people like the API as is, we are done. What we are really trying to do here is get feedback from you on what you do and don’t like. This is a real beta program where we want to hear what you have to say and where we will address as many issues with the design and interface that we can.

On the missing button when you don’t include the Google CSS, MarkL writes:

If you look REALLY closely, you will notice that the search control’s images are all done using image replacement. So that “button” is really a background image on an adjecent div. Why? So that when you plunk this into your site, if you don’t want that button, its a simple css override to use one of your own buttons. All of the graphic elements, color scheme, etc. are done this way so that with a very small amount of skill, this think can look right for you, your site, and your visitors.



Blog  |  Forum     more >> Archive | Feed | Google's blogs | About


This site unofficially covers Google™ and more with some rights reserved. Join our forum!