==== Wikka Mod 039 ==== Type: Feature Addition ---- ===Credit:=== **DigitalNomad** [[http://web.archive.org/web/20040823065550/http://www.wakkawiki.com/MindMapMod | MindMapMod @ WakkaWiki]] ---- ====MindMapMod==== ===Description=== This MindMapMod let's you display mindmaps that are created with [[http://freemind.sourceforge.net/ | FreeMind]] in your WakkaWiki. After applying the code you can enter the URL of any *.mm-file on your server and it will be displayed like [[http://www.funksturm.de/librophilo/wakka.php?wakka=MindMapMod | this]]. 2004-05-27: I added a little JavaScript to check if there's a JRE. Besides that, below the map will be a link to download the mind map. ===3 Step Procedure=== -create the directory ///mindmap// (in top level) -copy http://freemind.sourceforge.net/freemindbrowser.jar into this directory -add the following to ///formatters/wakka.php// (line 53, [[http://web.archive.org/web/20040823065550/http://www.wakkawiki.com/MindMapMod | MindMapMod]] + [[http://web.archive.org/web/20040820215431/http://www.wakkawiki.com/InlineImages | InlineImages]]): %%(php)".$matches[2]; } else // http://www.wakkawiki.com/MindMapMod/ if (preg_match("/^(.*)\.(mm)/si", $url)) { return "
Download this mind map and use the desktop application of Freemind to edit it.".$matches[2]; } else return "$url".$matches[2]; }?> %% ~&Note that the ""wakkawiki.com"" URLs in the code above are no longer valid; see links //above// the code for the archived pages. --- --JavaWoman """" See: EmbeddedMapExample