↧
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 ArticleAnswer 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 ArticleTrying 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