all repos — searchix @ 5521173ea0e05bda93096b51f67c5e813cb1d87e

Search engine for NixOS, nix-darwin, home-manager and NUR users

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 {{ .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}&amp;from=opensearch"
  />
  <moz:SearchForm
    >{{ .BaseURL }}/options/{{ .Source.Key }}/search</moz:SearchForm
  >
</OpenSearchDescription>