updates #4
1 changed files with 1 additions and 1 deletions
|
@ -125,7 +125,7 @@ def _rebuild_atom_file(path: str, data: dict, urls: list) -> None:
|
||||||
# rebuild all articles
|
# rebuild all articles
|
||||||
for art, article in enumerate(data['articles']):
|
for art, article in enumerate(data['articles']):
|
||||||
atomentry = atomfeed.add_entry()
|
atomentry = atomfeed.add_entry()
|
||||||
url = urls[art]
|
url = urls[0]
|
||||||
atomentry.guid(url)
|
atomentry.guid(url)
|
||||||
atomentry.link(href=url, rel='alternate')
|
atomentry.link(href=url, rel='alternate')
|
||||||
atomentry.updated(article['updated'])
|
atomentry.updated(article['updated'])
|
||||||
|
|
Loading…
Reference in a new issue