diff --git a/.gitignore b/.gitignore
index bfe05ac..4a2f2db 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
voussoir.net/writing/**/*.html
+voussoir.net/writing/rss.xml
diff --git a/voussoir.net/writing/generate_site.py b/voussoir.net/writing/generate_site.py
index 20739f3..91ca10a 100644
--- a/voussoir.net/writing/generate_site.py
+++ b/voussoir.net/writing/generate_site.py
@@ -413,6 +413,8 @@ def write_writing_index():
{% endfor %}
+
RSS
+
Recently edited
{% for article in articles_edited %}
@@ -432,6 +434,31 @@ def write_writing_index():
)
write(writing_rootdir.with_child('index.html'), page)
+def write_rss():
+ rss = jinja2.Template('''
+
+
+ voussoir.net/writing
+ https://voussoir.net/writing
+ voussoir's writing
+
+ {% for article in articles %}
+ -
+ {{article.title}}
+ https://voussoir.net/writing/{{article.web_path}}
+ {{article.date}}
+
+
+
+
+ {% endfor %}
+
+
+ '''.strip()).render(articles=sorted(ARTICLES.values(), key=lambda a: a.date, reverse=True))
+ write(writing_rootdir.with_child('rss.xml'), rss)
+
# GO
################################################################################
ARTICLES = {
@@ -446,3 +473,4 @@ all_tags = set(P.get_tags())
permute(all_tags)
write_tag_pages(complete_tag_index)
write_writing_index()
+write_rss()