mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
use publishedDate from feed to determine if we need to handle feed entries or not
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user