24 October 2006

Search Providers for IE7

How easy is it to create an installable search provider for IE7?

Very easy.

1. Using the form provided by the browser you can make your own and then view xml to grab the code for your search provider. You may need to add amp; to your ampersands in the URL. Save the file and upload to your web server.



2. In your download page you can include a button for the download to be triggered.

<INPUT TYPE="button" VALUE="Add Test Search Provider"
onClick='window.external.AddSearchProvider("http://domain/yoursearchproviderfile.xml");'>



3. You can also have an autodiscovery link in the head so that users can try before they download.

<link title="Name" rel="search"
type="application/opensearchdescription+xml"
href="http://domain/yoursearchproviderfile.xml">


Check out the OpenSearch description if you want to start from scratch.

You can try out the one I made for my library catalogue.



Now as soon as IE7 is rolled out on campus...