Exported OPML file is not correct XML [#6231]

This forum is for reporting bugs in MediaMonkey for Windows 4. Note that version 4 is no longer actively maintained as it has been replaced by version 5.

Moderator: Gurus

momander
Posts: 3
Joined: Wed Dec 23, 2009 2:03 am

Exported OPML file is not correct XML [#6231]

Post by momander »

How to reproduce
1. Add a few podcast feeds.
2. Select Tools / Scripts / Export subscribed podcasts.

Result
The exported file is not strict XML because it's missing the initial <?xml?> element. This means other apps that require strict XML, like Android apps, can't process the file.

Expected result
A strictly correct XML file, which requires this to be the first line:
<?xml version='1.0' ?>

Environment
WinXP SP2, MediaMonkey 3.1.1.1261 Standard Edition

Happy Holidays!

/Martin
Ludek
Posts: 5105
Joined: Fri Mar 09, 2007 9:00 am

Re: Exported OPML file is not correct XML

Post by Ludek »

It is OPML file, see http://www.opml.org/spec2
including
<opml version="1.0">

if you want to do a XML file from it you can by modifing the
MediaMonkey/Scripts/ExportOPML.vbs
momander
Posts: 3
Joined: Wed Dec 23, 2009 2:03 am

Re: Exported OPML file is not correct XML

Post by momander »

How about that -- I didn't know OPML wasn't an XML format. Thanks for the pointer about how to tweak the export function.

All the best,

/Martin
momander
Posts: 3
Joined: Wed Dec 23, 2009 2:03 am

Re: Exported OPML file is not correct XML

Post by momander »

I read the OPML spec at http://www.opml.org/spec2. All the example OPML files on that page started with the line

<?xml version="1.0" encoding="ISO-8859-1"?>

But exports from MediaMonkey v3.1.1.1261 don't include that initial line. So it still looks like a MediaMonkey bug to me. What do you think? Am I missing something?

/Martin
Ludek
Posts: 5105
Joined: Fri Mar 09, 2007 9:00 am

Re: Exported OPML file is not correct XML

Post by Ludek »

Post Reply