use publishedDate from feed to determine if we need to handle feed entries or not

This commit is contained in:
Athou
2013-06-08 21:47:19 +02:00
parent be8eb832b0
commit 19a4a58d9e
6 changed files with 46 additions and 17 deletions

View File

@@ -14,7 +14,7 @@ public class FetchedFeed {
private String title;
private long fetchDuration;
private Date publishedDate;
private Date lastEntryDate;
/**
* pubsubhubbub hub url
@@ -58,14 +58,6 @@ public class FetchedFeed {
this.fetchDuration = fetchDuration;
}
public Date getPublishedDate() {
return publishedDate;
}
public void setPublishedDate(Date publishedDate) {
this.publishedDate = publishedDate;
}
public String getHub() {
return hub;
}
@@ -82,4 +74,12 @@ public class FetchedFeed {
this.topic = topic;
}
public Date getLastEntryDate() {
return lastEntryDate;
}
public void setLastEntryDate(Date lastEntryDate) {
this.lastEntryDate = lastEntryDate;
}
}