mirror of
https://github.com/nkanaev/yarr.git
synced 2025-05-24 21:19:19 +00:00
give priority to content:encoded
This commit is contained in:
parent
91deb41d5b
commit
cc51fe01c2
@ -82,7 +82,7 @@ func ParseRSS(r io.Reader) (*Feed, error) {
|
||||
Date: dateParse(firstNonEmpty(srcitem.DublinCoreDate, srcitem.PubDate)),
|
||||
URL: srcitem.Link,
|
||||
Title: srcitem.Title,
|
||||
Content: srcitem.Description,
|
||||
Content: firstNonEmpty(srcitem.ContentEncoded, srcitem.Description),
|
||||
AudioURL: podcastURL,
|
||||
})
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user