Quantcast
Channel: Why does Simplepie return feed items in a wrong order? - WordPress Development Stack Exchange
Browsing latest articles
Browse All 5 View Live

Answer by Marc for Why does Simplepie return feed items in a wrong order?

The simplest fix for someone who is experiencing this issue is this: function my_add_force_rss($feed,$url){ $feed->force_feed(true); $feed->enable_order_by_date(false); }...

View Article



Answer by Firsh - LetsWP.io for Why does Simplepie return feed items in a...

At the end of class-simplepie.php there is this line: usort($items, array(get_class($urls[0]), 'sort_items')); Which force-sorts feed elements, in case of multifeed. The...

View Article

Answer by jimihenrik for Why does Simplepie return feed items in a wrong order?

I have no idea what's happening with this feed but with this code include_once( ABSPATH . WPINC . '/feed.php' ); $rss = fetch_feed(...

View Article

Answer by birgire for Why does Simplepie return feed items in a wrong order?

I think you simply have to replace: $feed->enable_order_by_date(false); with $rss->enable_order_by_date(false); to disable the descending date ordering. In the case of a feed error, the...

View Article

Why does Simplepie return feed items in a wrong order?

I have this feed from picasa (correct but arbitrary, desired order). The result is messed up Also, with this feed, for example. It's fine in regular, sorted by date feeds, but not these. In the object...

View Article

Browsing latest articles
Browse All 5 View Live




Latest Images