XSPF Namespace Document

This is the namespace of XSPF.

There is documentation and a GRDDL namespace transformation available.

Example XSPF

The below is an example XSPF playlist
<?xml version="1.0" encoding="utf-8"?>
<playlist version="1" xmlns="http://xspf.org/ns/0/">

  <title>My playlist</title>

  <creator>Jane Doe</creator>
  <annotation>My favorite songs</annotation>
  <info>http://example.com/myplaylists</info>
  <location>http://example.com/myplaylists/myplaylist</location>
  <identifier>magnet:?xt=urn:sha1:YNCKHTQCWBTRNJIV4WNAE52SJUQCZO5C</identifier>
  <image>http://example.com/img/mypicture</image>
  <date>2005-01-08T17:10:47-05:00</date>
  <license>http://creativecommons.org/licenses/by/1.0/</license>
  <attribution>
    <identifier>http://bar.com/secondderived.xspf</identifier>
    <location>http://foo.com/original.xspf</location>
  </attribution>
  <link rel="http://foaf.example.org/namespace/version1">http://socialnetwork.example.org/foaf/mary.rdfs</link>
  <meta rel="http://example.org/key">value</meta>
  <extension application="http://example.com">
    <clip start="25000" end="34500"/>
  </extension>

<trackList>

    <track>

      <location>http://example.com/my.mp3</location>
      <identifier>magnet:?xt=urn:sha1:YNCKHTQCWBTRNJIV4WNAE52SJUQCZO5C</identifier>
      <title>My Way</title>
      <creator>Frank Sinatra</creator>
      <annotation>This is my theme song.</annotation>
      <info>http://franksinatra.com/myway</info>
      <image>http://franksinatra.com/img/myway</image>
      <album>Frank Sinatra's Greatest Hits</album>
      <trackNum>3</trackNum>
      <duration>19200</duration>
      <link rel="http://foaf.org/namespace/version1">http://socialnetwork.org/foaf/mary.rdfs</link>
      <meta rel="http://example.org/key">value</meta>
      <extension application="http://example.com">
        <clip start="25000" end="34500"/>
      </extension>

    </track>

  </trackList>


</playlist>