From 3d89393a2fa64dc688fa42458b7610831f3b76f5 Mon Sep 17 00:00:00 2001 From: Lucas Fryzek Date: Fri, 20 Jan 2023 23:10:26 -0500 Subject: Fix link bug in rss feed --- tools/rss_gen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') 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 -- cgit v1.2.3