fix: description show only modified article

This commit is contained in:
tomasr committed 2026-06-14 14:15:25 +02:00
1 parent f8f0ea6d4e
commit 90ce1aae94
7 files changed
+605 -1181

No files matched your search

+2 -2
View File
@@ -30,8 +30,8 @@ def generateFeed(title, description, fileName, language, standards, entries):
fe.guid(f"initiative-{item['id']}", permalink=False)
fe.updated(time)
fe.source({'url': item["url"], 'title': item["source"]})
fe.description(item["article"])
fe.summary(item["article"])
#fe.description(item["article"])
#fe.summary(item["article"])
fe.content(f'<p><a href="{item["url"]}">Official page</a></p>{item["text"]}', type="html")
if "rss" in standards:
fg.rss_file("./feed/rss/" + language + "/" + fileName + ".xml", pretty=True)