Embedding mind maps

From FreeMind
Jump to navigationJump to search
  • The Mind Map Gallery Page is here

Uploaded FreeMind Maps

To embed a freemind mind map file which has been uploaded to this wiki, use:

  • <mm>[[Hello.mm]]</mm>. Do not upload .mm files with spaces as the plugin apparently can't parse for spaces in file names.

You can specify if you want to display the map in the flash browser or in the java applet

  • <mm>[[Hello.mm|flash]]</mm>
  • <mm>[[Hello.mm|applet]]</mm>

The flash viewer is smaller and starts much faster than the applet viewer. For this reason do not use both flash and applet on the same wiki page, but choose the one you find the best.


You can display the map in a separate page by adding a colon in front of the file name:

  • <mm>[[:Hello.mm]]</mm>
  • <mm>[[:Hello.mm|description]]</mm>
  • <mm>[[:Hello.mm|applet]]</mm>
Description You type You get
Embed map in flash
(with height)

<mm>[[Hello.mm|flash|80pt]]</mm>

<mm>flash|80pt</mm>

Embed map in flash
(with height and collapsed to level 1)

<mm>[[Hello.mm|flash|80pt|parameters startCollapsedToLevel=1]]</mm>

<mm>flash|80pt|parameters startCollapsedToLevel=1</mm>

Embed map in applet
(with height and title)

<mm>[[Hello.mm|applet|150px|title example map]]</mm>

<mm>applet|150px|title example map</mm>

Link to special page with the map in flash

<mm>[[:Hello.mm|flash]]</mm>
<mm>[[:Hello.mm|flash|title the map in flash|map in flash]]</mm>

<mm>flash</mm>
<mm>flash|title the map in flash|map in flash</mm>

Link to special page with the map in applet

<mm>[[:Hello.mm|applet]]</mm>
<mm>[[:Hello.mm|applet|title the map in applet|map in applet]]</mm>

<mm>applet</mm>
<mm>applet|title the map in applet|map in applet</mm>

Link to description page

[[:Image:Hello.mm]]
[[:Image:Hello.mm|Example map]]

Image:Hello.mm
Example map

Link directly to file

[[Media:Hello.mm]]
[[Media:Hello.mm|Example map]]

Media:Hello.mm
Example map

Advanced options

The full syntax for embedding an map in the wiki page is:

<mm>[[{name}|{options}|parameters {parameters}]]</mm>

The full syntax for displaying the map in the separate page is:

<mm>[[:{name}|{options}|parameters {parameters}|different text]]</mm>

The options can be zero or more of the following, separated by pipes:

  • applet, flash: Controls how the image is displayed
  • {height}px: Sets the given height in pixels
  • {height}pt: Sets the given height in points
  • title {title text}:

The options can be given in any order.

The parameters can be zero or more of the {key}={value} pairs separated by spaces. They are transferred to the browser showing the map

If a given option does not match any of the other possibilities, it is assumed to be the link text.

External images and map files

You can neither link to nor embed an external map.

You can not embed a map including images located on external server.

How to download the Freemind Extension for MediaWiki

  • You can find the FreeMind.php file in the CVS here [1]
  1. Download the contents of the CVS /extensions/freemind contents and place into ..extensions/freemind/ (lower case!) folder on your site.
  2. Download the FreeMind.php file from the CVS /extensions/ contents and place into ..extensions/ folder on your site.
  3. Rather than doing that, click on the FreeMind.php file that you see in the CVS /extensions/ contents select the Revision that you want, then click download and save that php file as FreeMind.php in the ..extensions/ folder. If you download the FreeMind.php file that you see in the CVS /extensions/ contents and install it as directed, you will find that all your wiki pages start out with a log of revisions.
  4. Add the line include('extensions/FreeMind.php'); to the end of your LocalSettings.php file (The name of your file is case sensitive!)
  5. Add 'mm' to the list of allowed file extensions, e.g. $wgFileExtensions = array( 'png', 'gif', 'jpg', 'jpeg', 'wmz', 'mm' );

Now you can use the extension with different forms of <mm>[[Hello.mm]]</mm> in the wiki as per the article tab