Add Image on opensearch

This commit is contained in:
Luc Didry 2015-07-09 23:05:45 +02:00
parent a905e4e7db
commit 57e618edf7
3 changed files with 3 additions and 0 deletions

View file

@ -3,6 +3,7 @@
<ShortName>searx</ShortName> <ShortName>searx</ShortName>
<Description>Search searx</Description> <Description>Search searx</Description>
<InputEncoding>UTF-8</InputEncoding> <InputEncoding>UTF-8</InputEncoding>
<Image>{{ host }}{{ url_for('static', filename='img/favicon.png') | replace("/", "", 1) }}</Image>
<LongName>searx metasearch</LongName> <LongName>searx metasearch</LongName>
{% if opensearch_method == 'get' %} {% if opensearch_method == 'get' %}
<Url type="text/html" method="get" template="{{ host }}search?q={searchTerms}"/> <Url type="text/html" method="get" template="{{ host }}search?q={searchTerms}"/>

View file

@ -3,6 +3,7 @@
<ShortName>searx</ShortName> <ShortName>searx</ShortName>
<Description>Search searx</Description> <Description>Search searx</Description>
<InputEncoding>UTF-8</InputEncoding> <InputEncoding>UTF-8</InputEncoding>
<Image>{{ host }}{{ url_for('static', filename='img/favicon.png') | replace("/", "", 1) }}</Image>
<LongName>searx metasearch</LongName> <LongName>searx metasearch</LongName>
{% if opensearch_method == 'get' %} {% if opensearch_method == 'get' %}
<Url type="text/html" method="get" template="{{ host }}search?q={searchTerms}"/> <Url type="text/html" method="get" template="{{ host }}search?q={searchTerms}"/>

View file

@ -3,6 +3,7 @@
<ShortName>searx</ShortName> <ShortName>searx</ShortName>
<Description>Search searx</Description> <Description>Search searx</Description>
<InputEncoding>UTF-8</InputEncoding> <InputEncoding>UTF-8</InputEncoding>
<Image>{{ host }}{{ url_for('static', filename='img/favicon.png') | replace("/", "", 1) }}</Image>
<LongName>searx metasearch</LongName> <LongName>searx metasearch</LongName>
{% if opensearch_method == 'get' %} {% if opensearch_method == 'get' %}
<Url type="text/html" method="get" template="{{ host }}search?q={searchTerms}"/> <Url type="text/html" method="get" template="{{ host }}search?q={searchTerms}"/>