Closed GoogleCodeExporter closed 9 years ago
Forgot to mention, site is running on linux/php web host.
Original comment by dacap...@gmail.com
on 17 Apr 2007 at 4:33
if they are numbered in an order then it is best to not specify a sort order at
all
as the natural sort order of the feed is probably what you want.
I can't change how it sorts becuase the sort is a string based sort and as such
1,
10, 2, 3 is perfectly correct even though to the human eye it is not.
Call it like so:
feedList(array("rss_feed_url"=>"http://rss.netflix.com/Top100RSS",
"num_items"=>10,
"show_description"=>false,
"random"=>false,
"new_window"=>true,
"show_date"=>false
)
); ?>
Oddly though there is a bug in that sorting is occuring even if no sort is
specified.
If you just say "9" to be returned instead of 10 the sorting is correct (10 is not
included).
Original comment by bill.raw...@gmail.com
on 18 Apr 2007 at 12:54
I have updated the zip file and the feedList.php file to correctly NOT sort if
"none"
or no sort parameter is specified.
Original comment by bill.raw...@gmail.com
on 18 Apr 2007 at 1:04
Original issue reported on code.google.com by
dacap...@gmail.com
on 17 Apr 2007 at 4:32