[Sparkle] Atom vs. RSS

Olivier Gutknecht olivierg at gmail.com
Sun Aug 19 11:26:06 PDT 2007


On 8/17/07, Andy Matuschak <andy at andymatuschak.org> wrote:
> On Aug 16, 2007, at 7:14 AM, Dave Dribin wrote:
>
> > While we're thinking about wish lists and where Sparkle is going in
> > the future, I'd like to bring up using Atom instead of RSS for
> > appcast feeds.
>
> Sounds good to me, if not as a replacement as a supplement. I just
> don't really know anything about Atom. If someone wants to propose a
> spec, that'd be really helpful. We should probably take some of this
> to the Wiki. I'll work on that when I get time.

I actually implemented Atom support in Sparkle for an internal
project, I'm sending you the patch right now. It's basically a
lightweight handling of the Atom elements and properties in the RSS
class.

The Atom appcast feed itself is very similar to the RSS version, i.e.
just an Atom feed, with sparkle-namespaced properties on the enclosure
data if needed, for instance:
   <link href="http://example.com/testapp/testapp_1.1.79.zip"
title="TestApp 1.1 (r79)" rel="enclosure"
type="application/octet-stream" length="12000" sparkle:version="79"
sparkle:shortVersionString="1.1"/>

Regards,

Ol.


More information about the Sparkle mailing list