From 8f7b783c6229244f2b90fedfba465cba7d526a2e Mon Sep 17 00:00:00 2001 From: Roman Parpalak Date: Mon, 25 Sep 2023 23:11:20 +0300 Subject: [PATCH] Added xslt for RSS. --- _include/views/rss.php | 2 +- _styles/.gitignore | 1 + _styles/rss.xslt | 41 +++++++++++++++++++++++++++++++++++++++++ 3 files changed, 43 insertions(+), 1 deletion(-) create mode 100644 _styles/rss.xslt diff --git a/_include/views/rss.php b/_include/views/rss.php index 325a60af..58518303 100644 --- a/_include/views/rss.php +++ b/_include/views/rss.php @@ -10,7 +10,7 @@ */ echo ''."\n". - ''."\n"; + ''."\n"; ?> diff --git a/_styles/.gitignore b/_styles/.gitignore index 6f89714f..ad2ee65c 100644 --- a/_styles/.gitignore +++ b/_styles/.gitignore @@ -1,2 +1,3 @@ * !zeta +!rss.xslt diff --git a/_styles/rss.xslt b/_styles/rss.xslt new file mode 100644 index 00000000..94aa4328 --- /dev/null +++ b/_styles/rss.xslt @@ -0,0 +1,41 @@ + + + + + + <xsl:value-of select="rss/channel/title" /> + + + +

+ + + +

+ +
+

+
+
+
+ + +
+