User:Jorge.villalobos/AddonPackaging/Manifest: Difference between revisions

(Added some optional properties)
Line 124: Line 124:


</pre>  
</pre>  
== Optional properties<br> ==
== Optional properties  ==


=== description ===
=== description ===


A short description of the add-on - intended for display in the user interface. This description should fit on one short line of text.
A short description of the add-on - intended for display in the user interface. This description should fit on one short line of text.  


'''Example:'''
'''Example:'''  
<pre>&lt;p id="description"&gt;An example for the new add-on packaging specification.&lt;/p&gt;
<pre>&lt;p id="description"&gt;An example for the new add-on packaging specification.&lt;/p&gt;
</pre>
</pre>  
=== creator ===
=== creator ===


The name of the creator/principal developer - intended for display in the user interface. This is a single value.<br>
The name of the creator/principal developer - intended for display in the user interface. This is a single value.<br>  


'''Example:'''
'''Example:'''  
<pre>&lt;p id="creator"&gt;Jorge Villalobos&lt;/p&gt;</pre>
<pre>&lt;p id="creator"&gt;Jorge Villalobos&lt;/p&gt;</pre>  
=== developers ===
=== developers ===


The name(s) of co-developers. You may specify multiple developers.
The name(s) of co-developers. You may specify multiple developers.  


'''Example:'''<br>
'''Example:'''<br>  
<pre>&lt;ol id="developers"&gt;
<pre>&lt;ol id="developers"&gt;


Line 151: Line 151:


&lt;/ol&gt;
&lt;/ol&gt;
</pre>
</pre>  
=== translators<br> ===
=== translators<br> ===


The name(s) of translators. You may specify multiple translators.
The name(s) of translators. You may specify multiple translators.  


'''Example:'''
'''Example:'''  
<pre>&lt;ol id="translators"&gt;
<pre>&lt;ol id="translators"&gt;
   &lt;li&gt;John Doe&lt;/li&gt;
   &lt;li&gt;John Doe&lt;/li&gt;
Line 164: Line 164:
&lt;/ol&gt;
&lt;/ol&gt;


</pre>
</pre>  
=== contributors ===
=== contributors ===


The name(s) of additional contributors. You may specify more than one contributor.
The name(s) of additional contributors. You may specify more than one contributor.  


'''Example:'''
'''Example:'''  
<pre>&lt;ol id="contributors"&gt;
<pre>&lt;ol id="contributors"&gt;
   &lt;li&gt;John Doe&lt;/li&gt;
   &lt;li&gt;John Doe&lt;/li&gt;
Line 176: Line 176:


&lt;/ol&gt;
&lt;/ol&gt;
</pre>
</pre>  
<br>
=== homepage-url  ===
 
A link to the addon's home page - intended for display in the user interface.
 
'''Example:'''
<pre>&lt;p id="homepage-url"&gt;https://wiki.mozilla.org/User:Jorge.villalobos/AddonPackaging&lt;/p&gt;</pre>
=== update-url  ===
 
A link to a custom Update Manifest file that specifies available updates to the addon. The format of this URL follows the same rules and have the same options as the [https://developer.mozilla.org/en/Install_Manifests#updateURL previous manifest format].
The file it links to, however, can use the previous format or a new format. See [https://wiki.mozilla.org/User:Jorge.villalobos/AddonPackaging/UpdateFile the section on the update file] for more information.
 
'''Example:'''
<pre>&lt;p id="update-url"&gt;http://www.example.com/update.php?id=%ITEM_ID%&amp;version=%ITEM_VERSION%&lt;/p&gt;</pre>
=== update-key  ===
 
To ensure the security of update data that is retrieved over plain http you must use a digital signature to verify the contents of the data. In order to do so you must include the public part of the cryptographic key in an update-key property. This can be generated using the [https://developer.mozilla.org/en/McCoy McCoy tool]. Any line breaks and whitespace as part of this entry are ignored.
 
'''Example:'''
<pre>&lt;p id="update-key"&gt;
  MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDK426erD/H3XtsjvaB5+PJqbhj
  Zc9EDI5OCJS8R3FIObJ9ZHJK1TXeaE7JWqt9WUmBWTEFvwS+FI9vWu8058N9CHhD
  NyeP6i4LuUYjTURnn7Yw/IgzyIJ2oKsYa32RuxAyteqAWqPT/J63wBixIeCxmysf
  awB/zH4KaPiY3vnrzQIDAQAB
&lt;/p&gt;</pre>
=== options-url  ===
 
The chrome:// URL of the extension's preferences dialog. This is only useful to extensions. If this property is specified, when the extension is selected in the Add-ons Manager, the Options button is enabled and will open this dialog.
 
'''Example:'''
<pre>&lt;p id="options-url"&gt;chrome://packagingspec/content/options.xul&lt;/p&gt;</pre>
=== about-url  ===
 
The chrome:// URL of the extension's About dialog. This is only useful to extensions. If this property is specified, when the extension is selected in the Add-ons Manager, the About option is enabled and will open this dialog.
 
'''Example:'''
<pre>&lt;p id="about-url"&gt;chrome://packagingspec/content/about.xul&lt;/p&gt;</pre>
canmove, Confirmed users
1,448

edits