frontend/templates/opensearch.xml.gotmpl (view raw)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | <OpenSearchDescription
xmlns="http://a9.com/-/spec/opensearch/1.1/"
xmlns:moz="http://www.mozilla.org/2006/browser/search/"
>
<ShortName>Searchix {{ sourceNameAndType .Source }}</ShortName>
<LongName>Search {{ sourceNameAndType .Source }} with Searchix</LongName>
<Description>Search {{ sourceNameAndType .Source }}</Description>
<Url
type="text/html"
method="get"
template="{{ .BaseURL }}/{{ .Source.ImporterType }}/{{ .Source.Key }}/search?query={searchTerms}&from=opensearch"
/>
<moz:SearchForm
>{{ .BaseURL }}/{{ .Source.ImporterType }}/{{ .Source.Key }}/search</moz:SearchForm
>
</OpenSearchDescription>
|