OpenSSL and OpenSearch
Some of the development I have been doing lately has had me searching through the OpenSSL online documentation quite frequently. While most times the OpenSSL site pops up first in the google results it is not always the case. Google allows you to constrain the search to a particular site by adding a site:site-name expression to the search. This is great but more typing than I care to do repeatedly. My solution was to add an OpenSearch to the IE7 search.
The great thing is that this works in both IE and FireFox through the simple inclusion of a <link/> HTML element. If you check your search drop down you should see that OpenSSL Search Provider is availabe for using to search.
<?xml version="1.0" encoding="UTF-8"?>
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
<ShortName>OpenSSL</ShortName>
<Description>OpenSSL constrained search using Google</Description>
<Tags>OpenSSL SSL TLS</Tags>
<InputEncoding>UTF-8</InputEncoding>
<Url
type="text/html"
template="http://www.google.com/search?hl=en&q=site%3Awww.openssl.org+{searchTerms}"
/>
<Query role="example" searchTerms="SSL_new"/>
</OpenSearchDescription>
This <link> should really be in the <head> section of the HTML document but luckily both browsers will pick it up even when it is embedded in the body.
<link
title="OpenSSL Search Provider"
href="http://www.run-time-systems.com/blog/openssl-search-provider.xml"
type="application/opensearchdescription+xml"
rel="search"
/>
Labels: Web