summaryrefslogtreecommitdiff
path: root/templates/moontv.fi/videopage.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/moontv.fi/videopage.xsl')
-rw-r--r--templates/moontv.fi/videopage.xsl4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/moontv.fi/videopage.xsl b/templates/moontv.fi/videopage.xsl
index 9fa6108..32bfab2 100644
--- a/templates/moontv.fi/videopage.xsl
+++ b/templates/moontv.fi/videopage.xsl
@@ -7,8 +7,8 @@
<xsl:template match="/">
<mediaurl>
<!-- Jakson/ohjelman nimi -->
- <title><xsl:value-of select="normalize-space(concat(substring-before(//div[@id='single-entry']/h3, '&#8211;'), ' - ' , substring-after(//div[@id='single-entry']/h3, '&#8211;')))"/></title>
- <url priority="50"><xsl:value-of select='substring-before(substring-after(//div[@id="single-entry"]/script, "file&apos;,&apos;"), "&apos;")'/></url>
+ <title><xsl:value-of select="normalize-space(/html/head/meta[@property='og:title']/@content)"/></title>
+ <url priority="50"><xsl:value-of select="substring-before(substring-after(/html/head/meta[@property='og:video']/@content, 'file='), '&amp;')"/></url>
</mediaurl>
</xsl:template>