update rss template
This commit is contained in:
parent
09dac69c83
commit
35ec90673f
@ -3,15 +3,18 @@ title: "Introduction"
|
||||
date: 2023-01-16T06:00:24-04:00
|
||||
draft: false
|
||||
url: "introduction"
|
||||
episodeTitle: "Introduction"
|
||||
episodeSubtitle: "Welcome to the first episode of Pitch and Play, a podcast about actually playing the games that your friends recommend!"
|
||||
featuredImage: 'cover.png'
|
||||
summary: "Welcome to the first episode of Pitch and Play, a podcast about actually playing the games that your friends recommend!"
|
||||
|
||||
episodeType: full
|
||||
episodeLength: 20451328
|
||||
episodeURL: https://cdn.pitchandplay.org/episodes/PPEpisode1.mp3
|
||||
episodeDuration: 00:27:59
|
||||
episodeExplicit: true
|
||||
episodeNumber: 1
|
||||
episodeSeason: 1
|
||||
episodeChapters: true
|
||||
episodeGuid: podlove-2023-01-16t23:24:26+00:00-b10c458ea67b923
|
||||
featuredImage: '/cover.png'
|
||||
episodeTranscript: false
|
||||
---
|
||||
|
||||
{{< audio src="https://cdn.pitchandplay.org/episodes/PPEpisode1.mp3" >}}
|
||||
|
@ -3,15 +3,18 @@ title: "Immortality"
|
||||
date: 2023-01-30T06:00:24-04:00
|
||||
draft: false
|
||||
url: "immortality"
|
||||
episodeTitle: "Immortality"
|
||||
episodeSubtitle: "In this spoiler-filled discussion of Immortality, Cassie and Ross discuss their struggles with the presentation of the game and accessing the game's narrative."
|
||||
featuredImage: 'cover.jpg'
|
||||
summary: "In this spoiler-filled discussion of Immortality, Cassie and Ross discuss their struggles with the presentation of the game and accessing the game's narrative."
|
||||
|
||||
episodeType: full
|
||||
episodeLength: 88371200
|
||||
episodeURL: https://cdn.pitchandplay.org/episodes/PPEpisode2.mp3
|
||||
episodeDuration: 02:02:18
|
||||
episodeExplicit: true
|
||||
episodeNumber: 2
|
||||
episodeSeason: 1
|
||||
episodeChapters: true
|
||||
episodeGuid: podlove-2023-01-24t00:52:25+00:00-bb72677de870c7c
|
||||
featuredImage: 'cover.jpg'
|
||||
episodeTranscript: false
|
||||
---
|
||||
|
||||
{{< audio src="https://cdn.pitchandplay.org/episodes/PPEpisode2.mp3" >}}
|
||||
|
@ -3,15 +3,18 @@ title: "Stardew Valley"
|
||||
date: 2023-02-13T06:00:24-04:00
|
||||
draft: false
|
||||
url: "stardew-valley"
|
||||
episodeTitle: "Stardew Valley"
|
||||
episodeSubtitle: "In our full-length discussion of Stardew Valley, Cassie tries to find ways to convince Ross that Stardew Valley can work for him."
|
||||
featuredImage: 'cover.png'
|
||||
summary: "In our full-length discussion of Stardew Valley, Cassie tries to find ways to convince Ross that Stardew Valley can work for him."
|
||||
|
||||
episodeType: full
|
||||
episodeLength: 75390976
|
||||
episodeURL: https://cdn.pitchandplay.org/episodes/PPEpisode3.mp3
|
||||
episodeDuration: 01:18:12
|
||||
episodeExplicit: true
|
||||
episodeNumber: 3
|
||||
episodeSeason: 1
|
||||
episodeChapters: true
|
||||
episodeGuid: podlove-2023-01-29t01:37:51+00:00-9a6709055cb8f6a
|
||||
featuredImage: 'cover.png'
|
||||
episodeTranscript: false
|
||||
---
|
||||
|
||||
{{< audio src="https://cdn.pitchandplay.org/episodes/PPEpisode3.mp3" >}}
|
||||
|
@ -3,15 +3,18 @@ title: "Vampire Survivors"
|
||||
date: 2023-02-27T06:00:24-04:00
|
||||
draft: false
|
||||
url: "vampire-survivors"
|
||||
episodeTitle: "Vampire Survivors"
|
||||
episodeSubtitle: "The supernatural indie phenomenon that lets you be the bullet hell!"
|
||||
featuredImage: 'cover.jpg'
|
||||
summary: "The supernatural indie phenomenon that lets you be the bullet hell!"
|
||||
|
||||
episodeType: full
|
||||
episodeLength: 52228096
|
||||
episodeURL: https://cdn.pitchandplay.org/episodes/PPEpisode4.mp3
|
||||
episodeDuration: 01:12:06
|
||||
episodeExplicit: true
|
||||
episodeNumber: 4
|
||||
episodeSeason: 1
|
||||
episodeChapters: true
|
||||
episodeGuid: podlove-2023-02-12t16:13:43+00:00-2553922b909a8f6
|
||||
featuredImage: 'cover.jpg'
|
||||
episodeTranscript: false
|
||||
---
|
||||
|
||||
{{< audio src="https://cdn.pitchandplay.org/episodes/PPEpisode4.mp3" >}}
|
||||
|
@ -3,15 +3,18 @@ title: "Fable Anniversary"
|
||||
date: 2023-03-13T06:00:24-04:00
|
||||
draft: false
|
||||
url: "fable-anniversary"
|
||||
episodeTitle: "Fable Anniversary"
|
||||
episodeSubtitle: "For Every Choice, A Consequence"
|
||||
featuredImage: 'cover.jpg'
|
||||
summary: "For Every Choice, A Consequence"
|
||||
|
||||
episodeType: full
|
||||
episodeLength: 61292544
|
||||
episodeURL: https://cdn.pitchandplay.org/episodes/PPEpisode5.mp3
|
||||
episodeDuration: 01:03:31
|
||||
episodeExplicit: true
|
||||
episodeNumber: 5
|
||||
episodeSeason: 1
|
||||
episodeChapters: true
|
||||
episodeGuid: podlove-2023-03-06t01:43:31+00:00-903353a6861b30a
|
||||
featuredImage: 'cover.jpg'
|
||||
episodeTranscript: false
|
||||
---
|
||||
|
||||
{{< audio src="https://cdn.pitchandplay.org/episodes/PPEpisode5.mp3" >}}
|
||||
|
@ -3,15 +3,18 @@ title: "The Legend of Zelda: A Link to the Past"
|
||||
date: 2023-03-27T06:00:24-04:00
|
||||
draft: false
|
||||
url: "alttp"
|
||||
episodeTitle: "The Legend of Zelda: A Link to the Past"
|
||||
episodeSubtitle: "Things in the light are not the same in the dark and neither are games from thirty years ago."
|
||||
featuredImage: 'cover.jpg'
|
||||
summary: "Things in the light are not the same in the dark and neither are games from thirty years ago."
|
||||
|
||||
episodeType: full
|
||||
episodeLength: 66187264
|
||||
episodeURL: https://cdn.pitchandplay.org/episodes/PPEpisode6.mp3
|
||||
episodeDuration: 01:08:35
|
||||
episodeExplicit: true
|
||||
episodeNumber: 6
|
||||
episodeSeason: 1
|
||||
episodeChapters: true
|
||||
episodeGuid: podlove-2023-03-06t03:26:45+00:00-639f25a6269d569
|
||||
featuredImage: 'cover.jpg'
|
||||
episodeTranscript: false
|
||||
---
|
||||
|
||||
{{< audio src="https://cdn.pitchandplay.org/episodes/PPEpisode6.mp3" >}}
|
||||
|
@ -3,15 +3,18 @@ title: "The Order 1886"
|
||||
date: 2023-04-10T06:00:24-04:00
|
||||
draft: false
|
||||
url: "the-order-1886"
|
||||
episodeTitle: "The Order 1886"
|
||||
episodeSubtitle: "The wall dividing life and death is so thin."
|
||||
featuredImage: 'cover.jpg'
|
||||
summary: "The wall dividing life and death is so thin."
|
||||
|
||||
episodeType: full
|
||||
episodeLength: 81936384
|
||||
episodeURL: https://cdn.pitchandplay.org/episodes/PPEpisode7.mp3
|
||||
episodeDuration: 01:25:01
|
||||
episodeExplicit: true
|
||||
episodeNumber: 7
|
||||
episodeSeason: 1
|
||||
episodeChapters: true
|
||||
episodeGuid: podlove-2023-03-21t21:54:27+00:00-c170c0bd1098f76
|
||||
featuredImage: 'cover.jpg'
|
||||
episodeTranscript: false
|
||||
---
|
||||
|
||||
{{< audio src="https://cdn.pitchandplay.org/episodes/PPEpisode7.mp3" >}}
|
||||
|
@ -3,15 +3,18 @@ title: "Rise of the Tomb Raider"
|
||||
date: 2023-04-24T06:00:24-04:00
|
||||
draft: false
|
||||
url: "rise-of-the-tomb-raider"
|
||||
episodeTitle: "Rise of the Tomb Raider"
|
||||
episodeSubtitle: "We become who we're meant to be."
|
||||
featuredImage: 'rotr.jpg'
|
||||
summary: "We become who we're meant to be."
|
||||
|
||||
episodeType: full
|
||||
episodeLength: 87461888
|
||||
episodeURL: https://cdn.pitchandplay.org/episodes/PPEpisode8.mp3
|
||||
episodeDuration: 01:30:46
|
||||
episodeExplicit: true
|
||||
episodeNumber: 8
|
||||
episodeSeason: 1
|
||||
episodeChapters: true
|
||||
episodeGuid: podlove-2023-03-26t04:03:09+00:00-672b73235d68e55
|
||||
featuredImage: 'rotr.jpg'
|
||||
episodeTranscript: false
|
||||
---
|
||||
|
||||
{{< audio src="https://cdn.pitchandplay.org/episodes/PPEpisode8.mp3" >}}
|
||||
|
@ -3,15 +3,18 @@ title: "Tony Hawk's American Wasteland"
|
||||
date: 2023-05-08T06:00:24-04:00
|
||||
draft: false
|
||||
url: "tony-hawks-american-wasteland"
|
||||
episodeTitle: "Tony Hawk's American Wasteland"
|
||||
episodeSubtitle: "Welcome to the Wasteland."
|
||||
featuredImage: 'thaw.jpg'
|
||||
summary: "Welcome to the Wasteland."
|
||||
|
||||
episodeType: full
|
||||
episodeLength: 113414144
|
||||
episodeURL: https://cdn.pitchandplay.org/episodes/PPEpisode9.mp3
|
||||
episodeDuration: 01:57:48
|
||||
episodeExplicit: true
|
||||
episodeNumber: 9
|
||||
episodeSeason: 1
|
||||
episodeChapters: true
|
||||
episodeGuid: podlove-2023-04-03t06:31:18+00:00-0b0bd3108844498
|
||||
featuredImage: 'thaw.jpg'
|
||||
episodeTranscript: false
|
||||
---
|
||||
|
||||
{{< audio src="https://cdn.pitchandplay.org/episodes/PPEpisode9.mp3" >}}
|
||||
|
@ -3,15 +3,18 @@ title: "Dragon Age: Origins & The Legend of Zelda: Tears of the Kingdom"
|
||||
date: 2023-05-22T06:00:24-04:00
|
||||
draft: false
|
||||
url: "dragon-age-origins-the-legend-of-zelda-tears-of-the-kingdom"
|
||||
episodeTitle: "Dragon Age: Origins and The Legend of Zelda: Tears of the Kingdom"
|
||||
episodeSubtitle: "A double threat of an episode!"
|
||||
featuredImage: 'DAO.png'
|
||||
summary: "A double threat of an episode!"
|
||||
|
||||
episodeType: full
|
||||
episodeLength: 108789760
|
||||
episodeURL: https://cdn.pitchandplay.org/episodes/PPEpisode10.mp3
|
||||
episodeDuration: 01:52:59
|
||||
episodeExplicit: true
|
||||
episodeNumber: 10
|
||||
episodeSeason: 1
|
||||
episodeChapters: true
|
||||
episodeGuid: podlove-2023-05-26t00:14:46+00:00-713f5577e39cf99
|
||||
featuredImage: 'DAO.png'
|
||||
episodeTranscript: false
|
||||
---
|
||||
|
||||
{{< audio src="https://cdn.pitchandplay.org/episodes/PPEpisode10.mp3" >}}
|
||||
|
@ -3,15 +3,18 @@ title: "The Legend of Zelda: Tears of the Kingdom (Part 2)"
|
||||
date: 2023-06-05T06:00:24-04:00
|
||||
draft: false
|
||||
url: "the-legend-of-zelda-tears-of-the-kingdom-part-2"
|
||||
episodeTitle: "The Legend of Zelda: Tears of the Kingdom (Part 2)"
|
||||
episodeSubtitle: "As above, so below."
|
||||
featuredImage: 'totk.jpg'
|
||||
summary: "As above, so below."
|
||||
|
||||
episodeType: full
|
||||
episodeLength: 81944576
|
||||
episodeURL: https://cdn.pitchandplay.org/episodes/PPEpisode11.mp3
|
||||
episodeDuration: 01:53:23
|
||||
episodeExplicit: true
|
||||
episodeNumber: 11
|
||||
episodeSeason: 1
|
||||
episodeChapters: true
|
||||
episodeGuid: podlove-2023-06-04t23:12:48+00:00-97d268b76fccc78
|
||||
featuredImage: 'totk.jpg'
|
||||
episodeTranscript: false
|
||||
---
|
||||
|
||||
{{< audio src="https://cdn.pitchandplay.org/episodes/PPEpisode11.mp3" >}}
|
||||
|
@ -3,15 +3,18 @@ title: "The Sims Bustin' Out"
|
||||
date: 2023-07-03T06:00:24-04:00
|
||||
draft: false
|
||||
url: "the-sims-bustin-out"
|
||||
episodeTitle: "The Sims Bustin' Out"
|
||||
episodeSubtitle: "Visit SimValley and meet your demise at the hands of the Veloci-Rooster."
|
||||
featuredImage: 'hayseed.jpg'
|
||||
summary: "Visit SimValley and meet your demise at the hands of the Veloci-Rooster."
|
||||
|
||||
episodeType: full
|
||||
episodeLength: 49090560
|
||||
episodeURL: https://cdn.pitchandplay.org/episodes/PPEpisode12.mp3
|
||||
episodeDuration: 00:42:20
|
||||
episodeExplicit: true
|
||||
episodeNumber: 12
|
||||
episodeSeason: 1
|
||||
episodeChapters: true
|
||||
episodeGuid: podlove-2023-07-04t17:22:28+00:00-85647a5f15a4681
|
||||
featuredImage: 'hayseed.jpg'
|
||||
episodeTranscript: false
|
||||
---
|
||||
|
||||
{{< audio src="https://cdn.pitchandplay.org/episodes/PPEpisode12.mp3" >}}
|
||||
|
@ -9,5 +9,5 @@ home = ["HTML", "RSS", "podcast" ] # Sets up podcast feed
|
||||
[outputFormats]
|
||||
[outputFormats.podcast]
|
||||
MediaType = "application/rss+xml"
|
||||
BaseName = "feed" # Your feed will be located at example.org/feed.xml. If you edit this value, you need to edit line 43 in layouts/index.podcast.xml.
|
||||
BaseName = "feed" # Your feed will be located at example.org/feed.xml.
|
||||
|
@ -1,15 +1,35 @@
|
||||
{{- $pctx := . -}}
|
||||
{{- if .IsHome -}}{{ $pctx = .Site }}{{- end -}}
|
||||
{{- $pages := slice -}}
|
||||
{{- if or $.IsHome $.IsSection -}}
|
||||
{{- $pages = $pctx.RegularPages -}}
|
||||
{{- else -}}
|
||||
{{- $pages = $pctx.Pages -}}
|
||||
{{- end -}}
|
||||
{{- $limit := .Site.Config.Services.RSS.Limit -}}
|
||||
{{- if ge $limit 1 -}}
|
||||
{{- $pages = $pages | first $limit -}}
|
||||
{{- end -}}
|
||||
{{- $authorEmail := "" }}
|
||||
{{- with site.Params.author }}
|
||||
{{- if reflect.IsMap . }}
|
||||
{{- with .email }}
|
||||
{{- $authorEmail = . }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
{{- $authorName := "" }}
|
||||
{{- with site.Params.author }}
|
||||
{{- if reflect.IsMap . }}
|
||||
{{- with .name }}
|
||||
{{- $authorName = . }}
|
||||
{{- end }}
|
||||
{{- else }}
|
||||
{{- $authorName = . }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
{{- $pctx := . }}
|
||||
{{- if .IsHome }}{{ $pctx = .Site }}{{ end }}
|
||||
{{- $pages := slice }}
|
||||
{{- if or $.IsHome $.IsSection }}
|
||||
{{- $pages = $pctx.RegularPages }}
|
||||
{{- else }}
|
||||
{{- $pages = $pctx.Pages }}
|
||||
{{- end }}
|
||||
{{- $limit := .Site.Config.Services.RSS.Limit }}
|
||||
{{- if ge $limit 1 }}
|
||||
{{- $pages = $pages | first $limit }}
|
||||
{{- end }}
|
||||
{{- printf "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\"?>" | safeHTML }}
|
||||
<rss version="2.0"
|
||||
xmlns:atom="http://www.w3.org/2005/Atom"
|
||||
@ -17,68 +37,59 @@
|
||||
xmlns:podcast="https://podcastindex.org/namespace/1.0"
|
||||
xmlns:content="http://purl.org/rss/1.0/modules/content/">
|
||||
<channel>
|
||||
<title>Pitch and Play</title>
|
||||
<link>https://pitchandplay.org</link>
|
||||
<language>en-us</language>
|
||||
<copyright>and#169; {{ dateFormat "2006" now }} Pitch and Play</copyright>
|
||||
<itunes:author>Pitch and Play</itunes:author>
|
||||
<title>{{ .Site.Title | transform.XMLEscape }}</title>
|
||||
<link>{{ .Permalink }}</link>
|
||||
<description>A podcast about actually playing the games your friends recommend.</description>
|
||||
<generator>Hugo -- gohugo.io</generator>
|
||||
|
||||
<generator>Hugo</generator>
|
||||
<language>{{ site.Language.LanguageCode }}</language>{{ with $authorEmail }}
|
||||
<copyright>{{ . }}</copyright>{{ end }}{{ if not .Date.IsZero }}
|
||||
|
||||
<itunes:author>Pitch and Play</itunes:author>
|
||||
<itunes:type>episodic</itunes:type>
|
||||
<itunes:owner>
|
||||
<itunes:name>Pitch and Play</itunes:name>
|
||||
<itunes:email>hello@pitchandplay.org</itunes:email>
|
||||
</itunes:owner>
|
||||
<itunes:image href="https://pitchandplay.org/cover.png" />
|
||||
<image>
|
||||
<url>https://pitchandplay.org/cover.png</url>
|
||||
<title>Pitch and Play</title>
|
||||
<link>https://pitchandplay.org</link>
|
||||
</image>
|
||||
<itunes:category text="Leisure">
|
||||
<itunes:category text="Video Games"/>
|
||||
</itunes:category>
|
||||
<itunes:explicit>true</itunes:explicit>
|
||||
<itunes:summary>A podcast about actually playing the games your friends recommend.</itunes:summary>
|
||||
<atom:link
|
||||
href="https://pitchandplay.org/feed.xml"
|
||||
href="{{ .Permalink }}feed.xml"
|
||||
rel="self"
|
||||
type="application/rss+xml" />
|
||||
<lastBuildDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</lastBuildDate>
|
||||
<itunes:new-feed-url>
|
||||
https://pitchandplay.org/feed.xml
|
||||
</itunes:new-feed-url>
|
||||
|
||||
{{ range (where .Site.RegularPages "Section" "episodes") }}
|
||||
|
||||
<lastBuildDate>{{ (index $pages.ByLastmod.Reverse 0).Lastmod.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</lastBuildDate>{{ end }}
|
||||
{{- with .OutputFormats.Get "RSS" }}
|
||||
{{ printf "<atom:link href=%q rel=\"self\" type=%q />" .Permalink .MediaType | safeHTML }}
|
||||
{{- end }}
|
||||
{{- range $pages }}
|
||||
<item>
|
||||
<title>{{ .Params.episodeTitle | plainify }}</title>
|
||||
<link>{{ .Permalink }}</link>
|
||||
<itunes:episodeType>full</itunes:episodeType>
|
||||
<itunes:title>{{ .Params.episodeTitle | plainify }}</itunes:title>
|
||||
<description>
|
||||
{{ .Params.episodeSubtitle | plainify }}
|
||||
</description>
|
||||
<content:encoded>
|
||||
{{ `<![CDATA[` | safeHTML }}{{ .Content }}{{ `]]>` | safeHTML }}
|
||||
</content:encoded>
|
||||
<itunes:summary>
|
||||
{{ `<![CDATA[` | safeHTML }}{{ .Content }}{{ `]]>` | safeHTML }}
|
||||
</itunes:summary>
|
||||
<itunes:subtitle>{{ .Params.episodeSubtitle | plainify }}</itunes:subtitle>
|
||||
<enclosure length="{{ .Params.episodeLength }}" type="audio/mpeg" url="{{ .Params.episodeURL }}" />
|
||||
<guid>PPEpisode{{ .Params.episodeNumber }}</guid>
|
||||
<pubDate>{{ .PublishDate.Format "Mon, 02 Jan 2006 15:04:00 -0700" }}</pubDate>
|
||||
<itunes:duration>{{ .Params.episodeDuration }}</itunes:duration>
|
||||
<itunes:explicit>false</itunes:explicit>
|
||||
<itunes:episode>{{ .Params.episodeNumber }}</itunes:episode>
|
||||
<podcast:episode>{{ .Params.episodeNumber }}</podcast:episode>
|
||||
<title>{{ .Title | transform.XMLEscape | safeHTML }}</title>
|
||||
<link>{{ .Permalink }}</link>
|
||||
<pubDate>{{ .PublishDate.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate>
|
||||
{{- with $authorEmail }}<author>{{ . }}{{ with $authorName }} ({{ . }}){{ end }}</author>{{ end }}
|
||||
<guid>PPEpisode{{ .Params.episodeNumber }}</guid>
|
||||
<description>{{ .Content | transform.XMLEscape | safeHTML }}</description>
|
||||
|
||||
<itunes:title>{{ .Title | transform.XMLEscape | safeHTML }}</itunes:title>
|
||||
<itunes:episodeType>{{ .Params.episodeType }}</itunes:episodeType>
|
||||
<content:encoded>{{ .Content | transform.XMLEscape | safeHTML }}</content:encoded>
|
||||
<itunes:subtitle>{{ .Summary | transform.XMLEscape | safeHTML }}</itunes:subtitle>
|
||||
<enclosure length="{{ .Params.episodeLength }}" type="audio/mpeg" url="{{ .Params.episodeURL }}" />
|
||||
<itunes:duration>{{ .Params.episodeDuration }}</itunes:duration>
|
||||
<itunes:explicit>{{ .Params.episodeExplicit }}</itunes:explicit>
|
||||
<itunes:episode>{{ .Params.episodeNumber }}</itunes:episode>
|
||||
<itunes:season>{{ .Params.episodeSeason }}</itunes:season>
|
||||
{{ if eq .Params.episodeChapters false }}
|
||||
|
||||
{{ else }}
|
||||
<podcast:chapters url="{{ .Permalink }}chapters.json" type="application/json+chapters" />
|
||||
{{ end }}
|
||||
{{ else }}
|
||||
<podcast:chapters url="{{ .Permalink }}chapters.json" type="application/json+chapters" />
|
||||
{{ end }}
|
||||
{{ if eq .Params.episodeTranscript false }}
|
||||
{{ else }}
|
||||
<podcast:transcript url="{{ .Permalink }}transcript.vtt" type="text/vtt" />
|
||||
{{ end }}
|
||||
</item>
|
||||
{{ end }}</channel>
|
||||
{{- end }}
|
||||
</channel>
|
||||
</rss>
|
Loading…
x
Reference in New Issue
Block a user