comparison scald_dailymotion.module @ 1:e851124eabe3

DailyMotion: Fix typo introduced by refactoring just before the initial commit
author Franck Deroche <franck@defr.org>
date Fri, 16 Jul 2010 17:42:09 +0200
parents ad3d1dbbb66e
children c57b2ac8f84c
comparison
equal deleted inserted replaced
0:ad3d1dbbb66e 1:e851124eabe3
125 ); 125 );
126 // ... also get the author 126 // ... also get the author
127 $info->author = $item->getElementsByTagNameNS(NS_DM, 'author')->item(0)->nodeValue; 127 $info->author = $item->getElementsByTagNameNS(NS_DM, 'author')->item(0)->nodeValue;
128 // ... and the publication date 128 // ... and the publication date
129 $info->pubDate = date('c', strtotime($item->getElementsByTagName('pubDate')->item(0)->nodeValue)); 129 $info->pubDate = date('c', strtotime($item->getElementsByTagName('pubDate')->item(0)->nodeValue));
130 $items[] = $infos; 130 $items[] = $info;
131 } 131 }
132 } 132 }
133 } 133 }
134 return $items; 134 return $items;
135 } 135 }