summaryrefslogtreecommitdiff
path: root/art/plt/rss.xml
diff options
context:
space:
mode:
authorDavid Luevano Alvarado <david@luevano.xyz>2021-06-05 19:19:19 -0600
committerDavid Luevano Alvarado <david@luevano.xyz>2021-06-05 19:19:19 -0600
commitf2b417553920d1d4b195e5a9d78e3fe019b2c163 (patch)
tree8030a809523c3f9a3613a906bff49d85a36253f3 /art/plt/rss.xml
parent8aed7291d95070d8dbb8ce322de4108918c0f8f1 (diff)
modify relative links, add base for art page
Diffstat (limited to 'art/plt/rss.xml')
-rw-r--r--art/plt/rss.xml39
1 files changed, 39 insertions, 0 deletions
diff --git a/art/plt/rss.xml b/art/plt/rss.xml
new file mode 100644
index 0000000..5be7c37
--- /dev/null
+++ b/art/plt/rss.xml
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<rss version="2.0"
+ xmlns:atom="http://www.w3.org/2005/Atom"
+ xmlns:content="http://purl.org/rss/1.0/modules/content/">
+ <channel>
+ <title>{{config.title}}</title>
+ <link>{{config.url}}</link>
+ <atom:link href="{{config.url}}/rss.xml" rel="self" type="application/rss+xml"/>
+ <description>A personal weblog ranging from rants to how to's and other thoughts.</description>
+ <language>en-us</language>
+ <category>Blog</category>
+ <copyright>Copyright 2021 David Luévano Alvarado</copyright>
+ <managingEditor>david@luevano.xyz (David Luévano Alvarado)</managingEditor>
+ <webMaster>david@luevano.xyz (David Luévano Alvarado)</webMaster>
+ <pubDate>{{config.run_date_rss}}</pubDate>
+ <lastBuildDate>{{config.run_date_rss}}</lastBuildDate>
+ <generator>pyssg v{{config.version}}</generator>
+ <docs>https://validator.w3.org/feed/docs/rss2.html</docs>
+ <ttl>30</ttl>
+ <image>
+ <url>{{config.static_url}}/images/blog.png</url>
+ <title>{{config.title}}</title>
+ <link>{{config.url}}</link>
+ </image>
+ {%for p in all_pages%}
+ <item>
+ <title>{{p.title}}</title>
+ <link>{{p.url}}</link>
+ <guid isPermaLink="true">{{p.url}}</guid>
+ <pubDate>{{p.cdate_rss}}</pubDate>
+ {%for t in p.tags%}
+ <category>{{t[0].lower().capitalize()}}</category>
+ {%endfor%}
+ <description>{{p.summary}}</description>
+ <content:encoded><![CDATA[{{p.content}}]]></content:encoded>
+ </item>
+ {%endfor%}
+ </channel>
+</rss>