You are currently viewing a snapshot of www.mozilla.org taken on April 21, 2008. Most of this content is highly out of date (some pages haven't been updated since the project began in 1998) and exists for historical purposes only. If there are any pages on this archive site that you think should be added back to www.mozilla.org, please file a bug.



Extension Manager RDF Grammar

Note - draft - very rough!

Extensions

A list of all installed extensions, as NC:child arcs off a root resource

Extension

Property Type Example Description FE-only?
id string literal e.g. @myext.mozdev.org/myextA;1 or myExtA@myext.mozdev.org;1 uniquifier for extension bundle
name string literal My Extension display name for manager front end FE
description string literal An extension that accomplishes little. a description string for manager front end FE
creator string literal ben@mozilla.org creators or principal contributors of this extension FE
contributor string literal ben@mozilla.org contributors to this extension FE
updateURL string literal http://www.bengoodger.com/software/magpie/magpie.rdf RDF XML datasource containing information about available updates. If this is not specified then the default extension server (held in an application preference) is queried.
homepageURL string literal http://www.bengoodger.com/software/magpie/ URL to homepage of extension FE
optionsURL string literal chrome://magpie/content/options.xul chrome URL to options UI for configuring extension, held in one of the chrome packages installed by the extension. FE
aboutURL string literal chrome://magpie/content/about.xul chrome URL to about dialog UI for extension, held in one of the chrome packages installed by the extension. If this is not supplied a default about dialog is built using the creator/contributors list, and the homepageURL property. FE
iconURL string literal chrome://magpie/content/magpie.png A 32x32 icon used to represent the extension in the management FE FE
version string literal (version format) 1.1, 1.2+, etc. a string in the version format the extension system can parse that identifies the current version of the extension, used to help the update mechanism locate newer versions of an extension.
minAppVersion string literal (version format) 0.7, 0.8+ etc a string in the version format the extension system can parse that identifies the minimum supported version of the target application that this extension supports. Used by the version compatibility checker to determine whether or not this extension should be loaded
maxAppVersion string literal (version format) 0.9, 1.2+ etc a string in the version format the extension system can parse that identifies the maximum supported version of the target application that this extension supports.
requires string literal @jslib.mozdev.org/jslib2;1 a string identifying another extension that is required to support this one. This is used by the front end to prevent dependency problems when removing extensions and for resolution at startup.
package|locale|skin string literal magpie|en-US|classic a package, locale or skin supplied by this extension. Used by the extension system to identify and deregister components when enabling/disabling an extension
isCompatible string literal true, false a shorthand indicating that this extension has been deemed compatible with the current application version, designed to prevent needless version parsing once compatibility has been established
toBeEnabled/toBeDisabled, toBeUninstalled string literal true, false hints set by the front end to perform these operations on the extension at the next launch