Sep 21, 2011

Google Custom Search

If you are an amateur site designer and want to know how to include the popular google search bar in your site, then this is where you should be.
Google claims, With Google Custom Search, you can harness the power of Google to create a customized search experience for your own website.

  • Include one or more websites, or specific webpages
  • Host the search box and results on your own website
  • Customize the look and feel of the results to match your site



Now Theory aside,
The obvious first step is to goto http://www.google.com/cse/
and click on the large blue button


 And you reach a page looking like this



Fill up the details and click on the standard edition, if you're a freebie


Now you'll be presented with an array of different styles. Chose one 

You may always customise if you do not like the predefined ones.


click on next 
and voila !! you get the code !!
Which looks like this

Copy and paste this code in you website and you'll have a custom google search bar.

Now If you feel that some thing is not right,
Then you can always come back and make the following changes
  • Change the basics.
  • Include more sites.
  • Change the look and feel.
  • Sign up to make money with Google AdSense.
  • Create search refinements and promotions.
Article Number UAN#016CMKT