I'm setting up a page which grabs the first entry from multiple RSS feeds. I'm running into a lot of RSS feeds that are formated differently. I'm using SimplePie to parse the feeds. The current feed I'm trying to grab the image from is below:
<entry>
<updated>2011-01-28T09:00:00Z</updated>
<title><![CDATA[Information on Title of Product]]></title>
<link href="http://link-to-website"/>
<summary type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<img src="http://image.JPG"/>
<div>Title of Image</div>
</div>
</summary>
</entry>
How can I grab the img tag from within the summary tag with SimplePie so I can display this on my website?
Thanks in advance.