Sellout Saturday: Adding Google Site Search Module to Your Site

by Johnny Debacle

This is a secret sell-out. I struggled forever to get a small form factor site search module from either Yahoo or Google. At first, I opted for Yahoo as it seemed to be the more flexible code and hoped it would boost our Yahoo search ranking which seemed to blow. I settled on Google once I stripped out a bunch of different aspects of it and got into the smallest size possible. So if you want to add Google Site Search to your Site and in the slimmest fashion, use the code below. Be mindful that you need to replace the three bracketed portions (“yoursitehere.com”) with your own url in the format as it is in the brackets. But remove the brackets. Works great in a sidebar, as you can see at the bottom of ours.

Here is the code: Link to Google Search Module Code

Here is a picture of an orangutan:

By using this code, you are essentially leveraging yourself to my coding skills. Which plays into my self-involvement meme.

Share This, Please