From 2adcf3b5d24ea3c39cd5777570c94cf19243f61d Mon Sep 17 00:00:00 2001 From: Antti Ajanki Date: Sat, 2 Jun 2012 09:54:03 +0300 Subject: Fix MoonTV --- templates/moontv.fi/description.xsl | 8 ++------ templates/moontv.fi/videopage.xsl | 4 ++-- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/templates/moontv.fi/description.xsl b/templates/moontv.fi/description.xsl index 6665f7f..264284d 100644 --- a/templates/moontv.fi/description.xsl +++ b/templates/moontv.fi/description.xsl @@ -5,13 +5,9 @@ - <xsl:value-of select="normalize-space(concat(substring-before(//div[@id='single-entry']/h3, '–'), ' - ' , substring-after(//div[@id='single-entry']/h3, '–')))"/> + <xsl:value-of select="normalize-space(/html/head/meta[@property='og:title']/@content)"/> - 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:value-of select="normalize-space(concat(substring-before(//div[@id='single-entry']/h3, '–'), ' - ' , substring-after(//div[@id='single-entry']/h3, '–')))"/> - + <xsl:value-of select="normalize-space(/html/head/meta[@property='og:title']/@content)"/> + -- cgit v1.2.3