adding auto update support
authorDave Raggett <dsr@w3.org>
Fri, 29 Apr 2011 19:15:36 +0100
changeset 5 0f4d18d55a42
parent 4 82ee4f6c2058
child 6 84fef3164975
adding auto update support
dashboard/dashboard.xpi
dashboard/install.rdf
update.rdf
Binary file dashboard/dashboard.xpi has changed
--- a/dashboard/install.rdf	Fri Apr 29 13:34:41 2011 +0100
+++ b/dashboard/install.rdf	Fri Apr 29 19:15:36 2011 +0100
@@ -3,7 +3,7 @@
  xmlns:em="http://www.mozilla.org/2004/em-rdf#">
   <Description about="urn:mozilla:install-manifest">
     <em:id>dashboard@dave.raggett</em:id>
-    <em:version>0.9.3</em:version>
+    <em:version>0.9.4</em:version>
     <em:localized>
       <Description> <!-- example localization via google translate -->
         <em:locale>fr-FR</em:locale>
@@ -14,15 +14,16 @@
     </em:localized>
     <em:name>Privacy Dashboard</em:name>
     <em:creator>Dave Raggett</em:creator>
-    <em:description>A privacy assistant developed by the PrimeLife consortium</em:description>
+    <em:description>A privacy assistant developed by W3C for the PrimeLife project</em:description>
     <em:iconURL>chrome://dashboard-common/skin/cat-globe.png</em:iconURL>
-    <em:homepageURL>http://www.primelife.eu/</em:homepageURL>
+    <em:homepageURL>http://code.w3.org/privacy-dashboard/wiki/WikiStart</em:homepageURL>
+    <em:updateURL>https://code.w3.org/privacy-dashboard/browser/dashboard/update.rdf?format=txt</em:updateURL>
     <em:optionsURL>chrome://dashboard/content/dashboard.xul</em:optionsURL>
     <em:targetApplication>
       <Description>
         <em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id> <!-- firefox -->
         <em:minVersion>3.0.3</em:minVersion>
-        <em:maxVersion>4.4.*</em:maxVersion>
+        <em:maxVersion>4.6.*</em:maxVersion>
       </Description>
     </em:targetApplication>
   </Description>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/update.rdf	Fri Apr 29 19:15:36 2011 +0100
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<RDF:RDF xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+         xmlns:em="http://www.mozilla.org/2004/em-rdf#">
+
+  <!-- This Description resource includes all the update and compatibility
+   information for a single add-on with the id dashboard@dave.raggett -->
+  <RDF:Description about="urn:mozilla:extension:dashboard@dave.raggett">
+    <em:updates>
+      <RDF:Seq>
+
+        <!-- Each li is a different version of the same add-on -->
+        <RDF:li>
+          <RDF:Description>
+            <em:version>0.9.3</em:version> <!-- This is the version number of the add-on -->
+
+            <!-- One targetApplication for each application the add-on is compatible with -->
+            <em:targetApplication>
+              <RDF:Description>
+                <em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id>
+                <em:minVersion>3.0.3</em:minVersion>
+                <em:maxVersion>4.6.*</em:maxVersion>
+
+                <!-- This is where this version of the add-on will be downloaded from -->
+                <em:updateLink>https://code.w3.org/privacy-dashboard/export/4%3A82ee4f6c2058/dashboard/dashboard.xpi</em:updateLink>
+
+                <!-- A page describing what is new in this updated version -->
+                <em:updateInfoURL>http://code.w3.org/privacy-dashboard/wiki/ReleaseNotes</em:updateInfoURL>
+              </RDF:Description>
+            </em:targetApplication>
+          </RDF:Description>
+        </RDF:li>
+      </RDF:Seq>
+    </em:updates>
+  </RDF:Description>
+</RDF:RDF>