Podcasting with Jekyll

83f7b66c4dee7effbb3717027f99282b?s=47 Sayanee
June 26, 2014

Podcasting with Jekyll

83f7b66c4dee7effbb3717027f99282b?s=128

Sayanee

June 26, 2014
Tweet

Transcript

  1. 14.

    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. 15.

    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. 17.

    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. 18.

    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. 20.

    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
  6. 22.
  7. 24.
  8. 25.