Quantcast
Channel: Displaying Thumbnail from RSS Feed - Stack Overflow
Browsing all 2 articles
Browse latest View live

Answer by mblitz for Displaying Thumbnail from RSS Feed

Try that:$thumb = $node->getElementsByTagName('media:thumbnail')->item(0)->attributes->getNamedItem('url')->nodeValue;

View Article



Displaying Thumbnail from RSS Feed

I am currently displaying an RSS feed and I am grabbing the title, link and date for each article. I would also like to grab the media:thumbnail for each article. Here is the PHP code I am using to...

View Article
Browsing all 2 articles
Browse latest View live




Latest Images