Software Update:updates.xml Format: Difference between revisions

Jump to navigation Jump to search
URL attribute must be uppercase.
m (Updates are now MAR files, not XPI files)
(URL attribute must be uppercase.)
Line 13: Line 13:
   <update type="minor" version="1.0.4" extensionVersion="1.0"  
   <update type="minor" version="1.0.4" extensionVersion="1.0"  
           detailsURL="http://www.foo.com/1.0.4/whatsnew.html">
           detailsURL="http://www.foo.com/1.0.4/whatsnew.html">
     <patch type="partial" url="http://www.foo.com/1.0.4-partial.mar"
     <patch type="partial" URL="http://www.foo.com/1.0.4-partial.mar"
           hashFunction="" hashValue="" size=""/>
           hashFunction="" hashValue="" size=""/>
     <patch type="complete" url="http://www.foo.com/1.0.4-complete.mar"
     <patch type="complete" URL="http://www.foo.com/1.0.4-complete.mar"
           hashFunction="" hashValue="" size=""/>
           hashFunction="" hashValue="" size=""/>
   </update>
   </update>
Line 21: Line 21:
   <update type="major" version="1.1.2" extensionVersion="1.1"
   <update type="major" version="1.1.2" extensionVersion="1.1"
           detailsURL="http://www.foo.com/1.1.2/whatsnew.html">
           detailsURL="http://www.foo.com/1.1.2/whatsnew.html">
     <patch type="complete" url="http://www.foo.com/1.1.2-complete.mar"
     <patch type="complete" URL="http://www.foo.com/1.1.2-complete.mar"
           hashFunction="" hashValue="" size=""/>
           hashFunction="" hashValue="" size=""/>
   </update>
   </update>
Line 55: Line 55:
<table>
<table>
  <tr><td valign="top">'''type'''</td><td><code>partial</code> or <code>complete</code>, depending on the patch. </td></tr>
  <tr><td valign="top">'''type'''</td><td><code>partial</code> or <code>complete</code>, depending on the patch. </td></tr>
  <tr><td valign="top">'''url'''</td><td>A URL to the remote patch file.</td></tr>
  <tr><td valign="top">'''URL'''</td><td>A URL to the remote patch file.</td></tr>
  <tr><td valign="top">'''hashFunction'''</td><td>The name of the hash function to execute to verify the integrity of the patch.</td></tr>
  <tr><td valign="top">'''hashFunction'''</td><td>The name of the hash function to execute to verify the integrity of the patch.</td></tr>
  <tr><td valign="top">'''hashValue'''</td><td>The server-generated hash generated for the file. If the client generated value does not match this, the integrity check fails after download.</td></tr>
  <tr><td valign="top">'''hashValue'''</td><td>The server-generated hash generated for the file. If the client generated value does not match this, the integrity check fails after download.</td></tr>
1

edit

Navigation menu