Skip to content

OpenSearch Namespace Reference

The OpenSearch namespace provides elements for communicating search metadata and pagination information in RSS and Atom feeds. It enables search engines and APIs to publish search results in standard syndication formats.

Namespace URIhttp://a9.com/-/spec/opensearch/1.1/
SpecificationOpenSearch 1.1 Specification
Prefix<opensearch:*>
Available inRSS, Atom
Propertyopensearch

Types

ts
export namespace OpenSearchNs {
  export type Query = {
    role: string
    searchTerms?: string
    count?: number
    startIndex?: number
    startPage?: number
    language?: string
    inputEncoding?: string
    outputEncoding?: string
  }

  export type Feed = {
    totalResults?: number
    startIndex?: number
    itemsPerPage?: number
    queries?: Array<Query>
  }
}