summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBnyro <bnyro@tutanota.com>2024-10-19 16:54:51 +0200
committerMarkus Heiser <markus.heiser@darmarIT.de>2024-11-25 09:34:02 +0100
commit98f9a380eda20f691f8620197deeac4d648817fe (patch)
treee713e62c64eec2b993b2a7ef6506d8ed079e59d8
parent68b4961b817b5084baefa7b98271aa5556195431 (diff)
downloadsearxng-98f9a380eda20f691f8620197deeac4d648817fe.tar.gz
searxng-98f9a380eda20f691f8620197deeac4d648817fe.zip
[chore] rss: rename from searx to SearXNG
-rw-r--r--searx/templates/simple/opensearch_response_rss.xml4
-rw-r--r--tests/unit/test_webapp.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/searx/templates/simple/opensearch_response_rss.xml b/searx/templates/simple/opensearch_response_rss.xml
index 82d3f7c4e..5093643c9 100644
--- a/searx/templates/simple/opensearch_response_rss.xml
+++ b/searx/templates/simple/opensearch_response_rss.xml
@@ -3,9 +3,9 @@
xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
- <title>Searx search: {{ q|e }}</title>
+ <title>SearXNG search: {{ q|e }}</title>
<link>{{ url_for('search', _external=True) }}?q={{ q|e }}</link>
- <description>Search results for "{{ q|e }}" - searx</description>
+ <description>Search results for "{{ q|e }}" - SearXNG</description>
<opensearch:totalResults>{{ number_of_results }}</opensearch:totalResults>
<opensearch:startIndex>1</opensearch:startIndex>
<opensearch:itemsPerPage>{{ number_of_results }}</opensearch:itemsPerPage>
diff --git a/tests/unit/test_webapp.py b/tests/unit/test_webapp.py
index 31bfdec3d..65705d164 100644
--- a/tests/unit/test_webapp.py
+++ b/tests/unit/test_webapp.py
@@ -180,7 +180,7 @@ class ViewsTestCase(SearxTestCase): # pylint: disable=missing-class-docstring,
def test_search_rss(self):
result = self.app.post('/search', data={'q': 'test', 'format': 'rss'})
- self.assertIn(b'<description>Search results for "test" - searx</description>', result.data)
+ self.assertIn(b'<description>Search results for "test" - SearXNG</description>', result.data)
self.assertIn(b'<opensearch:totalResults>3</opensearch:totalResults>', result.data)