Open Source OPML Class for Cocoa

What it is

It’s a simple Open Source (BSD license) app with source code that includes a class for parsing OPML files.

(This OPML class is used in NetNewsWire to support importing and exporting subscription lists.)

Here’s a screen shot of the app itself. You type in a URL, then the app downloads and parses the OPML, then it displays it in an outline. Any headline with a globe has an associated URL: just double-click the headline to go there in your browser.

Documentation

There isn’t any, yet—but the class is easy to use, and the app shows how to parse OPML and hook it up to an NSOutlineView.

What about Carbon?

Since CoreFoundation routines are used to parse the XML, it should be possible to adapt this for Carbon. Though I probably won’t do it, if you do, you’re totally encouraged (though not required) to send me your changes so I can add it to the release.