Apologies for dragging this thread back from the grave, but as I already have AniDB as a search plugin in Firefox, and I'm currently beta testing Vista, I thought the same functionality in IE7 would be useful - especially as Firefox 2 will also use OpenSearch, and it can be used beyond just supporting the IE7 searchbar.
So without further ado, I wrote my own OpenSearch description of AniDB, according to the OpenSearch 1.1 spec:
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
<ShortName>AniDB</ShortName>
<Description>AniDB is non-profit database of anime information that is freely open to the public.</Description>
<Tags>arts media animation</Tags>
<Url type="text/html"
template="http://anidb.info/perl-bin/animedb.pl?show=search&search.anime.name={searchTerms}&sourceid=opensearch&do.search=+Start+Search+"/>
<!-- <LongName>AniDB</LongName> -->
<!-- <Image height="64" width="64" type="image/png">http://example.com/websearch.png</Image> -->
<Image height="16" width="16" type="image/vnd.microsoft.icon">http://www.anidb.net/favicon.ico</Image>
<Developer>Jaymz</Developer>
<Attribution>
Search data (C) 2002-2005 by AniDB, all rights reserved
</Attribution>
<!-- <SyndicationRight>open</SyndicationRight> -->
<!-- Might want to modify syndication rights -->
<AdultContent>true</AdultContent>
<Language>en-us</Language>
<OutputEncoding>us-ascii</OutputEncoding>
<InputEncoding>us-ascii</InputEncoding>
</OpenSearchDescription>
To allow IE7 and Firefox 2 to autodiscover this service, you can add this to the <head> portion of your site:
Code: Select all
<link rel="search"
type="application/opensearchdescription+xml"
href="http://server.goes.here/path/to/anidb-search.xml"
title="AniDB" />
That way, the search box in IE has a little flashy thing, from which the end user can add it to their list of search engines. Seeing as this isn't just a Microsoft thing (in fact, OpenSearch is mostly Amazon's doing, and Firefox 2 will also be supporting it) and can allow for far more uses than just adding a search box IE users, it might be worthwhile at least considering.
Edit: Just confirmed this method works in both IE7 under Vista RC2 and in Firefox 2 RC2 as well.