summaryrefslogtreecommitdiff
path: root/searx/templates/courgette/opensearch_response_rss.xml
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2017-01-13 22:15:11 +0100
committerAlexandre Flament <alex@al-f.net>2017-01-20 15:40:38 +0100
commit7fdfeca3a43e0e2bd8ef2dcb27cca7745edf596a (patch)
treec0f79e059929c184d3d368c2bc8bb20293b65061 /searx/templates/courgette/opensearch_response_rss.xml
parent57149661e4f90e5ad3a9a4c36bb5f31a1c7ec6aa (diff)
[mod] add a __common__ template that can't be selected but that provides a common place for shared templates.
What has been moved into this template : * opensearch*.xml is always the same whatever the themes. * the text inside */about.html
Diffstat (limited to 'searx/templates/courgette/opensearch_response_rss.xml')
-rw-r--r--searx/templates/courgette/opensearch_response_rss.xml23
1 files changed, 0 insertions, 23 deletions
diff --git a/searx/templates/courgette/opensearch_response_rss.xml b/searx/templates/courgette/opensearch_response_rss.xml
deleted file mode 100644
index ddb60fa5e..000000000
--- a/searx/templates/courgette/opensearch_response_rss.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<rss version="2.0"
- xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/"
- xmlns:atom="http://www.w3.org/2005/Atom">
- <channel>
- <title>Searx search: {{ q|e }}</title>
- <link>{{ base_url }}?q={{ q|e }}</link>
- <description>Search results for "{{ q|e }}" - searx</description>
- <opensearch:totalResults>{{ number_of_results }}</opensearch:totalResults>
- <opensearch:startIndex>1</opensearch:startIndex>
- <opensearch:itemsPerPage>{{ number_of_results }}</opensearch:itemsPerPage>
- <atom:link rel="search" type="application/opensearchdescription+xml" href="{{ base_url }}opensearch.xml"/>
- <opensearch:Query role="request" searchTerms="{{ q|e }}" startPage="1" />
- {% for r in results %}
- <item>
- <title>{{ r.title }}</title>
- <link>{{ r.url }}</link>
- <description>{{ r.content }}</description>
- {% if r.pubdate %}<pubDate>{{ r.pubdate }}</pubDate>{% endif %}
- </item>
- {% endfor %}
- </channel>
-</rss>