lkiesow / python-feedgen

Python module to generate ATOM feeds, RSS feeds and Podcasts.
https://feedgen.kiesow.be/
BSD 2-Clause "Simplified" License
723 stars 123 forks source link

new entries are inserted to the front of the __feed_entries list #55

Closed stbisplinghoff closed 7 years ago

stbisplinghoff commented 7 years ago

I experienced some trouble with feed readers which expect the most recent entry be always at the beginning of the feed XML. Although it is not part of the RFC4287 it appears that it is a common consensus to start with the newest entry.

Background: A recurring process inspects my data and generates change notifications via an atom feed. The FeedGenerator is pickled and stored to disk to avoid regeneration of the whole feed on each cycle.

coveralls commented 7 years ago

Coverage Status

Coverage remained the same at 90.364% when pulling 770603320032a6afc7e82b27bcb4926468fa22d8 on stbisplinghoff:master into 84dd4373aebcdc3a77440170e1583007f8c81a2b on lkiesow:master.

lkiesow commented 7 years ago

This should not break anything → I'm fine with merging this.

BartSaelen commented 7 years ago

It does break some things for us. At least make it possible to choose whether it is inserted first or appended.