summaryrefslogtreecommitdiff
path: root/searx/templates/__common__/opensearch_response_rss.xml
diff options
context:
space:
mode:
authorNoémi Ványi <kvch@users.noreply.github.com>2020-04-15 23:33:16 +0200
committerGitHub <noreply@github.com>2020-04-15 23:33:16 +0200
commitfcb44c654228a210ed66533f6aa7847035cbf985 (patch)
treec681cc52463ae6fab9f68c36e4f1edff6df84261 /searx/templates/__common__/opensearch_response_rss.xml
parent4f90fb6a9236a9699e80c249153ba372bf308cb8 (diff)
parent4eddbca81d7a9f7d2c8b7059a2b4d0787804cbb0 (diff)
Merge branch 'master' into fix_startpage_ValueError_on_spanish_datetime
Diffstat (limited to 'searx/templates/__common__/opensearch_response_rss.xml')
-rw-r--r--searx/templates/__common__/opensearch_response_rss.xml24
1 files changed, 24 insertions, 0 deletions
diff --git a/searx/templates/__common__/opensearch_response_rss.xml b/searx/templates/__common__/opensearch_response_rss.xml
index 32c42e7c7..3781dd87c 100644
--- a/searx/templates/__common__/opensearch_response_rss.xml
+++ b/searx/templates/__common__/opensearch_response_rss.xml
@@ -25,5 +25,29 @@
{% if r.pubdate %}<pubDate>{{ r.pubdate }}</pubDate>{% endif %}
</item>
{% endfor %}
+ {% 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 %}
</channel>
</rss>