Merge pull request #385 from framasoft/opensearch-icon
Add Image on opensearch
commitc706bea788d46bae8cb5cd71bc57abf71f1cb998
authorAdam Tauber <asciimoo@gmail.com>
dateTue 25 Aug 2015, 09:21 (11 years ago)
parentc43476257e618e
searx/templates/courgette/opensearch.xml+1
@@ -3,6 +3,7 @@
33 <ShortName>searx</ShortName>
44 <Description>Search searx</Description>
55 <InputEncoding>UTF-8</InputEncoding>
6+ <Image>{{ host }}{{ url_for('static', filename='img/favicon.png') | replace("/", "", 1) }}</Image>
67 <LongName>searx metasearch</LongName>
78 {% if opensearch_method == 'get' %}
89 <Url type="text/html" method="get" template="{{ host }}search?q={searchTerms}"/>
searx/templates/default/opensearch.xml+1
@@ -3,6 +3,7 @@
33 <ShortName>searx</ShortName>
44 <Description>Search searx</Description>
55 <InputEncoding>UTF-8</InputEncoding>
6+ <Image>{{ host }}{{ url_for('static', filename='img/favicon.png') | replace("/", "", 1) }}</Image>
67 <LongName>searx metasearch</LongName>
78 {% if opensearch_method == 'get' %}
89 <Url type="text/html" method="get" template="{{ host }}search?q={searchTerms}"/>
searx/templates/oscar/opensearch.xml+1
@@ -3,6 +3,7 @@
33 <ShortName>searx</ShortName>
44 <Description>Search searx</Description>
55 <InputEncoding>UTF-8</InputEncoding>
6+ <Image>{{ host }}{{ url_for('static', filename='img/favicon.png') | replace("/", "", 1) }}</Image>
67 <LongName>searx metasearch</LongName>
78 {% if opensearch_method == 'get' %}
89 <Url type="text/html" method="get" template="{{ host }}search?q={searchTerms}"/>