News for hackers. Stuff that matters.
Re:The Atom Feed Format Was Born 20 Years Ago by eduction on Friday June 30, 2023 @09:58AM (#36535022)
Atom vs RSS is a great example of how technical correctness is trumped by social factors, in this case namely support from makers of popular software and content as well as social influence and documentation skills of creators.

The person who pushed RSS to success (IMO) Dave Winer was superb at communicating and evangelizing his goals, connecting partners like Netscape and NYT, and documenting his work including the RSS related tools he built.

His spec was “worse” in the sense that it was under specified but better in the sense that it achieved wide support (both in text and podcast form) among people who made content. This is partly because Dave had first an influential email newsletter and Wired column (DaveNet) and second an influential very early blog Scripting News. He had also been working with news companies for years at prior startups. He could write well. He showed up for and arranged meetings with people who did not at first understand the need for something like rss. He was clear and relentless in his promotion which was borne out of what seemed to be a genuine desire for open standards in this area rather than greed / trying to do lock in.

People with technical backgrounds in places like this tend to fixate on the technical aspects of Atom vs RSS. There is no question Atom is more technically correct. There is also no question (IMO) it came too late and focused on the wrong things — being correct and complete at the expense of being complicated and hard to understand — and more importantly was led and promoted by people who lacked the social skills to make it popular outside of technical circles. (These folks could be brutal about rss's flaws without seeming to have awareness of this shortcoming in their own effort.)

Re:The Atom Feed Format Was Born 20 Years Ago by throw0101c on Friday June 30, 2023 @11:22AM (#36536570)
> Atom vs RSS is a great example of how technical correctness is trumped by social factors

Or perhaps having at six year head start (RSS 0.90, 1999; Atom, 2005) and having it compound.

This includes podcasting, as the term was coined in 2004, but which was happening even before that (and before Atom was finalized):

* https://en.wikipedia.org/wiki/Podcast#Etymology

First mover advantage, leading to network effects, can be a thing.

Re:The Atom Feed Format Was Born 20 Years Ago by westurner on Friday June 30, 2023 @11:40AM (#36536972)
RSS > RSS compared with Atom https://en.wikipedia.org/wiki/RSS#RSS_compared_with_Atom

CDATA > CDATA in XML: https://en.m.wikipedia.org/wiki/CDATA#CDATA_sections_in_XML

IIRC RSS was not originally an XML document, so CDATA tags (to prevent XSS) didn't work; and the issue remains with content syndication: feed elements should somehow HTML escape their content to prevent XSS (arbitrary JS on a different Origin)

Re:The Atom Feed Format Was Born 20 Years Ago by CharlesW on Friday June 30, 2023 @01:28PM (#36538861)
> IIRC RSS was not originally an XML document…

AFAIK RDF Site Summary (the original meaning of "RSS") used XML from the start¹. You may be thinking of spiritual predecessors like the Apple-developed MCF².

¹ https://www.rssboard.org/rss-0-9-0 ² https://en.wikipedia.org/wiki/History_of_web_syndication_tec...

Re:The Atom Feed Format Was Born 20 Years Ago by PaulHoule on Friday June 30, 2023 @02:48PM (#36540211)
It really amused me that people think "RDF never caught on" when it is the basis of so many major standards such as RSS, Adobe's XMP metadata, and, I just found out, ActivityPub.

I was working on a standards committee for years and made the discovery that you can turn most XML Schema Definitions into an OWL ontologies and thus automatically transform conforming XML documents into RDF documents.

(People had attempted this before but all the systems I saw were lossy or didn't make valid and decidable ontologies.)

For better and worse my write up[ is about to become one of those ISO standard documents that costs 166 swiss franc but it looks like I'll get the opportunity to apply this method to a major financial standard and release the software that does it as open source.

I'd contrast that to the truly awful RDF/XML spec where people never really understood where the XML stopped and the RDF began. It turned a lot of people off to RDF and people never got to see how easy it is with Turtle. Unfortunately JSON-LD hasn't got the love it deserves because it fixes most of the major problems with JSONs except for the lack of /* comments */ and you can frequently add a touch of JSON-LD to a JSON document you find on the street and get instant RDF you can query w/ SPARQL.

It looks like the W3C has started the process of a SPARQL 1.2 spec which could be a very good thing if it catches up with what is possible w/ document database query languages like N1QL, AQL and such.

Re:The Atom Feed Format Was Born 20 Years Ago by gsnedders on Friday June 30, 2023 @09:19PM (#36545200)
> It really amused me that people think "RDF never caught on" when it is the basis of so many major standards such as RSS, Adobe's XMP metadata, and, I just found out, ActivityPub.

What does it mean to have caught on or not, though? How many RSS, XMP, ActivityPub implementations are actually considering things as triples and not just considering parent-child relationships within the XML tree?

Re:The Atom Feed Format Was Born 20 Years Ago by talideon on Friday June 30, 2023 @07:16PM (#36543901)
RSS 0.9 has little to do with what Dave Winer produced subsequently.
Re:The Atom Feed Format Was Born 20 Years Ago by CharlesW on Saturday July 01, 2023 @10:59AM (#36550823)
https://www.rssboard.org/rss-0-9-0

Note that it's an XML file with <channel> elements, which contain <item> elements, which contain <title>, <link>, and <description> elements. Pretty familiar, no?

Dave famously introduced the <enclosure> element in 2001. This has made a lot of people very happy and has been widely regarded as a good move. http://backend.userland.com/rss092

Re:The Atom Feed Format Was Born 20 Years Ago by westurner on Saturday July 01, 2023 @07:45AM (#36549086)
Pretty sure I can remember the actionscript XML parser failing on RSS in like 2000 and the feed was to spec.

With that app, at least, I don't remember trying to just include RSS feed elements in HTML4 or XHTML; that app tried to parse the RSS and failed, it wasn't copying the feed elements without escaping href=javascript: links etc.

Re:The Atom Feed Format Was Born 20 Years Ago by samstave on Friday June 30, 2023 @12:45PM (#36538149)
So is this as BetaMax was to VHS?

EDIT on 'podcast':

I was literally wondering this AM where 'pod'cast came from - thank you for the link (I love in-sects, which is why I love Etymology!)

Re:The Atom Feed Format Was Born 20 Years Ago by acdha on Friday June 30, 2023 @03:17PM (#36540670)
I’d also add Google dropping reader and trying to force open web content into various proprietary schemes. Atom’s many improvements over RSS didn’t matter as much when the oxygen was getting sucked out of the room and few people were investing more time in feeds.
Re:The Atom Feed Format Was Born 20 Years Ago by thaumasiotes on Friday June 30, 2023 @11:36AM (#36536900)
> Atom vs RSS is a great example of how technical correctness is trumped by social factors

I don't follow. Out there in the world, RSS feeds provide their feeds in Atom format. The technical format is called "Atom" and the functionality that the Atom format implements is called "RSS".

In what sense did technically-correct Atom get trumped by anything? This is like complaining that social factors caused "the SAT" to get trumped by "standardized testing".

Re:The Atom Feed Format Was Born 20 Years Ago by eloisant on Friday June 30, 2023 @11:44AM (#36537049)
RSS and Atom are 2 different formats.

Your confusion probably comes from the fact that RSS is older, so it's sometimes used as the name of the functionality but it's improper. They're 2 different formats.

Re:The Atom Feed Format Was Born 20 Years Ago by thaumasiotes on Friday June 30, 2023 @12:05PM (#36537457)
So what? That has nothing to do with my comment.

There are feed formats named "RSS". There is a feed format named "Atom". And there is a concept named "RSS". The RSS formats, like the Atom format, are all implementations of the RSS concept. Generally, when you subscribe to an RSS feed somewhere, it will be in the Atom format. It's still called an "RSS feed" for the simple reason that that is the name of the concept.

> it's sometimes used as the name of the functionality but it's improper.

No it isn't. What would you gain by insisting that RSS feeds delivered via Atom have to be called something different than RSS feeds delivered in legacy formats? Did we rename TLS when we updated the cipher suites?

Why, in your opinion, is rssboard.org even bothering to write about Atom?

Re:The Atom Feed Format Was Born 20 Years Ago by throw0101c on Friday June 30, 2023 @12:33PM (#36537980)
> And there is a concept named "RSS".

The concept is called a (web/news) feed:

* https://en.wikipedia.org/wiki/Web_feed

> It's still called an "RSS feed" for the simple reason that that is the name of the concept.

No, it's because "RSS" is acting as an adjective to the noun of "feed". See also "Atom feed": Atom being the adjective, feed being the noun (concept).

> RSS (RDF Site Summary or Really Simple Syndication)[2] is a web feed[3] that […]

* https://en.wikipedia.org/wiki/RSS

Re:The Atom Feed Format Was Born 20 Years Ago by rcade on Friday June 30, 2023 @12:25PM (#36537842)
I wouldn't say that an Atom feed is an implementation of the "RSS concept." That muddies the water too much. Because RSS and Atom are distinct feed formats, calling an Atom feed "RSS" would confuse a lot of people.

Instead I'd say that Atom feeds and RSS feeds are each an implementation of the syndication concept.

Re:The Atom Feed Format Was Born 20 Years Ago by majormajor on Friday June 30, 2023 @01:32PM (#36538939)
> Out there in the world, RSS feeds provide their feeds in Atom format.

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?

Re:The Atom Feed Format Was Born 20 Years Ago by re on Friday June 30, 2023 @02:59PM (#36540368)
> 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.
Re:The Atom Feed Format Was Born 20 Years Ago by treve on Friday June 30, 2023 @01:31PM (#36538935)
Almost any reader and platform supports both so I don't even know why the discussion is relevant.

If you have a preference, use it and feed readers will likely just work.

Re:The Atom Feed Format Was Born 20 Years Ago by talideon on Friday June 30, 2023 @07:13PM (#36543863)
The craziest thing I see though is people importing the Atom namespace into RSS feeds to get some of the elements. At that point, I can't fathom what advantages there is to the producer to not just produce an Atom feed.

RSS 1.0 was basically the first attempt to produce something like Atom without reinventing too much, but Dave threw his toys out of the pram, so the only option was to reinvent it with a different name and clean up the remaining sharp corners.

It's tragically funny. Atom is both more correct and easier to produce and parse than any RSS variant.

Were I to join Automattic in the morning, the first thing I'd try is to attempt to get them to abandon their weird RSS mashup as their default feed format. There's no good reason why Wordpress still generates RSS feeds.

Yes, I'm a bit bitter, but I was in the feed wars, and it still stings.

Re:The Atom Feed Format Was Born 20 Years Ago by rcade on Friday June 30, 2023 @09:50PM (#36545453)
Atom is a great feed format with a rock-solid spec.

I wouldn't call it a weird mashup for WordPress to use atom:link in their RSS feeds. It does things no RSS element can do, such as allow a feed to identify its own URL.

For those who don't know, every WordPress site with an RSS feed also has an Atom feed available by adding "/atom" to the end of the RSS feed URL, such as this:

RSS feed: https://wordpress.com/blog/feed/

Atom feed: https://wordpress.com/blog/feed/atom/

Re:The Atom Feed Format Was Born 20 Years Ago by ttepasse on Saturday July 01, 2023 @11:54AM (#36551431)
> The craziest thing I see though is people importing the Atom namespace into RSS feeds to get some of the elements.

Interestingly enough you can’t to do the reverse: because RSS never got a proper XML namespace, its elements can’t be embedded into other XML. I can understand that the early RSS 0.9x efforts didn’t do XML namespaces since those were rather new then, but the publication of RSS 2.0 could have been the right moment to introduce one, I think.

Re:The Atom Feed Format Was Born 20 Years Ago by toyg on Sunday July 02, 2023 @01:02PM (#36563319)
> I can't fathom what advantages

The advantage is that the imported Atom bits will be namespaced, so an old client can decide to ignore them and just treat the feed as RSS.

In format wars, wider compatibility tends to win, even if the overall standard is just worse. Developers are lazy.

Re:The Atom Feed Format Was Born 20 Years Ago by DonHopkins on Friday June 30, 2023 @08:05PM (#36544440)
https://news.ycombinator.com/item?id=7728020

DonHopkins on May 11, 2014 | parent | context | favorite | on: The Unix Haters Handbook (1994) [pdf]

[...]

The worst use of the <BLINK> tag ever was the discussion held in the early days of RSS about escaping HTML in titles, whose attention-grabbing title went something like this: "Hey, what happens when you put a <BLINK> tag in the title???!!!"

The content of that notorious discussion went on and off and on and off for weeks, giving all the netizens of the RSS community blogosphere terrible headaches, with people's entire blogs disappearing and reappearing every second, until it finally reached a flashing point, when Dave Winer humbly conceded that it wasn't the user's fault for being an idiot, and maybe just maybe there was tiny teeny little design flaw in RSS, and it wasn't actually such a great idea to allow HTML tags in RSS titles.

Re:The Atom Feed Format Was Born 20 Years Ago by eduction on Friday June 30, 2023 @10:35PM (#36545801)
Ya I remember this period. A lot of people got caught up in these types of questions. “What if you want to put an unescaped greater than symbol in your post title??” People spent years on this sort of pedantry.

Meanwhile Dave added enclosures and popularized podcasting making RSS even more important. He knew where to focus and what mattered.