survey Plugin

Compatible with DokuWiki

  • 2012-01-25 "Angua" unknown
  • 2011-05-25 "Rincewind" yes
  • 2010-11-07 "Anteater" unknown

plugin Dokuwiki plugin to generate user surveys with multiple levels of questions and answers

Last updated on
2011-07-30
Provides
Syntax
Repository
Source

Tagged with survey

Introduction

This plugin creates some kind of Expert system inside Dokuwiki and can be used for knowledge bases, FAQs, questionnaires and so on. I wrote it, because we were needing a system to elaborate user problems on a hotline to either solve the problem or have enough information for second level.

Installation

Install the plugin using the Plugin Manager and the download URL above, which points to latest version of the plugin. Refer to Plugins on how to install plugins manually.

Syntax

We're roughly using the unordered list syntax here to create a tree of questions and answers. There has to be only one entry on the topmost level, which is the first, the “root” question. The next level contains possible answers. Underneath these answers can be other questions and so on.

<survey>
  * What's the species?
    * Human
    * Animal
      * Has it claws?
        * Yes
        * No
          * Is it big?
            * Yes
              * It's an [[http://en.wikipedia.org/wiki/Elephant|Elephant]]!
            * No
    * Plant
</survey>

In this simple example, the user is asked the root question “Whats the species?” and can choose between “Human”, “Animal” and “Plant”. Clicking on “Animal” reveals another question and so on. In this example there's one real exit point and that's “It's an Elephant”.

As you can see, we're supporting external http and ftp and internal links using the common link syntax here. Also an alternative name can be specified.

Development

Change Log

ToDo/Wish List

  • [?] I think, the code is rubbish. Perhaps someone can give me a hand over at github to clear up the logic of the code. I can't seem to get my head around it.
  • [Michael - 2011/12] - I like the idea of the plug-in - it forces the users to make simple decision paths.
    I was able to make it work, but I noticed that Internal wiki URLs are not supported when the have “_” in the name space it is “translated in <u> :-(
    It would be great to see a fix for that - I am not a programmer.

—- Where will these data be stored/saved????????

-James

plugin/survey.txt · Last modified: 2012/01/03 09:35 by 122.183.136.36
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 3.0 Unported
Imprint Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki
WikiForumIRCBugsGitXRefTranslate