mirror of
https://github.com/tomasriveral/ReSSPublica.git
synced 2026-08-11 18:28:38 +02:00
fix: description show only modified article
This commit is contained in:
+2
-2
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user