A simple tool to convert opml files exported by Mindnode Pro to JSON consumable by D3 Javascript library.
Look at some of the amazing stuff you can do with D3: examples are here
Mindnode makes it extremely simple to create trees of information. However, if you want to share that map with anyone, they need Mindnode too which is rather Apple device oriented and expensive. Using this tool, you can export your Mindnode tree to JSON. Then you can use D3 to create an interactive tree which users can see in their browsers.
This is what your Mindnode tree will look like in the browser: see example
You can use the tool from the command line in the following way
sudo node parser.js inputfile.opml outputfile.json
Or from Windows, open a command prompt as Administrator and then
node parser.js inputfile.opml outputfile.json
A sample Mindnode "file" (it is actually a folder) is included with this project. We have used this file with Mindnode Pro and exported to OPML.
The exported OPML file is also provided with the project. Go ahead try out this tool on the OPML file.
A zip archive is also included with includes a sample of the HTML required to use the generated file using D3.
If you run the sample on a server, it will look like the following:
You can create a Mindmap using Mindnode Pro, then press
Command + Shift + E
Select OPML as the output format and save your file.
Then you can use this tool to convert the OPML to JSON.
You need Node.js installed on your computer