}
if(feed.getLastSync() == null || feed.getPubDate() == null){
logger.info("doCrawl for the very first time: " + feedUrl);
entries = processSyndFeed(syndFeed, feed);
}else if(feed.getPubDate() != null){
if(feedPubDate.after(feed.getPubDate())){
logger.info("doCrawl because remote server pubDate is newer: " + feedUrl + ". Recorded PubDate="
+feed.getPubDate() + " Server PubDate="+feedPubDate);
entries = processSyndFeed(syndFeed, feed);
}else{
logger.info("doCrawl skip because pubDate is up-to-date: " + ". Recorded PubDate="