diff --git a/chapters/example.json.js b/chapters/example.json.js new file mode 100644 index 0000000..5bca6e3 --- /dev/null +++ b/chapters/example.json.js @@ -0,0 +1,23 @@ +{ + "version": "1.0.0", + "chapters": + [ + { + "marker": 0, + "title": "Intro", + "img": "http://example.com/podcast/episode/chapter_art1.jpg" + }, + { + "marker": 94, + "title": "Donation Segment", + "img": "http://example.com/podcast/episode/chapter_art2.jpg", + "url": "http://example.com/link/to/funding_platform" + }, + { + "marker": 203, + "title": "News Discussion", + "img": "http://example.com/podcast/episode/chapter_art3.jpg", + "url": "http://example.com/link/to/article_that_was_discussed" + } + ] +} \ No newline at end of file diff --git a/chapters/jsonChapters.md b/chapters/jsonChapters.md new file mode 100644 index 0000000..a0b0225 --- /dev/null +++ b/chapters/jsonChapters.md @@ -0,0 +1,15 @@ +This is the initial spec for a json chapter format that can be referenced in an RSS feed using the "podcast" namespace.namespace + +The "chapters" property is an array of "chapter" objects taking this form: + +``` +{ + "marker": 94, + "title": "Donation Segment", + "img": "http://example.com/podcast/episode/chapter_art2.jpg", + "url": "http://example.com/link/to/funding_platform" +} +``` + +Where "marker" (int - required) is the time in seconds, "title" (string - optional) is the chapter title, "img" (string - optional) is a link to an image to use as chapter art and "url" (string - optional) is a link to a +supporting document like would be in shownotes. \ No newline at end of file