summaryrefslogtreecommitdiff
path: root/design/templates/feed.xml
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2019-05-03 12:24:25 -0500
committerluxagraf <sng@luxagraf.net>2019-05-03 12:24:25 -0500
commite43cbc1a487b8ea45c05a4b394a7c60ffc4c0ba4 (patch)
tree8ef4800ef56bdadbc88158ec50f96e40b514b882 /design/templates/feed.xml
parent0e59ad7de18bffcf6a62f9ee61275b4951c27358 (diff)
added build system
Diffstat (limited to 'design/templates/feed.xml')
-rw-r--r--design/templates/feed.xml26
1 files changed, 26 insertions, 0 deletions
diff --git a/design/templates/feed.xml b/design/templates/feed.xml
new file mode 100644
index 0000000..7745976
--- /dev/null
+++ b/design/templates/feed.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!-- RSS generated by luxpub v2.0 on {% now "D, d M Y H:i:00" %} GMT -->
+<rss version="2.0">
+ <channel>
+ <title>Libregraf</title>
+ <link>https://libregraf.net/</link>
+ <description>Latest posts on libregraf.net</description>
+ <language>en-us</language>
+ <copyright>Copyright 2011-{% now "Y" %} Libregraf</copyright>
+ <pubDate>{% now "D, d M Y H:i:00" %} GMT</pubDate>
+ <lastBuildDate>{% now "D, d M Y H:i:00" %} GMT</lastBuildDate>
+ <docs>http://cyber.law.harvard.edu/rss/rss.html</docs>
+ <generator>IPpub v2.0</generator>
+ <managingEditor>comments@libregraf.net</managingEditor>
+ <webMaster>comments@libregraf.net</webMaster>{% for object in object_list %}
+ <item>
+ <title>{{object.title|escape}}</title>
+ <link>{{SITE_URL}}{{object.get_absolute_url}}</link>
+ <guid>{{SITE_URL}}{{object.get_absolute_url}}</guid>
+ <description>
+ {{object.body_html|escape}}
+ </description>
+ <pubDate>{{object.pub_date|date:'D, d M Y H:i:00'}} EST</pubDate>
+ </item>{% endfor %}
+ </channel>
+</rss>