I'll Tag It!!

academics and life of me

Slotting Google Search Widget

without comments

So, I got this idea to embed google search widget onto my blog (hooray…I have it now). After spending hours of searching such widget (I know I was supposed to get my PhD done, haha, but hey, it’s for the sake of knowledge), I learned that google is deprecating their Google Web Search API and replacing it with another application programming interface offer named Google Custom Search. I did not really know the difference (and a bit do not care too), but in the subscription process, I guessed the tool can only provide search within the website. I ignored the search tool and continue with hope to get much proper tool as expected.

I ended up with a suggestion to use Google Search with AdSense. As I thought this AdSense would be able to accept global search, I then applied for the memberships. But hey, the process returned to Google Custom Search! By applying Google AdSense, you would be using Google Custom Search too. But, how about the internal only search capacity of Google Custom I firstly thought? It turned out that it does having global search capability in its search preferences on its control panel. Only I did not find such options when I first tried to apply Google Custom in separate way ( not through Google AdSense).

With a help of my admin, I manage to insert this java script-based code by using special plugin (Google Custom Search uses java script which is not provided by local admin before). Type your words snippet in my google search and hopefully, you get what you’re looking for.

PS: My subscription with Google AdSense did not work out. I’ll tell you the story in the forthcoming posting.

Written by Ritchi

July 14th, 2011 at 6:27 pm

Posted in Fun