mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
persist entry author
This commit is contained in:
@@ -30,6 +30,7 @@ public class Entry implements Serializable {
|
||||
entry.setGuid(feedEntry.getGuid());
|
||||
entry.setTitle(feedEntry.getContent().getTitle());
|
||||
entry.setContent(feedEntry.getContent().getContent());
|
||||
entry.setAuthor(feedEntry.getAuthor());
|
||||
entry.setEnclosureUrl(status.getEntry().getContent().getEnclosureUrl());
|
||||
entry.setEnclosureType(status.getEntry().getContent()
|
||||
.getEnclosureType());
|
||||
@@ -73,6 +74,9 @@ public class Entry implements Serializable {
|
||||
@ApiProperty("entry content")
|
||||
private String content;
|
||||
|
||||
@ApiProperty("entry author")
|
||||
private String author;
|
||||
|
||||
@ApiProperty("entry enclosure url, if any")
|
||||
private String enclosureUrl;
|
||||
|
||||
@@ -215,4 +219,12 @@ public class Entry implements Serializable {
|
||||
this.feedLink = feedLink;
|
||||
}
|
||||
|
||||
public String getAuthor() {
|
||||
return author;
|
||||
}
|
||||
|
||||
public void setAuthor(String author) {
|
||||
this.author = author;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user