Sha256: 7aaca75b62fa8deb2836e70d244c95ed559c060a7ffabb5f0f89532e46c6a44a

Contents?: true

Size: 804 Bytes

Versions: 74

Compression:

Stored size: 804 Bytes

Contents

# frozen_string_literal: true

xml.instruct! :xml, version: '1.0'
xml.OpenSearchDescription(xmlns: 'http://a9.com/-/spec/opensearch/1.1/') {
  xml.ShortName application_name
  xml.Description "#{application_name} Search"
  xml.Image asset_url('favicon.ico'), height: 16, width: 16, type: 'image/x-icon'
  xml.Contact
  xml.Url type: 'text/html', method: 'get', template: "#{url_for controller: 'catalog', only_path: false}?q={searchTerms}&page={startPage?}"
  xml.Url type: 'application/rss+xml', method: 'get', template: "#{url_for controller: 'catalog', only_path: false}.rss?q={searchTerms}&page={startPage?}"
  xml.Url type: 'application/x-suggestions+json', method: 'get', template: "#{url_for controller: 'catalog',action: 'opensearch', format: 'json', only_path: false}?q={searchTerms}"
}

Version data entries

74 entries across 74 versions & 2 rubygems

Version Path
blacklight-7.40.0 app/views/catalog/opensearch.xml.builder
blacklight-7.39.0 app/views/catalog/opensearch.xml.builder
blacklight-7.38.0 app/views/catalog/opensearch.xml.builder
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/blacklight-7.37.0/app/views/catalog/opensearch.xml.builder
blacklight-7.37.0 app/views/catalog/opensearch.xml.builder
blacklight-7.36.2 app/views/catalog/opensearch.xml.builder
blacklight-7.36.1 app/views/catalog/opensearch.xml.builder
blacklight-7.36.0 app/views/catalog/opensearch.xml.builder
blacklight-7.35.0 app/views/catalog/opensearch.xml.builder
blacklight-7.34.0 app/views/catalog/opensearch.xml.builder
blacklight-7.33.1 app/views/catalog/opensearch.xml.builder
blacklight-7.33.0 app/views/catalog/opensearch.xml.builder
blacklight-7.32.0 app/views/catalog/opensearch.xml.builder
blacklight-7.31.0 app/views/catalog/opensearch.xml.builder
blacklight-7.30.0 app/views/catalog/opensearch.xml.builder
blacklight-7.29.0 app/views/catalog/opensearch.xml.builder
blacklight-7.28.0 app/views/catalog/opensearch.xml.builder
blacklight-7.27.1 app/views/catalog/opensearch.xml.builder
blacklight-7.27.0 app/views/catalog/opensearch.xml.builder
blacklight-7.26.1 app/views/catalog/opensearch.xml.builder