Open passiomatic opened 10 years ago
Gonna mark won't fix this. There's little Coldsweat could do to handle this corner-case.
First option: Extract all entries from a feed, sort asc by their timestamp and then add them to the database. By relying on ID database autoincrement field we are sure entries will maintain they order, even if timestamps are all equal. Later, in the views sort by ID's desc, not timestamp. Older entries will be on bottom (smal ID's), recent entries on top. Second option: Use a greater fetcher "add time" accuracy, down to microseconds maybe, instead of relying to entry published date. This mirrors what Google Reader API expects, so it might be a better solution overall.
PInboard "popular" feed entries have all the same timestamp. E.g:
Note that both dc:date elements are set to 2014-07-06T14:12:01+00:00.
This poses a problem since Coldsweat to figure out the next entry to show check entry timestamps and sort it:
To fix this is necessary to apply two sort and condition parameters: last_updated_on and id. Note that Peewee order_by() method accepts multiple clauses.