I\'m trying to obtain the list of podcasts episodes from the iTunes Search API. I\'m able to make a call to the API and get back all podcast albums based on a search term:
For me, this works. I use this code: https://github.com/ijanerik/PHP-iTunes-API/blob/master/README.md
foreach($results as $item){
$url = $item->feedUrl;
}
$xml = simplexml_load_file($url) or die("feed not loading");
print_r($xml);
I think what you need to do is to take that feed URL and get the tracks from there directly
"feedUrl": "http://jovemnerd.com.br/categoria/nerdcast/feed/",
I suspect that the iTunes search API documentation and implementation contain caveats that are not written clearly out.