logger.l4("There's no new entries at " + URL);
return;
}
for (Object object : feed.getEntries()) {
SyndEntry entry = (SyndEntry) object;
if (x.after(entry.getPublishedDate())) {
break;
}
sb.append(entry.getTitle());
sb.append("\n\n");
sb.append(entry.getDescription().getValue()
.replaceAll("\\<.*?>", ""));
sb.append("\nRead more: ");
sb.append(entry.getUri());
sb.append("\n----------------------------------------------------------------------\n");
}
} catch (Exception e) {
logger.l2("Some error happens while parsing " + URL, e);
}