Examples

The provided example uses a search for blog posts and medical records. A basic understanding of the OpenSearch specification is required.

The OpenSearch protocol is composed of two parts:

  • The OpenSearch XML description, which describes how to search the external search engine and which features it supports. The description is provided by the search engine itself at a public URL. The main element of the description is the <Url>, in which the template attribute provides the URL to call and the supported parameters with semantics.
  • The search results returned by the external search engine, in Atom or RSS format, as the response of the HTTP search request.