by velcrovan · 2y ago · 0 comments
If you don't care about the Apple Podcasts directory you can publish an Atom podcast feed that will work with most podcatchers. The primary thing you do differently from a normal Atom feed is to use the `link` element with `rel=enclosure` to reference the audio file for each episode/entry.
<link rel="enclosure" href="http://example.com/audio.m4a" length="100" type="audio/mp4" />
I wrote Splitflap, the valid RSS/Atom feed generator package for Racket [2]. Not many folks use Racket but you might find the docs a good resource on this sort of thing anyway.[1]: https://podcasters.apple.com/support/823-podcast-requirement...
But his is mostly try-and-error and merely no specs. Apple doesn't talk about atom AFAIK.
Racket is interesting, I'm into Ocaml, but create those feeds via https://codeberg.org/mro/internet-radio-recorder/src/branch/...
[audio/mpeg](http://example.mp3)
<enclosure url='http://example.mp3' type='audio/mpeg' length='2273741' />