Convert OPML to JSON
by Dave Winer Tuesday, October 11, 2016

A friend needed a utility to create JSON from an OPML outline. 

I had all the code I needed in various projects, so I slapped something together. You might find it useful, so here it is! ;-)

You can also call it with a parameter. An example

It remembers the last URL in localStorage, if you have cookies turned on.

Pretty simple. 

Update #1

Soon after I posted this, I realized I had only done part of the job. I wasn't copying in the informationer from the <head> section of the OPML, just the <body>.

I also display the version number in the upper right corner of the page. This is v0.41a.

I also turned on comments for this post in case people see any problems with the app.