diff options
| author | Matej Cotman <cotman.matej@gmail.com> | 2014-04-24 23:46:40 +0000 |
|---|---|---|
| committer | Matej Cotman <cotman.matej@gmail.com> | 2014-06-05 13:18:22 +0200 |
| commit | 08eaffe245303818069df3332eece11f41a0bd8e (patch) | |
| tree | 9a111cc283b644de9f9df306c531644e8421e283 /searx/templates/opensearch.xml | |
| parent | 3386e21cdf30bf0accb84e2dcc4dea0076af1b90 (diff) | |
add multi theming support
Diffstat (limited to 'searx/templates/opensearch.xml')
| -rw-r--r-- | searx/templates/opensearch.xml | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/searx/templates/opensearch.xml b/searx/templates/opensearch.xml deleted file mode 100644 index f39283f99..000000000 --- a/searx/templates/opensearch.xml +++ /dev/null @@ -1,27 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/"> - <ShortName>searx</ShortName> - <Description>Search searx</Description> - <InputEncoding>UTF-8</InputEncoding> - <LongName>searx metasearch</LongName> - {% if opensearch_method == 'get' %} - <Url type="text/html" method="get" template="{{ host }}search?q={searchTerms}"/> - {% if autocomplete %} - <Url type="application/x-suggestions+json" method="get" template="{{ host }}autocompleter"> - <Param name="format" value="x-suggestions" /> - <Param name="q" value="{searchTerms}" /> - </Url> - {% endif %} - {% else %} - <Url type="text/html" method="post" template="{{ host }}"> - <Param name="q" value="{searchTerms}" /> - </Url> - {% if autocomplete %} - <!-- TODO, POST REQUEST doesn't work --> - <Url type="application/x-suggestions+json" method="get" template="{{ host }}autocompleter"> - <Param name="format" value="x-suggestions" /> - <Param name="q" value="{searchTerms}" /> - </Url> - {% endif %} - {% endif %} -</OpenSearchDescription> |