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.
| Technorati Tags |
| google search [feed], search provider [feed], google [feed], ie7 [feed], customer search [feed], beta [feed], Internet Explorer [feed] |
| Related Wikipedia Documents |
| Google search, Features of Internet Explorer, Browser Helper Object |
| Related Amazon Books |
| The Search: How Google and Its Rivals Rewrote the Rules of Business and Transformed Our Culture: View From Amazon UK/View From Amazon USA Make Easy Money with Google: Using the Adsense Advertising Program: View From Amazon UK/View From Amazon USA Google Hacks: View From Amazon UK/View From Amazon USA Google Maps Hacks: View From Amazon UK/View From Amazon USA Windows Longhorn Developer Beta Preview: View From Amazon UK/View From Amazon USA |
| Related Images From Flickr |
![]() ![]() ![]() ![]() ![]() |
Comments: [Add New]
Nice. I look forward to the day when all blogs offer this.
Btw, your ShortName is much longer than 16 characters, the maximum, so you should be using LongName instead. See http://opensearch.a9.com/spec/1.1/description/#longname .
Also, while your OpenSearch Description file is correct, your display on the blog post uses some lowercase characters when they should be in uppercase. Somebody might get confused if they copy that and find out it doesn't work.
Another Example of Search Provider for Anonymouse.org can be found here:
http://anonymouse.org/addons/addons.html
With that you can surf anonymously by just entering any website in the searchbar-field.





