[Sparkle] Atom vs. RSS

Denis Defreyne denis.defreyne at stoneship.org
Thu Aug 16 07:33:06 PDT 2007


This is a great idea. I agree that Sparkle should support more than just RSS.

As a side note, I've been playing around with using hAtom, which is a
microformat for marking up HTML documents using an Atom-like syntax,
for Sparkle. This means that Sparkle could extract application updates
directly from a Download page—no separate feed necessary (check
http://microformats.org/wiki/downloads-brainstorming for details).

For Atom (and hAtom) to be supported by Sparkle, I believe there would
need to be a SUFeedType key, with "RSS", "Atom" and "hAtom" values. My
hAtom test implementation attempts parsing the file as RSS first, and
if that raises an exception, tries hAtom, but this is slow and
probably not reliable. Relying on MIME types is probably not a good
idea either, because quite a few feeds are served using wrong MIME
types.

Regards,

Denis


More information about the Sparkle mailing list