NAME
wikiwhiteboard.pl - Perl implementation of Danny Ayer's WikiWhiteboard
DESCRIPTION
A Perl implementation of Danny Ayer's WikiWhiteboard (as described in "Creating an SVG Wiki", November 19, 2003):
http://www.xml.com/pub/a/2003/11/19/svgwiki.html
This script is used to save and display the SVG picture.
USING
To use wikiwhiteboard.pl, edit the configuration variables in the file. Copy sketch.svg into your $configDir directory (typically wikidb) and wikiwhiteboard.pl into your cgi-bin directory. PurpleWiki assumes wikiwhiteboard.pl is accessible at the URL:
http://foo/cgi-bin/wikiwhiteboard.pl
where foo is the domain name of your Wiki. This is currently hard-coded, although it should be configurable in later versions.
HOW IT WORKS
WikiWhiteboard consists of three parts:
- sketch.svg
-
This stores both the drawing and the drawing functionality. Most of the hard work is done here.
- wikiwhiteboard.pl
-
Saves and displays the SVG file.
- PurpleWiki
-
This version of PurpleWiki has been modified to replace "{sketch}" with the appropriate HTML and JavaScript trickery to make all this work. To see how this has been integrated, see PurpleWiki::Parser::WikiText, PurpleWiki::View::wikitext, and PurpleWiki::View::wikihtml.
TO DO
Move configurable items into config file.
Implement a generic plug-in syntax/system for adding new elements like {sketch}.
AUTHOR
Eugene Eric Kim, <eekim@blueoxen.org>