You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

XML Specification

The XML gadget specification is based on the Atlassian Gadgets. The implemented tags are:

  • ModulePrefs
  • Description
  • Sources - CSS and JS resources
    • 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﹥




  • No labels