Personal tools

Xspf

From MohidWiki

Jump to: navigation, search

Xspf is also known as XML shareable playlist format and is an xml file containing a list of mp3 files URL addresses. It's an adequate tool for sharing music on the web or in this wiki.

xspf music player

<xspf>http://www.mohid.com/wiki/xspf/wwwestemonnet.xspf</xspf>

Embed in html code

<embed 
src="http://yourdomain.net/xspf_player.swf?playlist_url=http://yourdomain.net/playlist.xspf"
quality="high" bgcolor="#E6E6E6" name="xspf_player" allowscriptaccess="sameDomain"
type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"
align="center" height="120px" width="140px">
</embed>

Download

The smartest way is probably by using the download all links tool from your favorite browser. Here's the bookmark that transforms xspf playlists into html pages:

http://www.w3.org/2000/06/webdata/xslt
?xslfile=http://pointpt.user.openhosting.com/~guillaume/xspf2html.xsl
&xmlfile=%s
&transform=Submit

Simply replace the %s string with the xspf playlist url.

External References