summaryrefslogtreecommitdiff
path: root/searx/webapp.py
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2020-03-13 00:43:05 +0100
committerAdam Tauber <asciimoo@gmail.com>2020-03-13 00:43:05 +0100
commit9bc24080bf4c24a182cf2b5616095c2f6bea5821 (patch)
tree155f394271c8fe25d5f4c5f39c051a5a155034d5 /searx/webapp.py
parent3aa49cb8f98c6f9d953c2f7e4ce4f6e44f680255 (diff)
downloadsearxng-9bc24080bf4c24a182cf2b5616095c2f6bea5821.tar.gz
searxng-9bc24080bf4c24a182cf2b5616095c2f6bea5821.zip
[fix] add answers, suggestions, corrections to rss output
fixes #1888
Diffstat (limited to 'searx/webapp.py')
-rw-r--r--searx/webapp.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/searx/webapp.py b/searx/webapp.py
index b661e39d1..da2bf34a9 100644
--- a/searx/webapp.py
+++ b/searx/webapp.py
@@ -637,9 +637,13 @@ def index():
response.headers.add('Content-Disposition', cont_disp)
return response
elif output_format == 'rss':
+ print(results)
response_rss = render(
'opensearch_response_rss.xml',
results=results,
+ answers=result_container.answers,
+ corrections=result_container.corrections,
+ suggestions=result_container.suggestions,
q=request.form['q'],
number_of_results=number_of_results,
base_url=get_base_url(),