Tungle + Confluence

A few days ago IBM announced support for integrating LotusLive with the excellent Tungle.me service for scheduling appointments with external parties.  Not being one to let IBM have all the fun I created a User Macro to embed Tungle.me in Atlassian’s Confluence wiki.

Register a Tungle.me account
Visit Tungle.me and follow the on-screen instructions.

Create a User Macro

  1. Login to Confluence as a user with admin privileges
  2. Select Browse -> Confluence Admin -> User Macros
  3. Create a new User Macro with the following details:
Macro name: tungle
Macro body: unchecked
Output: Macro generates HTML markup
Template:
#set ($user = ($paramuser))
#if ($user)
  <img src="https://www.tungle.me/public/${user}/busyicon" teml="${user}"/>
  <script src="https://www.tungle.me/portal/js/plugins/tungle.mwmWidget.js" type="text/javascript"></script>
#else
  <div>You must specify a <strong>user</strong> parameter.</div>
#end

Add the Macro to a Page
Edit any Confluence page in the normal way and add the following code:

{tungle:user=<username>}

where <username> is your Tungle.me username, e.g.

{tungle:user=sphericaln}

This will give you the following on your wiki page:


 

 

 

and when you click “schedule a meeting” you will see:

If you don’t specify a “user” parameter then you will get:

Tungle.me has a number of synchronisation integrations with calendar services – LotusLive, Lotus Notes, Google Calendar, Outlook, Entourage, Exchange – and embedding the widget in your website is a great way of making it easy for people outside your organisation to schedule appointments.