wikiwhiteboard.pl - Perl implementation of Danny Ayer's WikiWhiteboard
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.
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.
WikiWhiteboard consists of three parts:
This stores both the drawing and the drawing functionality. Most of the hard work is done here.
Saves and displays the SVG file.
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.
Move configurable items into config file.
Implement a generic plug-in syntax/system for adding new elements like {sketch}.
Eugene Eric Kim, <eekim@blueoxen.org>
To install PurpleWiki::ACL, copy and paste the appropriate command in to your terminal.
cpanm
cpanm PurpleWiki::ACL
CPAN shell
perl -MCPAN -e shell install PurpleWiki::ACL
For more information on module installation, please visit the detailed CPAN module installation guide.