Vendor
MindTouch
Type Script
Categories Communication
Requires MindTouch Core 1.9.0b or later
Status Stable
License Free/Open Source
Manifest http://scripts.mindtouch.com/skype.xml

 

Install Script
To add  this script to your site, enter the address of your MindTouch installation (ex: http://www.mindtouch.com) and click the Add Script button.  This will open your control panel and prepopulate the necessary values.  You will still need to manually add configuration settings if required.  Note that no changes are made to your site until you confirm the action in your control panel.
Your site address:     


Table of Contents

Description

This extension allows you to embed Skype action buttons.

See also How to add a script, Using the Extension Dialog, Learn about DekiScript, Extensions Directory.


Functions

skype.add(user : str) : xml

Embed a Skype add button.

Parameters:

NameTypeDescription
userstrSkype user name.


skype.call(user : str) : xml

Embed a Skype call button.

Parameters:

NameTypeDescription
userstrSkype user name.


skype.chat(user : str) : xml

Embed a Skype chat button.

Parameters:

NameTypeDescription
userstrSkype user name.


Script Source

<extension>
  <title>Skype Extension</title>
  <label>Skype</label>
  <copyright>Copyright (c) 2006-2009 MindTouch Inc.</copyright>
  <description>This extension allows you to embed Skype action buttons.</description>
  <uri.help>http://developer.mindtouch.com/App_Catalog/Skype</uri.help>
  <namespace>skype</namespace>

  <requires host="MindTouch Core 1.9.0b" />
  
  <function>
    <name>call</name>
    <description>Embed a Skype call button.</description>
    <param name="user" type="str">Skype user name.</param>
    <return type="xml">action(args.user, 'call')</return>
  </function>

  <function>
    <name>add</name>
    <description>Embed a Skype add button.</description>
    <param name="user" type="str">Skype user name.</param>
    <return type="xml">action(args.user, 'add')</return>
  </function>

  <function>
    <name>chat</name>
    <description>Embed a Skype chat button.</description>
    <param name="user" type="str">Skype user name.</param>
    <return type="xml">action(args.user, 'chat')</return>
  </function>

  <function>
    <access>private</access>
    <name>action</name>
    <description>Embed a Skype chat button.</description>
    <param name="user" type="str">Skype user name.</param>
    <param name="action" type="str">Skype user name.</param>
    <return>
      <html xmlns:eval="http://mindtouch.com/2007/dekiscript">
        <head>
          <script type="text/javascript" src="http://download.skype.com/share/skypebuttons/js/skypeCheck.js" />
        </head>
        <body>
          <a rel="custom" eval:href="'skype:' .. uri.encode(args.user) .. '?' .. uri.encode(args.action)">
            <img eval:src="'http://mystatus.skype.com/mediumicon/' .. args.user" style="border: none; width: 26px; height: 26px;" alt="Skype Me" />
          </a>
        </body>
      </html>
    </return>
  </function>
</extension>




 

Viewing 1 of 1 comments: view all
Sorry, I don't really understand how this would be used. I have a Skype account already, would I be using this to allow people to click a button and call me? Don't they need a Skype account first? Or maybe I just don't get this... :-)
Posted 13:37, 9 Feb 2010
Viewing 1 of 1 comments: view all
You must login to post a comment.