PUT GOOGLE SEARCH BOX IN BLOG
To put a single search box in your blog copy and paste the code below into a Html Page element in the sidebar :
<form action="http://www.google.com/search" method="get"><div style="border: 0px solid black; padding: 4px; width: 20em;">
<table border="0" cellpadding="0">
<tbody><tr><td>
<input maxlength="255" value="" name="q" size="25" type="text"/>
<input value="Google Search" type="submit"/></td></tr>
<tr><td style="font-size: 75%;" align="left">
<input checked="checked" value="MYBLOG.blogspot.com" name="sitesearch" type="checkbox"/> only search this blog</td></tr></tbody></table></div></form>
Change MYBLOG to actual name of your blog.
It will look like this :
If you want to provide an option to search your blog or the Internet use this code instead :
<form method="get" action="http://www.google.com/search"><div style="border:1px solid black;padding:4px;width:20em;"><table border="0" cellpadding="0"><tr><td><input type="text" name="q" size="25"
maxlength="255" value="" /><input type="submit" value="Google Search" /></td></tr><tr><td align="center" style="font-size:75%">
<input type="checkbox" name="sitesearch"value="http://YOURBLOGNAME.blogspot.com" checked /> only search this blog<br /></td></tr></table>
</div></form>
Instead of 'YOURBLOGNAME' put actual name of blog.
It will look like this :
PUT GOOGLE BLOGSEARCH BOX IN BLOG
If you want to put a Google Blogsearch box in your blog add this code in a Html page element :
<FORM METHOD="GET" ACTION="http://blogsearch.google.com/">
<INPUT TYPE="hidden" name="num" value="10" />
<INPUT TYPE="hidden" name="hl" value="en" />
<input name="as_sitesearch" value="BLOG_URL" type="hidden">
<INPUT TYPE="text" NAME="as_q" style="width: 100px;" />
<INPUT TYPE="submit" value="Google Blog Search!" />
</FORM>
Change BLOG_URL to actual address of your blog.
It will look like this :
SEARCH FOR BLOGS
There are four options if you wish to search for other blogs :
1. Google Blog Search : It is a special search engine of Google for blogs. To search for blogs using this go to :
http://blogsearch.google.com/
2. Technorati Search : Technorati is a search engine specializing in blogs. To search go to Technorati and type in your query in the search box at the top and press Enter key on keyboard.
3. Search Blogger Profiles : You can use Blogger Profiles to search for Bloggers having the same interest as you do. For example to find Bloggers with an interest in music use :
http://www.blogger.com/profile-find.g?t=i&q=music
Change the word 'music' in above to what interest you want and paste in address bar of browser and press Enter.
4. Search for blogs at Google.com itself.
5. Blogger Style Interface Search.
6. The Navbar on any Blog*Spot blog. The Navbar, provides two buttons: one to search the blog you are currently viewing, and one to search all blogs.
CUSTOM GOOGLE SEARCH ENGINE
You can also put a Custom Google Search Engine in your blog. You can customize this search engine to search only the sites or blogs you specify along with many other customizations.








16 comments:
Dear Vin, I did the first option and google told me that charles ( the word I typed in)
Charleswww.creativeflairchic.blogspot.com could not be found
There is a post with Charles in it in my blog pls advise what I'm missing :-) thank you so much
ATBAB
All Things Bright and Beautiful,
I was not able to test this in your blog because it takes long to load. Try putting less posts on Main Page by going to Settings---->Formatting---->Show __ posts on Main Page.
When I type :
inurl:creativeflairchic Charles
in a Google Search box I get the link of your posts containing the word 'Charles'. So you need not worry.
ah - so I have to type it in like that - not just Charles!
Thank you!
Ok -I'll add that instruction to type it in that way
Is there any way perchance that I can just have people type Charles in and have it only search my blog without having to type inurl:creativeflairchic before the topic I want to search on??
sorry to bother you again Vin
I pasted inurl:creativeflairchic charles into my search box on my blog and it came up with this on a google page
Your search - inurl:creativeflairchic charles site:www.creativeflairchic.blogspot.com - did not match any documents.
All things bright and beautiful,
There was some problem with the code. I have corrected it now. Copy either the first block of code or the second in this post at the top.
You can check by typing :
inurl:creativeflairchic charles
in the first Google search box in this post and uncheck the option to search this blog only and click Search button.
Dear vin - thank you ! I'm off to try it out:-)
My blog, oaklandcrimeblog.blogspot.com, is password protected. Is that why this code does not work?
HarriOak Crime Blog,
Is it a private blog? If so then it is not indexed by Google.
hey
thanks for the code...but i am having a problem with it , when i search for a particular word , the search is listing other posts also which are not related to the word but are posted on the same page.
Tripti,
Can you give more details? What word did you search for? What was the link of the page returned by the search?
i searched for 'dev d' and in the result page i got is this - http://www.google.com/search?q=dev+d&sitesearch=mnmbuzz.blogspot.com
which is listing the posts of other movies also , which are not related to 'dev d'
thanks for looking into my problem :)
Tripti,
The word 'dev d' is on every page of your blog because it is in the sidebar which is there in every post/page.
Where can I find search strings for doing an advanced search on my blog? For instance, I would like to post search results for a phrase that appeared during a certain month or with a certain label (tag), or maybe even both.
Linda,
Put in a search box as shown above. Then type in your phrase within quotation marks in the box like this :
"my beautiful blog"
and click search. Copy the results returned and paste in your blog.
Vin, thanks so much. Got it working. Yet another question...Can I put someone else's blog url in the search name to search their blog (i.e., such as comments)?
Lucien,
You can do so if the gadget is on their blog.
CLICK HERE TO LEAVE A COMMENT.
Skip to top of post.