pauldix/feedzirra — Issue #81: First feed is not always newest
Author: posnake2000
Created: 2012-01-25 16:01:06+00:00
State: open

Thanks for the great feed parser. It's very fast and reliable. I'm using it to parse dozens of feeds and have found some don't update properly.

The reason is that find_new_entries(feed) (in Feedzirra::FeedUtilities) depends on feed entries always being ordered with the newest one first, but this is occasionally not true.

For example, the Charlotte Observer has recently put out feeds that look like this:

Latest (index: published url)
0: 2012-01-13 20:07:38 UTC http://www.suntimes.com/opinions/9929027-474/editorial-welcome-mat-for-poles-could-give-city-a-boost.html
1: 2012-01-25 08:21:17 UTC http://www.suntimes.com/opinions/10206477-474/editorial-well-keep-the-light-on-for-kirk.html
...

Older (index: published url)
0: 2012-01-13 20:07:38 UTC http://www.suntimes.com/opinions/9929027-474/editorial-welcome-mat-for-poles-could-give-city-a-boost.html
1: 2012-01-24 08:14:06 UTC http://www.suntimes.com/opinions/10184755-474/editorial-to-save-middle-class-protect-our-universities.html
...