Commit eab0d1fd authored by Cédric Le Ninivin's avatar Cédric Le Ninivin

pubsub: feeds display items from most recent to oldest

parent 24415e60
...@@ -55,6 +55,7 @@ def get_feed(feed): ...@@ -55,6 +55,7 @@ def get_feed(feed):
updated=datetime.fromtimestamp(timestamp), updated=datetime.fromtimestamp(timestamp),
content=Content(content, content_type='html'), content=Content(content, content_type='html'),
)) ))
entries.reverse()
feed = Feed(title=feed_title, feed = Feed(title=feed_title,
updated=datetime.fromtimestamp(feed_updated), updated=datetime.fromtimestamp(feed_updated),
guid=feed_guid, guid=feed_guid,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment