16
Jun
06

OpenSearch

So, today, I enabled the OpenSearch spec on my blog. I doubt people come here to search, but it's good technology that I think should be out there more often.

If you're using IE7, you'll notice that when you're here, your search drop-down has an orange button next to it (details on IE7's auto-discovery implentation can be found here).

IE7 Autodiscovery

Unfortunately, Firefox doesn't support OpenSearch yet (that I can find).

The way I got this working was really to read the OpenSearch spec on A9's OpenSearch How-To page. Pretty simple, actually. I created the opensearch xml file, and added the following to the header of each page on my blog:

 <link rel="search" 
        type="application/opensearchdescription+xml" 
        title="marius dot org Search"
        href="http://www.marius.org/opensearch.xml" />

Simple as that.

[Update: Confirmed that Firefox does not currently support OpenSearch, but it looks like Firefox 2 will]


2 Responses to “OpenSearch”


  1. 1 Michael Fagan Jun 16th, 2006 at 12:41 pm

    Firefox supports OpenSearch as of FF Bon Echo (towards version 2).

  2. 2 Knox North Jun 21st, 2006 at 2:32 pm

    I like the way you implemented the OpenSearch and thanks to Michael Fagan for the tip about Firefox. http://www.openSearchList.com is a place to add and look for searches saved in the OpenSearch format.

Leave a Reply