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:
parent
cf8af56a99
commit
557cf9c21d
3 changed files with 114 additions and 38 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue