use rss instead of atom

This commit is contained in:
Benjamin Bouvier 2017-12-31 14:08:46 +01:00
parent ac9858fe0a
commit cc4a6401f7

View File

@ -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__':