mirror of
https://git.ari.lt/ari.lt/blog.ari.lt.git
synced 2025-02-04 01:29:24 +01:00
update @ Thu Dec 26 04:37:36 EET 2024
Signed-off-by: Ari Archer <ari@ari.lt>
This commit is contained in:
parent
c49db3bc8e
commit
a88de4e345
1 changed files with 2 additions and 2 deletions
|
@ -1586,13 +1586,13 @@ def rss(config: dict[str, typing.Any]) -> int:
|
|||
f" [edited at {datetime.datetime.utcfromtimestamp(created).strftime(ftime)}]"
|
||||
if created
|
||||
else ""
|
||||
) + f"\n\nRead about it at {link}"
|
||||
) + f" - read about it at {link} :)"
|
||||
etree.SubElement(item, "pubDate").text = datetime.datetime.utcfromtimestamp(
|
||||
post["created"],
|
||||
).strftime(ftime)
|
||||
etree.SubElement(item, "guid").text = link
|
||||
etree.SubElement(item, "author").text = (
|
||||
f"{config['email']} ({config['author']})"
|
||||
f"{config['author']} <{config['email']}>"
|
||||
)
|
||||
|
||||
etree.ElementTree(root).write(
|
||||
|
|
Loading…
Add table
Reference in a new issue