Skip to main content

Geek post: How to use Google Search APIs on your blog

HOW CAN YOU MAKE GOOGLE SERVE YOU BETTER? Customizing Google search to suit one's needs in a more controlled manner has been a fairly less exploited area - at least by the end-users. Perhaps because there are enough 3rd party widgets available to assist a normal tusker with her Blog to do this work. This post, though a diversion from the normal theme of discussion here, is about getting a little hands-on with Google Search API to put a professional looking search-box on your blog - all the while utilizing existing components available on (what's called) the Google OS.


With a little tweak, this method also works with TypePad. Now, if you have means of posting CSS and JavaScript on your WordPress hosted blog, you can use Step-1 through Step-11 to create your customised Google Search Engine and plug it into your personal blog.

All the best!
  • Seel also:
  • Go here for documentation of the Google Search API.
  • Go here for (official) Google Ajax API's Blog
  • Go here for Ajax Search API Playground for some ready made code if you are ok with that black template (the blog is dead through).

Comments

Popular posts from this blog

OpenAI and the Network Effect (ft. Md Rafi and Ola Krutrim)

"Who is the greatest Bollywood singer of all times?" I typed into chat.krutrim.com It listed seven, but missed Mohammad Rafi.  Horrified, I followed up, "Why is Mohammad Rafi not in this list?"  And it missed the context, replying, "Mohammad Rafi is not in the list because the list you are referring to is not provided." With a deep sigh, it reminded me of Altman's India visit June last year. Someone asked him if India should invest in building a Foundational model (assuming funding and talent is not as issue). And he replied , "it would be hopeless to compete with us on training foundation models.. you shouldn’t try”. Try they will, and they should. The world's fourth(?) largest economy has pockets of deep pockets that can sustain the demands of developing a resource hungry technology such at Foundational LLMs. But distribution, diffusion and monetisation remains challenging, when chatGPT, Copilot and Gemini in Indic languages are just an App ...

Digitally.me (or, your next unicorn startup idea!)

Clone thyself as the next unicorn startup idea. Imagine you have the superpower to clone yourself. You can send this clone to as many places as you like. These clone presense will be present 24x7 for you. Serving you. As you. Like the various hats that you like to adorn, so do the clones. A clone for every Avatar of you that you’d like to personify. A clone for a situation, a clone for every need. Yes, imagine Agent Smith of the last act in The Matrix. Hundreds of “him”, doing work for him. Only, yours will be benign and avoid evil. Because you are not evil, and your clone is but what you are. My son was playing with a phone while I was on a separate WhatsApp call. He was making videos of himself, and he ended up capturing my voice from the call in the background. When I heard myself there, it gave me a start. Have you listened to yourself on a zoom call, video off, just a name displayed on the screen? Sarcasm aside, is that real you? Or is it an audio representation of you for tha...

The Independent Directors at OpenAI

Sam Altman was the CEO and  Greg Brockman  was the chairman of the board  at OpenAI.org, the parent company that is listed as a not-for-profit organization in the US u/s 501(C)(3).   On 17 Nov 2023 both of them were fired by the Independent Directors of the board. This post talks about the 4-day drama that ensued at the back of these events, focusing on the role of Independent Directors. (Try here for a related earlier post.) One year ago the company launched the ChatGPT, the Large Language Model, that rose to prominence with its Generative AI capabilities (“GPT” or Generative Pre-trained Transformer) and human-like response and interactive interface (“Chat”). At launch ChatGPT was based on based on GPT-3.5 series. The launch took the internet by storm as Microsoft unveiled its commercial partnership with the firm, and its global marketing machine geared into action.  To accommodate for this new profit-making "partnership" endeavor, the firm came up with anothe...