From f399afdd2e3cc072efaca069b7a874c7801b31f6 Mon Sep 17 00:00:00 2001 From: Steve Clay Date: Mon, 9 Apr 2012 17:05:57 -0400 Subject: switched to platform classes. see https://github.com/Elgg/videolist/issues/4 --- lib/bliptv.php | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100644 lib/bliptv.php (limited to 'lib/bliptv.php') diff --git a/lib/bliptv.php b/lib/bliptv.php deleted file mode 100644 index f4c0f772c..000000000 --- a/lib/bliptv.php +++ /dev/null @@ -1,29 +0,0 @@ - 'bliptv', - 'video_id' => $parsed['path'], - ); -} - -function videolist_get_data_bliptv($parsed){ - $video_id = $parsed['video_id']; - - $buffer = file_get_contents('http://blip.tv'.$video_id.'?skin=rss'); - $xml = new SimpleXMLElement($buffer); - - return array( - 'title' => sanitize_string(current($xml->xpath('/rss/channel/item/title'))), - 'description' => strip_tags(current($xml->xpath('/rss/channel/item/description'))), - 'thumbnail' => sanitize_string(current($xml->xpath('/rss/channel/item/media:thumbnail/@url'))), - 'embedurl' => sanitize_string(current($xml->xpath('/rss/channel/item/blip:embedUrl'))), - ); -} -- cgit v1.2.3