From eb59b4604a6c9de2ac6943d07a2a09a06e7e279a Mon Sep 17 00:00:00 2001 From: Bnyro Date: Sat, 19 Oct 2024 16:55:09 +0200 Subject: [PATCH] [feat] rss: add xsl style to view rss in browser --- searx/static/themes/simple/xsl/rss.xsl | 59 +++++++++++++++++++ .../simple/opensearch_response_rss.xml | 1 + 2 files changed, 60 insertions(+) create mode 100644 searx/static/themes/simple/xsl/rss.xsl diff --git a/searx/static/themes/simple/xsl/rss.xsl b/searx/static/themes/simple/xsl/rss.xsl new file mode 100644 index 000000000..a8d9225f5 --- /dev/null +++ b/searx/static/themes/simple/xsl/rss.xsl @@ -0,0 +1,59 @@ + + + + + + + + + <xsl:value-of select="channel/title" /> RSS Feed + + + + + + +
+

+ +

+
+
+
+ + + +
+ + +
+ +
diff --git a/searx/templates/simple/opensearch_response_rss.xml b/searx/templates/simple/opensearch_response_rss.xml index 5093643c9..b827bae85 100644 --- a/searx/templates/simple/opensearch_response_rss.xml +++ b/searx/templates/simple/opensearch_response_rss.xml @@ -1,4 +1,5 @@ +