inessential by Brent Simmons

Open source Cocoa OPML class

What’s this?

It’s a screen shot of a test app for a Cocoa class that parses OPML files. The OPML class I developed for NetNewsWire—so that it could import subscriptions files—is now available as Open Source (BSD license).

Of course, the more interesting use for OPML is web directories. This little test app has everything you need to get started on creating a cool directory browser—it shows not just how to parse OPML but how to hook it up to an outline view and how to make headlines double-clickable (so they open in the browser). Very simple. I hope someone takes it and runs with it.

Note that it’s not an OPML editor, just a reader. Creating a mutable OPML class is left as an exercise.