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&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.
1 min read
Google Search and IE 7 Search Provider
Paul Kinlan
Lead of Chrome DevRel
See Also
Tags
Stay in the loop.
I'm trialing a newsletter. Join for monthly insights into web dev, Chrome, and the open web.