Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#551 Exporting Maps in command line mode

_FreeMind_0.9.0
open
5
2011-06-21
2007-09-01
ejbg
No

Dear all,

Could it be possible to export Freemind maps from the command line mode, instead of doing it in once the GUI has started.

That way it would be possible to recursively (in batch mode) generate XHTML or other document types in a non interactive mode from one or several Freemind maps.

Thanks

Discussion

  • Joschi
    Joschi
    2007-09-14

    Logged In: YES
    user_id=1131415
    Originator: NO

    Hm exporting to xml or xhtml is possible if you use Xalan on command line for example

    java -cp xalan.jar org.apache.xalan.xslt.Process -IN yourmap.mm -XSL mm2xhtml.xsl > theoutput.xhtml

    or something.

    For generating PNG, JPEG or PDF there is a bit more to do ;)

     
  • xverges
    xverges
    2010-03-19

    I also would love to have the ability to export to PDF from the command line.

    I think that PDFs are the mean with less friction to reach audiences unfamiliar with mindmapping, and would love to have this as part of my build process

     
  • Michael Nischt
    Michael Nischt
    2010-05-12

    an ant task or maven plug-in would be great too!

     
  • Drew Perttula
    Drew Perttula
    2011-06-17

    With xsltproc on my ubuntu install, this looks like:

    xsltproc -o out.html /usr/share/freemind/accessories/toxhtml.xsl input.mm

    Then arrange for the static files to be in the same dir as out.html. This includes

    icons, ilink.png, marktree.js, minus.png, plus.png, treestyles.css

    Some of those appear to be in /usr/share/freemind/accessories. It may be more convenient to do a GUI export once and get all the static files from the *.html_files dir that is created. Then use xsltproc to update your out.html file after that.

    Thanks dh1jc for the hints.

     
  • Hi,

    the implementation has recently started in that way, that you may specify a groovy script to be executed with every map opened at startup. With this script, a PDF is already possible.

    HTH, Chris

     
    • assigned_to: nobody --> christianfoltin