opensearch is the ability for a web site to publish their internal search engine.

Visitors can then searched directly from the browser.

How to use it with a browser

When a website has published its internal search engine, you can search it directly with the following steps:

  • start typing in the address bar, the name of the web site you wish to search
  • then stroke the tab key
  • then enter your search terms

How to publish your search engine

You should add a link html element in the head that points to an opensearch xml definition file

<link rel="search" type="application/opensearchdescription+xml" href="opensearch.xml" title="ComboStrap">

where the opensearch.xml is an XML file that defines the search engine (entrypoint, name, …)


<?xml version="1.0"?>
<OpenSearchDescription xmlns="">
  <ShortName>Datacadamia - Data and Co</ShortName>
  <Image width="16" height="16" type="image/x-icon"></Image>
  <Url type="text/html" template=";id={searchTerms}" />
  <Url type="application/x-suggestions+json" template=";q={searchTerms}" />

Powered by ComboStrap