News for hackers. Stuff that matters.
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.