$xmldoc = new DOMDocument();
$xmldoc
->load('api response address');
foreach ($xmldoc->getElementsByTagName('item') as $feeditem) {
    $nodes
= $feeditem->getElementsByTagName('file');
    $linkthumb
= $nodes->item(0)->getAttribute('data');
    echo $linkthumb
;
}

+ Recent posts