XML Specification
The XML gadget specification is based on the Atlassian Gadgets. The implemented tags are:
- ModulePrefs
- Description
- Sources - CSS and JS resources
- Source
- Source
- Fields
- Field
Example:
﹤?xml version="1.0" encoding="UTF-8" ?﹥
﹤Module﹥
﹤ModulePrefs title="Contact Info" width="half" author="colin" /﹥
﹤Description﹥This gadget adds a field editor for fields related to contact info (phone, address, ect).﹤/Description﹥
﹤Content type="file" src="template.html" /﹥
﹤Sources﹥
﹤Source type="javascript" src="script.js" /﹥
﹤/Sources﹥
﹤Fields﹥
﹤Field key="6c-resourceholder-phone-main" /﹥
﹤Field key="6c-resourceholder-phone-fax" /﹥
﹤/Fields﹥
﹤/Module﹥