Browse Source

[chore] rss: rename from searx to SearXNG

Bnyro 6 months ago
parent
commit
98f9a380ed
2 changed files with 3 additions and 3 deletions
  1. 2 2
      searx/templates/simple/opensearch_response_rss.xml
  2. 1 1
      tests/unit/test_webapp.py

+ 2 - 2
searx/templates/simple/opensearch_response_rss.xml

@@ -3,9 +3,9 @@
      xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/"
      xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/"
      xmlns:atom="http://www.w3.org/2005/Atom">
      xmlns:atom="http://www.w3.org/2005/Atom">
   <channel>
   <channel>
-    <title>Searx search: {{ q|e }}</title>
+    <title>SearXNG search: {{ q|e }}</title>
     <link>{{ url_for('search', _external=True) }}?q={{ q|e }}</link>
     <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:totalResults>{{ number_of_results }}</opensearch:totalResults>
     <opensearch:startIndex>1</opensearch:startIndex>
     <opensearch:startIndex>1</opensearch:startIndex>
     <opensearch:itemsPerPage>{{ number_of_results }}</opensearch:itemsPerPage>
     <opensearch:itemsPerPage>{{ number_of_results }}</opensearch:itemsPerPage>

+ 1 - 1
tests/unit/test_webapp.py

@@ -180,7 +180,7 @@ class ViewsTestCase(SearxTestCase):  # pylint: disable=missing-class-docstring,
     def test_search_rss(self):
     def test_search_rss(self):
         result = self.app.post('/search', data={'q': 'test', 'format': 'rss'})
         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)
         self.assertIn(b'<opensearch:totalResults>3</opensearch:totalResults>', result.data)