milesj/cake-utility — pull request #4 by TeckniX (2012-12-20 15:48:57+00:00)
Title: Updated the truncation to parse each feed

Updated the read method to apply filter, sorting and truncation on each feed, instead of the overall feed results.
If provided with 2+ feeds before, the results would truncate to the size of the first feed (10+ items always requested).
The updated code, will truncate each feed to the size of $query['limit'], providing you with each feed filtered and sorted to the query limit count.

2 feed with a limit of 5, will return 10 feed entries (5 per feed).

resulting array is:
array('feed-1-date'=>array(),
'feed-1-date'=>array(),
'feed-1-date'=>array(),
'feed-1-date'=>array(),
'feed-1-date'=>array(),
'feed-2-date'=>array(),
'feed-2-date'=>array(),
'feed-2-date'=>array(),
'feed-2-date'=>array(),
'feed-2-date'=>array());
Instead of:
array('feed-1-date'=>array(),
'feed-1-date'=>array(),
'feed-1-date'=>array(),
'feed-1-date'=>array(),
'feed-1-date'=>array());