summaryrefslogtreecommitdiff
path: root/searx/templates/__common__/opensearch.xml
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2022-05-07 15:11:05 +0200
committerAlexandre Flament <alex@al-f.net>2022-05-07 19:40:48 +0200
commit9b3efa6d8ab46a3db62f42624d7e9f4b55fdd0ef (patch)
tree554ff67c6b84531b2a6f99505cc954395d730024 /searx/templates/__common__/opensearch.xml
parent6db568bf69b7145451ff90e14da0e49fb5b6269b (diff)
theme: remove __common__
Diffstat (limited to 'searx/templates/__common__/opensearch.xml')
-rw-r--r--searx/templates/__common__/opensearch.xml22
1 files changed, 0 insertions, 22 deletions
diff --git a/searx/templates/__common__/opensearch.xml b/searx/templates/__common__/opensearch.xml
deleted file mode 100644
index 230f327a5..000000000
--- a/searx/templates/__common__/opensearch.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
- <ShortName>{{ instance_name }}</ShortName>
- <Description>a privacy-respecting, hackable metasearch engine</Description>
- <InputEncoding>UTF-8</InputEncoding>
- <Image>{{ url_for('static', filename='img/favicon.png', _external=True) }}</Image>
- <LongName>searx metasearch</LongName>
- {% if opensearch_method == 'get' %}
- <Url rel="results" type="text/html" method="get" template="{{ url_for('search', _external=True) }}?q={searchTerms}"/>
- {% else %}
- <Url rel="results" type="text/html" method="post" template="{{ url_for('search', _external=True) }}">
- <Param name="q" value="{searchTerms}" />
- </Url>
- {% endif %}
- {% if autocomplete %}
- <Url rel="suggestions" type="application/x-suggestions+json" template="{{ url_for('autocompleter', _external=True) }}?q={searchTerms}"/>
- {% endif %}
-
- <Url type="application/opensearchdescription+xml"
- rel="self"
- template="{{ opensearch_url }}" />
-</OpenSearchDescription>