search discovery in Firefox 2.0

If you’re using Bon Echo Alpha 3, you’ll notice that when you visit Technorati, the search engine icon changes color. If you select the drop down from the search bar, you’ll also get “Add Technorati Search” as an option.

Here’s what needs to be embedded in the head of your page:

link rel=“search” type=“application/opensearchdescription+xml” title=“Foo” href=http://foo.com/bar.xml

e.g.

link rel=“search” type=“application/opensearchdescription+xml” title=“Technorati Search” href=http://technorati.com/osd.xml

Then you need to create a similar document: http://technorati.com/osd.xml

I’d advise companies to have an “add search engine to browser” link/image as well using JavaScript as described here or here.

If you’re a search engine, get going on this. I’ve only seen this work on Technorati (works on Live.com too apparently) though I imagine I’ll see this incorporated with most sites — don’t need to be a search company to make this work.

Very well done. I’m assuming this is Gavin’s work. Nice!

**Updated w/ more documentation links.

10 thoughts on “search discovery in Firefox 2.0”

  1. Definitely cool that Technorati has added support for this already. I can’t take credit for the autodetection code in Firefox though, it’s all Pam Greene’s work. She implemented it in bug 335443.

  2. This is awesome that Firefox is supporting Open Search Discovery. I actually coded that up on the Technorati site this past March at the urging of Microsoft’s Joshua Allen since the IE7b2 released at the Mix06 event supported Open Search Discovery.

    It’s nice to see that supporting an open standard “just worked” with a new implementation. Gotta love it.

  3. Is anyone smart enought to understand why Fx is not able to download the search plug in on my web page? http://www.noteme.com ? It only gives me an error message. Do I need to set some mime type or something on the server?

    Thanks
    – ØØ –

  4. OMG, how could I not see that. I must have been totaly blind today. Feel OK stupid right now. Well thanks a lot for your help. Works like a dream now.

    – ØØ –

Leave a Reply

Your email address will not be published. Required fields are marked *