for (Iterator itr = feeds.iterator(); itr.hasNext(); ) {
String feed = (String)itr.next();
try {
URL feedUrl = new URL(feed);
SyndFeedInput input = new SyndFeedInput();
SyndFeed sf = input.build(new XmlReader(feedUrl));
List docs = readDocumentsFromFeed(sf, docFactory);
int size = docs.size();
log.info("Read " + size + " documents from feed: " + feed);
count += size;
} catch (MalformedURLException e) {