mirror of
https://github.com/safing/web
synced 2025-04-23 04:19:09 +00:00
Fix podcast XML creation bug
This commit is contained in:
parent
223dd02f9f
commit
2488c1718f
1 changed files with 4 additions and 4 deletions
|
@ -12,12 +12,12 @@ layout: null
|
|||
xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
|
||||
xmlns:rawvoice="http://www.rawvoice.com/rawvoiceRssModule/">
|
||||
<channel>
|
||||
<title>{{ site.podcast_title }}</title>
|
||||
<title>{{ site.podcast_title | xml_escape }}</title>
|
||||
<atom:link href="{{ site.url }}{{ site.podcast_feed_url }}" rel="self" type="application/rss+xml" />
|
||||
<link>{{ site.url }}</link>
|
||||
<description>{{ site.podcast_description }}</description>
|
||||
<lastBuildDate>{{ site.time | date: "%a, %d %b %Y %H:%M:%S %z" }}</lastBuildDate>
|
||||
<copyright>© {{ site.time | date: "%Y" }} {{ site.podcast_title }}</copyright>
|
||||
<copyright>© {{ site.time | date: "%Y" }} {{ site.podcast_title | xml_escape }}</copyright>
|
||||
<language>en-US</language>
|
||||
<sy:updatePeriod>hourly</sy:updatePeriod>
|
||||
<sy:updateFrequency>1</sy:updateFrequency>
|
||||
|
@ -35,7 +35,7 @@ layout: null
|
|||
|
||||
<itunes:subtitle>{{ site.podcast_subtitle }}</itunes:subtitle>
|
||||
<image>
|
||||
<title>{{ site.podcast_title }}</title>
|
||||
<title>{{ site.podcast_title | xml_escape }}</title>
|
||||
<url>{{ site.url }}{{ site.podcast_album_art }}</url>
|
||||
<link>{{ site.url }}</link>
|
||||
</image>
|
||||
|
@ -46,7 +46,7 @@ layout: null
|
|||
|
||||
{% for episode in site.podcasts %}
|
||||
<item>
|
||||
<title>{{ episode.title }}</title>
|
||||
<title>{{ episode.title | xml_escape }}</title>
|
||||
<link>{{ site.url }}{{ episode.url }}</link>
|
||||
<pubDate>{{ episode.date | date: "%a, %d %b %Y %T %z" }}</pubDate>
|
||||
<dc:creator><![CDATA[{{ site.podcast_author | cdata_escape }}]]></dc:creator>
|
||||
|
|
Loading…
Add table
Reference in a new issue