private void check() {
log.info("Checking feed from {}", feedurl);
Date latestEntry = lastUpdate;
log.info("Last update is {}", lastUpdate);
try {
Response res = http.get(feedurl);
List<SyndEntry> entries = new SyndFeedInput().build(res.asDocument()).
getEntries();
Collections.sort(entries, new Comparator<SyndEntry> () {
public int compare(SyndEntry o1, SyndEntry o2) {
return o1.getPublishedDate().compareTo(o2.getPublishedDate());