Parsing the Youtube API with DOM
- by Kirk
I'm using the Youtube API and I can retrieve the date information without a problem, but don't know how to retrieve the description information.
My Code:
<?php
$v = "dQw4w9WgXcQ";
$url = "http://gdata.youtube.com/feeds/api/videos/". $v;
$doc = new DOMDocument;
$doc->load($url);
$pub =…