Google Search and IE 7 Search Provider

If you are using IE7 Beta 2 and you are looking this entry from my site you should notice that I have provided a customer search provider.

The search provider hooks up with Google search, so you can now search my site for specific text. I am not too sure if this breaks any T's & C's of Google but I will take it down if anyone complains.

This is just a showcase really to show you how easy it is to set up a custom site search provider in Internet Explorer 7 Beta 2.

There is an OpenSearch file at http://www.kinlan.co.uk/opensearch.xml which contains the following:

<opensearchdescription xmlns="http://a9.com/-/spec/opensearch/1.1/"><shortname>Paul Kinlans Blog: Google Search</shortname><description>A Google Search from Paul Kinlans C#, .Net Framework</description><url template="http://www.google.com/custom?q={searchTerms} &domains=www.kinlan.co.uk& sitesearch=www.kinlan.co.uk&amp;forid=1&ie=ISO-8859-1&oe=ISO-8859-1&safe=active& cof=GALT:#008000;GL:1;DIV:#336699;VLC:663399; AH:center;BGC:FFFFFF;LBGC:336699;ALC:0000FF; LC:0000FF;T:000000;GFNT:0000FF;GIMP:0000FF; FORID:1;&hl=en" type="text/html"></opensearchdescription>

And each page has the following <link> in the section.<link title="C#, .Net Framework: Google Search" href="http://www.kinlan.co.uk/opensearch.xml" rel="search" type="application/opensearchdescription+xml" />

Hope this helps anyone who wants to set up search providers.

I lead the Chrome Developer Relations team at Google.

We want people to have the best experience possible on the web without having to install a native app or produce content in a walled garden.

Our team tries to make it easier for developers to build on the web by supporting every Chrome release, creating great content to support developers on web.dev, contributing to MDN, helping to improve browser compatibility, and some of the best developer tools like Lighthouse, Workbox, Squoosh to name just a few.

I love to learn about what you are building, and how I can help with Chrome or Web development in general, so if you want to chat with me directly, please feel free to book a consultation.

I'm trialing a newsletter, you can subscribe below (thank you!)