Always use fetchURL to get the feed
This commit is contained in:
parent
68a98ee59e
commit
c9c505bda4
|
@ -152,13 +152,7 @@ func (b *memoryBackend) feedHeader(fetchURL, contentType string, body io.Reader)
|
||||||
|
|
||||||
feed.Type = "feed"
|
feed.Type = "feed"
|
||||||
feed.Name = xfeed.Title
|
feed.Name = xfeed.Title
|
||||||
feed.URL = xfeed.Link
|
feed.URL = fetchURL
|
||||||
if feed.URL == "" {
|
|
||||||
feed.URL = fetchURL
|
|
||||||
}
|
|
||||||
if feed.URL == "" {
|
|
||||||
feed.URL = fetchURL
|
|
||||||
}
|
|
||||||
feed.Description = xfeed.Description
|
feed.Description = xfeed.Description
|
||||||
feed.Photo = xfeed.Image.URL
|
feed.Photo = xfeed.Image.URL
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user