views:

37

answers:

0

Hi all, Im using php and magpie and would like a general way of detecting images in feed item. I know some websites place images within the enclosure tag, others like this images[rss] and some simply add it to description. Is there any one with a general function for detecting if rss item has image and extracting image url after its been parsed by magpie?

i think reqular expressions would be needed to extract from description but im a noob at those. Please help if you can.