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 URI | http://a9.com/-/spec/opensearch/1.1/ |
|---|---|
| Specification | OpenSearch 1.1 Specification |
| Prefix | <opensearch:*> |
| Available in | RSS, Atom |
| Property | opensearch |
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>
}
}Related
- Parsing Namespaces - How namespace parsing works