add itunes prefix/namespace
This commit is contained in:
parent
550ebe31fb
commit
c5d2842eb5
2 changed files with 4 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
|||
{{- printf "<?xml-stylesheet href=\"/feed.xsl\" type=\"text/xsl\"?>" | safeHTML }}
|
||||
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:podcast="https://github.com/Podcastindex-org/podcast-namespace/blob/main/docs/1.0.md">
|
||||
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:podcast="https://github.com/Podcastindex-org/podcast-namespace/blob/main/docs/1.0.md" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd">
|
||||
<channel>
|
||||
<title>{{.Title}}</title>
|
||||
<link>{{ .Permalink }}</link>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{{- printf "<?xml-stylesheet href=\"/feed.xsl\" type=\"text/xsl\"?>" | safeHTML }}
|
||||
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:podcast="https://github.com/Podcastindex-org/podcast-namespace/blob/main/docs/1.0.md">
|
||||
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:podcast="https://github.com/Podcastindex-org/podcast-namespace/blob/main/docs/1.0.md" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd">
|
||||
<channel>
|
||||
<title>{{.Title}}</title>
|
||||
<link>{{ .Permalink }}</link>
|
||||
|
@ -10,7 +10,7 @@
|
|||
<url>{{.Site.BaseURL}}{{.Site.Params.default_img}}</url>
|
||||
</image>
|
||||
<atom:link href="{{.Site.BaseURL}}index.xml" rel="self" type="application/rss+xml" />{{if .Site.Params.funding}}
|
||||
<podcast:funding url="{{.Site.Params.funding}}">Support this work!</podcast:funding>{{end}} {{ range .Site.RegularPages | first 5 }}
|
||||
<podcast:funding url="{{.Site.Params.funding}}">Support this work!</podcast:funding>{{end}} {{ range .Site.RegularPages | first 5}}
|
||||
<item>
|
||||
<title>{{ .Title }}</title>
|
||||
<link>{{ .Permalink }}</link>
|
||||
|
@ -27,7 +27,7 @@
|
|||
<enclosure url="{{.Site.BaseURL}}{{.Params.audio}}" />
|
||||
{{end}}
|
||||
{{end}}{{ if .Params.image}}
|
||||
<image>{{.Params.image}}</image>
|
||||
<image>{{.Site.BaseURL}}{{.Params.image}}</image>
|
||||
<media:thumbnail href="{{.Site.BaseURL}}{{.Params.image}}" />
|
||||
<itunes:image href="{{.Site.BaseURL}}{{.Params.image}}" />{{end}}
|
||||
<description>{{.Site.BaseURL}}{{.Params.description}}</description>
|
||||
|
|
Loading…
Reference in a new issue