Quantcast
Channel: Trying to Parse Only the Images from an RSS Feed - Stack Overflow
Browsing latest articles
Browse All 3 View Live

Answer by IMSoP for Trying to Parse Only the Images from an RSS Feed

The <img> tags inside that RSS feed are not actually elements of the XML document, contrary to the syntax highlighting on this site - they are just text inside the <description> element...

View Article


Answer by lethal-guitar for Trying to Parse Only the Images from an RSS Feed

I don't have much experience with xPath, but you could try the following: $imgs = $xml->xpath('item//img');This will select all img-elements which are inside item-elements, regardless if there are...

View Article


Trying to Parse Only the Images from an RSS Feed

First, I am a php newbie. I have looked at the question and solution here. For my needs however, the parsing does not go deep enough into the various articles.A small sampling of my rss feed reads like...

View Article
Browsing latest articles
Browse All 3 View Live


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