JS Kit

Installation

Follow these steps to install this script on your wiki.

  1. Go to System Settings inside the Control Panel.
  2. Under Extensions, click Add Script.
  3. Enter a descriptive name for the extension
  4. Under Configuration add the following to the Manifest field: 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 script.

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>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.
Powered by MindTouch Deki v.8.08.1a