I have been using Technorati blog search add-in for Sree’s Tech Notes. Lately I find Technorati weaker and weaker as the blogosphere grows. Google Blog Search now performs much better than Technorati search, updates it’s indexes within minutes.
Technorati provides eazy to copy & paste code for incorporating their blog search engine to any blog. But I haven’t seen Google doing this. Anyway, I like the Google service and want to put it in my blog.
Here is the code I wrote to incorporate Google Blog Search in Sree’s Tech Notes blog.
<form class="search" action="http://www.google.com/blogsearch" method="get" onsubmit="if(this.q.value=='Search Tech Notes') {return false;}else{this.q.value=this.s.value+' blogurl:https://teck.in/'};"> <input type="text" size="18" name="s" value="Search Tech Notes" title="Enter Your Search Query Here" onfocus="if(this.value=='Search Tech Notes'){this.value=''};" onblur="if (this.value==''){this.value='Search Tech Notes'};" /> <input type="submit" value="Search"/> <input type="hidden" name="q"/> </form>
Sample:
BTW, which blog search engine do you use? Why?
Be the first to comment