From 4770a7e7d1a06fcea280382c546ae38cf4fd084e Mon Sep 17 00:00:00 2001 From: Antti Ajanki Date: Sun, 24 Oct 2010 21:05:47 +0300 Subject: rename template directories and add videopage.xsl to each template --- templates/areena.yle.fi/description.xsl | 31 +++++++ templates/areena.yle.fi/livebroadcasts.xsl | 46 ++++++++++ templates/areena.yle.fi/livestream.xsl | 23 +++++ templates/areena.yle.fi/mainmenu.xsl | 35 ++++++++ templates/areena.yle.fi/navigation.xsl | 119 ++++++++++++++++++++++++++ templates/areena.yle.fi/programlist.xsl | 22 +++++ templates/areena.yle.fi/search.xsl | 45 ++++++++++ templates/areena.yle.fi/service.xml | 7 ++ templates/areena.yle.fi/video.xsl | 27 ++++++ templates/areena.yle.fi/videopage.xsl | 16 ++++ templates/google/description.xsl | 22 ----- templates/google/search.xsl | 36 -------- templates/google/searchresults.xsl | 78 ----------------- templates/google/service.xml | 7 -- templates/google/video.xsl | 19 ----- templates/katsomo.fi/mainmenu.xsl | 26 ++++++ templates/katsomo.fi/navigation.xsl | 48 +++++++++++ templates/katsomo.fi/search.xsl | 23 +++++ templates/katsomo.fi/searchresults.xsl | 32 +++++++ templates/katsomo.fi/service.xml | 7 ++ templates/katsomo.fi/video.xsl | 18 ++++ templates/katsomo/mainmenu.xsl | 26 ------ templates/katsomo/navigation.xsl | 48 ----------- templates/katsomo/search.xsl | 23 ----- templates/katsomo/searchresults.xsl | 32 ------- templates/katsomo/service.xml | 7 -- templates/katsomo/video.xsl | 18 ---- templates/metacafe/categories.xsl | 33 -------- templates/metacafe/channellist.xsl | 22 ----- templates/metacafe/description.xsl | 47 ----------- templates/metacafe/navigation.xsl | 36 -------- templates/metacafe/search.xsl | 36 -------- templates/metacafe/service.xml | 7 -- templates/metacafe/video.xsl | 14 ---- templates/moontv.fi/description.xsl | 19 +++++ templates/moontv.fi/mainmenu.xsl | 23 +++++ templates/moontv.fi/navigation.xsl | 20 +++++ templates/moontv.fi/programlist.xsl | 20 +++++ templates/moontv.fi/rss.xsl | 28 +++++++ templates/moontv.fi/service.xml | 7 ++ templates/moontv.fi/videopage.xsl | 15 ++++ templates/moontv/description.xsl | 19 ----- templates/moontv/mainmenu.xsl | 23 ----- templates/moontv/navigation.xsl | 20 ----- templates/moontv/programlist.xsl | 20 ----- templates/moontv/rss.xsl | 28 ------- templates/moontv/service.xml | 7 -- templates/moontv/video.xsl | 15 ---- templates/ruutufi/description.xsl | 51 ------------ templates/ruutufi/mainmenu.xsl | 34 -------- templates/ruutufi/program.xsl | 120 --------------------------- templates/ruutufi/search.xsl | 23 ----- templates/ruutufi/series.xsl | 28 ------- templates/ruutufi/service.xml | 7 -- templates/ruutufi/video.xsl | 27 ------ templates/ruutufi/video2.xsl | 15 ---- templates/subtv/description.xsl | 32 ------- templates/subtv/mainmenu.xsl | 21 ----- templates/subtv/navigation.xsl | 42 ---------- templates/subtv/service.xml | 7 -- templates/subtv/video.xsl | 19 ----- templates/svtplay.se/categories.xsl | 19 +++++ templates/svtplay.se/description.xsl | 41 +++++++++ templates/svtplay.se/navigation.xsl | 74 +++++++++++++++++ templates/svtplay.se/programmenu.xsl | 56 +++++++++++++ templates/svtplay.se/service.xml | 7 ++ templates/svtplay.se/videopage.xsl | 24 ++++++ templates/svtplay/categories.xsl | 19 ----- templates/svtplay/description.xsl | 41 --------- templates/svtplay/navigation.xsl | 74 ----------------- templates/svtplay/programmenu.xsl | 56 ------------- templates/svtplay/service.xml | 7 -- templates/svtplay/video.xsl | 24 ------ templates/video.google.com/description.xsl | 22 +++++ templates/video.google.com/search.xsl | 36 ++++++++ templates/video.google.com/searchresults.xsl | 78 +++++++++++++++++ templates/video.google.com/service.xml | 7 ++ templates/video.google.com/videopage.xsl | 19 +++++ templates/vimeo.com/channels.xsl | 33 ++++++++ templates/vimeo.com/description.xsl | 59 +++++++++++++ templates/vimeo.com/groups.xsl | 33 ++++++++ templates/vimeo.com/mainmenu.xsl | 28 +++++++ templates/vimeo.com/navigation.xsl | 22 +++++ templates/vimeo.com/search.xsl | 30 +++++++ templates/vimeo.com/searchresults.xsl | 36 ++++++++ templates/vimeo.com/service.xml | 7 ++ templates/vimeo.com/video.xsl | 14 ++++ templates/vimeo.com/videopage.xsl | 20 +++++ templates/vimeo/channels.xsl | 33 -------- templates/vimeo/description.xsl | 59 ------------- templates/vimeo/groups.xsl | 33 -------- templates/vimeo/mainmenu.xsl | 28 ------- templates/vimeo/navigation.xsl | 22 ----- templates/vimeo/search.xsl | 30 ------- templates/vimeo/searchresults.xsl | 36 -------- templates/vimeo/service.xml | 7 -- templates/vimeo/video.xsl | 14 ---- templates/www.metacafe.com/categories.xsl | 33 ++++++++ templates/www.metacafe.com/channellist.xsl | 22 +++++ templates/www.metacafe.com/description.xsl | 47 +++++++++++ templates/www.metacafe.com/navigation.xsl | 36 ++++++++ templates/www.metacafe.com/search.xsl | 36 ++++++++ templates/www.metacafe.com/service.xml | 7 ++ templates/www.metacafe.com/videopage.xsl | 14 ++++ templates/www.ruutu.fi/description.xsl | 51 ++++++++++++ templates/www.ruutu.fi/mainmenu.xsl | 34 ++++++++ templates/www.ruutu.fi/program.xsl | 120 +++++++++++++++++++++++++++ templates/www.ruutu.fi/search.xsl | 23 +++++ templates/www.ruutu.fi/series.xsl | 28 +++++++ templates/www.ruutu.fi/service.xml | 7 ++ templates/www.ruutu.fi/video.xsl | 31 +++++++ templates/www.ruutu.fi/videopage.xsl | 20 +++++ templates/www.sub.fi/description.xsl | 32 +++++++ templates/www.sub.fi/mainmenu.xsl | 21 +++++ templates/www.sub.fi/navigation.xsl | 42 ++++++++++ templates/www.sub.fi/service.xml | 7 ++ templates/www.sub.fi/video.xsl | 24 ++++++ templates/www.sub.fi/videopage.xsl | 16 ++++ templates/www.vimeo.com/videopage.xsl | 20 +++++ templates/www.youtube.com/categories.xsl | 29 +++++++ templates/www.youtube.com/description.xsl | 73 ++++++++++++++++ templates/www.youtube.com/navigation.xsl | 62 ++++++++++++++ templates/www.youtube.com/search.xsl | 39 +++++++++ templates/www.youtube.com/service.xml | 7 ++ templates/www.youtube.com/video.xsl | 84 +++++++++++++++++++ templates/www.youtube.com/videopage.xsl | 19 +++++ templates/yleareena/description.xsl | 31 ------- templates/yleareena/livebroadcasts.xsl | 46 ---------- templates/yleareena/livestream.xsl | 23 ----- templates/yleareena/mainmenu.xsl | 35 -------- templates/yleareena/navigation.xsl | 119 -------------------------- templates/yleareena/programlist.xsl | 22 ----- templates/yleareena/search.xsl | 45 ---------- templates/yleareena/service.xml | 7 -- templates/yleareena/video.xsl | 18 ---- templates/youtube/categories.xsl | 29 ------- templates/youtube/description.xsl | 73 ---------------- templates/youtube/navigation.xsl | 62 -------------- templates/youtube/search.xsl | 39 --------- templates/youtube/service.xml | 7 -- templates/youtube/video.xsl | 72 ---------------- 141 files changed, 2306 insertions(+), 2180 deletions(-) create mode 100644 templates/areena.yle.fi/description.xsl create mode 100644 templates/areena.yle.fi/livebroadcasts.xsl create mode 100644 templates/areena.yle.fi/livestream.xsl create mode 100644 templates/areena.yle.fi/mainmenu.xsl create mode 100644 templates/areena.yle.fi/navigation.xsl create mode 100644 templates/areena.yle.fi/programlist.xsl create mode 100644 templates/areena.yle.fi/search.xsl create mode 100644 templates/areena.yle.fi/service.xml create mode 100644 templates/areena.yle.fi/video.xsl create mode 100644 templates/areena.yle.fi/videopage.xsl delete mode 100644 templates/google/description.xsl delete mode 100644 templates/google/search.xsl delete mode 100644 templates/google/searchresults.xsl delete mode 100644 templates/google/service.xml delete mode 100644 templates/google/video.xsl create mode 100644 templates/katsomo.fi/mainmenu.xsl create mode 100644 templates/katsomo.fi/navigation.xsl create mode 100644 templates/katsomo.fi/search.xsl create mode 100644 templates/katsomo.fi/searchresults.xsl create mode 100644 templates/katsomo.fi/service.xml create mode 100644 templates/katsomo.fi/video.xsl delete mode 100644 templates/katsomo/mainmenu.xsl delete mode 100644 templates/katsomo/navigation.xsl delete mode 100644 templates/katsomo/search.xsl delete mode 100644 templates/katsomo/searchresults.xsl delete mode 100644 templates/katsomo/service.xml delete mode 100644 templates/katsomo/video.xsl delete mode 100644 templates/metacafe/categories.xsl delete mode 100644 templates/metacafe/channellist.xsl delete mode 100644 templates/metacafe/description.xsl delete mode 100644 templates/metacafe/navigation.xsl delete mode 100644 templates/metacafe/search.xsl delete mode 100644 templates/metacafe/service.xml delete mode 100644 templates/metacafe/video.xsl create mode 100644 templates/moontv.fi/description.xsl create mode 100644 templates/moontv.fi/mainmenu.xsl create mode 100644 templates/moontv.fi/navigation.xsl create mode 100644 templates/moontv.fi/programlist.xsl create mode 100644 templates/moontv.fi/rss.xsl create mode 100644 templates/moontv.fi/service.xml create mode 100644 templates/moontv.fi/videopage.xsl delete mode 100644 templates/moontv/description.xsl delete mode 100644 templates/moontv/mainmenu.xsl delete mode 100644 templates/moontv/navigation.xsl delete mode 100644 templates/moontv/programlist.xsl delete mode 100644 templates/moontv/rss.xsl delete mode 100644 templates/moontv/service.xml delete mode 100644 templates/moontv/video.xsl delete mode 100644 templates/ruutufi/description.xsl delete mode 100644 templates/ruutufi/mainmenu.xsl delete mode 100644 templates/ruutufi/program.xsl delete mode 100644 templates/ruutufi/search.xsl delete mode 100644 templates/ruutufi/series.xsl delete mode 100644 templates/ruutufi/service.xml delete mode 100644 templates/ruutufi/video.xsl delete mode 100644 templates/ruutufi/video2.xsl delete mode 100644 templates/subtv/description.xsl delete mode 100644 templates/subtv/mainmenu.xsl delete mode 100644 templates/subtv/navigation.xsl delete mode 100644 templates/subtv/service.xml delete mode 100644 templates/subtv/video.xsl create mode 100644 templates/svtplay.se/categories.xsl create mode 100644 templates/svtplay.se/description.xsl create mode 100644 templates/svtplay.se/navigation.xsl create mode 100644 templates/svtplay.se/programmenu.xsl create mode 100644 templates/svtplay.se/service.xml create mode 100644 templates/svtplay.se/videopage.xsl delete mode 100644 templates/svtplay/categories.xsl delete mode 100644 templates/svtplay/description.xsl delete mode 100644 templates/svtplay/navigation.xsl delete mode 100644 templates/svtplay/programmenu.xsl delete mode 100644 templates/svtplay/service.xml delete mode 100644 templates/svtplay/video.xsl create mode 100644 templates/video.google.com/description.xsl create mode 100644 templates/video.google.com/search.xsl create mode 100644 templates/video.google.com/searchresults.xsl create mode 100644 templates/video.google.com/service.xml create mode 100644 templates/video.google.com/videopage.xsl create mode 100644 templates/vimeo.com/channels.xsl create mode 100644 templates/vimeo.com/description.xsl create mode 100644 templates/vimeo.com/groups.xsl create mode 100644 templates/vimeo.com/mainmenu.xsl create mode 100644 templates/vimeo.com/navigation.xsl create mode 100644 templates/vimeo.com/search.xsl create mode 100644 templates/vimeo.com/searchresults.xsl create mode 100644 templates/vimeo.com/service.xml create mode 100644 templates/vimeo.com/video.xsl create mode 100644 templates/vimeo.com/videopage.xsl delete mode 100644 templates/vimeo/channels.xsl delete mode 100644 templates/vimeo/description.xsl delete mode 100644 templates/vimeo/groups.xsl delete mode 100644 templates/vimeo/mainmenu.xsl delete mode 100644 templates/vimeo/navigation.xsl delete mode 100644 templates/vimeo/search.xsl delete mode 100644 templates/vimeo/searchresults.xsl delete mode 100644 templates/vimeo/service.xml delete mode 100644 templates/vimeo/video.xsl create mode 100644 templates/www.metacafe.com/categories.xsl create mode 100644 templates/www.metacafe.com/channellist.xsl create mode 100644 templates/www.metacafe.com/description.xsl create mode 100644 templates/www.metacafe.com/navigation.xsl create mode 100644 templates/www.metacafe.com/search.xsl create mode 100644 templates/www.metacafe.com/service.xml create mode 100644 templates/www.metacafe.com/videopage.xsl create mode 100644 templates/www.ruutu.fi/description.xsl create mode 100644 templates/www.ruutu.fi/mainmenu.xsl create mode 100644 templates/www.ruutu.fi/program.xsl create mode 100644 templates/www.ruutu.fi/search.xsl create mode 100644 templates/www.ruutu.fi/series.xsl create mode 100644 templates/www.ruutu.fi/service.xml create mode 100644 templates/www.ruutu.fi/video.xsl create mode 100644 templates/www.ruutu.fi/videopage.xsl create mode 100644 templates/www.sub.fi/description.xsl create mode 100644 templates/www.sub.fi/mainmenu.xsl create mode 100644 templates/www.sub.fi/navigation.xsl create mode 100644 templates/www.sub.fi/service.xml create mode 100644 templates/www.sub.fi/video.xsl create mode 100644 templates/www.sub.fi/videopage.xsl create mode 100644 templates/www.vimeo.com/videopage.xsl create mode 100644 templates/www.youtube.com/categories.xsl create mode 100644 templates/www.youtube.com/description.xsl create mode 100644 templates/www.youtube.com/navigation.xsl create mode 100644 templates/www.youtube.com/search.xsl create mode 100644 templates/www.youtube.com/service.xml create mode 100644 templates/www.youtube.com/video.xsl create mode 100644 templates/www.youtube.com/videopage.xsl delete mode 100644 templates/yleareena/description.xsl delete mode 100644 templates/yleareena/livebroadcasts.xsl delete mode 100644 templates/yleareena/livestream.xsl delete mode 100644 templates/yleareena/mainmenu.xsl delete mode 100644 templates/yleareena/navigation.xsl delete mode 100644 templates/yleareena/programlist.xsl delete mode 100644 templates/yleareena/search.xsl delete mode 100644 templates/yleareena/service.xml delete mode 100644 templates/yleareena/video.xsl delete mode 100644 templates/youtube/categories.xsl delete mode 100644 templates/youtube/description.xsl delete mode 100644 templates/youtube/navigation.xsl delete mode 100644 templates/youtube/search.xsl delete mode 100644 templates/youtube/service.xml delete mode 100644 templates/youtube/video.xsl diff --git a/templates/areena.yle.fi/description.xsl b/templates/areena.yle.fi/description.xsl new file mode 100644 index 0000000..2340cb2 --- /dev/null +++ b/templates/areena.yle.fi/description.xsl @@ -0,0 +1,31 @@ + + + + + + + <xsl:value-of select="normalize-space(//h1[@class='cliptitle'])"/> + + + + + + + + + diff --git a/templates/areena.yle.fi/livebroadcasts.xsl b/templates/areena.yle.fi/livebroadcasts.xsl new file mode 100644 index 0000000..c29ad09 --- /dev/null +++ b/templates/areena.yle.fi/livebroadcasts.xsl @@ -0,0 +1,46 @@ + + + + + + + + + + + wvt:///areena.yle.fi/livestream.xsl?param=stream, + + + + + + + + wvt:///areena.yle.fi/livestream.xsl?param=stream, + + + + + + + + + + + Suorat lähetykset + + + + + + + + + + + diff --git a/templates/areena.yle.fi/livestream.xsl b/templates/areena.yle.fi/livestream.xsl new file mode 100644 index 0000000..b6d7ee2 --- /dev/null +++ b/templates/areena.yle.fi/livestream.xsl @@ -0,0 +1,23 @@ + + + + + + + + + livestream-<xsl:value-of select="$stream"/> + + + wvt:///bin/yle-dl?contenttype=video/x-flv&arg=http%3A//areena.yle.fi/player/index.php%3Fstream%3D%26language%3Dfi + + + + + + + + + + diff --git a/templates/areena.yle.fi/mainmenu.xsl b/templates/areena.yle.fi/mainmenu.xsl new file mode 100644 index 0000000..e16ae0b --- /dev/null +++ b/templates/areena.yle.fi/mainmenu.xsl @@ -0,0 +1,35 @@ + + + + + + + YLE Areena + + + + wvt:///areena.yle.fi/search.xsl?srcurl=http://areena.yle.fi/haku + + + + + wvt:///areena.yle.fi/livebroadcasts.xsl?srcurl=http://areena.yle.fi/live + + + + + wvt:///areena.yle.fi/programlist.xsl?srcurl=http://areena.yle.fi/ohjelmat + + + + + + + + + + + + diff --git a/templates/areena.yle.fi/navigation.xsl b/templates/areena.yle.fi/navigation.xsl new file mode 100644 index 0000000..7e3c4a3 --- /dev/null +++ b/templates/areena.yle.fi/navigation.xsl @@ -0,0 +1,119 @@ + + + + + + + + + + + + + + + + + + + + + + + + wvt:///areena.yle.fi/navigation.xsl?srcurl= + + + + + + wvt:///areena.yle.fi/navigation.xsl?srcurl= + + + + + + + + + + + + + + + + + + + + + + + + + + wvt:///areena.yle.fi/navigation.xsl?srcurl= + + + + + + + + + + + + + + wvt:///areena.yle.fi/description.xsl?srcurl= + wvt:///areena.yle.fi/video.xsl?srcurl=&param=title, + + + + + + + + + + + <xsl:value-of select="$title"/> + + + + + + + + + Hae Areenasta: Ei osumia + + + + + + + + + diff --git a/templates/areena.yle.fi/programlist.xsl b/templates/areena.yle.fi/programlist.xsl new file mode 100644 index 0000000..58b3243 --- /dev/null +++ b/templates/areena.yle.fi/programlist.xsl @@ -0,0 +1,22 @@ + + + + + + + + wvt:///areena.yle.fi/navigation.xsl?srcurl=&param=title, + + + + + + Ohjelmat A-Ö + + + + + + diff --git a/templates/areena.yle.fi/search.xsl b/templates/areena.yle.fi/search.xsl new file mode 100644 index 0000000..7508615 --- /dev/null +++ b/templates/areena.yle.fi/search.xsl @@ -0,0 +1,45 @@ + + + + + + + + + + + + + + + + + + + + + + Hae Areenasta + + + + + + + + + + Kaikki + Kyllä + + + + + + + diff --git a/templates/areena.yle.fi/service.xml b/templates/areena.yle.fi/service.xml new file mode 100644 index 0000000..ff7a193 --- /dev/null +++ b/templates/areena.yle.fi/service.xml @@ -0,0 +1,7 @@ + + + + YLE Areena + wvt:///areena.yle.fi/mainmenu.xsl?srcurl=http%3A//areena.yle.fi/ + Video service by YLE, the Finland's national public service broadcasting company + diff --git a/templates/areena.yle.fi/video.xsl b/templates/areena.yle.fi/video.xsl new file mode 100644 index 0000000..efe3441 --- /dev/null +++ b/templates/areena.yle.fi/video.xsl @@ -0,0 +1,27 @@ + + + + + + + + + + + + + <xsl:value-of select="$streamtitle"/> + + wvt:///bin/yle-dl?contenttype=video/x-flv&arg= + + + + + + + + + + diff --git a/templates/areena.yle.fi/videopage.xsl b/templates/areena.yle.fi/videopage.xsl new file mode 100644 index 0000000..aac373a --- /dev/null +++ b/templates/areena.yle.fi/videopage.xsl @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + diff --git a/templates/google/description.xsl b/templates/google/description.xsl deleted file mode 100644 index b7cab19..0000000 --- a/templates/google/description.xsl +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - - <xsl:value-of select="//title"/> - - - - - - - - diff --git a/templates/google/search.xsl b/templates/google/search.xsl deleted file mode 100644 index 6f1e343..0000000 --- a/templates/google/search.xsl +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - - Google video search - - - - - - - - Relevance - Date - - - - - All durations - Short (< 4 min) - Medium (4-20 min) - Long (> 20 min) - - - - - - - diff --git a/templates/google/searchresults.xsl b/templates/google/searchresults.xsl deleted file mode 100644 index 2eb5e77..0000000 --- a/templates/google/searchresults.xsl +++ /dev/null @@ -1,78 +0,0 @@ - - - - - - - Search results - - - - - - - - - - - - - wvt:///youtube/video.xsl?srcurl= - wvt:///youtube/description.xsl?srcurl= - - - - - - - wvt:///google/video.xsl?srcurl= - wvt:///google/description.xsl?srcurl= - - - - - - - wvt:///metacafe/video.xsl?srcurl= - wvt:///metacafe/description.xsl?srcurl= - - - - - - - wvt:///vimeo/video.xsl?srcurl=http://www.vimeo.com/moogaloop/load/clip: - wvt:///vimeo/description.xsl?srcurl=http://vimeo.com/api/v2/video/.xml - - - - - - - wvt:///svtplay/video.xsl?srcurl= - wvt:///svtplay/description.xsl?srcurl= - - - - - - - - - - wvt:///google/searchresults.xsl?srcurl= - - - - - - - - - diff --git a/templates/google/service.xml b/templates/google/service.xml deleted file mode 100644 index 3e02e93..0000000 --- a/templates/google/service.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - Google Video - wvt:///google/search.xsl - Google video search - diff --git a/templates/google/video.xsl b/templates/google/video.xsl deleted file mode 100644 index 52d6d98..0000000 --- a/templates/google/video.xsl +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - - <xsl:value-of select="/html/head/title" /> - - - - - - - - - - diff --git a/templates/katsomo.fi/mainmenu.xsl b/templates/katsomo.fi/mainmenu.xsl new file mode 100644 index 0000000..2bf3d3a --- /dev/null +++ b/templates/katsomo.fi/mainmenu.xsl @@ -0,0 +1,26 @@ + + + + + + + MTV3 Katsomo + + + + wvt:///katsomo.fi/search.xsl + + + + + + wvt:///katsomo.fi/navigation.xsl?srcurl= + + + + + + diff --git a/templates/katsomo.fi/navigation.xsl b/templates/katsomo.fi/navigation.xsl new file mode 100644 index 0000000..15aa98f --- /dev/null +++ b/templates/katsomo.fi/navigation.xsl @@ -0,0 +1,48 @@ + + + + + + + + + + wvt:///katsomo.fi/navigation.xsl?srcurl= + + + + + + + + + + + wvt:///katsomo.fi/video.xsl?srcurl=&param=title,&HTTP-header=cookie,webtv.bandwidth%3D1000%3BautoFullScreen%3Dfalse%3Bwebtv.playerPlatform%3D0 + + + + + + <xsl:value-of select="/html/head/meta[@name='title']/@content"/> + + + + + + + + + + + + + + diff --git a/templates/katsomo.fi/search.xsl b/templates/katsomo.fi/search.xsl new file mode 100644 index 0000000..aaecfd6 --- /dev/null +++ b/templates/katsomo.fi/search.xsl @@ -0,0 +1,23 @@ + + + + + + + Haku + + + + + + + + + + diff --git a/templates/katsomo.fi/searchresults.xsl b/templates/katsomo.fi/searchresults.xsl new file mode 100644 index 0000000..3b0ab8d --- /dev/null +++ b/templates/katsomo.fi/searchresults.xsl @@ -0,0 +1,32 @@ + + + + + + + + + + + wvt:///katsomo.fi/video.xsl?srcurl=&param=title,&HTTP-header=cookie,webtv.bandwidth%3D1000%3BautoFullScreen%3Dfalse%3Bwebtv.playerPlatform%3D0 + + + + + + Hakutulokset: <xsl:value-of select="id('searchResults')/div/div[@class='description']/span"/> + + + + + + + + + + diff --git a/templates/katsomo.fi/service.xml b/templates/katsomo.fi/service.xml new file mode 100644 index 0000000..b8f1763 --- /dev/null +++ b/templates/katsomo.fi/service.xml @@ -0,0 +1,7 @@ + + + + MTV3 Katsomo + wvt:///katsomo.fi/mainmenu.xsl?srcurl=http%3A//katsomo.fi/ + Net TV service of the Finnish broadcasting company MTV3 + diff --git a/templates/katsomo.fi/video.xsl b/templates/katsomo.fi/video.xsl new file mode 100644 index 0000000..9d20c49 --- /dev/null +++ b/templates/katsomo.fi/video.xsl @@ -0,0 +1,18 @@ + + + + +katsomovideo + + + + <xsl:value-of select="$title"/> + + + + + + diff --git a/templates/katsomo/mainmenu.xsl b/templates/katsomo/mainmenu.xsl deleted file mode 100644 index b7ba1cf..0000000 --- a/templates/katsomo/mainmenu.xsl +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - MTV3 Katsomo - - - - wvt:///katsomo/search.xsl - - - - - - wvt:///katsomo/navigation.xsl?srcurl= - - - - - - diff --git a/templates/katsomo/navigation.xsl b/templates/katsomo/navigation.xsl deleted file mode 100644 index e43753d..0000000 --- a/templates/katsomo/navigation.xsl +++ /dev/null @@ -1,48 +0,0 @@ - - - - - - - - - - wvt:///katsomo/navigation.xsl?srcurl= - - - - - - - - - - - wvt:///katsomo/video.xsl?srcurl=&param=title,&HTTP-header=cookie,webtv.bandwidth%3D1000%3BautoFullScreen%3Dfalse%3Bwebtv.playerPlatform%3D0 - - - - - - <xsl:value-of select="/html/head/meta[@name='title']/@content"/> - - - - - - - - - - - - - - diff --git a/templates/katsomo/search.xsl b/templates/katsomo/search.xsl deleted file mode 100644 index c963b71..0000000 --- a/templates/katsomo/search.xsl +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - - Haku - - - - - - - - - - diff --git a/templates/katsomo/searchresults.xsl b/templates/katsomo/searchresults.xsl deleted file mode 100644 index 2747afc..0000000 --- a/templates/katsomo/searchresults.xsl +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - - - - - wvt:///katsomo/video.xsl?srcurl=&param=title,&HTTP-header=cookie,webtv.bandwidth%3D1000%3BautoFullScreen%3Dfalse%3Bwebtv.playerPlatform%3D0 - - - - - - Hakutulokset: <xsl:value-of select="id('searchResults')/div/div[@class='description']/span"/> - - - - - - - - - - diff --git a/templates/katsomo/service.xml b/templates/katsomo/service.xml deleted file mode 100644 index b1bd0bc..0000000 --- a/templates/katsomo/service.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - MTV3 Katsomo - wvt:///katsomo/mainmenu.xsl?srcurl=http%3A//katsomo.fi/ - Net TV service of the Finnish broadcasting company MTV3 - diff --git a/templates/katsomo/video.xsl b/templates/katsomo/video.xsl deleted file mode 100644 index 9d20c49..0000000 --- a/templates/katsomo/video.xsl +++ /dev/null @@ -1,18 +0,0 @@ - - - - -katsomovideo - - - - <xsl:value-of select="$title"/> - - - - - - diff --git a/templates/metacafe/categories.xsl b/templates/metacafe/categories.xsl deleted file mode 100644 index 7dc155e..0000000 --- a/templates/metacafe/categories.xsl +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - - Metacafe - - - - wvt:///metacafe/search.xsl - - - - - wvt:///metacafe/channellist.xsl?srcurl=/api/channels/ - - - - - - - - wvt:///metacafe/navigation.xsl?srcurl=/api/videos/-/ - - - - - - - diff --git a/templates/metacafe/channellist.xsl b/templates/metacafe/channellist.xsl deleted file mode 100644 index 2bb74ec..0000000 --- a/templates/metacafe/channellist.xsl +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - - - wvt:///metacafe/navigation.xsl?srcurl=/api/users//channel?time=all_time - - - - - - <xsl:value-of select="/rss/channel/title"/> - - - - - - diff --git a/templates/metacafe/description.xsl b/templates/metacafe/description.xsl deleted file mode 100644 index 3cb7f2b..0000000 --- a/templates/metacafe/description.xsl +++ /dev/null @@ -1,47 +0,0 @@ - - - - - - - - - - - - - - - - - - <xsl:value-of select="/rss/channel/item/title"/> - - - - - - - - - - - - - - diff --git a/templates/metacafe/navigation.xsl b/templates/metacafe/navigation.xsl deleted file mode 100644 index 4ff821a..0000000 --- a/templates/metacafe/navigation.xsl +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - - - - - wvt:///youtube/video.xsl?srcurl=http%3A//www.youtube.com/watch%3Fv= - - - wvt:///metacafe/video.xsl?srcurl= - - - - wvt:///metacafe/description.xsl?srcurl=/api/item/ - - - - - - <xsl:value-of select="/rss/channel/title"/> - - - - - - - - - - diff --git a/templates/metacafe/search.xsl b/templates/metacafe/search.xsl deleted file mode 100644 index 205bd98..0000000 --- a/templates/metacafe/search.xsl +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - - Metacafe Search - - - - - - - - Most recent - View Count - Most discussed - - - - - Anytime - During last 24 hours - This week - This month - - - - - - - diff --git a/templates/metacafe/service.xml b/templates/metacafe/service.xml deleted file mode 100644 index 8e9fc33..0000000 --- a/templates/metacafe/service.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - Metacafe - wvt:///metacafe/categories.xsl?srcurl=http%3A//www.metacafe.com/videos/ - Video sharing site specializing in short-form original content - diff --git a/templates/metacafe/video.xsl b/templates/metacafe/video.xsl deleted file mode 100644 index 884e87f..0000000 --- a/templates/metacafe/video.xsl +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - - <xsl:value-of select="normalize-space(id('ItemTitle'))"/> - - - - - diff --git a/templates/moontv.fi/description.xsl b/templates/moontv.fi/description.xsl new file mode 100644 index 0000000..6665f7f --- /dev/null +++ b/templates/moontv.fi/description.xsl @@ -0,0 +1,19 @@ + + + + + + + <xsl:value-of select="normalize-space(concat(substring-before(//div[@id='single-entry']/h3, '–'), ' - ' , substring-after(//div[@id='single-entry']/h3, '–')))"/> + + + + + + diff --git a/templates/moontv.fi/mainmenu.xsl b/templates/moontv.fi/mainmenu.xsl new file mode 100644 index 0000000..d0fc6d3 --- /dev/null +++ b/templates/moontv.fi/mainmenu.xsl @@ -0,0 +1,23 @@ + + + + + + + Katsomo + + + + wvt:///moontv.fi/programlist.xsl?srcurl=http://moontv.fi/ohjelmat + + + + wvt:///moontv.fi/rss.xsl?srcurl=http://feeds.feedburner.com/Moontv?format=rss + + + + + + diff --git a/templates/moontv.fi/navigation.xsl b/templates/moontv.fi/navigation.xsl new file mode 100644 index 0000000..2230251 --- /dev/null +++ b/templates/moontv.fi/navigation.xsl @@ -0,0 +1,20 @@ + + + + + + + <xsl:value-of select="//div[@id='content']/h2"/> + + + + wvt:///moontv.fi/description.xsl?srcurl= + wvt:///moontv.fi/videopage.xsl?srcurl= + + + + + + diff --git a/templates/moontv.fi/programlist.xsl b/templates/moontv.fi/programlist.xsl new file mode 100644 index 0000000..33dc0ef --- /dev/null +++ b/templates/moontv.fi/programlist.xsl @@ -0,0 +1,20 @@ + + + + + + + MoonTV ohjelmat + + + + + wvt:///moontv.fi/navigation.xsl?srcurl= + + + + + + diff --git a/templates/moontv.fi/rss.xsl b/templates/moontv.fi/rss.xsl new file mode 100644 index 0000000..c89c8c9 --- /dev/null +++ b/templates/moontv.fi/rss.xsl @@ -0,0 +1,28 @@ + + + + + + + + + + wvt:///moontv.fi/description.xsl?srcurl= + + wvt:///moontv.fi/videopage.xsl?srcurl= + + + + + + + + <xsl:value-of select="/rss/channel/title"/> + + + + + + diff --git a/templates/moontv.fi/service.xml b/templates/moontv.fi/service.xml new file mode 100644 index 0000000..386e410 --- /dev/null +++ b/templates/moontv.fi/service.xml @@ -0,0 +1,7 @@ + + + + MoonTV + wvt:///moontv.fi/mainmenu.xsl?srcurl=http%3A//moontv.fi/ohjelmat + Video service by MoonTV, a Finnish online video channel + diff --git a/templates/moontv.fi/videopage.xsl b/templates/moontv.fi/videopage.xsl new file mode 100644 index 0000000..9fa6108 --- /dev/null +++ b/templates/moontv.fi/videopage.xsl @@ -0,0 +1,15 @@ + + + + + + + + <xsl:value-of select="normalize-space(concat(substring-before(//div[@id='single-entry']/h3, '–'), ' - ' , substring-after(//div[@id='single-entry']/h3, '–')))"/> + + + + + diff --git a/templates/moontv/description.xsl b/templates/moontv/description.xsl deleted file mode 100644 index 6665f7f..0000000 --- a/templates/moontv/description.xsl +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - - <xsl:value-of select="normalize-space(concat(substring-before(//div[@id='single-entry']/h3, '–'), ' - ' , substring-after(//div[@id='single-entry']/h3, '–')))"/> - - - - - - diff --git a/templates/moontv/mainmenu.xsl b/templates/moontv/mainmenu.xsl deleted file mode 100644 index fea995b..0000000 --- a/templates/moontv/mainmenu.xsl +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - - Katsomo - - - - wvt:///moontv/programlist.xsl?srcurl=http://moontv.fi/ohjelmat - - - - wvt:///moontv/rss.xsl?srcurl=http://feeds.feedburner.com/Moontv?format=rss - - - - - - diff --git a/templates/moontv/navigation.xsl b/templates/moontv/navigation.xsl deleted file mode 100644 index 4ec54a7..0000000 --- a/templates/moontv/navigation.xsl +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - - <xsl:value-of select="//div[@id='content']/h2"/> - - - - wvt:///moontv/description.xsl?srcurl= - wvt:///moontv/video.xsl?srcurl= - - - - - - diff --git a/templates/moontv/programlist.xsl b/templates/moontv/programlist.xsl deleted file mode 100644 index cbea52a..0000000 --- a/templates/moontv/programlist.xsl +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - - MoonTV ohjelmat - - - - - wvt:///moontv/navigation.xsl?srcurl= - - - - - - diff --git a/templates/moontv/rss.xsl b/templates/moontv/rss.xsl deleted file mode 100644 index bb42d7a..0000000 --- a/templates/moontv/rss.xsl +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - - - - - wvt:///moontv/description.xsl?srcurl= - - wvt:///moontv/video.xsl?srcurl= - - - - - - - - <xsl:value-of select="/rss/channel/title"/> - - - - - - diff --git a/templates/moontv/service.xml b/templates/moontv/service.xml deleted file mode 100644 index aa1a5bd..0000000 --- a/templates/moontv/service.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - MoonTV - wvt:///moontv/mainmenu.xsl?srcurl=http%3A//moontv.fi/ohjelmat - Video service by MoonTV, a Finnish online video channel - diff --git a/templates/moontv/video.xsl b/templates/moontv/video.xsl deleted file mode 100644 index 9fa6108..0000000 --- a/templates/moontv/video.xsl +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - - <xsl:value-of select="normalize-space(concat(substring-before(//div[@id='single-entry']/h3, '–'), ' - ' , substring-after(//div[@id='single-entry']/h3, '–')))"/> - - - - - diff --git a/templates/ruutufi/description.xsl b/templates/ruutufi/description.xsl deleted file mode 100644 index ad04d79..0000000 --- a/templates/ruutufi/description.xsl +++ /dev/null @@ -1,51 +0,0 @@ - - - - - - - - - - - - - - - - - - - - <xsl:value-of select="/Playerdata/Behavior/Program/@program_name"/> - - - - - - - - - - - - wvt:///ruutufi/video.xsl?srcurl= - - - - - diff --git a/templates/ruutufi/mainmenu.xsl b/templates/ruutufi/mainmenu.xsl deleted file mode 100644 index e241924..0000000 --- a/templates/ruutufi/mainmenu.xsl +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - - Ruutu.fi - - - - - - wvt:///ruutufi/series.xsl?srcurl=http://www.ruutu.fi/ajax/media_get_netti_tv_series_list/all/false&postprocess=json2xml - - - - - wvt:///ruutufi/program.xsl?srcurl=http://www.ruutu.fi/ajax/media_get_nettitv_media/all/video_episode/__/latestdesc/0/25/true/__&postprocess=json2xml - - - - - wvt:///ruutufi/program.xsl?srcurl=http://www.ruutu.fi/ajax/media_get_nettitv_media/all/video_episode/__/most_watched/0/25/true/__&postprocess=json2xml - - - - - diff --git a/templates/ruutufi/program.xsl b/templates/ruutufi/program.xsl deleted file mode 100644 index 593036f..0000000 --- a/templates/ruutufi/program.xsl +++ /dev/null @@ -1,120 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - http://www.nelonen.fi/utils/video_config/%3Fq%3D/%26site%3Dwww.ruutu.fi%26ageCheckURL%3Dhttp://sso.nelonenmedia.fi/ajax/check_age/%26current_page%3Dhttp://www.ruutu.fi/video - - wvt:///ruutufi/description.xsl?srcurl= - wvt:///ruutufi/video.xsl?srcurl= - - - - - - - - - - - - <xsl:choose> - <xsl:when test="/jsondocument/dict/video_episode/list/li[1]/dict/series_name"> - <xsl:value-of select="/jsondocument/dict/video_episode/list/li[1]/dict/series_name"/> - </xsl:when> - <xsl:when test="/jsondocument/dict/video/list/li[1]/dict/clip_series_name"> - <xsl:value-of select="/jsondocument/dict/video/list/li[1]/dict/clip_series_name"/> - </xsl:when> - <xsl:otherwise>Ruutu.fi</xsl:otherwise> - </xsl:choose> - - - - - - - - - video_episode - - - video - - - - - - wvt:///ruutufi/program.xsl?srcurl=&postprocess=json2xml - - - - - - - - - - /// - - - - - - - - - 0 - - - - - - - - wvt:///ruutufi/program.xsl?srcurl=&postprocess=json2xml - - - - - - - wvt:///ruutufi/program.xsl?srcurl=&postprocess=json2xml - - - - - - - diff --git a/templates/ruutufi/search.xsl b/templates/ruutufi/search.xsl deleted file mode 100644 index 07f2700..0000000 --- a/templates/ruutufi/search.xsl +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - - Haku - - - - - - - - - - diff --git a/templates/ruutufi/series.xsl b/templates/ruutufi/series.xsl deleted file mode 100644 index 2e8f4d2..0000000 --- a/templates/ruutufi/series.xsl +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - - - - - - wvt:///ruutufi/program.xsl?srcurl=http://www.ruutu.fi/ajax/media_get_nettitv_video/all/video_episode//latestdesc/0/25/true/__&postprocess=json2xml - - - - - - - - Kaikki sarjat - - - - - - diff --git a/templates/ruutufi/service.xml b/templates/ruutufi/service.xml deleted file mode 100644 index 7a106aa..0000000 --- a/templates/ruutufi/service.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - ruutu.fi - wvt:///ruutufi/mainmenu.xsl?srcurl=http%3A//www.ruutu.fi/ - Net TV service of the Finnish broadcasting company Nelonen - diff --git a/templates/ruutufi/video.xsl b/templates/ruutufi/video.xsl deleted file mode 100644 index a0d212b..0000000 --- a/templates/ruutufi/video.xsl +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - - <xsl:value-of select="concat(/Playerdata/Behavior/Program/@program_name, ' ', /Playerdata/Behavior/Program/@episode_name)"/> - - - - wvt:///bin/ruutu-dl?contenttype=video/x-flv&arg=&arg=http://www.ruutu.fi/video - - - - - - - - - diff --git a/templates/ruutufi/video2.xsl b/templates/ruutufi/video2.xsl deleted file mode 100644 index 39bef06..0000000 --- a/templates/ruutufi/video2.xsl +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - <xsl:value-of select="concat(id('ruutuVideoInfo')/p[@class='name'], ' ', id('ruutuVideoInfo')/p[@class='timeStamp'])"/> - - wvt:///bin/ruutu-dl?contenttype=video/x-flv&arg=&arg= - - - - diff --git a/templates/subtv/description.xsl b/templates/subtv/description.xsl deleted file mode 100644 index c914f3b..0000000 --- a/templates/subtv/description.xsl +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - - - - - - <xsl:value-of select="$title"/> - - - - - - - - wvt:///subtv/video.xsl?param=pid,&param=title, - - - - - diff --git a/templates/subtv/mainmenu.xsl b/templates/subtv/mainmenu.xsl deleted file mode 100644 index 2158295..0000000 --- a/templates/subtv/mainmenu.xsl +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - - Subin netti-TV - - - - - wvt:///subtv/navigation.xsl?srcurl= - - - - - - diff --git a/templates/subtv/navigation.xsl b/templates/subtv/navigation.xsl deleted file mode 100644 index 3c0b039..0000000 --- a/templates/subtv/navigation.xsl +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - - - - - - - - - - wvt:///subtv/video.xsl?srcurl=&param=pid,&param=title, - wvt:///subtv/description.xsl?param=title,&param=desc,&param=pubdate,&param=pid, - - - - - - - <xsl:value-of select="$programname"/> - - - - - - - - - - - - - - diff --git a/templates/subtv/service.xml b/templates/subtv/service.xml deleted file mode 100644 index 6a7a44f..0000000 --- a/templates/subtv/service.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - Subtv - wvt:///subtv/mainmenu.xsl?srcurl=http%3A//www.sub.fi/katsonetista/ - Sub is the third biggest commercial tv channel in Finland. - diff --git a/templates/subtv/video.xsl b/templates/subtv/video.xsl deleted file mode 100644 index 32e5b1e..0000000 --- a/templates/subtv/video.xsl +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - - - - - <xsl:value-of select="$title"/> - - - - - - diff --git a/templates/svtplay.se/categories.xsl b/templates/svtplay.se/categories.xsl new file mode 100644 index 0000000..751a9e5 --- /dev/null +++ b/templates/svtplay.se/categories.xsl @@ -0,0 +1,19 @@ + + + + + + + SVT Play + + + + + wvt:///svtplay.se/navigation.xsl?srcurl= + + + + + + diff --git a/templates/svtplay.se/description.xsl b/templates/svtplay.se/description.xsl new file mode 100644 index 0000000..f3c3ae6 --- /dev/null +++ b/templates/svtplay.se/description.xsl @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + <xsl:choose> + <xsl:when test="normalize-space(//h1/a/img/@alt)"> + <xsl:value-of select="concat(normalize-space(//h1/a/img/@alt), ' ', //div[@class='info']//h2)"/> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="concat(normalize-space(//h1/a), ' ', //div[@class='info']//h2)"/> + </xsl:otherwise> + </xsl:choose> + + + + + + + diff --git a/templates/svtplay.se/navigation.xsl b/templates/svtplay.se/navigation.xsl new file mode 100644 index 0000000..c3e43ba --- /dev/null +++ b/templates/svtplay.se/navigation.xsl @@ -0,0 +1,74 @@ + + + + + + + + + + + + + + + + + + + + + + + wvt:///svtplay.se/programmenu.xsl?srcurl= + + + + + + + + + wvt:///svtplay.se/navigation.xsl?srcurl= + + + + + + + wvt:///svtplay.se/navigation.xsl?srcurl= + + + + + + + + <xsl:choose> + <xsl:when test="normalize-space(//h1)"> + <xsl:value-of select="normalize-space(//h1)"/> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="normalize-space(//h1/a/img/@alt)"/> + </xsl:otherwise> + </xsl:choose> + + + + + + + + + + + + + + + diff --git a/templates/svtplay.se/programmenu.xsl b/templates/svtplay.se/programmenu.xsl new file mode 100644 index 0000000..baf88c4 --- /dev/null +++ b/templates/svtplay.se/programmenu.xsl @@ -0,0 +1,56 @@ + + + + + + + + + + + + + + + wvt:///svtplay.se/description.xsl?srcurl= + wvt:///svtplay.se/videopage.xsl?srcurl= + + + + + + + + + wvt:///svtplay.se/programmenu.xsl?srcurl= + + + + + + + wvt:///svtplay.se/programmenu.xsl?srcurl= + + + + + + + + <xsl:choose> + <xsl:when test="normalize-space(//h1/a)"> + <xsl:value-of select="normalize-space(//h1/a)"/> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="normalize-space(//h1/a/img/@alt)"/> + </xsl:otherwise> + </xsl:choose> + + + + + + + diff --git a/templates/svtplay.se/service.xml b/templates/svtplay.se/service.xml new file mode 100644 index 0000000..92d2725 --- /dev/null +++ b/templates/svtplay.se/service.xml @@ -0,0 +1,7 @@ + + + + SVT Play + wvt:///svtplay.se/categories.xsl?srcurl=http://svtplay.se/kategorier + Swedish Television, online TV service + diff --git a/templates/svtplay.se/videopage.xsl b/templates/svtplay.se/videopage.xsl new file mode 100644 index 0000000..af6aeb9 --- /dev/null +++ b/templates/svtplay.se/videopage.xsl @@ -0,0 +1,24 @@ + + + + + + + + <xsl:choose> + <xsl:when test="normalize-space(//h1/a/img/@alt)"> + <xsl:value-of select="concat(normalize-space(//h1/a/img/@alt), ' ', //div[@class='info']//h2)"/> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="concat(normalize-space(//h1/a), ' ', //div[@class='info']//h2)"/> + </xsl:otherwise> + </xsl:choose> + + + + + + + + diff --git a/templates/svtplay/categories.xsl b/templates/svtplay/categories.xsl deleted file mode 100644 index bd64abd..0000000 --- a/templates/svtplay/categories.xsl +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - - SVT Play - - - - - wvt:///svtplay/navigation.xsl?srcurl= - - - - - - diff --git a/templates/svtplay/description.xsl b/templates/svtplay/description.xsl deleted file mode 100644 index f3c3ae6..0000000 --- a/templates/svtplay/description.xsl +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - - - - - - - - - <xsl:choose> - <xsl:when test="normalize-space(//h1/a/img/@alt)"> - <xsl:value-of select="concat(normalize-space(//h1/a/img/@alt), ' ', //div[@class='info']//h2)"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="concat(normalize-space(//h1/a), ' ', //div[@class='info']//h2)"/> - </xsl:otherwise> - </xsl:choose> - - - - - - - diff --git a/templates/svtplay/navigation.xsl b/templates/svtplay/navigation.xsl deleted file mode 100644 index 7071dfe..0000000 --- a/templates/svtplay/navigation.xsl +++ /dev/null @@ -1,74 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - wvt:///svtplay/programmenu.xsl?srcurl= - - - - - - - - - wvt:///svtplay/navigation.xsl?srcurl= - - - - - - - wvt:///svtplay/navigation.xsl?srcurl= - - - - - - - - <xsl:choose> - <xsl:when test="normalize-space(//h1)"> - <xsl:value-of select="normalize-space(//h1)"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="normalize-space(//h1/a/img/@alt)"/> - </xsl:otherwise> - </xsl:choose> - - - - - - - - - - - - - - - diff --git a/templates/svtplay/programmenu.xsl b/templates/svtplay/programmenu.xsl deleted file mode 100644 index 4bd120c..0000000 --- a/templates/svtplay/programmenu.xsl +++ /dev/null @@ -1,56 +0,0 @@ - - - - - - - - - - - - - - - wvt:///svtplay/description.xsl?srcurl= - wvt:///svtplay/video.xsl?srcurl= - - - - - - - - - wvt:///svtplay/programmenu.xsl?srcurl= - - - - - - - wvt:///svtplay/programmenu.xsl?srcurl= - - - - - - - - <xsl:choose> - <xsl:when test="normalize-space(//h1/a)"> - <xsl:value-of select="normalize-space(//h1/a)"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="normalize-space(//h1/a/img/@alt)"/> - </xsl:otherwise> - </xsl:choose> - - - - - - - diff --git a/templates/svtplay/service.xml b/templates/svtplay/service.xml deleted file mode 100644 index 86a36f6..0000000 --- a/templates/svtplay/service.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - SVT Play - wvt:///svtplay/categories.xsl?srcurl=http://svtplay.se/kategorier - Swedish Television, online TV service - diff --git a/templates/svtplay/video.xsl b/templates/svtplay/video.xsl deleted file mode 100644 index af6aeb9..0000000 --- a/templates/svtplay/video.xsl +++ /dev/null @@ -1,24 +0,0 @@ - - - - - - - - <xsl:choose> - <xsl:when test="normalize-space(//h1/a/img/@alt)"> - <xsl:value-of select="concat(normalize-space(//h1/a/img/@alt), ' ', //div[@class='info']//h2)"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="concat(normalize-space(//h1/a), ' ', //div[@class='info']//h2)"/> - </xsl:otherwise> - </xsl:choose> - - - - - - - - diff --git a/templates/video.google.com/description.xsl b/templates/video.google.com/description.xsl new file mode 100644 index 0000000..b7cab19 --- /dev/null +++ b/templates/video.google.com/description.xsl @@ -0,0 +1,22 @@ + + + + + + + <xsl:value-of select="//title"/> + + + + + + + + diff --git a/templates/video.google.com/search.xsl b/templates/video.google.com/search.xsl new file mode 100644 index 0000000..07dbda6 --- /dev/null +++ b/templates/video.google.com/search.xsl @@ -0,0 +1,36 @@ + + + + + + + Google video search + + + + + + + + Relevance + Date + + + + + All durations + Short (< 4 min) + Medium (4-20 min) + Long (> 20 min) + + + + + + + diff --git a/templates/video.google.com/searchresults.xsl b/templates/video.google.com/searchresults.xsl new file mode 100644 index 0000000..5069825 --- /dev/null +++ b/templates/video.google.com/searchresults.xsl @@ -0,0 +1,78 @@ + + + + + + + Search results + + + + + + + + + + + + + wvt:///www.youtube.com/videopage.xsl?srcurl= + wvt:///www.youtube.com/description.xsl?srcurl= + + + + + + + wvt:///video.google.com/videopage.xsl?srcurl= + wvt:///video.google.com/description.xsl?srcurl= + + + + + + + wvt:///www.metacafe.com/videopage.xsl?srcurl= + wvt:///www.metacafe.com/description.xsl?srcurl= + + + + + + + wvt:///www.vimeo.com/video.xsl?srcurl=http://www.vimeo.com/moogaloop/load/clip: + wvt:///www.vimeo.com/description.xsl?srcurl=http://vimeo.com/api/v2/video/.xml + + + + + + + wvt:///svtplay.se/videopage.xsl?srcurl= + wvt:///svtplay.se/description.xsl?srcurl= + + + + + + + + + + wvt:///video.google.com/searchresults.xsl?srcurl= + + + + + + + + + diff --git a/templates/video.google.com/service.xml b/templates/video.google.com/service.xml new file mode 100644 index 0000000..4e41372 --- /dev/null +++ b/templates/video.google.com/service.xml @@ -0,0 +1,7 @@ + + + + Google Video + wvt:///video.google.com/search.xsl + Google video search + diff --git a/templates/video.google.com/videopage.xsl b/templates/video.google.com/videopage.xsl new file mode 100644 index 0000000..52d6d98 --- /dev/null +++ b/templates/video.google.com/videopage.xsl @@ -0,0 +1,19 @@ + + + + + + + <xsl:value-of select="/html/head/title" /> + + + + + + + + + + diff --git a/templates/vimeo.com/channels.xsl b/templates/vimeo.com/channels.xsl new file mode 100644 index 0000000..c8b3e18 --- /dev/null +++ b/templates/vimeo.com/channels.xsl @@ -0,0 +1,33 @@ + + + + + + + Vimeo Channels + + + + + wvt:///vimeo.com/navigation.xsl?srcurl=http://vimeo.com/api/v2/channel//videos.xml + + + + + + + + + + + + wvt:///vimeo.com/channels.xsl?srcurl= + + + + + + + diff --git a/templates/vimeo.com/description.xsl b/templates/vimeo.com/description.xsl new file mode 100644 index 0000000..907d6ad --- /dev/null +++ b/templates/vimeo.com/description.xsl @@ -0,0 +1,59 @@ + + + + + + + + + + + + + + + + + + <xsl:value-of select="/videos/video/title"/> + + + + + + + + + + + + + wvt:///vimeo.com/navigation.xsl?srcurl=http://vimeo.com/api/v2//videos.xml + + + + + wvt:///vimeo.com/video.xsl?srcurl=http://www.vimeo.com/moogaloop/load/clip: + + + + + + diff --git a/templates/vimeo.com/groups.xsl b/templates/vimeo.com/groups.xsl new file mode 100644 index 0000000..8c955da --- /dev/null +++ b/templates/vimeo.com/groups.xsl @@ -0,0 +1,33 @@ + + + + + + + Vimeo Groups + + + + + wvt:///vimeo.com/navigation.xsl?srcurl=http://vimeo.com/api/v2/group//videos.xml + + + + + + + + + + + + wvt:///vimeo.com/groups.xsl?srcurl= + + + + + + + diff --git a/templates/vimeo.com/mainmenu.xsl b/templates/vimeo.com/mainmenu.xsl new file mode 100644 index 0000000..2517ba6 --- /dev/null +++ b/templates/vimeo.com/mainmenu.xsl @@ -0,0 +1,28 @@ + + + + + + + Vimeo + + + + wvt:///vimeo.com/search.xsl?srcurl=http://vimeo.com/ + + + + + wvt:///vimeo.com/channels.xsl?srcurl=http://vimeo.com/channels/all + + + + + wvt:///vimeo.com/groups.xsl?srcurl=http://vimeo.com/groups/all + + + + + + diff --git a/templates/vimeo.com/navigation.xsl b/templates/vimeo.com/navigation.xsl new file mode 100644 index 0000000..ecc40b8 --- /dev/null +++ b/templates/vimeo.com/navigation.xsl @@ -0,0 +1,22 @@ + + + + + + + + wvt:///vimeo.com/video.xsl?srcurl=http://www.vimeo.com/moogaloop/load/clip: + wvt:///vimeo.com/description.xsl?srcurl=http://vimeo.com/api/v2/video/.xml + + + + + + Vimeo videos + + + + + + diff --git a/templates/vimeo.com/search.xsl b/templates/vimeo.com/search.xsl new file mode 100644 index 0000000..eb99f03 --- /dev/null +++ b/templates/vimeo.com/search.xsl @@ -0,0 +1,30 @@ + + + + + + + Vimeo Search + + + + + + + + most relevant + newest + most played + most liked + + + + + + + diff --git a/templates/vimeo.com/searchresults.xsl b/templates/vimeo.com/searchresults.xsl new file mode 100644 index 0000000..c5af5ab --- /dev/null +++ b/templates/vimeo.com/searchresults.xsl @@ -0,0 +1,36 @@ + + + + + + + + + Search results + + + + + wvt:///vimeo.com/video.xsl?srcurl=http://www.vimeo.com/moogaloop/load/clip: + wvt:///vimeo.com/description.xsl?srcurl=http://vimeo.com/api/v2/video/.xml + + + + + + + + + + + + wvt:///vimeo.com/searchresults.xsl?srcurl=&HTTP-header=cookie,xsrft%3D;searchtoken%3D&param=searchtoken, + + + + + + + diff --git a/templates/vimeo.com/service.xml b/templates/vimeo.com/service.xml new file mode 100644 index 0000000..544ad97 --- /dev/null +++ b/templates/vimeo.com/service.xml @@ -0,0 +1,7 @@ + + + + Vimeo + wvt:///vimeo.com/mainmenu.xsl + Vimeo is a video-centric social networking site + diff --git a/templates/vimeo.com/video.xsl b/templates/vimeo.com/video.xsl new file mode 100644 index 0000000..c23acc8 --- /dev/null +++ b/templates/vimeo.com/video.xsl @@ -0,0 +1,14 @@ + + + + + + + <xsl:value-of select="/xml/video/caption"/> + + http://www.vimeo.com/moogaloop/play/clip:///?q=sd + + + + diff --git a/templates/vimeo.com/videopage.xsl b/templates/vimeo.com/videopage.xsl new file mode 100644 index 0000000..251f731 --- /dev/null +++ b/templates/vimeo.com/videopage.xsl @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + + + + + diff --git a/templates/vimeo/channels.xsl b/templates/vimeo/channels.xsl deleted file mode 100644 index ae3c0d8..0000000 --- a/templates/vimeo/channels.xsl +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - - Vimeo Channels - - - - - wvt:///vimeo/navigation.xsl?srcurl=http://vimeo.com/api/v2/channel//videos.xml - - - - - - - - - - - - wvt:///vimeo/channels.xsl?srcurl= - - - - - - - diff --git a/templates/vimeo/description.xsl b/templates/vimeo/description.xsl deleted file mode 100644 index a8797cd..0000000 --- a/templates/vimeo/description.xsl +++ /dev/null @@ -1,59 +0,0 @@ - - - - - - - - - - - - - - - - - - <xsl:value-of select="/videos/video/title"/> - - - - - - - - - - - - - wvt:///vimeo/navigation.xsl?srcurl=http://vimeo.com/api/v2//videos.xml - - - - - wvt:///vimeo/video.xsl?srcurl=http://www.vimeo.com/moogaloop/load/clip: - - - - - - diff --git a/templates/vimeo/groups.xsl b/templates/vimeo/groups.xsl deleted file mode 100644 index 2379058..0000000 --- a/templates/vimeo/groups.xsl +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - - Vimeo Groups - - - - - wvt:///vimeo/navigation.xsl?srcurl=http://vimeo.com/api/v2/group//videos.xml - - - - - - - - - - - - wvt:///vimeo/groups.xsl?srcurl= - - - - - - - diff --git a/templates/vimeo/mainmenu.xsl b/templates/vimeo/mainmenu.xsl deleted file mode 100644 index 3667ed7..0000000 --- a/templates/vimeo/mainmenu.xsl +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - - Vimeo - - - - wvt:///vimeo/search.xsl?srcurl=http://www.vimeo.com/ - - - - - wvt:///vimeo/channels.xsl?srcurl=http://www.vimeo.com/channels/all - - - - - wvt:///vimeo/groups.xsl?srcurl=http://www.vimeo.com/groups/all - - - - - - diff --git a/templates/vimeo/navigation.xsl b/templates/vimeo/navigation.xsl deleted file mode 100644 index 8583212..0000000 --- a/templates/vimeo/navigation.xsl +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - - - wvt:///vimeo/video.xsl?srcurl=http://www.vimeo.com/moogaloop/load/clip: - wvt:///vimeo/description.xsl?srcurl=http://vimeo.com/api/v2/video/.xml - - - - - - Vimeo videos - - - - - - diff --git a/templates/vimeo/search.xsl b/templates/vimeo/search.xsl deleted file mode 100644 index 0ae42b3..0000000 --- a/templates/vimeo/search.xsl +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - Vimeo Search - - - - - - - - most relevant - newest - most played - most liked - - - - - - - diff --git a/templates/vimeo/searchresults.xsl b/templates/vimeo/searchresults.xsl deleted file mode 100644 index 2b390cd..0000000 --- a/templates/vimeo/searchresults.xsl +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - - - - Search results - - - - - wvt:///vimeo/video.xsl?srcurl=http://www.vimeo.com/moogaloop/load/clip: - wvt:///vimeo/description.xsl?srcurl=http://vimeo.com/api/v2/video/.xml - - - - - - - - - - - - wvt:///vimeo/searchresults.xsl?srcurl=&HTTP-header=cookie,xsrft%3D;searchtoken%3D&param=searchtoken, - - - - - - - diff --git a/templates/vimeo/service.xml b/templates/vimeo/service.xml deleted file mode 100644 index 77af401..0000000 --- a/templates/vimeo/service.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - Vimeo - wvt:///vimeo/mainmenu.xsl - Vimeo is a video-centric social networking site - diff --git a/templates/vimeo/video.xsl b/templates/vimeo/video.xsl deleted file mode 100644 index 3b1b7a9..0000000 --- a/templates/vimeo/video.xsl +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - - <xsl:value-of select="/xml/video/caption"/> - - http://www.vimeo.com/moogaloop/play/clip:///?q=sd - - - - diff --git a/templates/www.metacafe.com/categories.xsl b/templates/www.metacafe.com/categories.xsl new file mode 100644 index 0000000..d140939 --- /dev/null +++ b/templates/www.metacafe.com/categories.xsl @@ -0,0 +1,33 @@ + + + + + + + Metacafe + + + + wvt:///www.metacafe.com/search.xsl + + + + + wvt:///www.metacafe.com/channellist.xsl?srcurl=/api/channels/ + + + + + + + + wvt:///www.metacafe.com/navigation.xsl?srcurl=/api/videos/-/ + + + + + + + diff --git a/templates/www.metacafe.com/channellist.xsl b/templates/www.metacafe.com/channellist.xsl new file mode 100644 index 0000000..b363c1a --- /dev/null +++ b/templates/www.metacafe.com/channellist.xsl @@ -0,0 +1,22 @@ + + + + + + + + wvt:///www.metacafe.com/navigation.xsl?srcurl=/api/users//channel?time=all_time + + + + + + <xsl:value-of select="/rss/channel/title"/> + + + + + + diff --git a/templates/www.metacafe.com/description.xsl b/templates/www.metacafe.com/description.xsl new file mode 100644 index 0000000..3cb7f2b --- /dev/null +++ b/templates/www.metacafe.com/description.xsl @@ -0,0 +1,47 @@ + + + + + + + + + + + + + + + + + + <xsl:value-of select="/rss/channel/item/title"/> + + + + + + + + + + + + + + diff --git a/templates/www.metacafe.com/navigation.xsl b/templates/www.metacafe.com/navigation.xsl new file mode 100644 index 0000000..a4cb8e0 --- /dev/null +++ b/templates/www.metacafe.com/navigation.xsl @@ -0,0 +1,36 @@ + + + + + + + + + + wvt:///www.youtube.com/video.xsl?srcurl=http://www.youtube.com/get_video_info?video_id= + + + wvt:///www.metacafe.com/videopage.xsl?srcurl= + + + + wvt:///www.metacafe.com/description.xsl?srcurl=/api/item/ + + + + + + <xsl:value-of select="/rss/channel/title"/> + + + + + + + + + + diff --git a/templates/www.metacafe.com/search.xsl b/templates/www.metacafe.com/search.xsl new file mode 100644 index 0000000..2807152 --- /dev/null +++ b/templates/www.metacafe.com/search.xsl @@ -0,0 +1,36 @@ + + + + + + + Metacafe Search + + + + + + + + Most recent + View Count + Most discussed + + + + + Anytime + During last 24 hours + This week + This month + + + + + + + diff --git a/templates/www.metacafe.com/service.xml b/templates/www.metacafe.com/service.xml new file mode 100644 index 0000000..19303f5 --- /dev/null +++ b/templates/www.metacafe.com/service.xml @@ -0,0 +1,7 @@ + + + + Metacafe + wvt:///www.metacafe.com/categories.xsl?srcurl=http%3A//www.metacafe.com/videos/ + Video sharing site specializing in short-form original content + diff --git a/templates/www.metacafe.com/videopage.xsl b/templates/www.metacafe.com/videopage.xsl new file mode 100644 index 0000000..884e87f --- /dev/null +++ b/templates/www.metacafe.com/videopage.xsl @@ -0,0 +1,14 @@ + + + + + + + <xsl:value-of select="normalize-space(id('ItemTitle'))"/> + + + + + diff --git a/templates/www.ruutu.fi/description.xsl b/templates/www.ruutu.fi/description.xsl new file mode 100644 index 0000000..aa5326d --- /dev/null +++ b/templates/www.ruutu.fi/description.xsl @@ -0,0 +1,51 @@ + + + + + + + + + + + + + + + + + + + + <xsl:value-of select="/Playerdata/Behavior/Program/@program_name"/> + + + + + + + + + + + + wvt:///www.ruutu.fi/video.xsl?srcurl= + + + + + diff --git a/templates/www.ruutu.fi/mainmenu.xsl b/templates/www.ruutu.fi/mainmenu.xsl new file mode 100644 index 0000000..a8b051b --- /dev/null +++ b/templates/www.ruutu.fi/mainmenu.xsl @@ -0,0 +1,34 @@ + + + + + + + Ruutu.fi + + + + + + wvt:///www.ruutu.fi/series.xsl?srcurl=http://www.ruutu.fi/ajax/media_get_netti_tv_series_list/all/false&postprocess=json2xml + + + + + wvt:///www.ruutu.fi/program.xsl?srcurl=http://www.ruutu.fi/ajax/media_get_nettitv_media/all/video_episode/__/latestdesc/0/25/true/__&postprocess=json2xml + + + + + wvt:///www.ruutu.fi/program.xsl?srcurl=http://www.ruutu.fi/ajax/media_get_nettitv_media/all/video_episode/__/most_watched/0/25/true/__&postprocess=json2xml + + + + + diff --git a/templates/www.ruutu.fi/program.xsl b/templates/www.ruutu.fi/program.xsl new file mode 100644 index 0000000..6487b9e --- /dev/null +++ b/templates/www.ruutu.fi/program.xsl @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + http://www.nelonen.fi/utils/video_config/%3Fq%3D/%26site%3Dwww.ruutu.fi%26ageCheckURL%3Dhttp://sso.nelonenmedia.fi/ajax/check_age/%26current_page%3Dhttp://www.ruutu.fi/video + + wvt:///www.ruutu.fi/description.xsl?srcurl= + wvt:///www.ruutu.fi/video.xsl?srcurl= + + + + + + + + + + + + <xsl:choose> + <xsl:when test="/jsondocument/dict/video_episode/list/li[1]/dict/series_name"> + <xsl:value-of select="/jsondocument/dict/video_episode/list/li[1]/dict/series_name"/> + </xsl:when> + <xsl:when test="/jsondocument/dict/video/list/li[1]/dict/clip_series_name"> + <xsl:value-of select="/jsondocument/dict/video/list/li[1]/dict/clip_series_name"/> + </xsl:when> + <xsl:otherwise>Ruutu.fi</xsl:otherwise> + </xsl:choose> + + + + + + + + + video_episode + + + video + + + + + + wvt:///www.ruutu.fi/program.xsl?srcurl=&postprocess=json2xml + + + + + + + + + + /// + + + + + + + + + 0 + + + + + + + + wvt:///www.ruutu.fi/program.xsl?srcurl=&postprocess=json2xml + + + + + + + wvt:///www.ruutu.fi/program.xsl?srcurl=&postprocess=json2xml + + + + + + + diff --git a/templates/www.ruutu.fi/search.xsl b/templates/www.ruutu.fi/search.xsl new file mode 100644 index 0000000..decda54 --- /dev/null +++ b/templates/www.ruutu.fi/search.xsl @@ -0,0 +1,23 @@ + + + + + + + Haku + + + + + + + + + + diff --git a/templates/www.ruutu.fi/series.xsl b/templates/www.ruutu.fi/series.xsl new file mode 100644 index 0000000..217d8be --- /dev/null +++ b/templates/www.ruutu.fi/series.xsl @@ -0,0 +1,28 @@ + + + + + + + + + + + wvt:///www.ruutu.fi/program.xsl?srcurl=http://www.ruutu.fi/ajax/media_get_nettitv_video/all/video_episode//latestdesc/0/25/true/__&postprocess=json2xml + + + + + + + + Kaikki sarjat + + + + + + diff --git a/templates/www.ruutu.fi/service.xml b/templates/www.ruutu.fi/service.xml new file mode 100644 index 0000000..0f0b0f2 --- /dev/null +++ b/templates/www.ruutu.fi/service.xml @@ -0,0 +1,7 @@ + + + + ruutu.fi + wvt:///www.ruutu.fi/mainmenu.xsl?srcurl=http%3A//www.ruutu.fi/ + Net TV service of the Finnish broadcasting company Nelonen + diff --git a/templates/www.ruutu.fi/video.xsl b/templates/www.ruutu.fi/video.xsl new file mode 100644 index 0000000..55fa9a5 --- /dev/null +++ b/templates/www.ruutu.fi/video.xsl @@ -0,0 +1,31 @@ + + + + + + + <xsl:value-of select="concat(/Playerdata/Behavior/Program/@program_name, ' ', /Playerdata/Behavior/Program/@episode_name)"/> + + + + wvt:///bin/ruutu-dl?contenttype=video/x-flv&arg=&arg=http://www.ruutu.fi/video + + + + + + + + + + + + + diff --git a/templates/www.ruutu.fi/videopage.xsl b/templates/www.ruutu.fi/videopage.xsl new file mode 100644 index 0000000..7060eba --- /dev/null +++ b/templates/www.ruutu.fi/videopage.xsl @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + + http://www.nelonen.fi/utils/video_config/?q=/&site=www.ruutu.fi&ageCheckURL=http://sso.nelonenmedia.fi/ajax/check_age/&current_page=http://www.ruutu.fi/video + + + + diff --git a/templates/www.sub.fi/description.xsl b/templates/www.sub.fi/description.xsl new file mode 100644 index 0000000..9aeacf0 --- /dev/null +++ b/templates/www.sub.fi/description.xsl @@ -0,0 +1,32 @@ + + + + + + + + + + + + <xsl:value-of select="$title"/> + + + + + + + + wvt:///www.sub.fi/video.xsl?param=pid,&param=title, + + + + + diff --git a/templates/www.sub.fi/mainmenu.xsl b/templates/www.sub.fi/mainmenu.xsl new file mode 100644 index 0000000..c865ae0 --- /dev/null +++ b/templates/www.sub.fi/mainmenu.xsl @@ -0,0 +1,21 @@ + + + + + + + Subin netti-TV + + + + + wvt:///www.sub.fi/navigation.xsl?srcurl= + + + + + + diff --git a/templates/www.sub.fi/navigation.xsl b/templates/www.sub.fi/navigation.xsl new file mode 100644 index 0000000..274355f --- /dev/null +++ b/templates/www.sub.fi/navigation.xsl @@ -0,0 +1,42 @@ + + + + + + + + + + + + + + + wvt:///www.sub.fi/video.xsl?srcurl=&param=pid,&param=title, + wvt:///www.sub.fi/description.xsl?param=title,&param=desc,&param=pubdate,&param=pid, + + + + + + + <xsl:value-of select="$programname"/> + + + + + + + + + + + + + + diff --git a/templates/www.sub.fi/service.xml b/templates/www.sub.fi/service.xml new file mode 100644 index 0000000..432855f --- /dev/null +++ b/templates/www.sub.fi/service.xml @@ -0,0 +1,7 @@ + + + + Subtv + wvt:///www.sub.fi/mainmenu.xsl?srcurl=http%3A//www.sub.fi/katsonetista/ + Sub is the third biggest commercial tv channel in Finland. + diff --git a/templates/www.sub.fi/video.xsl b/templates/www.sub.fi/video.xsl new file mode 100644 index 0000000..4448905 --- /dev/null +++ b/templates/www.sub.fi/video.xsl @@ -0,0 +1,24 @@ + + + + + + + + + + + + <xsl:value-of select="$title"/> + + + + + + + + + + + + diff --git a/templates/www.sub.fi/videopage.xsl b/templates/www.sub.fi/videopage.xsl new file mode 100644 index 0000000..11cd0ef --- /dev/null +++ b/templates/www.sub.fi/videopage.xsl @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + diff --git a/templates/www.vimeo.com/videopage.xsl b/templates/www.vimeo.com/videopage.xsl new file mode 100644 index 0000000..39cc3f3 --- /dev/null +++ b/templates/www.vimeo.com/videopage.xsl @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + + + + + diff --git a/templates/www.youtube.com/categories.xsl b/templates/www.youtube.com/categories.xsl new file mode 100644 index 0000000..096328d --- /dev/null +++ b/templates/www.youtube.com/categories.xsl @@ -0,0 +1,29 @@ + + + + + + + Youtube + + + + wvt:///www.youtube.com/search.xsl + + + + + + wvt:///www.youtube.com/navigation.xsl?srcurl=http://gdata.youtube.com/feeds/api/standardfeeds/most_popular_%3Fmax-results%3D20%26v%3D2 + + + + + + diff --git a/templates/www.youtube.com/description.xsl b/templates/www.youtube.com/description.xsl new file mode 100644 index 0000000..6567adb --- /dev/null +++ b/templates/www.youtube.com/description.xsl @@ -0,0 +1,73 @@ + + + + + + + + + + + + + + + + + + <xsl:value-of select="/atom:entry/atom:title"/> + + + + + + + + + + + + + + wvt:///www.youtube.com/navigation.xsl?srcurl= + + + + + + + wvt:///www.youtube.com/navigation.xsl?srcurl= + + + + + + wvt:///www.youtube.com/video.xsl?srcurl=http://www.youtube.com/get_video_info?video_id= + + + + + + diff --git a/templates/www.youtube.com/navigation.xsl b/templates/www.youtube.com/navigation.xsl new file mode 100644 index 0000000..91f6189 --- /dev/null +++ b/templates/www.youtube.com/navigation.xsl @@ -0,0 +1,62 @@ + + + + + + + + wvt:///www.youtube.com/video.xsl?srcurl=http://www.youtube.com/get_video_info?video_id= + wvt:///www.youtube.com/description.xsl?srcurl= + + + + + + + + wvt:///www.youtube.com/navigation.xsl?srcurl= + + + + + + + wvt:///www.youtube.com/navigation.xsl?srcurl=a + + + + + + + <xsl:value-of select="/atom:feed/atom:title"/> + + + + + wvt:///www.youtube.com/navigation.xsl?srcurl= + + + + + + + + + + + + + + + + + + diff --git a/templates/www.youtube.com/search.xsl b/templates/www.youtube.com/search.xsl new file mode 100644 index 0000000..c6589b2 --- /dev/null +++ b/templates/www.youtube.com/search.xsl @@ -0,0 +1,39 @@ + + + + + + + Youtube Search + + + + + + + + Relevance + Date Added + View Count + Rating + + + + + Anytime + Today + This week + This month + + + + + + + diff --git a/templates/www.youtube.com/service.xml b/templates/www.youtube.com/service.xml new file mode 100644 index 0000000..9c5b33c --- /dev/null +++ b/templates/www.youtube.com/service.xml @@ -0,0 +1,7 @@ + + + + YouTube + wvt:///www.youtube.com/categories.xsl?srcurl=http://gdata.youtube.com/schemas/2007/categories.cat + Video sharing service on which users worldwide can upload their videos + diff --git a/templates/www.youtube.com/video.xsl b/templates/www.youtube.com/video.xsl new file mode 100644 index 0000000..12e1cf5 --- /dev/null +++ b/templates/www.youtube.com/video.xsl @@ -0,0 +1,84 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <xsl:variable name="titleparam"> + <xsl:choose> + <xsl:when test="$title"> + <xsl:value-of select="$title"/> + </xsl:when> + <xsl:when test="contains(substring-after($videoinfo, '&title='), '&')"> + <xsl:value-of select="substring-before(substring-after($videoinfo, '&title='), '&')"/> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="substring-after($videoinfo, '&title=')"/> + </xsl:otherwise> + </xsl:choose> + </xsl:variable> + + <xsl:value-of select="str:decode-uri(str:replace($titleparam, '+', ' '))"/> + + + + + + + + + + + + + + + + diff --git a/templates/www.youtube.com/videopage.xsl b/templates/www.youtube.com/videopage.xsl new file mode 100644 index 0000000..5f1b174 --- /dev/null +++ b/templates/www.youtube.com/videopage.xsl @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + diff --git a/templates/yleareena/description.xsl b/templates/yleareena/description.xsl deleted file mode 100644 index 2340cb2..0000000 --- a/templates/yleareena/description.xsl +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - <xsl:value-of select="normalize-space(//h1[@class='cliptitle'])"/> - - - - - - - - - diff --git a/templates/yleareena/livebroadcasts.xsl b/templates/yleareena/livebroadcasts.xsl deleted file mode 100644 index 865fcee..0000000 --- a/templates/yleareena/livebroadcasts.xsl +++ /dev/null @@ -1,46 +0,0 @@ - - - - - - - - - - - wvt:///yleareena/livestream.xsl?param=stream, - - - - - - - - wvt:///yleareena/livestream.xsl?param=stream, - - - - - - - - - - - Suorat lähetykset - - - - - - - - - - - diff --git a/templates/yleareena/livestream.xsl b/templates/yleareena/livestream.xsl deleted file mode 100644 index b6d7ee2..0000000 --- a/templates/yleareena/livestream.xsl +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - - - - livestream-<xsl:value-of select="$stream"/> - - - wvt:///bin/yle-dl?contenttype=video/x-flv&arg=http%3A//areena.yle.fi/player/index.php%3Fstream%3D%26language%3Dfi - - - - - - - - - - diff --git a/templates/yleareena/mainmenu.xsl b/templates/yleareena/mainmenu.xsl deleted file mode 100644 index d17ede6..0000000 --- a/templates/yleareena/mainmenu.xsl +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - - YLE Areena - - - - wvt:///yleareena/search.xsl?srcurl=http://areena.yle.fi/haku - - - - - wvt:///yleareena/livebroadcasts.xsl?srcurl=http://areena.yle.fi/live - - - - - wvt:///yleareena/programlist.xsl?srcurl=http://areena.yle.fi/ohjelmat - - - - - - - - - - - - diff --git a/templates/yleareena/navigation.xsl b/templates/yleareena/navigation.xsl deleted file mode 100644 index bbf0ad7..0000000 --- a/templates/yleareena/navigation.xsl +++ /dev/null @@ -1,119 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - wvt:///yleareena/navigation.xsl?srcurl= - - - - - - wvt:///yleareena/navigation.xsl?srcurl= - - - - - - - - - - - - - - - - - - - - - - - - - - wvt:///yleareena/navigation.xsl?srcurl= - - - - - - - - - - - - - - wvt:///yleareena/description.xsl?srcurl= - wvt:///yleareena/video.xsl?srcurl=&param=title, - - - - - - - - - - - <xsl:value-of select="$title"/> - - - - - - - - - Hae Areenasta: Ei osumia - - - - - - - - - diff --git a/templates/yleareena/programlist.xsl b/templates/yleareena/programlist.xsl deleted file mode 100644 index 0a4ece4..0000000 --- a/templates/yleareena/programlist.xsl +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - - - wvt:///yleareena/navigation.xsl?srcurl=&param=title, - - - - - - Ohjelmat A-Ö - - - - - - diff --git a/templates/yleareena/search.xsl b/templates/yleareena/search.xsl deleted file mode 100644 index fa487f4..0000000 --- a/templates/yleareena/search.xsl +++ /dev/null @@ -1,45 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - Hae Areenasta - - - - - - - - - - Kaikki - Kyllä - - - - - - - diff --git a/templates/yleareena/service.xml b/templates/yleareena/service.xml deleted file mode 100644 index 0d7aa03..0000000 --- a/templates/yleareena/service.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - YLE Areena - wvt:///yleareena/mainmenu.xsl?srcurl=http%3A//areena.yle.fi/ - Video service by YLE, the Finland's national public service broadcasting company - diff --git a/templates/yleareena/video.xsl b/templates/yleareena/video.xsl deleted file mode 100644 index f0c2d6a..0000000 --- a/templates/yleareena/video.xsl +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - - - - - <xsl:value-of select="$title"/> - wvt:///bin/yle-dl?contenttype=video/x-flv&arg= - - - - - diff --git a/templates/youtube/categories.xsl b/templates/youtube/categories.xsl deleted file mode 100644 index 080218b..0000000 --- a/templates/youtube/categories.xsl +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - Youtube - - - - wvt:///youtube/search.xsl - - - - - - wvt:///youtube/navigation.xsl?srcurl=http://gdata.youtube.com/feeds/api/standardfeeds/most_popular_%3Fmax-results%3D20%26v%3D2 - - - - - - diff --git a/templates/youtube/description.xsl b/templates/youtube/description.xsl deleted file mode 100644 index e728961..0000000 --- a/templates/youtube/description.xsl +++ /dev/null @@ -1,73 +0,0 @@ - - - - - - - - - - - - - - - - - - <xsl:value-of select="/atom:entry/atom:title"/> - - - - - - - - - - - - - - wvt:///youtube/navigation.xsl?srcurl= - - - - - - - wvt:///youtube/navigation.xsl?srcurl= - - - - - - wvt:///youtube/video.xsl?srcurl=http://www.youtube.com/watch?v= - - - - - - diff --git a/templates/youtube/navigation.xsl b/templates/youtube/navigation.xsl deleted file mode 100644 index a9df76f..0000000 --- a/templates/youtube/navigation.xsl +++ /dev/null @@ -1,62 +0,0 @@ - - - - - - - - wvt:///youtube/video.xsl?srcurl=http://www.youtube.com/get_video_info?video_id= - wvt:///youtube/description.xsl?srcurl= - - - - - - - - wvt:///youtube/navigation.xsl?srcurl= - - - - - - - wvt:///youtube/navigation.xsl?srcurl=a - - - - - - - <xsl:value-of select="/atom:feed/atom:title"/> - - - - - wvt:///youtube/navigation.xsl?srcurl= - - - - - - - - - - - - - - - - - - diff --git a/templates/youtube/search.xsl b/templates/youtube/search.xsl deleted file mode 100644 index d28e3c6..0000000 --- a/templates/youtube/search.xsl +++ /dev/null @@ -1,39 +0,0 @@ - - - - - - - Youtube Search - - - - - - - - Relevance - Date Added - View Count - Rating - - - - - Anytime - Today - This week - This month - - - - - - - diff --git a/templates/youtube/service.xml b/templates/youtube/service.xml deleted file mode 100644 index f5719a6..0000000 --- a/templates/youtube/service.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - YouTube - wvt:///youtube/categories.xsl?srcurl=http://gdata.youtube.com/schemas/2007/categories.cat - Video sharing service on which users worldwide can upload their videos - diff --git a/templates/youtube/video.xsl b/templates/youtube/video.xsl deleted file mode 100644 index f2791da..0000000 --- a/templates/youtube/video.xsl +++ /dev/null @@ -1,72 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <xsl:variable name="titleparam"> - <xsl:choose> - <xsl:when test="contains(substring-after(., '&title='), '&')"> - <xsl:value-of select="substring-before(substring-after(., '&title='), '&')"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="substring-after(., '&title=')"/> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <xsl:value-of select="str:decode-uri(str:replace($titleparam, '+', ' '))"/> - - - - - - - - - - -- cgit v1.2.3