logo

searx

Unnamed repository; edit this file 'description' to name the repository.
commit: e06d69ea607074cb04ed4cfaf8ab5ba8859f7139
parent: a46ed14f3a5263e4f918738737e51c2ded723fd2
Author: asciimoo <asciimoo@gmail.com>
Date:   Tue, 14 Jan 2014 19:19:20 +0100

[enh] button to opensearch/rss

Diffstat:

searx/templates/results.html | 14+++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)

diff --git 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>