Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenSearch support #88

Open
mpgirro opened this issue Apr 23, 2021 · 0 comments
Open

OpenSearch support #88

mpgirro opened this issue Apr 23, 2021 · 0 comments
Labels
enhancement New feature or request new-attributes

Comments

@mpgirro
Copy link
Owner

mpgirro commented Apr 23, 2021

The OpenSearch response elements are used in feeds for search-related metadata.

Three elements of the standard are encountered in feeds:

  • opensearch:totalResults
  • opensearch:startIndex
  • opensearch:itemsPerPage

There are actually two versions of the standard and thus also two namespaces in use (elements have the same occurence frequencies in the latest analysis results):

  • 4,2% declare http://a9.com/-/spec/opensearchrss/1.0/
  • 0,1% declare http://a9.com/-/spec/opensearch/1.1/

The standard also defines a link relation rel="search", relevant for #85, as well as a media type application/opensearchdescription+xml we can provide as a constant in our MediaType implementation.

@mpgirro mpgirro added enhancement New feature or request new-attributes labels Apr 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request new-attributes
Projects
None yet
Development

No branches or pull requests

1 participant