Permalink
Browse files

Fixes bug 228455

Added a sample appcast showing how things work and demonstrating a couple more complicated features. I may fill this out more later.
  • Loading branch information...
1 parent 5c32832 commit 1cab1cb203839e9391f2a565f694671d65be178e @andymatuschak andymatuschak committed May 31, 2008
Showing with 36 additions and 0 deletions.
  1. +36 −0 Sample Appcast.xml
View
@@ -0,0 +1,36 @@
+<?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>
+ <link>http://you.com/app/appcast.xml</link>
+ <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: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 Great App 2.0.zip" sparkle:version="2.0" length="1623481" type="application/octet-stream"/>
+ </item>
+
+ <item>
+ <title>Version 1.5 (8 bugs fixed; 2 new features)</title>
+ <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 Great App 1.5.zip" sparkle:version="1.5" length="1472893" type="application/octet-stream"/>
+ </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. This version also has a DSA signature. Note that normally, if any item has a DSA signature, all of them need to. -->
+ <item>
+ <title>Version 1.4 (5 bugs fixed; 2 new features)</title>
+ <sparkle:releaseNotesLink>
+ http://you.com/app/1.4.html
+ </sparkle:releaseNotesLink>
+ <pubDate>Wed, 25 Dec 2005 12:20:11 +0000</pubDate>
+ <enclosure url="http://you.com/app/Your Great App 1.4.zip" sparkle:version="241" sparkle:shortVersionString="1.4" sparkle:dsaSignature="MC0CFBfeCa1JyW30nbkBwainOzrN6EQuAh=" length="1472349" type="application/octet-stream"/>
+ </item>
+ </channel>
+</rss>

0 comments on commit 1cab1cb

Please sign in to comment.