Ordered By Date RSS? Why?
Reported by Julian Popov | July 2nd, 2008 @ 01:02 PM
Hello, today i found this wonderful plugin, and i used it to post all my shared items from Google Reader to my Blog. But ... I found that if "created" and "updated" datetimes from RSS feed are not descending there are problems.
That's why I look at source code and made a little change:
function fetchFeed($url, $stupidly_fast = false, $max = 0)
{
- SimplePie
if(! class_exists('SimplePie'))
require_once( WPOINC . 'simplepie/simplepie.class.php' );
$feed = new SimplePie();
$feed->enable_order_by_date(false); // THIS IS IT !!!
Don't you think that order in RSS fead is more important than datetime of single items? What if RSS fead is agregated from other different feeds (like my case)?
Best Regards,
Julian Popov
Comments and changes to this ticket
-
Guillermo Rauch July 17th, 2008 @ 03:48 PM
- Milestone cleared.
- State changed from new to resolved
Interesting. I incorporated this fix for 1.0RC4-3
-
Ricardo Rauch April 15th, 2010 @ 08:49 AM
- Assigned user changed from Guillermo Rauch to Ricardo Rauch
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
WP-o-Matic project.