You shouldn't include update.rdf in the XPI. In install.rdf in the XPI, you 
should include this element:


<em:updateURL/>

whose content is a URL where the update.rdf can be found.  For example:

<em:updateURL>http://myproject.mozdev.org/update.rdf</em:updateURL>

https://developer.mozilla.org/en/Extension_Versioning%2c_Update_and_Compatibility#Update_RDF_Format
is an example of the contents of an update.rdf.


Eric





________________________________
From: Joe Brochu <[email protected]>
To: [email protected]
Sent: Monday, January 12, 2009 6:54:23 PM
Subject: [Project_owners] update.rdf Questions

I'm ready for my first release, and I'm confused about the update.rdf
process described here.

In particular, where does the update.rdf file go?  It doesn't seem like
it would go inside the xpi (e.g. next to install.rdf) because it can
contain a hash of the xpi.  

However, it also seems like it should be included with the xpi so that
the user has access to the update info.  I guess I don't understand how
the whole update process works.

Is any of this even necessary if the xpi is hosted on addons.mozilla.org?

Thanks,
Joe Brochu
http://ganttview.mozdev.org/



      
_______________________________________________
Project_owners mailing list
[email protected]
https://www.mozdev.org/mailman/listinfo/project_owners

Reply via email to