[Playlist] Re: xspf over json

Jay Fienberg siteinfo at icite.net
Fri May 4 23:08:34 UTC 2007


> Date: Thu, 03 May 2007 08:34:33 -0700
> From: Lucas Gonze <lgonze at panix.com>
>
> Jay Fienberg wrote:
>> Some comments embedded below, but to cut to the chase: I also  
>> think it's
>> a good idea for "XSPF" to be the home of code and other information
>> needed for converting between XSPF in its original XML form and in
>> non-XML forms.
>
> Heck.  One way or another we might as well get started -- let's go  
> make
> those libraries and/or web services.
>
> What are the requirements for these programs?  What do they need to  
> do?

I think XSPF will need a high-level, format-agnostic, statement of  
conformance--at the model level. This would describe what XSPF-based  
formats need to do, and provide a conceptual reference for any  
libraries / web services.

Fortunately, most of what needs to be in this statement is already  
written in the XSPF spec:

(from section 5: Requirements for XSPF generators)
	To ensure interoperability, conforming applications MUST generate  
playlists that follow the definitions listed in section 4 (element  
descriptions).

So, the "definitions" in section 4 represent almost all of the  
*model* of XSPF. Additionally, there are a few, relevant, built-in,  
definitions in XML, like XML Base and the ability to use different  
character sets, that fill-out the model.

One thing the libraries / programs all need to do is "conform to  
XSPF." And, some work might need to go into expanding the definition  
of XSPF on xspf.org, to express what conformance means for other  
flavors of XSPF.

***

Also, just came across this somewhat relevant (old) blog post from  
Mark Nottingham, that I thought might be of interest to anyone left  
in this thread:

"Separating the Data Model from its Serialisation"
http://www.mnot.net/blog/2005/08/10/separate

Jay

>
>> as in
>>> Jay Fienberg
>>>> http://jayfienberg.com
>>>
>>
>


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.musicbrainz.org/pipermail/playlist/attachments/20070504/eaf79ee8/attachment.htm


More information about the Playlist mailing list