FeVote Extension
Vendor
MindTouch
Type Script
Categories Widget
Requires MindTouch Core 1.8.3 or later
Status Stable
License Free/Open Source
Manifest http://scripts.mindtouch.com/fevote.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 FeVote panels into your wiki.

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


Functions

fevote.widget(category : str, width : num, height : num) : xml

Embed a FeVote panel to your wiki.

Parameters:

NameTypeDescription
categorystrCategory of feature board.
widthnum(optional) Panel width. (default: 100%)
heightnum(optional) Panel height. (default: 1800px)


Script Source

<extension>
  <title>FeVote Extension</title>
  <label>FeVote</label>
  <copyright>Copyright (c) 2006-2009 MindTouch Inc.</copyright>
  <description>This extension allows you to embed FeVote panels into your wiki.</description>
  <uri.logo>http://scripts.mindtouch.com/logos/fevote-logo.gif</uri.logo>
  <uri.help>http://developer.mindtouch.com/App_Catalog/Fevote</uri.help>
  <namespace>fevote</namespace>
  
  <function>
    <name>widget</name>
    <description>Embed a FeVote panel to your wiki.</description>
    <param name="category" type="str">Category of feature board.</param>
    <param name="width" type="num" optional="true">Panel width. (default: 100%)</param>
    <param name="height" type="num" optional="true">Panel height. (default: 1800px)</param>
    <return>
      <html xmlns:eval="http://mindtouch.com/2007/dekiscript">
        <body>
          <script type="text/javascript">
            fevote_embed_category=<eval:js>args.category</eval:js>;
            fevote_embed_width=<eval:js>web.size(args.width ?? .999)</eval:js>;
            fevote_embed_height=<eval:js>web.size(args.height ?? 1800)</eval:js>;
          </script>
          <script type="text/javascript" src="http://www.fevote.com/embed/embed.js"/>
        </body>
      </html>
    </return>
  </function>
</extension>


Sample

  Output

To embed the Fevote widget:

{{ fevote.widget("deki_wiki") }} 

./Fevote Board.png

 

Tag page (Edit tags)

Files 2

FileSizeDateAttached by 
 Fevote Board.png
No description
22.08 kB22:16, 3 Jan 2008coreygActions
fevote-logo.gif
No description
1927 bytes01:47, 29 Feb 2008coreygActions
Viewing 1 of 1 comments: view all
Doesn't that require the user to login into the fevote system? (see login button or try it)
Every wiki users (thousands) need a fevote account... mmm... plus they'll need to login twice (1 wiki then 1 fevote).

SimplePoll seems more friendly: http://developer.mindtouch.com/DekiScript/FAQ/How_do_I..._Create_a_simple_poll_on_my_wiki%3f
Posted 15:19, 3 Sep 2009
Viewing 1 of 1 comments: view all
You must login to post a comment.