throws MalformedURLException
{
StandardGuide guide = new StandardGuide();
ReadingList list = new ReadingList(new URL("file://test"));
guide.add(list);
DirectFeed feedDyn = new DirectFeed();
feedDyn.setBaseTitle("dyn");
feedDyn.setXmlURL(new URL("file://dyn"));
list.add(feedDyn);
DirectFeed feedStat = new DirectFeed();
feedStat.setBaseTitle("stat");
feedStat.setXmlURL(new URL("file://stat"));
guide.add(feedStat);
// Checking
OPMLGuide opmlGuide = Converter.convertToOPML(guide);
OPMLReadingList[] lists = opmlGuide.getReadingLists();