give priority to content:encoded
This commit is contained in:
parent
91deb41d5b
commit
cc51fe01c2
1 changed files with 1 additions and 1 deletions
|
|
@ -82,7 +82,7 @@ func ParseRSS(r io.Reader) (*Feed, error) {
|
||||||
Date: dateParse(firstNonEmpty(srcitem.DublinCoreDate, srcitem.PubDate)),
|
Date: dateParse(firstNonEmpty(srcitem.DublinCoreDate, srcitem.PubDate)),
|
||||||
URL: srcitem.Link,
|
URL: srcitem.Link,
|
||||||
Title: srcitem.Title,
|
Title: srcitem.Title,
|
||||||
Content: srcitem.Description,
|
Content: firstNonEmpty(srcitem.ContentEncoded, srcitem.Description),
|
||||||
AudioURL: podcastURL,
|
AudioURL: podcastURL,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue