update @ Tue Feb 20 05:08:41 EET 2024

Signed-off-by: Ari Archer <ari.web.xyz@gmail.com>
This commit is contained in:
Ari Archer 2024-02-20 05:08:41 +02:00
parent 4736583a50
commit 66ba933e5b
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: A50D5B4B599AF8A2

View file

@ -1313,6 +1313,7 @@ def rss(config: dict[str, typing.Any]) -> int:
post["created"] post["created"]
).strftime(ftime) ).strftime(ftime)
etree.SubElement(item, "guid").text = link etree.SubElement(item, "guid").text = link
etree.SubElement(item, "author").text = f"{config['email']} ({config['author']})"
etree.ElementTree(root).write( etree.ElementTree(root).write(
config["rss-file"], encoding="UTF-8", xml_declaration=True config["rss-file"], encoding="UTF-8", xml_declaration=True