mirror of
https://git.ari.lt/ari.lt/blog.ari.lt.git
synced 2025-02-04 09:39:25 +01:00
update @ Tue 8 Aug 17:56:11 EEST 2023
Signed-off-by: Ari Archer <ari.web.xyz@gmail.com>
This commit is contained in:
parent
ec2a2f3226
commit
6b081b2307
1 changed files with 1 additions and 0 deletions
|
@ -975,6 +975,7 @@ def generate_rss(config: Dict[str, Any]) -> Tuple[int, Dict[str, Any]]:
|
|||
etree.SubElement(item, "pubDate").text = datetime.utcfromtimestamp(
|
||||
post["time"]
|
||||
).strftime(ftime)
|
||||
etree.SubElement(item, "guid").text = encode_url(id)
|
||||
|
||||
etree.ElementTree(root).write(config["rss-feed"])
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue