Skip to content

warwickshire/wcc-groups-gadget

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WCC Group Gadget

The source XML file is a Gmail sidebar gadget used to launch the WCC Group application. This allow easy access to the Groups lookup from the sidebar.

enter image description here

The XML file consists of two sections. First the 'ModulePrefs' which contains the details of the gadget that will be displayed when it is added to Gmail. The dynamic-height is useful here so the gadget can expand vertically.

    title="WCC Sidebar" 
    directory_title="WCC Sidebar" 
    description="Sidebar gadget for links to WCC resources" 
    author="Warwickshire County Council" 
    author_email="email_address" 
    author_affiliation="WCC" 
    author_location="UK" title_url="http://www.warwickshire.gov.uk/" 
    screenshot="https://wcc-groups-gadget.googlecode.com/git/wcc_ss.PNG" 
    thumbnail="https://wcc-groups-gadget.googlecode.com/git/wcc_thumb.PNG" 
    category="Email" 
    category2="Utilities" 
    height="100"
    Require feature="dynamic-height"    

The second section '' is for, in this case, the HTML code that will render the gadget. Be aware you are working within a strict container with limited width. Use CDATA to surround the HTML code to avoid it getting parsed as XML.

To use and deploy, follow these steps

  1. Copy the XML file and host it publically accesible
  2. Modify the top section details
  3. Add links to the application you want to lanuch
  4. Go to Gmail settings and first enable the lab 'Add any gadget by URL'
  5. Go to the gadgets tab and add the path to the hosted XMl file

Releases

No releases published

Packages

No packages published