The Tao of Mac - PHP/Techniques/Parsing OPML Files
"The following PHP functions (designed as class members) can parse (and write) OPML files in a way NetNewsWire can understand"