Difference between revisions of "XSPF"

From VideoLAN Wiki
Jump to navigation Jump to search
 
(format, expand slightly)
Line 1: Line 1:
XSPF is a playlist in XML format. It is a [http://www.xspf.org/ free and open format] so can be easily, freely used for sharing playlists.
+
{{website|XPSF|http://www.xspf.org/}}
 
+
'''XSPF''', pronounced "spiff", is a [[playlist]] in [[XML]] format, which is supported by [[Xiph]]. It is a free and open format so can be easily, freely used for sharing playlists.
 
 
=What does XSPF look like?=
 
  
 +
== Sample ==
 
A very simple document looks like this:
 
A very simple document looks like this:
 
 
  <?xml version="1.0" encoding="UTF-8"?>
 
  <?xml version="1.0" encoding="UTF-8"?>
 
   <playlist version="1" xmlns="http://xspf.org/ns/0/">
 
   <playlist version="1" xmlns="http://xspf.org/ns/0/">
Line 15: Line 13:
 
   </playlist>
 
   </playlist>
  
 +
== Compatability ==
 +
{{compat}}
 +
 +
== See also ==
 
There are many advantages to using XML as the format.
 
There are many advantages to using XML as the format.
More information is available at [http://www.xiph.org/ Xiph.org's] [http://www.xspf.org/quickstart/ '''XSPF''' project website].
+
More information is available at
 +
* [http://www.xiph.org/ Xiph.org]
 +
* [http://www.xspf.org/quickstart/ XSPF project website].
 +
 
 +
[[Category:Playlist]]

Revision as of 09:33, 19 March 2007

XSPF, pronounced "spiff", is a playlist in XML format, which is supported by Xiph. It is a free and open format so can be easily, freely used for sharing playlists.

Sample

A very simple document looks like this:

<?xml version="1.0" encoding="UTF-8"?>
 <playlist version="1" xmlns="http://xspf.org/ns/0/">
    <trackList>
        <track><location>file:///mp3s/song_1.mp3</location></track>
        <track><location>file:///mp3s/song_2.mp3</location></track>
        <track><location>file:///mp3s/song_3.mp3</location></track>
    </trackList>
 </playlist>

Compatability

Do you know more about the compatibility of XSPF? Please add it here

See also

There are many advantages to using XML as the format. More information is available at