Gabbly

Installation

Follow these steps to install this script on your wiki.

  1. Go to Service managmenent inside the Control Panel.
  2. Under Add Service, click Local and select type Extension.
  3. Enter a descriptive name and the SID: sid://mindtouch.com/2007/12/dekiscript
  4. Add "manifest" to the config section with value set to http://scripts.mindtouch.com/gabbly.xml
  5. Add extra configuration values as listed below under Configuration (If Configuration is not listed below, ignore this step.)
  6. Click on add service.

Related Links: DekiScript service, Extension Overview, DekiScript Overview, Extension Demos.


Overview

This extension contains functions for embedding Gabbly widgets. This script requires MindTouch Deki 1.8.3 or later.

Functions:

  1. gabbly.chat

gabbly.chat(room, username, width, height, logo) : xml

Embed Gabbly chat widget.

Parameters:

NameTypeDescription
roomstr(optional) Chat room name. (default: "dekiwiki")
usernamestr(optional) User name. (default: automatic)
widthnum(optional) Width of chat widget. (default: 425)
heightnum(optional) Height of chat widget. (default: 350)
logouri(optional) Logo for chat room. (default: gabbly logo)


Source Code

<extension>
  <title>MindTouch Gabbly Extension</title>
  <label>Gabbly</label>
  <copyright>Copyright (c) 2007, 2008 MindTouch, Inc.</copyright>
  <description>This extension contains functions for embedding Gabbly widgets.</description>
  <uri.help>http://wiki.developer.mindtouch.com/MindTouch_Deki/Extensions/Gabbly</uri.help>
  <namespace>gabbly</namespace>
  
  <function>
    <name>chat</name>
    <description>Embed Gabbly chat widget.</description>
    <param name="room" type="str" optional="true">Chat room name. (default: "dekiwiki")</param>
    <param name="username" type="str" optional="true">User name. (default: automatic)</param>
    <param name="width" type="num" optional="true">Width of chat widget. (default: 425)</param>
    <param name="height" type="num" optional="true">Height of chat widget. (default: 350)</param>
    <param name="logo" type="uri" optional="true">Logo for chat room. (default: gabbly logo)</param>
    <return>
      <html xmlns:eval="http://mindtouch.com/2007/dekiscript">
        <body>
          <iframe 
            eval:src="'http://cw.gabbly.com/gabbly/cw.jsp?e=1&amp;dnc=true&amp;priv=on&amp;t=' .. web.uriencode(args.room ?? 'dekiwiki') .. '&amp;nick=' .. web.uriencode(args.username ?? '') .. '&amp;adurl=' .. web.uriencode(args.logo ?? 'http://home.gabbly.com/images/favicon.ico')"
            eval:width="web.size(args.width ?? 425)"
            eval:height="web.size(args.height ?? 350)"
            marginwidth="0"
            marginheight="0"
            hspace="0"
            vspace="0"
            frameborder="0"
            scrolling="no"
          />
        </body>
      </html>
    </return>
  </function>
</extension>


Samples

     Output

To embed the default chat widget:

{{ gabbly.chat() }}
./Gabbly1.JPG

To embed the chat widget using 'mindtouch' as the room name:

{{ gabbly.chat("mindtouch") }} 
./Gabbly2 (1).JPG

To embed the chat widget using the sitename as the room name and the logged-in user's name (deki users can see each other across all pages that have this widget embedded):

{{ gabbly.chat(site.name, user.name) }} 
./Gabbly3 (1).JPG

To embed a 800 by 600 chat widget using the sitename as the room name and the logged-in user's name (deki users can see eachother across all pages that have this widget embedded):

{{ gabbly.chat(site.name, user.name, 800, 600) }} 
./Gabbly4.JPG

    

Tag page
Viewing 2 of 2 comments: view all
Is Gabbly appropriate for secure, enterprise communications?
Posted 08:01, 21 Feb 2008
No, it's not. Gabbly sends everything in the clear via their own online servers. Also, you can assume any identity you want. The good thing about Gabbly is that it does not require registration or a complicated setup. It just works out of the box, which is great for adding a chatroom on a page of your wiki.
Posted 15:03, 21 Feb 2008
Viewing 2 of 2 comments: view all
You must login to post a comment.
Powered by MindTouch Deki Enterprise Edition v.8.08 RC2