mirror of
https://github.com/searxng/searxng.git
synced 2024-11-09 06:30:10 +01:00
c21a907cac
* base.html mostly implemented * stats.html implemented * about.html implemented * most of preferences.html implemented * using bootstrap.js
24 lines
999 B
XML
24 lines
999 B
XML
<?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 }}</title>
|
|
<link>{{ base_url }}?q={{ q }}</link>
|
|
<description>Search results for "{{ q }}" - 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 }}" 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>
|