2016-09-19 21:12:43 -05:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2016-02-13 12:29:53 -06:00
|
|
|
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
|
2016-09-19 21:12:43 -05:00
|
|
|
<ShortName><%= SiteSetting.title %> Search</ShortName>
|
|
|
|
<Description>Search for posts on <%= SiteSetting.title %></Description>
|
|
|
|
<Tags>discourse forum</Tags>
|
|
|
|
<% if SiteSetting.favicon_url =~ /\.ico$/ -%>
|
2016-02-13 12:29:53 -06:00
|
|
|
<Image height="16" width="16" type="image/vnd.microsoft.icon"><%= UrlHelper.absolute SiteSetting.favicon_url %></Image>
|
2016-09-19 21:12:43 -05:00
|
|
|
<%- else -%>
|
2016-02-13 12:29:53 -06:00
|
|
|
<Image type="image/png"><%= UrlHelper.absolute SiteSetting.favicon_url %></Image>
|
2016-09-19 21:12:43 -05:00
|
|
|
<%- end %>
|
|
|
|
<Url type="text/html" method="get" template="<%= Discourse.base_url %>/search?q={searchTerms}"/>
|
|
|
|
<Query role="example" searchTerms="search term"/>
|
2016-02-13 12:29:53 -06:00
|
|
|
</OpenSearchDescription>
|