summary refs log tree commit diff
path: root/templates/rss.xml
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2021-01-19 18:40:31 +0100
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2021-01-19 18:40:31 +0100
commit7b0baaab2b18e7232b48297de34887650f5b8ca6 (patch)
treecc7531f4ef3b5ed012616dca290e13065e95cab4 /templates/rss.xml
downloadlow-puszcza-7b0baaab2b18e7232b48297de34887650f5b8ca6.tar.gz
low-puszcza-7b0baaab2b18e7232b48297de34887650f5b8ca6.zip
Init
Diffstat (limited to 'templates/rss.xml')
-rw-r--r--templates/rss.xml/footer.xml2
-rw-r--r--templates/rss.xml/header.xml8
-rw-r--r--templates/rss.xml/item.xml8
3 files changed, 18 insertions, 0 deletions
diff --git a/templates/rss.xml/footer.xml b/templates/rss.xml/footer.xml
new file mode 100644
index 0000000..3a9dbde
--- /dev/null
+++ b/templates/rss.xml/footer.xml
@@ -0,0 +1,2 @@
+</channel>
+</rss>
diff --git a/templates/rss.xml/header.xml b/templates/rss.xml/header.xml
new file mode 100644
index 0000000..396ef6b
--- /dev/null
+++ b/templates/rss.xml/header.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<rss version="2.0"
+  xmlns:content="http://purl.org/rss/1.0/modules/content/"
+  xmlns:dc="http://purl.org/dc/elements/1.1/">
+<channel>
+	<title>${sitetitle}</title>
+	<description>${description}</description>
+	<link>${siteurl}</link>
diff --git a/templates/rss.xml/item.xml b/templates/rss.xml/item.xml
new file mode 100644
index 0000000..c003f1b
--- /dev/null
+++ b/templates/rss.xml/item.xml
@@ -0,0 +1,8 @@
+<item>
+	<title>${title}</title>
+	<link>${siteurl}/${filename}</link>
+	<guid>${siteurl}/${filename}</guid>
+	<dc:date>${created}T00:00:00Z</dc:date>
+	<author>${author}</author>
+	<description>${description}</description>
+</item>