aboutsummaryrefslogtreecommitdiff
path: root/layouts/rss.xml
diff options
context:
space:
mode:
authorMartin Ashby <martin@ashbysoft.com>2024-03-25 21:36:21 +0000
committerMartin Ashby <martin@ashbysoft.com>2024-03-25 21:36:21 +0000
commit92787c159262a57fa20b2eb05ed710e1e6cfca96 (patch)
tree508cab2af110a063767564571a98d157926bfb05 /layouts/rss.xml
parente12c0d23ad72ffa9389d90311453db535f57e450 (diff)
downloadmfashby.net-92787c159262a57fa20b2eb05ed710e1e6cfca96.tar.gz
mfashby.net-92787c159262a57fa20b2eb05ed710e1e6cfca96.tar.bz2
mfashby.net-92787c159262a57fa20b2eb05ed710e1e6cfca96.tar.xz
mfashby.net-92787c159262a57fa20b2eb05ed710e1e6cfca96.zip
Final conversion to Zine
Diffstat (limited to 'layouts/rss.xml')
-rw-r--r--layouts/rss.xml20
1 files changed, 20 insertions, 0 deletions
diff --git a/layouts/rss.xml b/layouts/rss.xml
new file mode 100644
index 0000000..349f8f0
--- /dev/null
+++ b/layouts/rss.xml
@@ -0,0 +1,20 @@
+<rss version="2.0"
+ xmlns:atom="http://www.w3.org/2005/Atom"
+ xmlns:content="http://purl.org/rss/1.0/modules/content/">
+ <channel>
+ <title>Home on mfashby.net</title>
+ <link>https://mfashby.net/</link>
+ <description>Recent content in Home on mfashby.net</description>
+ <language>en-gb</language>
+ <lastBuildDate>Sun, 03 Mar 2024 19:31:27 +0000</lastBuildDate>
+ <atom:link href="https://mfashby.net/index.xml" rel="self" type="application/rss+xml"/>
+ <item inline-loop="$page.subpages()">
+ <title var="$loop.it.title"></title>
+ <link var="$loop.it.permalink()"></link>
+ <pubDate var="$loop.it.date.formatHTTP()"></pubDate>
+ <guid isPermaLink="true" var="$loop.it.permalink()"></guid>
+ <description var="$loop.it.description"></description>
+ <content:encoded var="$loop.it.content"></content:encoded> <!-- This doesn't work, an empty tag is emitted -->
+ </item>
+ </channel>
+</rss> \ No newline at end of file