Revision history for Mod039fMindMapMod


Revision [23268]

Last edited on 2016-05-20 07:38:47 by JavaWoman [Replaces old-style internal links with new pipe-split links.]
Additions:
[[http://web.archive.org/web/20040823065550/http://www.wakkawiki.com/MindMapMod | MindMapMod @ WakkaWiki]]
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]].
-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)<?php
Deletions:
[[http://web.archive.org/web/20040823065550/http://www.wakkawiki.com/MindMapMod MindMapMod @ WakkaWiki]]
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]].
-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)<?php


Revision [19291]

Edited on 2008-01-28 00:14:45 by JavaWoman [Modified links pointing to docs server]

No Differences

Revision [17214]

Edited on 2007-07-07 14:50:57 by JavaWoman [standardized link to WakkaWiki origin]
Additions:
**DigitalNomad**
[[http://web.archive.org/web/20040823065550/http://www.wakkawiki.com/MindMapMod MindMapMod @ WakkaWiki]]
Deletions:
DigitalNomad
[[http://web.archive.org/web/20040823065550/http://www.wakkawiki.com/MindMapMod MindMapMod]]


Revision [17157]

Edited on 2007-07-07 05:58:53 by JavaWoman [web.archive.org links for wakkawiki.com (+ note)]
Additions:
==== Wikka Mod 039 ====
Type: Feature Addition
----
===Credit:===
DigitalNomad
[[http://web.archive.org/web/20040823065550/http://www.wakkawiki.com/MindMapMod MindMapMod]]
----
====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)<?php
// urls
else if (preg_match("/^([a-z]+:\/\/\S+?)([^[:alnum:]^\/])?$/", $thing, $matches)) {
$url = $matches[1];
// http://www.wakkawiki.com/InlineImages
if (preg_match("/^(.*)\.(gif|jpg|png)/si", $url)) {
return "<img src=\"$url\" />".$matches[2];
} else
// http://www.wakkawiki.com/MindMapMod/
if (preg_match("/^(.*)\.(mm)/si", $url)) {
return "
<script language=\"JavaScript\">
<!--
if(!navigator.javaEnabled()) {
document.write('Please install a <a href=\"http://www.java.com/\">Java Runtime Environment</a> on your computer.');
}
//-->
</script>
<applet code=\"freemind.main.FreeMindApplet.class\" archive=\"mindmap/freemindbrowser.jar\" width=\"100%\" height=\"600\">
<param name=\"type\" value=\"application/x-java-applet;version=1.4\" />
<param name=\"scriptable\" value=\"false\" />
<param name=\"modes\" value=\"freemind.modes.browsemode.BrowseMode\" />
<param name=\"browsemode_initial_map\" value=\"$url\" />
<param name=\"initial_mode\" value=\"Browse\" />
</applet>
<br />
<span class=\"notes\">Download <a href=\"$url\">this mind map</a> and use the desktop application of <a href=\"http://freemind.sourceforge.net/\">Freemind</a> to edit it.</span>".$matches[2];
} else
return "<a href=\"$url\">$url</a>".$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
""<!--http://wikka.jsnx.com/freemind/freemind.mm-->""
See: EmbeddedMapExample
Deletions:
==== Wikka Mod 039 ====
Type: Feature Addition
----
===Credit:===
DigitalNomad
http://www.wakkawiki.com/MindMapMod
----

====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, MindMapMod + InlineImages): %%(php)<?php
// urls
else if (preg_match("/^([a-z]+:\/\/\S+?)([^[:alnum:]^\/])?$/", $thing, $matches)) {
$url = $matches[1];
// http://www.wakkawiki.com/InlineImages
if (preg_match("/^(.*)\.(gif|jpg|png)/si", $url)) {
return "<img src=\"$url\" />".$matches[2];
} else
// http://www.wakkawiki.com/MindMapMod/
if (preg_match("/^(.*)\.(mm)/si", $url)) {
return "
<script language=\"JavaScript\">
<!--
if(!navigator.javaEnabled()) {
document.write('Please install a <a href=\"http://www.java.com/\">Java Runtime Environment</a> on your computer.');
}
//-->
</script>
<applet code=\"freemind.main.FreeMindApplet.class\" archive=\"mindmap/freemindbrowser.jar\" width=\"100%\" height=\"600\">
<param name=\"type\" value=\"application/x-java-applet;version=1.4\" />
<param name=\"scriptable\" value=\"false\" />
<param name=\"modes\" value=\"freemind.modes.browsemode.BrowseMode\" />
<param name=\"browsemode_initial_map\" value=\"$url\" />
<param name=\"initial_mode\" value=\"Browse\" />
</applet>
<br />
<span class=\"notes\">Download <a href=\"$url\">this mind map</a> and use the desktop application of <a href=\"http://freemind.sourceforge.net/\">Freemind</a> to edit it.</span>".$matches[2];
} else
return "<a href=\"$url\">$url</a>".$matches[2];
}?>
%%

http://wikka.jsnx.com/freemind/freemind.mm



Revision [1068]

Edited on 2004-08-28 03:04:32 by JsnX [web.archive.org links for wakkawiki.com (+ note)]
Additions:
http://wikka.jsnx.com/freemind/freemind.mm
Deletions:
http://wikka.jsnx.com/mindmaps/freemind.mm


Revision [1067]

Edited on 2004-08-28 02:58:12 by JsnX [web.archive.org links for wakkawiki.com (+ note)]
Deletions:
FreeMindDocumentationMap


Revision [1053]

Edited on 2004-08-28 01:15:25 by JsnX [added FreeMindDocumentationMap link]
Additions:
http://wikka.jsnx.com/mindmaps/freemind.mm
FreeMindDocumentationMap
Deletions:
http://wikka.jsnx.com/mindmaps/freemind.mm


Revision [1051]

Edited on 2004-08-27 02:17:30 by JsnX [added freemind documentation map as an example]
Additions:
%%
http://wikka.jsnx.com/mindmaps/freemind.mm
Deletions:
%%


Revision [1050]

The oldest known version of this page was created on 2004-08-27 02:11:28 by JsnX [added freemind documentation map as an example]
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki