<feed xmlns='http://www.w3.org/2005/Atom'>
<title>searxng/searx/templates/simple/opensearch.xml, branch master</title>
<subtitle>Free internet metasearch engine which aggregates results from various search services and databases</subtitle>
<id>https://git.ikboikov.net/searxng/atom?h=master</id>
<link rel='self' href='https://git.ikboikov.net/searxng/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.ikboikov.net/searxng/'/>
<updated>2026-08-03T11:51:02Z</updated>
<entry>
<title>[fix] autocomplete: drop POST method</title>
<updated>2026-08-03T11:51:02Z</updated>
<author>
<name>vojkovic</name>
<email>git@vojk.au</email>
</author>
<published>2026-08-02T13:29:07Z</published>
<link rel='alternate' type='text/html' href='https://git.ikboikov.net/searxng/commit/?id=d81810d2a7b22825ec541bc3ecd0215fcc55b25d'/>
<id>urn:sha1:d81810d2a7b22825ec541bc3ecd0215fcc55b25d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[fix] opensearxh.xml: firefox v123 does not except self-URI (URL with param)</title>
<updated>2024-02-25T06:33:04Z</updated>
<author>
<name>Markus Heiser</name>
<email>markus.heiser@darmarit.de</email>
</author>
<published>2024-02-22T14:06:57Z</published>
<link rel='alternate' type='text/html' href='https://git.ikboikov.net/searxng/commit/?id=a85907a98f699b64d74d19b45e131bc2f18eb905'/>
<id>urn:sha1:a85907a98f699b64d74d19b45e131bc2f18eb905</id>
<content type='text'>
Before this patch we had a address in the rel-self-template with params [1]:

GET::

    &lt;Url method="GET"
         rel="self"
         template="/opensearch.xml?method=GET&amp;amp;autocomplete=google"
         type="application/opensearchdescription+xml"/&gt;

POST::

    &lt;Url method="POST"
         rel="self"
         template="/opensearch.xml?method=POST&amp;amp;autocomplete=google"
         type="application/opensearchdescription+xml"/&gt;

The first one (GET) is no longer accepted by firefox since v123, the latter one
was always been wrong (since it mixes GET params with a POST request).

Since Firefox v123 a template syntax [2] in the rel-self-template is no longer
supported / Firefox will report an error::

    Firefox could not download the search plugin from:
    http://127.0.0.1:8888//opensearch.xml?method=GET&amp;autocomplete=google

This patch reduce the URL to::

    template="http://127.0.0.1:8888/opensearch.xml"

[1] https://github.com/dewitt/opensearch/blob/master/opensearch-1-1-draft-6.md#url-rel-values
[2] https://github.com/dewitt/opensearch/blob/master/opensearch-1-1-draft-6.md#opensearch-url-template-syntax

Closes: https://github.com/searxng/searxng/issues/3227
Signed-off-by: Markus Heiser &lt;markus.heiser@darmarit.de&gt;
</content>
</entry>
<entry>
<title>[fix] improve OpenSearch description</title>
<updated>2022-08-11T17:04:36Z</updated>
<author>
<name>Markus Heiser</name>
<email>markus.heiser@darmarit.de</email>
</author>
<published>2022-08-11T16:37:12Z</published>
<link rel='alternate' type='text/html' href='https://git.ikboikov.net/searxng/commit/?id=3b0f9c07b2f007b0767787da80b49827f752f528'/>
<id>urn:sha1:3b0f9c07b2f007b0767787da80b49827f752f528</id>
<content type='text'>
Some HTTP-Clients do have issues with the ``opensearch.xml`` from SearXNG
(related [1][2]) while other OpenSearch descriptions[3] (e.g. from qwant) work
flawles.

Inspired by the OpenSearch description from qwant and with informations from the
specification[4] the ``opensearch.xml`` has been *improved*.

- convert `&lt;Url&gt;` methods from lower case to upper case (`POST`|`GET`)
- add `&lt;moz:SearchForm&gt;` and `xmlns:moz="http://www.mozilla.org/2006/browser/search/"`
- add `&lt;Query role="example" searchTerms="SearXNG" /&gt;`  [4]

  OpenSearch description documents should include at least one Query element of
  `role="example"` that is expected to return search results. Search clients may
  use this example query to validate that the search engine is working properly.

- modified `&lt;LongName&gt;` to SearXNG
- modified `&lt;Description&gt;` the word 'hackable' scares uninitiated users and was removed
- add the `type="image/png"` to `&lt;Image&gt;`

Test can be done by::

    make run

Visit http://127.0.0.1:8888/ and add the search engine to your WEB-Browser /
test with different WEB-Browser from desktop and Smartphones (are there any iOS
user here, please test on Safari and Chrome).

[1] https://app.element.io/#/room/#searxng:matrix.org/$xN_abdKhNqUlgXRBrb_9F3pqOxnSzGQ1TG0s0G9hQVw
[2] https://github.com/searxng/searxng/issues/431
[3] https://developer.mozilla.org/en-US/docs/Web/OpenSearch
[4] https://github.com/dewitt/opensearch/blob/master/opensearch-1-1-draft-6.md#the-query-element

Signed-off-by: Markus Heiser &lt;markus.heiser@darmarit.de&gt;
</content>
</entry>
<entry>
<title>theme: remove __common__</title>
<updated>2022-05-07T17:40:48Z</updated>
<author>
<name>Alexandre Flament</name>
<email>alex@al-f.net</email>
</author>
<published>2022-05-07T13:11:05Z</published>
<link rel='alternate' type='text/html' href='https://git.ikboikov.net/searxng/commit/?id=9b3efa6d8ab46a3db62f42624d7e9f4b55fdd0ef'/>
<id>urn:sha1:9b3efa6d8ab46a3db62f42624d7e9f4b55fdd0ef</id>
<content type='text'>
</content>
</entry>
</feed>
