mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
store normalized urls
This commit is contained in:
@@ -34,6 +34,12 @@ public class Feed extends AbstractModel {
|
||||
|
||||
@Column(length = 40, nullable = false)
|
||||
private String urlHash;
|
||||
|
||||
@Column(length = 2048, nullable = false)
|
||||
private String normalizedUrl;
|
||||
|
||||
@Column(length = 40, nullable = false)
|
||||
private String normalizedUrlHash;
|
||||
|
||||
/**
|
||||
* The url of the website, extracted from the feed
|
||||
@@ -315,4 +321,20 @@ public class Feed extends AbstractModel {
|
||||
this.urgent = urgent;
|
||||
}
|
||||
|
||||
public String getNormalizedUrl() {
|
||||
return normalizedUrl;
|
||||
}
|
||||
|
||||
public void setNormalizedUrl(String normalizedUrl) {
|
||||
this.normalizedUrl = normalizedUrl;
|
||||
}
|
||||
|
||||
public String getNormalizedUrlHash() {
|
||||
return normalizedUrlHash;
|
||||
}
|
||||
|
||||
public void setNormalizedUrlHash(String normalizedUrlHash) {
|
||||
this.normalizedUrlHash = normalizedUrlHash;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user