Over at The Last Word, Aditya has come up with a great blog-search hack that displays the search results in your template. As regular readers know, one of the things that adds value to a hack & makes it worth implementing is the nature of the output. Are you taken offsite / to a 3rd party to see search results, category lists &c, or can you pull those goodies back into your sidebar (or a fake post) for maximum integration and slick-looking professionalism?
So... This hack takes Google Blog Search results, converts them to a JSON feed and lets you format them any way that you please on your blog. Cool. The code is alll available at The Last Word. Once again, there's instructions on wrapping the inserts in rarely-used tags so that the special parts of the template are easily seen by the script. The hack is also working wonderfully over there in the sidebar, so you can test it before you install it!!
Filed in: google search blogsearch blogtech blogger-hacks
Did I say that? :P They can go in <div>'s. What makes a difference here is the id value of the element which gets written to!
Thanks for the link John!
"Notice, that I have used the container tag named text to show the results. You can change it to anything for your usability comfort."
;P
Oh, and I take back what I said about using Yahoo's web service search: its indexing is just a little too sloppy for this purpose.