[Sparkle] Multiple Items
Andy Matuschak
andy at andymatuschak.org
Fri May 9 09:49:59 PDT 2008
Yes, this is fine, but Sparkle figures out which is newest by the
pubDate of the items, so make sure to include that.
Sparkle probably should just sort by actual version comparison, but
the version comparator is kinda sketchy. Hrm. Maybe something for the
future.
- Andy Matuschak
On May 9, 2008, at 9:47 AM, Tom McKenzie wrote:
> I have been trying to figure out if an appcast will support mutiple
> items. Is this supported?
>
> For example
>
> <?xml version="1.0" encoding="UTF-8"?>
> <rss version="2.0" xmlns:sparkle="http://www.andymatuschak.org/xml-namespaces/sparkle
> " xmlns:dtv="http://www.getdemocracy.org/xml-namespaces/appcast">
> <channel>
> <title>Test Updates</title>
> <link>http://updates.mydomain.com/macupdates/</link>
> <description>New releases of My Program</description>
> <language>en</language>
> <copyright>2008, My Company</copyright>
>
> <item>
> <title>TestUpdate 1.1 Released</title>
> <enclosure url="http://updates.mydomain.com/macupdates/TestUpdate_10.dmg
> " sparkle:version="10" sparkle:shortVersionString="1.1"
> dtv:platform="osx" type="application/octet-stream" />
> <description>http://updates.mydomain.com/macupdates/TestUpdate-1.1.html
> </description>
> <sparkle:ReleaseNotesLink>http://updates.mydomain.com/macupdates/TestUpdate-ReleaseNotes-1.1.html
> </sparkle:ReleaseNotesLink>
> </item>
>
> <item>
> <title>TestUpdate 1.2 Released</title>
> <enclosure url="http://updates.mydomain.com/macupdates/TestUpdate_20.dmg
> " sparkle:version="20" sparkle:shortVersionString="1.2"
> dtv:platform="osx" type="application/octet-stream" />
> <description>http://updates.mydomain.com/macupdates/TestUpdate-1.2.html
> </description>
> <sparkle:ReleaseNotesLink>http://updates.mydomain.com/macupdates/TestUpdate-ReleaseNotes-1.2.html
> </sparkle:ReleaseNotesLink>
> </item>
>
> <item>
> <title>TestUpdate 1.3 Released</title>
> <enclosure url="http://updates.mydomain.com/macupdates/TestUpdate_30.dmg
> " sparkle:shortVersionString="1.3" sparkle:version="30"
> dtv:platform="osx" type="application/octet-stream" />
> <description>http://updates.mydomain.com/macupdates/TestUpdate-1.3.html
> </description>
> <sparkle:ReleaseNotesLink>http://updates.mydomain.com/macupdates/TestUpdate-ReleaseNotes-1.3.html
> </sparkle:ReleaseNotesLink>
> </item>
>
> </channel>
> </rss>
> _______________________________________________
> Sparkle mailing list
> Sparkle at lists.andymatuschak.org
> http://lists.andymatuschak.org/listinfo.cgi/sparkle-andymatuschak.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.andymatuschak.org/pipermail/sparkle-andymatuschak.org/attachments/20080509/d742e6b9/attachment.htm>
More information about the Sparkle
mailing list