#45 ✓resolved
Julian Popov

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)

{

  1. 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

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.

New-ticket Create new ticket

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.

People watching this ticket

Pages