summaryrefslogtreecommitdiff
path: root/blog/plt/rss.xml
diff options
context:
space:
mode:
authorDavid Luevano Alvarado <david@luevano.xyz>2021-06-04 23:50:58 -0600
committerDavid Luevano Alvarado <david@luevano.xyz>2021-06-04 23:50:58 -0600
commitb171347f739b2ada7960ad50bcba47e898d890d2 (patch)
treec88d6c3cdfb39b7e8e7cb5ec5952160cd4cf9911 /blog/plt/rss.xml
parentfebe3173b7430266c36508927f3535c431f0aa8b (diff)
reflect changes on updated pyssg using jinja templates
Diffstat (limited to 'blog/plt/rss.xml')
-rw-r--r--blog/plt/rss.xml39
1 files changed, 39 insertions, 0 deletions
diff --git a/blog/plt/rss.xml b/blog/plt/rss.xml
new file mode 100644
index 0000000..5e06c36
--- /dev/null
+++ b/blog/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>{{site_title}}</title>
+ <link>{{site_base_url}}</link>
+ <atom:link href="{{site_base_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>{{run_date}}</pubDate>
+ <lastBuildDate>{{run_date}}</lastBuildDate>
+ <generator>pyssg v{{pyssg_version}}</generator>
+ <docs>https://validator.w3.org/feed/docs/rss2.html</docs>
+ <ttl>30</ttl>
+ <image>
+ <url>{{site_base_static_url}}/images/blog.png</url>
+ <title>{{site_title}}</title>
+ <link>{{site_base_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>