I need to parse a remote xml file for my site. I found the FeedTools library to be the easiest method, but have now run into a problem.

The xml file I am parsing has 10 news items. I want to display only 5 of them. How can I limit the output using Ruby iterators?