2014-08-18 08:44:46 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<rss version="2.0"
|
|
|
|
xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/"
|
|
|
|
xmlns:atom="http://www.w3.org/2005/Atom">
|
|
|
|
<channel>
|
2016-12-09 12:48:04 +00:00
|
|
|
<title>Searx search: {{ q|e }}</title>
|
2019-07-30 04:25:05 +00:00
|
|
|
<link>{{ url_for('search', _external=True) }}?q={{ q|e }}</link>
|
2016-12-09 12:48:04 +00:00
|
|
|
<description>Search results for "{{ q|e }}" - searx</description>
|
2014-08-18 08:44:46 +00:00
|
|
|
<opensearch:totalResults>{{ number_of_results }}</opensearch:totalResults>
|
|
|
|
<opensearch:startIndex>1</opensearch:startIndex>
|
|
|
|
<opensearch:itemsPerPage>{{ number_of_results }}</opensearch:itemsPerPage>
|
2020-10-05 13:38:05 +00:00
|
|
|
<atom:link rel="search" type="application/opensearchdescription+xml" href="{{ opensearch_url }}"/>
|
2016-12-09 12:48:04 +00:00
|
|
|
<opensearch:Query role="request" searchTerms="{{ q|e }}" startPage="1" />
|
2017-01-20 17:52:47 +00:00
|
|
|
{% if error_message %}
|
|
|
|
<item>
|
|
|
|
<title>Error</title>
|
|
|
|
<description>{{ error_message|e }}</description>
|
|
|
|
</item>
|
|
|
|
{% endif %}
|
2014-08-18 08:44:46 +00:00
|
|
|
{% for r in results %}
|
|
|
|
<item>
|
|
|
|
<title>{{ r.title }}</title>
|
|
|
|
<link>{{ r.url }}</link>
|
|
|
|
<description>{{ r.content }}</description>
|
|
|
|
{% if r.pubdate %}<pubDate>{{ r.pubdate }}</pubDate>{% endif %}
|
|
|
|
</item>
|
|
|
|
{% endfor %}
|
2020-03-12 23:43:05 +00:00
|
|
|
{% if answers %}
|
|
|
|
{% for a in answers %}
|
|
|
|
<item>
|
|
|
|
<title>{{ a }}</title>
|
|
|
|
<type>answer</type>
|
|
|
|
</item>
|
|
|
|
{% endfor %}
|
|
|
|
{% endif %}
|
|
|
|
{% if corrections %}
|
|
|
|
{% for a in corrections %}
|
|
|
|
<item>
|
|
|
|
<title>{{ a }}</title>
|
|
|
|
<type>correction</type>
|
|
|
|
</item>
|
|
|
|
{% endfor %}
|
|
|
|
{% endif %}
|
|
|
|
{% if suggestions %}
|
|
|
|
{% for a in suggestions %}
|
|
|
|
<item>
|
|
|
|
<title>{{ a }}</title>
|
|
|
|
<type>suggestion</type>
|
|
|
|
</item>
|
|
|
|
{% endfor %}
|
|
|
|
{% endif %}
|
2014-08-18 08:44:46 +00:00
|
|
|
</channel>
|
|
|
|
</rss>
|