summaryrefslogtreecommitdiff
path: root/templates/yleareena/description.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/yleareena/description.xsl')
-rw-r--r--templates/yleareena/description.xsl31
1 files changed, 31 insertions, 0 deletions
diff --git a/templates/yleareena/description.xsl b/templates/yleareena/description.xsl
new file mode 100644
index 0000000..2340cb2
--- /dev/null
+++ b/templates/yleareena/description.xsl
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<xsl:stylesheet version="1.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+
+<xsl:template match="/">
+<wvmenu>
+ <title><xsl:value-of select="normalize-space(//h1[@class='cliptitle'])"/></title>
+ <textarea>
+ <label><xsl:value-of select="normalize-space(id('relatedinfo')//div[@class='relatedinfo-text description'])"/></label>
+ </textarea>
+ <textarea>
+ <!-- Kesto -->
+ <label><xsl:value-of select="id('relatedinfo')/div/div/div[@class='relatedinfo-text meta']/ul/li[contains(., 'Kesto')]"/></label>
+ </textarea>
+ <textarea>
+ <!-- Julkaistu -->
+ <label><xsl:value-of select="id('relatedinfo-more')/div/div[1]/ul/li[contains(., 'Julkaistu')]"/></label>
+ </textarea>
+ <textarea>
+ <!-- Kieli -->
+ <label><xsl:value-of select="id('relatedinfo-more')/div/div[2]/ul[1]/li[1]"/></label>
+ </textarea>
+ <textarea>
+ <!-- Kanava -->
+ <label><xsl:value-of select="id('relatedinfo')//div[@class='relatedinfo-text meta']/ul/li[1]"/></label>
+ </textarea>
+</wvmenu>
+</xsl:template>
+
+</xsl:stylesheet>