2008-12-10 21:30:43 +01:00
|
|
|
xml.instruct!
|
|
|
|
|
|
|
|
|
|
xml.OpenSearchDescription 'xmlns' => "http://a9.com/-/spec/opensearch/1.1/" do
|
|
|
|
|
xml.ShortName Tracks
|
2010-10-31 21:27:13 +08:00
|
|
|
xml.Description t('integrations.opensearch_description')
|
2008-12-10 21:30:43 +01:00
|
|
|
xml.InputEncoding 'UTF-8'
|
2014-08-14 21:05:05 -05:00
|
|
|
xml.Image("data:image/x-icon;base64," + @icon_data,
|
2020-10-27 21:39:19 +02:00
|
|
|
'width' => '16', 'height' => '16')
|
2014-08-14 21:05:05 -05:00
|
|
|
xml.Url 'type' => 'text/html', 'method' => 'GET',
|
2020-10-27 21:39:19 +02:00
|
|
|
'template' => url_for(:controller => 'search', :action => 'results',
|
|
|
|
|
:only_path => false) + '?search={searchTerms}'
|
2008-12-10 21:30:43 +01:00
|
|
|
end
|