Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Podcasting with Jekyll

June 26, 2014

Podcasting with Jekyll


June 26, 2014

More Decks by Sayanee

Other Decks in Technology


  1. YAML FRONT-MATTER --- title: 017 Winston Teo layout: post permalink:

    /017-winston-teo/ profile: 017-winston-teo enclosure: audio.live.webuild.sg/017- winston-teo length: 26779736 description: Winston Teo on developer happiness and Ruby community events. --- podcast info in _posts/
  2. POST LAYOUT … <audio controls=controls> <source src="{{ page.enclosure }}.mp3" type="audio/mpeg"></source>

    <source src="{{ page.enclosure }}.ogg" type="audio/ogg"></source> </audio> … html markup in _layouts/ liquid templating
  3. CREATE SETTINGS name: We Build LIVE description: We Build LIVE

    - A live conversation with geeks in town on building, learning and sharing! feed: http://feeds.feedburner.com/WeBuildLive markdown: redcarpet url: http://live.webuild.sg timezone: Singapore/Singapore encoding: UTF-8 default_day: Sat default_time: 11am _config.yml
  4. DEFAULT LAYOUT <head> … <link rel="alternate" type="application/rss +xml" title="RSS Feed

    for {{ site.name }}" href="{{ site.feed }}" /> <link rel="stylesheet" href="{{ site.url }}/ style.css"> … html markup in _layouts/default.html liquid templating
  5. CREATE FEED … <title>{{ site.name }}</title> <itunes:summary>{{ site.description }}</itunes:summary> …

    {% for post in site.posts %} <item> <title>{{ post.title }}</title> <guid isPermaLink="false">{{ post.enclosure }}.mp3</guid> <pubDate>{{ post.date | date_to_rfc822 }}</pubDate> <enclosure url="{{ post.enclosure }}.mp3" length="{{ post.length }}" type="audio/mp3" /> … </item> {% endfor %} … feed.xml