use rss instead of atom
This commit is contained in:
parent
ac9858fe0a
commit
cc4a6401f7
4
main.py
4
main.py
@ -153,9 +153,9 @@ def by_feed_name(slug):
|
|||||||
fe.content(item.content)
|
fe.content(item.content)
|
||||||
|
|
||||||
date = item.date.replace(tzinfo=timezone.utc)
|
date = item.date.replace(tzinfo=timezone.utc)
|
||||||
fe.updated(date)
|
fe.published(date)
|
||||||
|
|
||||||
return gen.atom_str(pretty=True).decode('utf8')
|
return gen.rss_str(pretty=True).decode('utf8')
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
Loading…
Reference in New Issue
Block a user