summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorAntti Ajanki <antti.ajanki@iki.fi>2010-11-13 17:52:28 +0200
committerAntti Ajanki <antti.ajanki@iki.fi>2010-11-13 17:52:28 +0200
commit989e484ce4351e10db4dd073b346b739d5ed67cc (patch)
treeccf5066fc363edad659ab386862f33f86b630a10 /templates
parentc908ce13a73dfbe536ef8441df73ed1cda5f812f (diff)
downloadvdr-plugin-webvideo-989e484ce4351e10db4dd073b346b739d5ed67cc.tar.gz
vdr-plugin-webvideo-989e484ce4351e10db4dd073b346b739d5ed67cc.tar.bz2
fixed google search
Diffstat (limited to 'templates')
-rw-r--r--templates/video.google.com/searchresults.xsl4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/video.google.com/searchresults.xsl b/templates/video.google.com/searchresults.xsl
index 5069825..806c60e 100644
--- a/templates/video.google.com/searchresults.xsl
+++ b/templates/video.google.com/searchresults.xsl
@@ -9,7 +9,7 @@
<title>Search results</title>
<xsl:choose>
- <xsl:when test="not(//li[@class='g videobox s']/table/tr/td/h3/a)">
+ <xsl:when test="not(//li[contains(@class, 'videobox')]//td/h3/a)">
<textarea>
<label>
<xsl:text>Your search did not return any results.</xsl:text>
@@ -18,7 +18,7 @@
</xsl:when>
<xsl:otherwise>
- <xsl:for-each select="//li[@class='g videobox s']/table/tr/td/h3/a">
+ <xsl:for-each select="//li[contains(@class, 'videobox')]//td/h3/a">
<xsl:choose>
<xsl:when test="starts-with(@href, 'http://www.youtube.com/')">
<link>