Podcasting With Jekyll

当前页面基于 Jekyll 自动生成, 音频文件用 七牛云 发布, 而网站整体基于 GitHub pages 发布.

Why?

Why not?

The simple answer is that podcasting relies on a pretty simple technology - RSS. RSS often gets generated for a website almost as a by-product of adding content, this allows people to “subscribe” to your website and be notified or fed updates. Jekyll generates RSS straight out of the box and every podcast needs a website so we thought - why not kill two birds with one stone?

How?

参考: Podcasting With Jekyll

思路很简单:

  • Podcasting 只是一个可以用 RSS 自动检索内容变化的网站
  • 而 GitHub-pages 内置了高效 SSG 服务
  • 那么, 嘦解决音频文件的发布
  • 网站/RSS 的生成, 就都可以交给 GitHub 自动完成
  • 幸好, 这个自动完成就是 Jekyll
  • 更加幸运的是, 早已有好人按照这个思路完成, 并分享了如何配置
  • 那就照猫画虎就好 ;-)

过程

1. 录制交流为 .mp3 或其它有效格式

2. 根据情况进行后期编辑, 也可以不处理(如果听众能忍的话)

3. 增补对应 Podcasting 需要的 metadata

4. 发布音频到 CDN 空间, 并获得链接

5. 配置好网站模板, 增补必须的信息到 YAML 节点中

layout: post
title: "Title Goes Here"
date: Publishing date and time
file: link to file in S3
summary: "Quick exerpt of episode"
description: "Longer information"
duration: "how long in minutes and seconds" 
length: "in seconds"
explicit: "do we swear" 
keywords: "keyword tags"
block: "hold back publishing it" 
voices: "who did the talking"

6. 将相关链接和说明增补到对应声明中.

7. 将所有 push 给 GitHub

8. 新节目将自动化更新到网站以及 RSS

能复用嘛?

当然:

最简洁的方式:

当然, 如果对样式不满意, 随时可以对 CSS 以及模板进行对应增补,

有任何问题, 欢迎随时交流:

  • 邮件 -> ask(AT)101.camp
  • 列表 -> [email protected]
  • 频道 -> 101camp.slack.com #general

Cheers!

\