JS Kit

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/jskit.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 allows you to a Rating widget to your wiki. This script requires MindTouch Deki 1.8.3 or later.

Functions:

  1. jskit.rating

jskit.rating() : xml

This function embeds a Rating widget.


Source Code

<extension>
  <title>MindTouch JS-Kit Extension</title>
  <copyright>Copyright (c) 2007, 2008 MindTouch, Inc.</copyright>
  <description>This extension allows you to a Rating widget to your wiki.</description>
  <uri.help>http://wiki.developer.mindtouch.com/MindTouch_Deki/Extensions/JS_Kit</uri.help>
  <label>JS-Kit</label>
  <namespace>jskit</namespace>
  
  <function>
    <name>rating</name>
    <description>This function embeds a Rating widget.</description>
    <return>
      <html>
        <body>
          <div class="js-kit-rating" title="" permalink="" />
          <script src="http://js-kit.com/ratings.js" />
        </body>
      </html>
    </return>
  </function>
</extension>


Samples


Output

To embed the Fevote widget:

{{ jskit.rating() }} 

./rating screenshot.png

Tag page
Viewing 2 of 2 comments: view all
How can we add the rating extension if we are using wiki.is to host our site ?
I dont see the service mamangent option in the control panel
Posted 13:25, 21 Mar 2008
The extension needs to be added on the server side
Posted 17:25, 9 May 2008
Viewing 2 of 2 comments: view all
You must login to post a comment.