mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-25 04:47:55 +00:00
We should recommend using sparkle:version and sparkle:shortVersionString elements inside the appcast item instead of inside the enclosure for consistency. Delta updates do not need to specify sparkle:version, and can inherit the top level element. This clears up some confusion and reduces duplication (and reduces error proneness / saves me work when testing delta / info-only features). This is also consistent with informational updates. Regardless whether you want to make an update informational only or not, the sparkle:version stays in the same top-level place. This is a backwards compatible change. Very old versions of Sparkle (possibly up to a decade or more ago) have supported specifying sparkle:version as a top level item. Winsparkle supports it as well because it's needed for info-only updates. This is only changing what we recommend / standardize. The attribute variants are still usable. External tools relying on Sparkle's feed format may have to adapt to this standardization (they have always needed to support info-only updates with a missing enclosure which apps do leverage anyway). I updated generate_appcast to prefer the element variants and updated the tool so it understands them (this was a bug).
43 lines
2.5 KiB
XML
Executable File
43 lines
2.5 KiB
XML
Executable File
<?xml version="1.0" encoding="utf-8"?>
|
|
<rss version="2.0" xmlns:sparkle="http://www.andymatuschak.org/xml-namespaces/sparkle" xmlns:dc="http://purl.org/dc/elements/1.1/">
|
|
<channel>
|
|
<title>Your Great App's Changelog</title>
|
|
<description>Most recent changes with links to updates.</description>
|
|
<language>en</language>
|
|
<item>
|
|
<title>Version 2.0 (2 bugs fixed; 3 new features)</title>
|
|
<sparkle:version>2.0</sparkle:version>
|
|
<sparkle:releaseNotesLink>
|
|
http://you.com/app/2.0.html
|
|
</sparkle:releaseNotesLink>
|
|
<pubDate>Wed, 09 Jan 2006 19:20:11 +0000</pubDate>
|
|
<enclosure url="http://you.com/app/Your%20Great%20App%202.0.zip" length="1623481" type="application/octet-stream" sparkle:edSignature="WVyVJpOx+a5+vNWJVY79TRjFKveNk+VhGJf2iti4CZtJsJewIUGvh/1AKKEAFbH1qUwx+vro1ECuzOsMmumoBA==" />
|
|
<sparkle:minimumSystemVersion>10.11</sparkle:minimumSystemVersion>
|
|
</item>
|
|
|
|
<item>
|
|
<title>Version 1.5 (8 bugs fixed; 2 new features)</title>
|
|
<sparkle:version>1.5</sparkle:version>
|
|
<sparkle:releaseNotesLink>
|
|
http://you.com/app/1.5.html
|
|
</sparkle:releaseNotesLink>
|
|
<pubDate>Wed, 01 Jan 2006 12:20:11 +0000</pubDate>
|
|
<enclosure url="http://you.com/app/Your%20Great%20App%201.5.zip" length="1472893" type="application/octet-stream" sparkle:edSignature="pNFd7KbcQSu+Mq7UYrbQXTPq82luht2ACXm/r2utp1u/Uv/5hWqctdT2jwQgMejW7DRoeV/hVr6J4VdZYdwWDw==" />
|
|
<sparkle:minimumSystemVersion>10.11</sparkle:minimumSystemVersion>
|
|
</item>
|
|
|
|
<!-- Now here's an example of a version with a weird internal version number (like an SVN revision) but a human-readable external one. -->
|
|
<item>
|
|
<title>Version 1.4 (5 bugs fixed; 2 new features)</title>
|
|
<sparkle:releaseNotesLink>
|
|
http://you.com/app/1.4.html
|
|
</sparkle:releaseNotesLink>
|
|
<sparkle:version>241</sparkle:version>
|
|
<sparkle:shortVersionString>1.4</sparkle:shortVersionString>
|
|
<pubDate>Wed, 25 Dec 2005 12:20:11 +0000</pubDate>
|
|
<enclosure url="http://you.com/app/Your%20Great%20App%201.4.zip" sparkle:edSignature="Ody3D/ybSMH4T+P/oNj3LN4F0SA8RJGLEr1TI4UemrBAiJ9aEcDnYV3u58P75AbcFjI13jPYmHDUHXMSTFQbDw==" length="1472349" type="application/octet-stream" />
|
|
<sparkle:minimumSystemVersion>10.11</sparkle:minimumSystemVersion>
|
|
</item>
|
|
</channel>
|
|
</rss>
|