mirror of
https://github.com/nkanaev/yarr.git
synced 2025-09-14 02:10:04 +00:00
update comments
This commit is contained in:
@@ -94,7 +94,7 @@ func discoverFeed(url string) (*gofeed.Feed, *[]FeedSource, error) {
|
||||
feedparser := gofeed.NewParser()
|
||||
feed, err := feedparser.Parse(bytes.NewReader(content))
|
||||
if err == nil {
|
||||
// WILD: some feeds do not have link to itself
|
||||
// WILD: feeds may not always have link to themselves
|
||||
if len(feed.FeedLink) == 0 {
|
||||
feed.FeedLink = url
|
||||
}
|
||||
|
Reference in New Issue
Block a user