mirror of
https://github.com/tomasriveral/ReSSPublica.git
synced 2026-08-12 02:38:37 +02:00
fix: date of articles eletricboogaloo
This commit is contained in:
+1
-1
@@ -60,7 +60,7 @@ def generateFeed(title, description, fileName, language, standards, entries):
|
|||||||
fe = fg.add_entry()
|
fe = fg.add_entry()
|
||||||
fe.title(item["title"])
|
fe.title(item["title"])
|
||||||
fe.guid(f"initiative-{item['id']}", permalink=False)
|
fe.guid(f"initiative-{item['id']}", permalink=False)
|
||||||
fe.updated(item["date"])
|
fe.pubDate(item["date"])
|
||||||
fe.source({'url': item["url"], 'title': item["source"]})
|
fe.source({'url': item["url"], 'title': item["source"]})
|
||||||
fe.content(item["text"], type="html")
|
fe.content(item["text"], type="html")
|
||||||
if "rss" in standards:
|
if "rss" in standards:
|
||||||
|
|||||||
Reference in New Issue
Block a user