| Vendor | MindTouch |
| Type | Script |
| Categories | Communication |
| Requires | MindTouch Deki 1.8.3 or later |
| Status | Stable |
| License | Free/Open Source |
| Manifest | http://scripts.mindtouch.com/gabbly.xml |
Table of Contents
This extension contains functions for embedding Gabbly widgets.
See also How to add a script, Using the Extension Dialog, Learn about DekiScript, Extensions Directory.
Embed Gabbly chat widget.
Parameters:
| Name | Type | Description |
| room | str | (optional) Chat room name. (default: "dekiwiki") |
| username | str | (optional) User name. (default: automatic) |
| width | num | (optional) Width of chat widget. (default: 425) |
| height | num | (optional) Height of chat widget. (default: 350) |
| logo | uri | (optional) Logo for chat room. (default: gabbly logo) |
<extension>
<title>Gabbly Extension</title>
<label>Gabbly</label>
<copyright>Copyright (c) 2006-2009 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&dnc=true&priv=on&t=' .. web.uriencode(args.room ?? 'dekiwiki') .. '&nick=' .. web.uriencode(args.username ?? '') .. '&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>