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 which contains the following:

<opensearchdescription xmlns=“">
<shortname>Paul Kinlans Blog: Google Search</shortname>
<description>A Google Search from Paul Kinlans C#, .Net Framework</description>
<url template=“{searchTerms} &;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”>

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

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

Paul Kinlan

Trying to make the web and developers better.

RSS Github Medium