persist entry author

This commit is contained in:
Athou
2013-05-19 06:47:37 +02:00
parent bf8f25af92
commit f59198e018
4 changed files with 29 additions and 0 deletions

View File

@@ -65,6 +65,11 @@ public class FeedUpdateService {
content.setTitle(title.substring(0,
Math.min(2048, title.length())));
}
String author = entry.getAuthor();
if (author != null) {
entry.setAuthor(author.substring(0,
Math.min(128, author.length())));
}
entry.setInserted(Calendar.getInstance().getTime());
entry.getFeeds().add(feed);