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,
Author: "Podgrab Aggregation",
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 {
Text string `xml:",chardata"`
Href string `xml:"href,attr"`
URL string `xml:"url"`
}
type RssItemGuid struct {

Loading…
Cancel
Save