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

added order parameter to add_entry() #70

Closed arne-cl closed 6 years ago

arne-cl commented 6 years ago

Commit 770603320032a6afc7e82b27bcb4926468fa22d8 changed the order in which new entries are added to a feed without warning.

This commit allows the user to choose the order herself. This is important, e.g. when creating custom podcast feeds.

lkiesow commented 6 years ago

Thanks for the patch. I fixed the mixup of tabs and spaces in your patch and merged it in. It will be part of the next release.

deltamualpha commented 6 years ago

@lkiesow any ballpark time on when that release will get tagged? I discovered this library today and that'd be a nice addition so I don't have to invert my list of feed items before looping through the insertions.

lkiesow commented 6 years ago

@deltamualpha, it's tagged :-)

deltamualpha commented 6 years ago

@lkiesow 🎉🎉 thanks!