mirror of
https://github.com/miniflux/v2.git
synced 2025-07-27 17:28:38 +00:00
Add CommentsURL to entry
This commit is contained in:
parent
449020c1e8
commit
538d08c16c
11 changed files with 54 additions and 25 deletions
|
@ -43,6 +43,7 @@ type rssItem struct {
|
|||
Title string `xml:"title"`
|
||||
Links []rssLink `xml:"link"`
|
||||
OriginalLink string `xml:"http://rssnamespace.org/feedburner/ext/1.0 origLink"`
|
||||
Comments string `xml:"comments"`
|
||||
Description string `xml:"description"`
|
||||
Content string `xml:"http://purl.org/rss/1.0/modules/content/ encoded"`
|
||||
PubDate string `xml:"pubDate"`
|
||||
|
@ -219,6 +220,7 @@ func (r *rssItem) GetEnclosures() model.EnclosureList {
|
|||
func (r *rssItem) Transform() *model.Entry {
|
||||
entry := new(model.Entry)
|
||||
entry.URL = r.GetURL()
|
||||
entry.CommentsURL = r.Comments
|
||||
entry.Date = r.GetDate()
|
||||
entry.Author = r.GetAuthor()
|
||||
entry.Hash = r.GetHash()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue