I’m using Magepierss to extract feeds news from some urls i get the title, the date, etc.. But not the image, it’s exist in this fields [description] within a html code
[description] => <div style="margin: 5px 5% 10px 5%;"><img src="http://www.supermotoaustralia.com/wp-content/uploads/2014/07/showroom.jpg" width="90%" /></div><div>Australians purchased 53,396 new motorcycles, all-terrain vehicles (ATVs) and scooters in the first half of 2014, with road motorcycle purchases making up 40.6 per cent of these sales. While sales in the road motorcycle segment were up 2.2 per cent, total motorcycle, ATV and scooter sales were down 0.5 per cent compared to the same […]</div>
and i want to do a function in php to exctrat just the image frome this html code any ideas ?