SVG extension
From Wickle Wiki
Again i wrote a extremely simple Extension to Mediawiki, this extension tries to renderize svg graphics and put them online on the wiki. For renderize the extension uses Batik from apache, and you could view a few examples at the top of this page ...
Contents |
[edit]
Requisites
You must have installed and working properly Batik.
[edit]
Download
- You can download the extension at my CVS at wickle.
- Alternate Download at SF.net : SF.net CVS
[edit]
Using it
you must copy and paste the SVG code into this tags :
<svgextension> </svgextension>
[edit]
Install
you must copy SVGExtension.php to $mediawiki/extensions directory and add this line to LocalSettings.php: include("extensions/SVGExtension.php");
Also you must set :
$wgSVGSettings->javaCommand = "/mnt/backup/java/j2sdk1.4.0/bin/java"; $wgSVGSettings->batikCommand = "/opt/java/batik-1.5.1/batik-rasterizer.jar";
to accomplish your installation of graphviz.
[edit]
samples
[edit]
Sample 1
[edit]
Sample 2
[edit]
Sample 3
[edit]
Sample 4
[edit]
Sample 5
[edit]
more Samples
[edit]
One more
[edit]
ej 1
[edit]
ej 2
[edit]

