Sha256: c6038a5c34480768f03aaf23d36931421cad1e6a28d921cbb3b96daf16f42c40

Contents?: true

Size: 805 Bytes

Versions: 21

Compression:

Stored size: 805 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

21 entries across 21 versions & 2 rubygems

Version Path
blacklight-8.6.1 app/views/catalog/opensearch.xml.builder
blacklight-8.6.0 app/views/catalog/opensearch.xml.builder
blacklight-8.5.1 app/views/catalog/opensearch.xml.builder
blacklight-8.5.0 app/views/catalog/opensearch.xml.builder
blacklight-8.4.0 app/views/catalog/opensearch.xml.builder
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/blacklight-8.3.0/app/views/catalog/opensearch.xml.builder
blacklight-8.3.0 app/views/catalog/opensearch.xml.builder
blacklight-8.2.2 app/views/catalog/opensearch.xml.builder
blacklight-8.2.1 app/views/catalog/opensearch.xml.builder
blacklight-8.2.0 app/views/catalog/opensearch.xml.builder
blacklight-8.1.0 app/views/catalog/opensearch.xml.builder
blacklight-8.0.1 app/views/catalog/opensearch.xml.builder
blacklight-8.0.0 app/views/catalog/opensearch.xml.builder
blacklight-8.0.0.beta8 app/views/catalog/opensearch.xml.builder
blacklight-8.0.0.beta7 app/views/catalog/opensearch.xml.builder
blacklight-8.0.0.beta6 app/views/catalog/opensearch.xml.builder
blacklight-8.0.0.beta5 app/views/catalog/opensearch.xml.builder
blacklight-8.0.0.beta4 app/views/catalog/opensearch.xml.builder
blacklight-8.0.0.beta3 app/views/catalog/opensearch.xml.builder
blacklight-8.0.0.beta2 app/views/catalog/opensearch.xml.builder