I'd like to have a new sort option for simplefeed in views, that would allow you to sort feeds in order of the timestamp of their latest item. So you could get the freshest feed, then the next freshest etc.

Right now you can only sort by the order in which they're set to refresh or their items are set to expire. Neither is particularly useful.

Comments

vannen’s picture

Assigned: Unassigned » vannen
Status: Active » Closed (fixed)

I looked into this issue today.

I did think that the node created time would in some cases be after the timestamp imported from the feed, as the nodes are not created at the instant an item is added to an external feed.

However, the node created time assigned to feed-item nodes is taken from the timestamp imported from the feed, in the function simplefeed_item_feed_parse in simplefeed_item.module.

To sort by timestamp, you just need to sort by node:created.