PRAY FOR JAPAN

created by laqu  twitter Facebook
日本国外からの支援について -Wikipedia- (About support from foreign countries [Japanese])
photo by flickrAPI
setFlickrApikey('a14b66a884af4d0c56674d85ef9f8997'); echo $flickr->getFlickrImage('prayforjapan',12); */ ?>
Youtube
井上雄彦「Smile」× 菅野よう子「きみでいて ぶじでいて」
井上雄彦「Smile」× 菅野よう子「きみでいて ぶじでいて」
entry as $entry) { $media = $entry->children('http://search.yahoo.com/mrss/'); // タイトル $title = $entry->title; // 詳細 $desc = $media->group->description; // URL $attrs = $media->group->player->attributes(); $watch = $attrs['url']; // サムネイル $content = $media->group->content->attributes(); $attrs = $media->group->thumbnail[0]->attributes(); $thumbnail = $attrs['url']; // 動画の時間 (秒) $yt = $media->children('http://gdata.youtube.com/schemas/2007'); $attrs = $yt->duration->attributes(); $length = $attrs['seconds']; // 再生回数 $yt = $entry->children('http://gdata.youtube.com/schemas/2007'); $attrs = $yt->statistics->attributes(); //$viewCount = $attrs['viewCount']; // 評価 $gd = $entry->children('http://schemas.google.com/g/2005'); if ($gd->rating) { $attrs = $gd->rating->attributes(); $rating = $attrs['average']; } else { $rating = 0; } // ID $arr = explode('/',$entry->id); $id = $arr[count($arr)-1]; echo "
\n"; echo "
".$title."
\n"; echo "
\n"; echo "
\"".$title."\"
\n"; echo "
\n"; echo "
\n"; } ?>