Quantcast
Channel: Get img url from enclosure in rss feed - Stack Overflow
Browsing latest articles
Browse All 2 View Live

Answer by SunMar for Get img url from enclosure in rss feed

Try looking at http://php.net/manual/en/domelement.getattribute.php to see how to fetch an attribute from a DOMElement. In this case you could use...

View Article


Get img url from enclosure in rss feed

i have a little problem.I have the following code on my site to post some news from a rss file:<?php$rss = new DOMDocument();$rss->load('http://rt.com/rss/');$feed = array();foreach...

View Article

Browsing latest articles
Browse All 2 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>