1 ikiwiki's simple podcasting, while elegant and minimal, doesn't (as
2 mentioned in [[todo/blogging]]) produce full-featured feeds. In
3 fancy podcasts, episodes are accompanied by text content. The feeds
4 also have lots more metadata.
10 7. For each fancy podcast episode, write a blog post containing
11 `\[[!meta enclosure="WikiLink/to/media.mp3"]]`. (Don't specify
12 more than one enclosure -- but if you do, last one wins.)
13 7. When rendering to HTML (single-page or inlined), append a link
15 7. When rendering to RSS/Atom, the text is the entry's content and
16 the media file is its enclosure.
17 7. Don't break simple podcasts in pursuit of fancy podcasts.
21 [[!template id=gitbranch branch=schmonz/fancypodcast author="[[schmonz]]"]]
25 * Cover the existing simple podcast behavior with tests.
26 * Add an `enclosure` field to [[plugins/meta]] that expands the
27 given [[ikiwiki/WikiLink]] to an absolute URL (feed enclosures
28 pretty much need to be, and the reference feeds I've looked at
30 * Write failing tests for the desired single-page and inlined
31 HTML behavior, then make them pass by adding enclosure stanzas
32 to `{,inline}page.tmpl`.
33 * Write failing tests for the desired RSS/Atom behavior, then make
34 them pass via changes to `{atom,rss}item.tmpl` and [[plugins/inline]].
36 ### Must-have (for [[schmonz]], anyway)
38 * Enrich podcast feed metadata (some of which is iTunes-specific,
39 though I'm not aware of it causing any problems for other
40 podcatchers, and in fact some of them may also use it).
41 * Subscribe to a fancy feed in some common podcatchers and compare
42 display details against a reference podcast.
43 * Compare feature-for-feature and feed-for-feed with
44 [tru_podcast](http://www.rainskit.com/blog/542/tru_podcast-a-podcasting-plugin-for-textpattern),
45 which is what [[schmonz]] will be migrating from.
46 * Think carefully about...
48 * Other templates with `CONTENT` and whether they want to learn
49 about `ENCLOSURE` (maybe `aggregatepost.tmpl`?).
50 * Whether [[tips/howto avoid flooding aggregators]] suffices for
51 migrating a fancy podcast into ikiwiki.
52 * Verify that the feeds validate.
53 * Verify that _all_ the tests pass (not just my new ones).
57 * Let the enclosure's MIME type be specified, in case someone ever
58 needs to disagree with `File::MimeInfo`.
59 * Extend [[plugins/inline]] to configurably generate additional
60 subscription links (such as iTunes) alongside the RSS/Atom ones.
61 * Verify that [[plugins/more]] plays well with fancy podcasts.
62 * Allow enclosures that are outside the wiki.
67 Feature |iTunes RSS|iTunes Atom|Downcast RSS|Downcast Atom
68 Feed image | - | - | - | -
69 Feed title | + | + | + | +
70 Feed publisher | - | - | - | -
71 Feed "category" | - | - | - | -
72 Feed date | + | + | + | +
73 Feed description | - | - | - | -
74 Episode image | - | - | - | -
75 Episode title | + | + | + | +
76 Episode date | + | + | + | +
77 Episode duration | - | - | - | -
78 Episode author | + | + | + | +
79 Episode description| + | + | + | -
80 Episode enclosure | + | + | + | +