Closed (fixed)
Project:
SimpleFeed
Version:
5.x-3.1
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
12 Feb 2009 at 06:19 UTC
Updated:
12 May 2009 at 00:45 UTC
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
Comment #1
vannen commentedI 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.