Code Monkey home page Code Monkey logo

opml2json's Introduction

opml2json

A simple tool to convert opml files exported by Mindnode Pro to JSON consumable by D3 Javascript library.

What can I do with D3?

Look at some of the amazing stuff you can do with D3: examples are here

Why is this useful?

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

Usage

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

Testing

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:

Screenshot

Scenarios

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.

Prerequisites

You need Node.js installed on your computer

opml2json's People

Contributors

codechime avatar nilsjesper avatar vchatterji avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

opml2json's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.