Journal Archives About Books Talks

Enhance your site search with OpenSearch

If your web site provides its own search function, set up OpenSearch to let your users search from the browser search box.

With two simple steps you can let users hit your site's search page without forcing them to visit first.

First, create an OpenSearch definition.

<?xml version="1.0" encoding="utf-8"?>
<OpenSearchDescription xmlns=""
<ShortName>Wynn Netherland</ShortName>
<Description>Designer &amp; Developer</Description>
<Image height="16" width="16" type="image/x-icon"></Image>
<Url type="text/html" method="get" template="{searchTerms}"/>

Next, reference your search definition in your page layout.

<link rel="search" type="application/opensearchdescription+xml" href="" title="Wynn Netherland" />

Here's a quick video on how FireFox and Chrome handle OpenSearch and how your users will benefit:

# Posted on