searxngRebrandZaclys/searx/templates/simple
Markus Heiser 3b0f9c07b2 [fix] improve OpenSearch description
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 `<Url>` methods from lower case to upper case (`POST`|`GET`)
- add `<moz:SearchForm>` and `xmlns:moz="http://www.mozilla.org/2006/browser/search/"`
- add `<Query role="example" searchTerms="SearXNG" />`  [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 `<LongName>` to SearXNG
- modified `<Description>` the word 'hackable' scares uninitiated users and was removed
- add the `type="image/png"` to `<Image>`

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 <markus.heiser@darmarit.de>
2022-08-11 19:04:36 +02:00
..
filters [mod] add flags to the languages filter 2022-03-19 15:09:13 +01:00
messages [theme] peel out oscar from SearXNG development 2022-04-30 13:20:27 +02:00
result_templates map.html: display the intended text for the links instead of the URL 2022-07-02 16:51:25 +02:00
404.html Drop Python 2 (2/n): templates 2020-09-10 10:39:04 +02:00
base.html Merge pull request #1428 from return42/fix-center_aligment 2022-07-07 09:43:12 +02:00
categories.html [fix] simple: display "Click on the magnifier..." only the mouse over the categories 2022-02-27 19:48:21 +01:00
icons.html [build] /static 2022-07-02 10:05:43 +02:00
index.html Workaround: index.html: remove image preload 2022-06-18 09:04:13 +02:00
info.html Theme: add Help and Donate links in all pages 2022-06-25 20:31:40 +02:00
infobox.html [enh] simple: basic ARIA fixes 2022-03-08 19:37:21 +00:00
macros.html [fix] add missing result.length and result.author to simple theme 2022-04-19 09:37:41 +02:00
new_issue.html [mod] allow brand.issue_url to overwrite the step1 url 2022-07-10 18:43:53 +02:00
opensearch_response_rss.xml theme: remove __common__ 2022-05-07 19:40:48 +02:00
opensearch.xml [fix] improve OpenSearch description 2022-08-11 19:04:36 +02:00
page_with_header.html [simple] introduce page_with_header.html template 2022-01-30 17:29:21 +01:00
preferences.html [fix] preferences: missing option value 2022-07-17 19:51:12 +02:00
results.html Search_url only if method is POST 2022-03-26 13:52:38 +01:00
search.html theme: remove __common__ 2022-05-07 19:40:48 +02:00
searxng-wordmark.min.svg theme: remove __common__ 2022-05-07 19:40:48 +02:00
simple_search.html Merge pull request #1004 from MontyQI/search_url 2022-03-26 17:08:50 +01:00
stats.html Submit GH bug: ask the user to do some checks before submitting a new issue 2022-07-08 09:04:57 +02:00