About Social Code
summaryrefslogtreecommitdiff
path: root/tools/rss_gen.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/rss_gen.py')
-rwxr-xr-xtools/rss_gen.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/rss_gen.py b/tools/rss_gen.py
index c4cc1b0..dc2ad2f 100755
--- a/tools/rss_gen.py
+++ b/tools/rss_gen.py
@@ -39,7 +39,7 @@ for file in os.listdir(build_dir):
for note in notes:
post_time = datetime.datetime.strptime("2022-10-30", "%Y-%m-%d")
post_rfc_time = email.utils.formatdate(timeval=time.mktime(post_time.timetuple()))
- post_url = "{}/notes/{}".format(url, note["name"])
+ post_url = "{}/notes/{}.html".format(url, note["name"])
item = ET.SubElement(channel, "item")
ET.SubElement(item, "title").text = note["title"]
ET.SubElement(item, "link").text = post_url