logo

searx

My custom branche(s) on searx, a meta-search engine git clone https://hacktivis.me/git/searx.git
commit: 29a526ff0e33030fc9d1416a9ccfeba93e376664
parent 39c3f5658e215076a34a8706619004eef836ce60
Author: Thomas Pointhuber <thomas.pointhuber@gmx.at>
Date:   Sat, 10 Jan 2015 15:24:21 +0100

[enh] add rss-link which can be detected by browsers

Diffstat:

Msearx/templates/oscar/base.html1+
Msearx/templates/oscar/results.html1+
2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/searx/templates/oscar/base.html b/searx/templates/oscar/base.html @@ -7,6 +7,7 @@ <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="generator" content="searx/{{ searx_version }}"> <meta name="viewport" content="width=device-width, initial-scale=1 , maximum-scale=1.0, user-scalable=1" /> + {% block meta %}{% endblock %} <title>{% block title %}{% endblock %}searx</title> <link rel="stylesheet" href="{{ url_for('static', filename='css/bootstrap.min.css') }}" type="text/css" /> diff --git a/searx/templates/oscar/results.html b/searx/templates/oscar/results.html @@ -1,5 +1,6 @@ {% extends "oscar/base.html" %} {% block title %}{{ q }} - {% endblock %} +{% block meta %}<link rel="alternate" type="application/rss+xml" title="Searx search: {{ q }}" href="{{ url_for('index') }}?q={{ q }}&format=rss&{% for category in selected_categories %}category_{{ category }}=1&{% endfor %}pageno={{ pageno+1 }}">{% endblock %} {% block content %} <div class="row"> <div class="col-sm-8" id="main_results">