I'm trying to get 3 things from an rss feed:

1. link
2. image source
3. text outside of link

...so far got the images extracted...

PHP Code:
$html 

"<a href="1111" target="_blank"><img src="2222" border="0"/></a><br />3333
"
;
preg_match_all ('/<img src="([^"]*)"[^>]*>/'$html$matches); 

foreach (
$matches[1] as $value) {
    echo
"<img src=\"$value\"/>";

what do i need to do?