[Playlist] XSPF -> RDF - using GRDDL

Daniel O'Connor daniel.oconnor at gmail.com
Sat Oct 11 05:17:20 UTC 2008


Alrighty:
http://motools.svn.sourceforge.net/viewvc/motools/xspf/

1) I've built a bit on Yves' existing XSL, and its reasonably complete in
what it can map.
You can grab a copy with
svn co https://motools.svn.sourceforge.net/svnroot/motools/xspf

and test it with
xsltproc XSPF.xsl <your-document-here>

IE:
~/motools/xspf$ xsltproc XSPF.xsl data/XSPFtest.xml




2) I created a RDF document which is suitable to live at
http://xspf.org/ns/0/ ; along with XSPF.xsl
I also created about.xsl, which renders out a disambiguation page for
Humans; and its linked to the RDF document.
It's quick, and nasty, but you don't have to deal with content negotiation.



So; if those files started living at http://xspf.org/ns/0/ ; the way to test
it would be to check

http://triplr.org/rdf/www.preachtheword.com/playlist.xspf

... produces RDF
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.musicbrainz.org/pipermail/playlist/attachments/20081011/e94663cb/attachment.htm 


More information about the Playlist mailing list