Features/Sugar Update Control ASLO: Difference between revisions

mNo edit summary
Godiard (talk | contribs)
No edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>{{GoogleTrans-en}}{{TOCright}}
<noinclude>{{GoogleTrans-en}}{{TOCright}}
[[Category:Feature Accepted 0.86]]
[[Category:Feature Accepted 0.86]]
[[Category:Feature|Sugar Update Control ASLO]]</noinclude>
[[Category:FeatureLanded|Sugar Update Control ASLO]]</noinclude>


== Summary ==
== 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-aslo.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>
 


== Benefit to Sugar ==
== Benefit to Sugar ==