Create your own search provider for IE 7.0
Like FireFox Internet Explorer 7.0 now also has the possibility to search websites with the handy little search box in the upper right corner. It's very easy to create your own OpenSearch description document and add it to IE to search other websites (perhaps your own).
The OpenSearch description document is an XML-document with the following structure:
<?
xml version="1.0" encoding="UTF-8"?>
<
OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
<
ShortName>CodeProject</ShortName>
<
Description>Use to search the CodeProject</Description>
<
Tags>example web</Tags>
<
Contact>admin@example.com</Contact>
<
Url type="text/html"
template="http://www.codeproject.com/info/search.asp?cats=2&cats=3&cats=4&cats=5&cats=6&searchkw={searchTerms}&Submit1=Search&author=&sd=15+Nov+1999&ed="/>
</OpenSearchDescription>
The template attribute is the search url of the site (for this example I used The CodeProject) and contains a special {searchTerms} tag. This is the place where your keywords will be inserted. For a complete specification of this document look here.
To add it to your browser just create a html page like this one:
<html>
<body>
<a href="#" onClick="window.external.AddSearchProvider('http://[your url]/codeproject.xml');">Voeg Codeproject aan je browser toe</a><br/>
</body>
</html>
I have created a sample page
here with the CodeProject provider and one for BloggingAbout.Net (although the search function of this blog usually returns no results, will probably be solved in the next upgrade ;-).