↧
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 ArticleGet 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