Features/Sugar Update Control ASLO: Difference between revisions

mNo edit summary
mNo edit summary
Line 24: Line 24:
Using ASLO the client can request information about updates by sending a URL of the form,
Using ASLO the client can request information about updates by sending a URL of the form,


http://activities.sugarlabs.org/services/update.php?id=org.laptop.WebActivity&appVersion=0.82
http://activities.sugarlabs.org/services/update.php?id=org.laptop.WebActivity&appVersion=0.82


ASLO responds by returning an XML of the form,
ASLO responds by returning an XML of the form,


<pre>
  <?xml version="1.0" encoding="UTF-8"?>
  <?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#"><RDF:Description about="urn:mozilla:extension:org.laptop.WebActivity">
  <RDF:RDF xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:em="http://www.mozilla.org/2004/em-rdf#"><RDF:Description about="urn:mozilla:extension:org.laptop.WebActivity">
Line 50: Line 51:
     </em:targetApplication>
     </em:targetApplication>
  </RDF:Description></RDF:RDF>
  </RDF:Description></RDF:RDF>
 
</pre>