Im trying to pull an image URL out of an RSS link.
Here's an image of one of the items inside there.
In the image there is an tag media:thumbnail
I am using this for the title, link and discription:
$item_title = $item->getElementsByTagName('title')->item(0)->childNodes->item(0)->nodeValue;
$item_link = $item->getElementsByTagName('link')->item(0)->childNodes->item(0)->nodeValue;
$item_desc = $item->getElementsByTagName('description')->item(0)->childNodes->item(0)->nodeValue;
However I cannot seem to pull out the media:thumbnail.
I have tried the same as the other one's
$item_img = $item->getElementsByTagName('media:thumbnail')->item(0)->childNodes->item(0)->nodeValue;
Line 24 is the line that I tried. but I also tried using .attribute(url) but this also doesnt return a thing.
I hope someone can help me with this, its been 4 hours since I got this problem but after a lot of try and error there wasnt a single time I got the URL back.
Thanks in advance, and happy coding.

