f = new Feed();
f.setName(feed.getTitle());
f.setUrl(feed.getLink());
for (Iterator it = feed.getEntries().iterator(); it.hasNext();) {
SyndEntry entry = (SyndEntry) it.next();
Entry modelEntry = new Entry();
modelEntry.setTitle(entry.getTitle());
modelEntry.setUrl(entry.getLink());
modelEntry.setPublishDate(entry.getPublishedDate());
modelEntry.setAuthor(entry.getAuthor());
modelEntry.setHtml(entry.getDescription().getValue());
f.addEntry(modelEntry);
}
}
return f;