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.Name = xfeed.Title
|
||||
feed.URL = xfeed.Link
|
||||
if feed.URL == "" {
|
||||
feed.URL = fetchURL
|
||||
}
|
||||
if feed.URL == "" {
|
||||
feed.URL = fetchURL
|
||||
}
|
||||
feed.URL = fetchURL
|
||||
feed.Description = xfeed.Description
|
||||
feed.Photo = xfeed.Image.URL
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue
Block a user