From 89c298b5359333d048fc96bed8e33040fa243a51 Mon Sep 17 00:00:00 2001 From: Sem Date: Thu, 10 Nov 2011 23:40:03 +0100 Subject: Not giss.tv support for general release. --- lib/gisstv.php | 41 ----------------------------------------- lib/videolist.php | 2 +- 2 files changed, 1 insertion(+), 42 deletions(-) delete mode 100644 lib/gisstv.php (limited to 'lib') diff --git a/lib/gisstv.php b/lib/gisstv.php deleted file mode 100644 index 24e11340a..000000000 --- a/lib/gisstv.php +++ /dev/null @@ -1,41 +0,0 @@ - 'gisstv', - 'video_id' => $video_id, - ); -} - -function videolist_get_data_gisstv($parsed){ - $video_id = $parsed['video_id']; - - $buffer = file_get_contents('http://giss.tv/dmmdb//rss.php'); - $xml = new SimpleXMLElement($buffer); - - $data = array(); - foreach($xml->xpath('/rss/channel/item') as $item){ - if(sanitize_string($item->link) == 'http://giss.tv/dmmdb//contents/'.$video_id) { - $data['title'] = sanitize_string($item->title); - $data['description'] = strip_tags($item->description); - $data['thumbnail'] = sanitize_string($item->thumbnail); - break; - } - } - return $data; -} diff --git a/lib/videolist.php b/lib/videolist.php index 2dfc7d8fc..4e12c5361 100644 --- a/lib/videolist.php +++ b/lib/videolist.php @@ -1,6 +1,6 @@