fix antennapod issue

pull/171/head
Akhil Gupta 3 years ago
parent 31179d6b73
commit 68b0718b73

@ -488,7 +488,7 @@ func createRss(items []db.PodcastItem, title, description, image string, c *gin.
Summary: description, Summary: description,
Author: "Podgrab Aggregation", Author: "Podgrab Aggregation",
Link: fmt.Sprintf("%s/allTags", url), Link: fmt.Sprintf("%s/allTags", url),
Image: model.RssItemImage{Text: title, Href: imagePath}, Image: model.RssItemImage{Text: title, URL: imagePath},
}, },
} }
} }

@ -56,6 +56,7 @@ type RssItemEnclosure struct {
type RssItemImage struct { type RssItemImage struct {
Text string `xml:",chardata"` Text string `xml:",chardata"`
Href string `xml:"href,attr"` Href string `xml:"href,attr"`
URL string `xml:"url"`
} }
type RssItemGuid struct { type RssItemGuid struct {

Loading…
Cancel
Save