try fix breaking rss

pull/142/head
Akhil Gupta 3 years ago
parent bd559a88e6
commit daba25281a

@ -14,7 +14,7 @@
</a> -->
<h1 align="center" style="margin-bottom:0px">Podgrab</h1>
<p align="center">Current Version - 2021.06.30</p>
<p align="center">Current Version - 2021.07.14</p>
<p align="center">
A self-hosted podcast manager to download episodes as soon as they become live

@ -124,7 +124,7 @@
<table>
<tr>
<td>Current Version</td>
<td> 2021.06.30</td>
<td> 2021.07.14</td>
</tr>
<tr>
<td>Website</td>

@ -417,6 +417,7 @@ func createRss(items []db.PodcastItem, title, description string, c *gin.Context
Enclosure: model.RssItemEnclosure{
URL: fmt.Sprintf("%s://%s/podcastitems/%s/file", url.Scheme, url.Host, item.ID),
Length: fmt.Sprint(item.FileSize),
Type: "audio/mpeg",
},
PubDate: item.PubDate.Format("Mon, 02 Jan 2006 15:04:05 -0700"),
Guid: model.RssItemGuid{

Loading…
Cancel
Save