Add RSS feed at /rss/ #11

Merged
pvtejas merged 7 commits from rss-feed into production 2026-10-30 18:28:26 +05:30
Showing only changes of commit abc6d04a0a - Show all commits

View file

@ -59,7 +59,7 @@ def generate_feed(db):
item_children = {
"description": post_find_first_plain_line(post[4]),
"guid": f"https://blog.allsparkinfinite.name/{post[0]}/",
"pubDate": datetime.strptime(post[2], "%Y-%m-%d %T").strftime("%a, %d %b %Y %T GMT"),
"pubDate": post[2].strftime("%a, %d %b %Y %T GMT"),
"title": post[3],
"content:encoded": markdown(post[4]),
}