10 ms·
The "Why RSS" doesn't mention why instead of RFC4287 Atom.
by mro_name 2y ago
The "Why RSS" doesn't mention why instead of RFC4287 Atom.
- EricE 2y agoIt was first and thus more broadly supported?
- velcrovan 2y agoRSS came out in 1999, Atom in 2005. There's not a meaningful difference in support between the two at this point.
- Tagbert 2y agoBut RSS gained wide acceptance in that early period. Atom came along later and never seemed to gain as much usage. People still think of "RSS feeds" and "RSS readers" even if some of those are Atom or at least offer Atom as an option.
- velcrovan 2y agoIt could still be true that more people publish RSS than Atom. But functionally 100% of readers have supported both for a long, long time now.
- mro_name 2y ago100% includes iTunes or Podcatchers in general where I hardly find documentation for but would be interested for (my) https://mro.name/radio-privatkopie/ https://mro.name/radio-privatkopie/ Can you give me a pointer how to write the Atom podcast feed?
- velcrovan 2y agoPodcasting is kind of a special case, since Apple's guidelines mandate the use of RSS [1]. So if you're publishing a podcast and you want to get into the Apple Podcasts directory, you have to publish a RSS 2.0 feed (as well as meet all their other extra requirements). 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-requirements https://podcasters.apple.com/support/823-podcast-requirement... [2]: https://docs.racket-lang.org/splitflap/index.html https://docs.racket-lang.org/splitflap/index.html
- mro_name 2y agoI have some like this http://rec.mro.name/podcasts/zuendfunk/broadcasts.atom http://rec.mro.name/podcasts/zuendfunk/broadcasts.atom (and .rss, too) which plays the audio nicely e.g. in https://miniflux.app https://miniflux.app but I remember having trouble with iTunes on MacOS and the Apple podcast iOS app. 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/ma/pages/podcasts/zuendfunk/app/atom.sh https://codeberg.org/mro/internet-radio-recorder/src/branch/...
- Rush2112 2y agoHey thanks for your comment. Today I actually added support for this. If you make a markdown link to an audio file it will create an RSS enclosure. Including the file length (if it can be retrieved from header information). [audio/mpeg](http://example.mp3 http://example.mp3) <enclosure url='http://example.mp3 http://example.mp3' type='audio/mpeg' length='2273741' />
- ericjmorey 2y agoName recognition mostly, but you can just call an Atom feed an RSS feed and no one goes to jail for it, so just use the name that gets the results you care about.
- Rush2112 2y agoHi thanks for this comment. I'll look into Atom a bit more for this tool. Heard a lot about it.