diff options
Diffstat (limited to 'templates/moontv.fi/videopage.xsl')
-rw-r--r-- | templates/moontv.fi/videopage.xsl | 4 |
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, '–'), ' - ' , substring-after(//div[@id='single-entry']/h3, '–')))"/></title> - <url priority="50"><xsl:value-of select='substring-before(substring-after(//div[@id="single-entry"]/script, "file','"), "'")'/></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='), '&')"/></url> </mediaurl> </xsl:template> |