|Version 28 (modified by rjollos, 4 years ago) (diff)|
Embed Freemind mindmaps into wiki pages
See also the similar MindMapMacro.
If you have any issues, create a new ticket.
Download the zipped source from here.
Setup & Installation
Add application/x-freemind:mm to the mime_map list in your project's trac.ini. This enables Trac to render mindmaps
when previewing attachments.
Also add an entry to the components section
[mimeviewer] mime_map = application/x-freemind:mm [components] freemind.* = enabled
To render mindmaps when previewing them while browsing your SVN repository, you'll need an svn:mime-type on the file.
$ svn propset svn:mime-type application/x-freemind filename.mm $ svn ci
It appears you cannot view mindmaps from different domains, might be a flash issue. For an example, download the file http://evamoraga.net/efectokiwano/mm/index.mm and save it into your projects' htdocs directory.
Ideally you want to access mindmaps from your SVN repository,
You can access your mindmaps as follows.
http://example.com/filename.mm directly from the web, doesn't seem to work !!! htdocs://site/filename.mm from your project's htdocs. htdocs://plugin/dir/filename.mm from a plugin's htdocs. ticket://123/filename.mm from an attachment on ticket #123. wiki://WikiWord/filename.mm from an attachment on a wiki page. source://1024/trunk/docs/filename.mm from your SVN repository revision , you can also use HEAD as your revision.
- Give users access to the flash variables through the keyword arguments.