1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-07-12 16:58:36 +00:00

Handle RSS entries with Atom links

This commit is contained in:
Frédéric Guillot 2017-11-20 15:48:26 -08:00
parent cf8af56a99
commit 557cf9c21d
3 changed files with 114 additions and 38 deletions

View file

@ -14,7 +14,7 @@ import (
"golang.org/x/net/html/charset"
)
// Parse returns a normalized feed struct.
// Parse returns a normalized feed struct from a RSS feed.
func Parse(data io.Reader) (*model.Feed, error) {
feed := new(rssFeed)
decoder := xml.NewDecoder(data)