diff options
author | yvesf <yvesf-git@xapek.org> | 2011-07-16 11:49:01 +0200 |
---|---|---|
committer | yvesf <yvesf-git@xapek.org> | 2011-07-16 11:49:01 +0200 |
commit | 6ba7fa0dba08d1b91cf42a8a797b7f5ad44ec217 (patch) | |
tree | 806679f70f30b2a2e4fd3ffd8a1215af05f8b9f1 /myspace/tracklist.xsl | |
parent | fade859723fa5b4607fd060c0b1778854d680144 (diff) | |
download | scripts-6ba7fa0dba08d1b91cf42a8a797b7f5ad44ec217.tar.gz scripts-6ba7fa0dba08d1b91cf42a8a797b7f5ad44ec217.zip |
reorganize files; add micromusic download
Diffstat (limited to 'myspace/tracklist.xsl')
-rw-r--r-- | myspace/tracklist.xsl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/myspace/tracklist.xsl b/myspace/tracklist.xsl new file mode 100644 index 0000000..6a415a9 --- /dev/null +++ b/myspace/tracklist.xsl @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?><xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fuck="http://xspf.org/ns/0/"><xsl:output method="text"/><xsl:template match="/"><xsl:for-each select="fuck:playlist/fuck:trackList/fuck:track"><xsl:value-of select="translate(translate(fuck:song/@songId, ' ', '_'), ';', '_')"/>;<xsl:value-of select="translate(translate(fuck:song/@albumId, ' ', '_'), ';', ' ')"/>;<xsl:value-of select="fuck:song/@releaseId"/>;<xsl:value-of select="translate(translate(fuck:title, ' ','_') , ';', '_')"/>;<xsl:value-of select="translate(translate(fuck:song/fuck:artists/fuck:artist[1]/@name, ';', '_'), ' ', '_')"/> +<xsl:text> +</xsl:text> + </xsl:for-each> + </xsl:template> +</xsl:stylesheet> |