2014-08-18 10:44:46 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2022-08-11 18:37:12 +02:00
|
|
|
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/" xmlns:moz="http://www.mozilla.org/2006/browser/search/">
|
2016-02-27 18:16:40 +01:00
|
|
|
<ShortName>{{ instance_name }}</ShortName>
|
2022-08-11 18:37:12 +02:00
|
|
|
<LongName>SearXNG metasearch</LongName>
|
|
|
|
<Description>SearXNG is a metasearch engine that respects your privacy.</Description>
|
2014-08-18 10:44:46 +02:00
|
|
|
<InputEncoding>UTF-8</InputEncoding>
|
2022-08-11 18:37:12 +02:00
|
|
|
<Image type="image/png">{{ url_for('static', filename='img/favicon.png', _external=True) }}</Image>
|
|
|
|
{% if opensearch_method == 'GET' %}
|
|
|
|
<Url rel="results" type="text/html" method="{{ opensearch_method }}" template="{{ url_for('search', _external=True) }}?q={searchTerms}"/>
|
2014-08-18 10:44:46 +02:00
|
|
|
{% else %}
|
2022-08-11 18:37:12 +02:00
|
|
|
<Url rel="results" type="text/html" method="{{ opensearch_method }}" template="{{ url_for('search', _external=True) }}">
|
|
|
|
<Param name="q" value="{searchTerms}" />
|
|
|
|
</Url>
|
2020-06-18 19:37:14 +02:00
|
|
|
{% endif %}
|
|
|
|
{% if autocomplete %}
|
2022-08-11 18:37:12 +02:00
|
|
|
<Url rel="suggestions" type="application/x-suggestions+json" method="{{ opensearch_method }}" template="{{ url_for('autocompleter', _external=True) }}?q={searchTerms}"/>
|
2014-08-18 10:44:46 +02:00
|
|
|
{% endif %}
|
2022-08-11 18:37:12 +02:00
|
|
|
<Url rel="self" type="application/opensearchdescription+xml" method="{{ opensearch_method }}" template="{{ opensearch_url }}" />
|
|
|
|
<Query role="example" searchTerms="SearXNG" />
|
|
|
|
<moz:SearchForm>{{ url_for('search', _external=True) }}</moz:SearchForm>
|
2014-08-18 10:44:46 +02:00
|
|
|
</OpenSearchDescription>
|