blob: 39bef061bf557d100fb87c531180055c5e5474ac (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:str="http://exslt.org/strings">
<xsl:template match="/">
<mediaurl>
<title><xsl:value-of select="concat(id('ruutuVideoInfo')/p[@class='name'], ' ', id('ruutuVideoInfo')/p[@class='timeStamp'])"/></title>
<url priority="50">wvt:///bin/ruutu-dl?contenttype=video/x-flv&arg=<xsl:value-of select='substring-before(substring-after(//script[contains(., "vplayer1")], "providerURL', '"), "'")'/>&arg=<xsl:value-of select="str:encode-uri($docurl, true())"/></url>
</mediaurl>
</xsl:template>
</xsl:stylesheet>
|