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

Requisites

You must have installed and working properly Batik.

Download

  • You can download the extension at my CVS at wickle.
  • Alternate Download at SF.net : SF.net CVS

Using it

you must copy and paste the SVG code into this tags :

<svgextension>
</svgextension>

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.

samples

Sample 1

Sample 2

Sample 3


Sample 4

Sample 5

more Samples

One more

ej 1

ej 2

ej 3

Template:Plantilla:Barra 60

Personal tools
This site is powered by Queres Tecnologias