2005.01.23

A search engine on your blog.

Searching for information is the real problem on the internet. This rule also applies to the Blog-o-sphere and even your own blog !

Here is a way to insert a Google search engine on your blog at Blogspirit.

First let's insert the html code in your blog with the help of the "link-note" box.

<div class="link-note">
<form method="get" action="http://www.google.com/search">
<input type="text" name="q" size="5" maxlength="255" style="width:95px;" />
<input type="submit" name="btnG" value="Go" style="width:25px;" />
<input type="hidden" name="domains" value="http://YOURBLOG.blogspirit.com" />
<input type="hidden" name="sitesearch" value="http://YOURBLOG.blogspirit.com" />
</form>
</div>




Now we will try to modify the text box. You can edit the width but also the background and the text color :

<div class="link-note">
<form method="get" action="http://www.google.com/search">
<input type="text" name="q" size="5" maxlength="255" style="width:95px; background-color: #addfe8; color: #01717f;" />
<input type="submit" name="btnG" value="Go" style="width:25px;" />
<input type="hidden" name="domains" value="http://YOURBLOG.blogspirit.com" />
<input type="hidden" name="sitesearch" value="http://YOURBLOG.blogspirit.com" />
</form>
</div>




The "valid" button can be changed the same way :

<div class="link-note">
<form method="get" action="http://www.google.com/search">
<input type="text" name="q" size="5" maxlength="255" style="width:95px; background-color: #addfe8; color: #01717f;" />
<input type="submit" name="btnG" value="Go" style="width:25px; background-color: #addfe8; border: 2px solid #000; color: #000;" />
<input type="hidden" name="domains" value="http://YOURBLOG.blogspirit.com" />
<input type="hidden" name="sitesearch" value="http://YOURBLOG.blogspirit.com" />
</form>
</div>




Before this search engine works, Google needs to know your blog. If you have just created your blog, this can take some days but as your blog is visible on Blogspirit home page, on communities, on Blogspirit search engine or on friends blogs, Google robots will be interested in your blog very soon !

02:15 Posted in Tools | Permalink | Comments (7) | Email this | Tags: Web

Trackbacks

Custom boxes : some good ideas for your blog

Want to decorate your blog ? Want to add some feature to your blog ?

Here is a list of ideas for the new Blogspirit feature, the custom blocks.

Ad Sense : good to earn some incomes with your blog (in fact the best solution), Google AdSense smart ...

Trackback by: TechnoBlog : open your blog. | 2005.03.17

Comments

I love BlogSpirit! It is very friendly to use, and the community features are awesome! But sometimes it updates slowly.

I have "published" posts that are not viewable yet. For example, right now in the Iraq community (http://community.blogspirit.com/iraq/) it gives a link to this story -- http://tdaxp.blogspirit.com/archive/2005/01/24/zarqawi_does_know_better.html. In a few hours that page will exist, but now it doesn't. Sometimes I have to wait a day before stories I publish (and that are listed in categories immediately) show up on my blog.

What can I do?

Posted by: Dan | 2005.01.24

Amazing Dear friend! Thanx 4 nice info, but execusew me, where to add that code? Might look an idot Q but I can't really find the answer? Can u help with that?
Thanx anyway

Posted by: Haitham | 2005.02.07

Dan -> Your problem should resolved now.

Haitham -> To insert this type of code, you need to go into the "Design" section -> "Advanced Design"
You may insert your search motor in your index template (ie home page), in your permalink templates (every post page) or in a sidebar.
To insert this code in the sidebar, the best option is to edit your calendar template.
Insert this code at the end of the file, don't forget to replace the "YOURBLOG" string, save and it's done !

NB: your blog needs to be "known" by Google.

Posted by: thomas | 2005.02.08

You do know that if u dont insert the Google logo next to the search bar, your site will be removed from Google, right?

Posted by: Gautam | 2005.06.22

Gautam -> can you prove that ? I 've never seen such condition to insert a google search engine.

Posted by: thomas | 2005.06.27

At the risk of sounding absurd, all I can say is that I was looking for code to install a Google Search Engine on my blog and I came accross a discussion forum, just like yours, where it was specifically mentioned that I need to keep the Google Logo next to my search bar.

I apologize for not remembering where I read that. I tried looking for it again, but I dont remember the keywords I typed on the google search bar to get to it.

In any case, I quit my search to install a search bar.

Posted by: Gautam | 2005.06.30

Amazing

I dial "blogspirit search code" into google and the perfect solution comes up, top of the list.

Thanks for putting this together

Posted by: Aaron | 2005.11.19

The comments are closed.