diff options
| author | David T. Crosby <dtcrsby@gmail.com> | 2019-12-25 15:27:55 -0700 |
|---|---|---|
| committer | mo khan <mo.khan@gmail.com> | 2019-12-25 15:30:18 -0700 |
| commit | 97821acbf955c75e4624fe0c6138971593a9457a (patch) | |
| tree | e34a52e8ee404f5f7adc9c2bdd4ef0f9a54a3033 | |
| parent | 2b8a5c7b3a31317fdbf29230a0020a93641af532 (diff) | |
* https://gist.githubusercontent.com/dafyddcrosby/eb34ae3d841f26f90f6af4afd1e25868/raw/7febadf4386dba07b82179ae7c3caf71bd9747b2/thing.diff
| -rwxr-xr-x | bin/update-feed | 6 | ||||
| -rw-r--r-- | episodes.yml | 14 | ||||
| -rw-r--r-- | feed.rss | 16 |
3 files changed, 20 insertions, 16 deletions
diff --git a/bin/update-feed b/bin/update-feed index 1371993..4b6250d 100755 --- a/bin/update-feed +++ b/bin/update-feed @@ -42,9 +42,11 @@ class Feed builder.title episode[:name] builder.itunes :author, episode[:author] builder.itunes :subtitle, episode[:subtitle] - builder.itunes :summary, "<![CDATA[#{episode[:summary]}]]" + builder.itunes :summary do + builder.cdata! episode[:summary] + end builder.itunes :image, href: catalogue[:image] - builder.enclosure length: episode[:file_size], type: episode[:mime_type], url: episode[:audio_url] + builder.enclosure length: episode[:mp3_size_bytes], type: episode[:mime_type], url: episode[:mp3_url] builder.guid episode[:permalink] builder.pubDate episode[:date].rfc822 builder.itunes :duration, episode[:duration] diff --git a/episodes.yml b/episodes.yml index f8a2031..569fd66 100644 --- a/episodes.yml +++ b/episodes.yml @@ -1,21 +1,21 @@ --- author: David and Mo -copyright: "Copyright 2019 David and Mo" -description: '' -email: mail@cyberdelia.tech -image: "https://www.cyberdelia.tech/placholder.jpg" +copyright: "All rights reserved" +description: "Join David and Mo as they chat about technology and programming tools - like dropping in to a really good coffee break chat" +email: dtcrsby@gmail.com +image: "https://www.cyberdelia.tech/cyberdelia_logo.png" language: 'en-us' subtitle: A show about technology. summary: '' title: Cyberdelia url: "https://www.cyberdelia.tech" episodes: - - audio_url: 'https://www.cyberdelia.tech/shows/1/cyberdelia_ep1.mp3' - author: 'David and Mo' + - author: 'David and Mo' date: 2019-12-23 duration: '49:46' name: "Terminal Emulators" - file_size: 47144254 + mp3_size_bytes: 47144254 + mp3_url: 'https://www.cyberdelia.tech/shows/1/cyberdelia_ep1.mp3' mime_type: 'audio/mpeg' permalink: 'https://cyberdelia.tech/shows/1/' subtitle: '' @@ -5,27 +5,29 @@ <title>Cyberdelia</title> <link>https://www.cyberdelia.tech</link> <language>en-us</language> - <copyright>Copyright 2019 David and Mo</copyright> + <copyright>All rights reserved</copyright> <itunes:subtitle>A show about technology.</itunes:subtitle> <itunes:author>David and Mo</itunes:author> <itunes:summary></itunes:summary> - <description></description> + <description>Join David and Mo as they chat about technology and programming tools - like dropping in to a really good coffee break chat</description> <itunes:owner> <itunes:name>David and Mo</itunes:name> - <itunes:email>mail@cyberdelia.tech</itunes:email> + <itunes:email>dtcrsby@gmail.com</itunes:email> </itunes:owner> - <itunes:image href="https://www.cyberdelia.tech/placholder.jpg"/> + <itunes:image href="https://www.cyberdelia.tech/cyberdelia_logo.png"/> <itunes:category text="Technology"/> <itunes:explicit>no</itunes:explicit> <item> <title>Terminal Emulators</title> <itunes:author>David and Mo</itunes:author> <itunes:subtitle></itunes:subtitle> - <itunes:summary><![CDATA[Our inaugural show is all about terminal emulators, that window into the heart of the machine. + <itunes:summary> + <![CDATA[Our inaugural show is all about terminal emulators, that window into the heart of the machine. Along the way we talk about X Windows and the variety of alternative window managers. Intro song: Czarface and MF Doom "Bomb Thrown" -]]</itunes:summary> - <itunes:image href="https://www.cyberdelia.tech/placholder.jpg"/> +]]> + </itunes:summary> + <itunes:image href="https://www.cyberdelia.tech/cyberdelia_logo.png"/> <enclosure length="47144254" type="audio/mpeg" url="https://www.cyberdelia.tech/shows/1/cyberdelia_ep1.mp3"/> <guid>https://cyberdelia.tech/shows/1/</guid> <pubDate>Mon, 23 Dec 2019 00:00:00 +0000</pubDate> |
