Google Site Search in Blogger

Just so I don’t forget, this is how to put a Google Site Search (search within your domain) in your Blogger template:

<FORM METHOD="GET" ACTION="http://www.google.com/search">
<INPUT TYPE="hidden" name="num" value="10" />
<INPUT TYPE="hidden" name="hl" value="en" />
<INPUT TYPE="hidden" name="as_sitesearch" value="<$BlogURL$>" />
<INPUT TYPE="text" NAME="as_q" style="width: 100px;" />
<INPUT TYPE="submit" value="Search!" />
</FORM>

Copy/Paste into your Blogger sidebar and off you go!

These icons link to social bookmarking sites where readers can share and discover new web pages.
  • del.icio.us
  • digg
  • Furl
  • Ma.gnolia
  • NewsVine
  • Reddit
  • TailRank

If you're new here, you may want to subscribe to my RSS feed or receive updates via email. Thanks for visiting!

3 Responses to “Google Site Search in Blogger”


  1. Gravatar Icon 1 Tim

    note that this will not work in blogger beta because
    value=”" is not valid. hand-code the url here or figure out the new syntax for this.

  2. Gravatar Icon 2 Tim

    I mean value=”<$BlogURL$>” is not valid

  3. Gravatar Icon 3 grapplica

    i’ve added it onto my blogger but it’s an overall google-search add, not a search within my domain… or do i have to change still something within the code?

Leave a Reply