>
> Try doing:
>
> $feed = new
> Zend_Feed_Atom('http://wildoakrestaurant.blogspot.com/atom.xml'<http://wildoakrestaurant.blogspot.com/atom.xml%27>
> );
> $feedLimit = 5;
>
>
> $f = new LimitIterator($feed, $feedLimit);
>
> $f->seek(5) should return the last item since your feed limit is 5. I
> will
> try and full test the example a little later when I can get to my
> computer.
>
>
>
> --
> Cory Wiles
> kwylez@gmail.com
> http://www.corywiles.com
> http://www.400mtogo.com
>
>
Argh! I spoke to soon.
I cant seek:
$feedLimit = $resultCount-3;
$f = new LimitIterator($feed, $feedLimit);
$f->seek($resultCount+3);
That just returns the last three entries from the $feed.
I cant seek to the 3rd entry and then limit the results to 3.
Thanks. fc
--
View this message in context: http://www.nabble.com/ZEND-Feed-and-me-trying-to-paginate-it-tp20043583p20051527.html
Sent from the Zend Web Services mailing list archive at Nabble.com.
没有评论:
发表评论