[Playlist] xspf resolver

Paul Lamere Paul.Lamere at sun.com
Tue Nov 21 20:28:31 UTC 2006


Lucas:

Thanks Lucas - those errors were in the original musicmobs playlist - 
I'm taking the approach of only adding or replacing elements, I'm not 
removing items. Perhaps that's something for the To-Do list - making a 
'strict-mode' that will either reject ill-formed inputs, or fix them up 
so that they conform to the spec.

Speaking of such things, any idea when WebJay will start using version 1 
XSPF files?

Paul



Lucas Gonze wrote:
>
> Hi Paul,
>
> Here are a couple issues that came up when I ran 
> http://research.sun.com:8080/SpiffyContentResolver/convert?input=http://xspf.musicmobs.com/playlist/themadjuggler/A%20Brief%20History%20of%20Indie%20Rock.xspf 
> through the validator at http://xspf.binera.de/ .
>
> Error #1: "Element extension not allowed in XSPF-0."
>
> The fix: change playlist[@version] from 0 to 1.
>
> Error #2: "Element itunesurl not allowed."
>
> The fix: change your <itunesurl> items to something like
> <link rel="http://contentresolver.com/ns/itunesurl">http://...</link>
>
> best,
> Lucas
>
>
>
>
> _______________________________________________
> Playlist mailing list
> Playlist at lists.musicbrainz.org
> http://lists.musicbrainz.org/mailman/listinfo/playlist




More information about the Playlist mailing list