From 53ea0ae3ebb66b6194e6f1c731cbdfe37163a473 Mon Sep 17 00:00:00 2001 From: Chris Enns Date: Tue, 19 May 2020 21:17:25 -0600 Subject: [PATCH 1/3] Trying to switch Dailyish to a Transistor feed --- _dailyish/261.md | 6 +- _data/shows.yml | 3 +- _layouts/episode-transistor.html | 165 +++++++++++++++++++++++++++++++ _layouts/show-transistor.html | 66 +++++++++++++ dailyish.md | 2 +- 5 files changed, 238 insertions(+), 4 deletions(-) create mode 100644 _layouts/episode-transistor.html create mode 100644 _layouts/show-transistor.html diff --git a/_dailyish/261.md b/_dailyish/261.md index 54a5b0ff..27afa97a 100644 --- a/_dailyish/261.md +++ b/_dailyish/261.md @@ -4,12 +4,14 @@ date: 2020-03-30 09:00:00 -06:00 description: 'We are just finishing our 14 day self-isolation and now joining the rest of our city in self isolation. Same same, but different?' episode: 261 show: dailyish -mp3: https://chtbl.com/track/9E18G/media.transistor.fm/55110dd4.mp3 +mp3: image: video: -layout: episode +layout: episode-transistor --- + + * [Support Goodstuff on Patreon](https://www.patreon.com/goodstuff) * [Follow Goodstuff on Twitch](https://www.twitch.tv/gsfm) * [Follow Goodstuff on Twitter](https://twitter.com/goodstufffm) diff --git a/_data/shows.yml b/_data/shows.yml index 8738301b..3d32b320 100644 --- a/_data/shows.yml +++ b/_data/shows.yml @@ -192,9 +192,10 @@ dailyish: category3: "Technology" email: chris@goodstuff.fm support: http://www.patreon.com/ichris - rss: https://goodstuff.fm/dailyish/feed.xml + rss: https://feeds.transistor.fm/daily-ish itunes: https://itunes.apple.com/ca/podcast/pdcst/id815675012?mt=2&at=10l4Ki&ct=website latest: https://share.transistor.fm/e/daily-ish/latest + allepisodes: https://share.transistor.fm/e/daily-ish/playlist appid: 815675012 pocketcasts: http://pca.st/Vifv overcast: https://overcast.fm/itunes815675012/daily-ish diff --git a/_layouts/episode-transistor.html b/_layouts/episode-transistor.html new file mode 100644 index 00000000..f4e9fdbd --- /dev/null +++ b/_layouts/episode-transistor.html @@ -0,0 +1,165 @@ + + + + + + {% include head.html %} + + + + + + {% include nav.html %} +
+ + {% assign show = site.data.shows[page.show] %} + + +

{{ show.name }}

+ + + +
+ + {% if page.next.url and page.previous.url and page.next.title != 'Feed' %} + Previous Episode + Next Episode {% elsif page.previous.url %} + Previous Episode {% elsif page.next.url and page.next.title != 'Feed' %} + Next Episode {% endif %} + +
+ +
+ + +
+ {{ page.title }} +
+ +
+ Episode {{ page.episode }} • Published {{ page.date | date: "%b %d, %Y" }} +
+ +
+ {{ page.description | markdownify }} +
+ + {% if page.sponsor %} +
+
+ This episode of {{ show.name }} is sponsored by: +
+
+ {{ page.sponsor | markdownify }} +
+
+ {% endif %} + + {% if page.anchor %} +
+
+ +
+
+ {% endif %} + + {% if page.mp3 %} + +
+ Feed and MP3 files are proudly hosted by Transistor.fm +
+ +
+ +
+ + + +
{% endif %} + + + + {% if page.video %} + +
+ Video +
+ +
+
+ +
+
+ + {% endif %} + +
+ Links and Show Notes +
+ +
+ + {{ page.content }} + +
+ + + +
+ + + {{ page.footer_scripts }} + + + + {% include footer.html %} + + + + diff --git a/_layouts/show-transistor.html b/_layouts/show-transistor.html new file mode 100644 index 00000000..58889786 --- /dev/null +++ b/_layouts/show-transistor.html @@ -0,0 +1,66 @@ + + + +{% include head.html %} + + + {% include nav.html %} +
+ + {% assign show = site.data.shows[page.show] %} + +

{{ show.name }}

+ + + +
+ + + + + + +

Listen to the latest episode of {{ show.name }}

+ + +

All Episodes

+ + +
{{ page.footer_scripts }} + +
+ + {% include footer.html %} + + + + \ No newline at end of file diff --git a/dailyish.md b/dailyish.md index 3207c657..ad08cf59 100644 --- a/dailyish.md +++ b/dailyish.md @@ -2,7 +2,7 @@ title: Daily(ish) permalink: "/dailyish/" show: dailyish -layout: show +layout: show-transistor output: true --- From ebce648a462390d2af888425c207ed148f8b35a4 Mon Sep 17 00:00:00 2001 From: Chris Enns Date: Fri, 22 May 2020 12:48:35 -0600 Subject: [PATCH 2/3] Trying to redirect the Dailyish feed --- _layouts/show-transistor.html | 4 +--- _redirects | 3 ++- netlify.toml | 5 +++++ 3 files changed, 8 insertions(+), 4 deletions(-) create mode 100644 netlify.toml diff --git a/_layouts/show-transistor.html b/_layouts/show-transistor.html index 58889786..3a16fb1b 100644 --- a/_layouts/show-transistor.html +++ b/_layouts/show-transistor.html @@ -49,10 +49,8 @@

{{ show.name }}

-

Listen to the latest episode of {{ show.name }}

- -

All Episodes

+

Episode Playlist


{{ page.footer_scripts }} diff --git a/_redirects b/_redirects index 69d558b9..0bc2f51d 100644 --- a/_redirects +++ b/_redirects @@ -4,7 +4,7 @@ /aux/feed /aux/feed.xml /buzzled/feed /buzzled/feed.xml /clockworks/feed /clockworks/feed.xml -/dailyish/feed /dailyish/feed.xml +/dailyish/feed https://feeds.transistor.fm/daily-ish /grownups/feed /grownups/feed.xml /highcontrast/feed /highcontrast/feed.xml /icebreaker/feed /icebreaker/feed.xml @@ -16,3 +16,4 @@ /specials/feed /specials/feed.xml /todaysspecial/feed /todaysspecial/feed.xml /wts/feed /wts/feed.xml +/dailyish/feed.xml https://feeds.transistor.fm/daily-ish \ No newline at end of file diff --git a/netlify.toml b/netlify.toml new file mode 100644 index 00000000..6a636af1 --- /dev/null +++ b/netlify.toml @@ -0,0 +1,5 @@ +[[redirects]] +from = "/dailyish/feed.xml" +to = "https://feeds.transistor.fm/daily-ish" +status = 301 +force = true \ No newline at end of file From 93cd24bf97cc99d6ef7aaa936037cc646328b6f2 Mon Sep 17 00:00:00 2001 From: Chris Enns Date: Fri, 22 May 2020 13:01:14 -0600 Subject: [PATCH 3/3] Trigger a deploy --- dailyish.md | 1 + 1 file changed, 1 insertion(+) diff --git a/dailyish.md b/dailyish.md index ad08cf59..d280bb93 100644 --- a/dailyish.md +++ b/dailyish.md @@ -6,3 +6,4 @@ layout: show-transistor output: true --- +nope \ No newline at end of file