From: <ara...@us...> - 2007-04-27 19:24:11
|
Revision: 129 http://svn.sourceforge.net/easybox-mod/?rev=129&view=rev Author: aragornis Date: 2007-04-27 12:24:05 -0700 (Fri, 27 Apr 2007) Log Message: ----------- Modif sur dailymotion Modified Paths: -------------- trunk/_utilisateur/podcast.db trunk/_utilisateur/rss.db trunk/module/dailymotion/index1.php Modified: trunk/_utilisateur/podcast.db =================================================================== (Binary files differ) Modified: trunk/_utilisateur/rss.db =================================================================== (Binary files differ) Modified: trunk/module/dailymotion/index1.php =================================================================== --- trunk/module/dailymotion/index1.php 2007-04-27 12:18:41 UTC (rev 128) +++ trunk/module/dailymotion/index1.php 2007-04-27 19:24:05 UTC (rev 129) @@ -24,7 +24,9 @@ $url = $k['url']; $length = intval($k['length']); } - $retour[] = array('temps'=>date('i:s',$length), 'titre'=>utf8_decode($item->title), 'url'=>$url, 'img'=>$img); + $vid = $item->xpath('media:group/media:content'); + + $retour[] = array('temps'=>date('i:s',$length), 'titre'=>utf8_decode($item->title), 'url'=>$vid[0]['url'], 'img'=>$img); } return($retour); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |