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

Podcasting with Jekyll

Sayanee
June 26, 2014

Podcasting with Jekyll

Sayanee

June 26, 2014
Tweet

More Decks by Sayanee

Other Decks in Technology

Transcript

  1. 26 JUN 2014 SINGAPORE RUBY CONFERENCE live!

  2. podcasting v m sayan.ee www.

  3. individual

  4. languages

  5. broadcasting

  6. internet

  7. blogging

  8. blogging w p w p w p

  9. podcasting v m v m v m

  10. podcasting with + in 5 tips!

  11. HOST 5 THE SITE

  12. HOST IN GITHUB $ cd jekyll-site $ git push origin

    gh-pages default branch
  13. BOOST 4 FRONT-MATTER

  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/
  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
  16. ADD 3 CONFIGS

  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
  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
  19. CREATE 2 WEB SYNDICATION

  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
  21. SUBSCRIBE 1 TO YOUR FAV PODCAST

  22. None
  23. LISTEN LEARN SHARE c

  24. CODE

  25. CREDITS

  26. REFERENCES