diff options
Diffstat (limited to 'frontend/templates/opensearch.xml.gotmpl')
-rw-r--r-- | frontend/templates/opensearch.xml.gotmpl | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/frontend/templates/opensearch.xml.gotmpl b/frontend/templates/opensearch.xml.gotmpl new file mode 100644 index 0000000..8d978ea --- /dev/null +++ b/frontend/templates/opensearch.xml.gotmpl @@ -0,0 +1,16 @@ +<OpenSearchDescription + xmlns="http://a9.com/-/spec/opensearch/1.1/" + xmlns:moz="http://www.mozilla.org/2006/browser/search/" +> + <ShortName>Searchix {{ .Source.Name }}</ShortName> + <LongName>Search {{ .Source.Name }} options with Searchix</LongName> + <Description>Search options {{ .Source.Name }}</Description> + <Url + type="text/html" + method="get" + template="{{ .BaseURL }}/options/{{ .Source.Key }}/search?query={searchTerms}&from=opensearch" + /> + <moz:SearchForm + >{{ .BaseURL }}/options/{{ .Source.Key }}/search</moz:SearchForm + > +</OpenSearchDescription> |