> turns out I don't immediately know how to distinguish
Atom feeds will almost always have <feed xmlns="http://www.w3.org/2005/Atom"> as the root element. In some cases they may use namespace prefixes but that tends to be rarer and less interoperable.
RSS feeds have an <rss version="2.0"> root element.
Re:The Atom Feed Format Was Born 20 Years Ago
by majormajor on Friday June 30, 2023 @04:19PM
(#36541629)
In that case the four I spot checked were all RSS, I guess. Though some of them had other references to atom things within them.
I just checked a few of the ones I follow, and ... turns out I don't immediately know how to distinguish when there's not a specific xml namespace reference in the doc or such.
But according to Wikipedia the RFC822 timestamps I'm seeing suggest they're RSS2 instead of Atom?