Mar
1st

Customize your Firefox Search Box (with your own Blog!)

Thanks for stopping by my personal blog on Marketing Technology! Over 50,000 visitors a month find my content worth returning for, so don't forget to subscribe to the Marketing Technology Blog RSS feed or to the Marketing Technology Email to have new content sent directly to your inbox. You may also find my other business blog helpful, Social Media Domination.

Firefox Search ListYou may have figured out my now that I’m a Firefoxaholic. I love the browser… it’s lightweight and very simple to use. One of the other features I like is the search list up in the top right. I can have all my favorite search engines in there and flip back and forth.

To add a search engine for Firefox, you just have to go to the Search Engine Add On page and click the ones that you want to install them.

But did you know that you could build one for your own site? It’s actually quite simple. The format for Search Engine plugins is a combination of an XML file (.src) and an image to display. Tonight, I got an idea… how could I add my site to that list of Search Engines?

It’s actually quite easy. My search address for my site (you can test this with my search box) is http://marketingtechblog.com?s=something where “s” is the variable and something is the term that is searched for.

Applying these to a simple form, I wrote some code to dynamically generate the src file that is used to add a search engine to your browser. Click here to go to the form and add your own blog or site (if it has search capabilities), to your own blog!

If you love someone else’s blog, like John Chow… you can add your own John Chow Search engine with s as the variable! URL: http://www.johnchow.com/?s=something. Like Problogger? You can add that one the same way!

Matt Cutts? URL: http://www.mattcutts.com/blog/ and s for the variable.

Unless customized, s is always the variable for WordPress blogs so this can really be helpful. Hope you like it!

Add your blog to your Search Engine List…

RSS feed | Trackback URI

6 Comments »

Comment by no imageBlendah Tom (SezWho)
2007-03-02 00:04:23

Hi,

I am trying to add my Google CSE via this method but I am having issues… what am I missing?

This is great stuff.. thanks so much Douglas!

Rate this:
2.9
Comment by no imageDouglas Karr (SezWho)
2007-03-02 08:24:21

Thanks Blendah!

I was actually going to try that next. Firefox is a little finicky on the path statement for the source file. I had to trick it in order to get this to work. Let me take a look at that in a day or so and I’ll see what we can come up with. I’m guessing it’s some kind of issue with the characters passed.

Doug

Rate this:
2.9
 
 
2007-03-02 04:27:10

[...] je ook wel eens dat je even snel een artikel in je eigen weblog wilt zoeken? Met behulp van dit script van Douglas Karr kun je heel gemakkelijk je eigen weblog (en natuurlijk ook andere) toevoegen aan [...]
 
Comment by no imageMaster Name (SezWho)
2007-03-02 10:47:59

Very good find. I am always going in to find post to link to, this will save some time.
Rate this:
2.9
 
Comment by no imageDouglas Karr (SezWho)
2007-03-02 12:38:17

Thanks, Master!

I must confess that it was self-serving. I’m constantly searching my own site for things I’ve forgotten. :)

Rate this:
2.9
 
Comment by no imageengtech (SezWho)
2007-03-02 15:50:16

I find that google site searches (using the site: keyword) usually gives a better result than using the Wordpress internal search.
Rate this:
2.9
 
Name (required)
E-mail (required - never shown publicly)
URI
Your Comment (smaller size | larger size)
You may use <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> in your comment.

My Comment Policy: I moderate comments. Please be patient:

  • Spam will happily be destroyed.
  • Use your real name, not some keywords. Otherwise it will be destroyed.
  • Mean comments aren't necessary. If I don't post them I will reply personally to let you know why.
  • Lewd comments will be edited, I don't want my readers leaving because of offensive content.
Great debate, criticism and colorful commentary is always appreciated and approved!