summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorasciimoo <asciimoo@gmail.com>2014-01-14 19:19:20 +0100
committerasciimoo <asciimoo@gmail.com>2014-01-14 19:19:20 +0100
commite06d69ea607074cb04ed4cfaf8ab5ba8859f7139 (patch)
tree01324958d85e8ed5a913c1941fd276516cc7b8f1
parenta46ed14f3a5263e4f918738737e51c2ded723fd2 (diff)
[enh] button to opensearch/rss
-rw-r--r--searx/templates/results.html14
1 files changed, 11 insertions, 3 deletions
diff --git a/searx/templates/results.html b/searx/templates/results.html
index b134c8cf0..4ca36c656 100644
--- a/searx/templates/results.html
+++ b/searx/templates/results.html
@@ -20,18 +20,26 @@
{% endif %}
{% endfor %}
<div id="apis">
+ Download results
<form method="post" action="/">
<div class="left">
<input type="hidden" name="q" value="{{ q }}" />
<input type="hidden" name="format" value="csv" />
- <input type="submit" value="download results in csv" />
+ <input type="submit" value="csv" />
</div>
</form>
<form method="post" action="/">
- <div class="">
+ <div class="left">
<input type="hidden" name="q" value="{{ q }}" />
<input type="hidden" name="format" value="json" />
- <input type="submit" value="download results in json" />
+ <input type="submit" value="json" />
+ </div>
+ </form>
+ <form method="post" action="/">
+ <div class="">
+ <input type="hidden" name="q" value="{{ q }}" />
+ <input type="hidden" name="format" value="rss" />
+ <input type="submit" value="rss" />
</div>
</form>
</div>