Open Source OPML Class for CocoaAll of this code is really, really old! And not very good! You’re better off looking somewhere else!
What it isIt’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. Read more about OPML at OPML.org. DocumentationThere 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. Change notes1.0b1: 2 August 2002.
© 1995-2009 Brent Simmons
|