// Collect all XML URL's of all direct feeds
List<DirectFeed> feedsList = new ArrayList<DirectFeed>(feeds.size());
for (int i = 0; limit > 0 && i < feeds.size(); i++)
{
DefaultOPMLFeed feed = (DefaultOPMLFeed)feeds.get(i);
// Convert query feed to normal direct feed
if (feed instanceof QueryOPMLFeed)
{
QueryFeed qFeed = Helper.createQueryFeed((QueryOPMLFeed)feed);
feed = new DirectOPMLFeed(feed.getTitle(), qFeed.getXmlURL().toString(), null,
feed.getRating(), feed.getReadArticlesKeys(), feed.getPinnedArticlesKeys(), feed.getLimit(),
null, null, null, null, null, null, false, qFeed.getType().getType(), false, 0, null,
qFeed.getHandlingType().toInteger());
}
if (feed instanceof DirectOPMLFeed)