summaryrefslogtreecommitdiff
path: root/searx/templates/__common__/opensearch_response_rss.xml
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2020-03-15 09:19:26 +0100
committerMarkus Heiser <markus.heiser@darmarit.de>2020-03-15 09:19:26 +0100
commit26b85659c0b7c9bf545dfe4edeedc3ccf247bc97 (patch)
tree4123d4d529e59186f43293b9945c3d3e3fa64a18 /searx/templates/__common__/opensearch_response_rss.xml
parent80f7b658047a3541697ef5ae1aae897817b3f43c (diff)
parent8e727ac77f5db59c1b772d9fd7603b519badb35a (diff)
Merge branch 'master' of https://github.com/asciimoo/searx into filtron
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>