Sha256: e4d07b6765ce53dbc9fe30735e611dc6ac01611bb0898060b5e7550828aff068

Contents?: true

Size: 771 Bytes

Versions: 14

Compression:

Stored size: 771 Bytes

Contents

xml.instruct! :xml, :version=>"1.0"
xml.OpenSearchDescription(
  'xmlns' => "http://a9.com/-/spec/opensearch/1.1/",
  'xmlns:moz' => 'http://www.mozilla.org/2006/browser/search/'){
  xml.ShortName @library_group.display_name.localize
  xml.Description @library_group.display_name.localize
  xml.Tags 'Library Catalog'
  xml.Contact @library_group.email
  xml.Url :type => 'text/html', :template => "#{manifestations_url}?query={searchTerms}&pages={startPage?}"
  xml.Url :type => 'application/rss+xml', :template => "#{manifestations_url(:format => :rss)}?query={searchTerms}&pages={startPage?}"
  xml.Query :role => 'example', :searchTerms => 'enju'
  xml.Language @locale
  xml.OutputEncoding 'UTF-8'
  xml.InputEncoding 'UTF-8'
  xml.tag! 'moz:SearchForm', root_url
}

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
enju_leaf-1.1.0.rc12 app/views/page/opensearch.builder
enju_leaf-1.1.0.rc11 app/views/page/opensearch.builder
enju_leaf-1.1.0.rc10 app/views/page/opensearch.builder
enju_leaf-1.1.0.rc9 app/views/page/opensearch.builder
enju_leaf-1.1.0.rc8 app/views/page/opensearch.builder
enju_leaf-1.1.0.rc7 app/views/page/opensearch.builder
enju_leaf-1.1.0.rc6 app/views/page/opensearch.builder
enju_leaf-1.1.0.rc5 app/views/page/opensearch.builder
enju_leaf-1.1.0.rc4 app/views/page/opensearch.builder
enju_leaf-1.1.0.rc3 app/views/page/opensearch.builder
enju_leaf-1.1.0.rc2 app/views/page/opensearch.builder
enju_leaf-1.1.0.rc1 app/views/page/opensearch.builder
enju_leaf-1.1.0.beta3 app/views/page/opensearch.builder
enju_leaf-1.1.0.pre3 app/views/page/opensearch.builder