mirror of
https://git.ari.lt/ari.lt/blog.ari.lt.git
synced 2025-02-04 09:39:25 +01:00
update @ Tue Feb 20 05:08:41 EET 2024
Signed-off-by: Ari Archer <ari.web.xyz@gmail.com>
This commit is contained in:
parent
4736583a50
commit
66ba933e5b
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue