Sha256: 276d4336b317b4e47e6af8f7fd15aa78260d4cd0822e0c6aff1f4c723f5531d4
Contents?: true
Size: 778 Bytes
Versions: 1
Compression:
Stored size: 778 Bytes
Contents
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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
blacklight-7.0.0.rc1 | app/views/catalog/opensearch.xml.builder |