Parse Flickr RSS Feeds

I am trying to figure out how to parse a Flickr RSS feed to feed it into a swf to make a pretty flash interface for my photoblog. I am thinking it would be ideal if the image url was in its own element, and the description for the image was in a sibling element. However this is not the case. The problem I am running into is that the image for each post is in the same element as the description (in the content element). The image is simply wrapped by a normal html img tag. Does anyone know how I would pull the image url out of the description during parsing so that I could feed them into flash elements on the stage (one mc for image, another mc with a dynamic text box for the image description)?

Here is a sample entry from a Flickr RSS feed I grabbed from flickr.com. As you can see, the image url and image description are both contained inside the “content” element. (Sorry for the no-wrap on the lines, they didn’t paste in like i hoped they would :))

 <entry>
      <title>Karol und die Schnecke</title> 

    <link rel="**alternate**"  type="**text/html**" href="**http://www.flickr.com/photos/patiweber/7686394/**" /> 

    <id>tag:flickr.com,2004:/photo/7686394</id>  

    <issued>2005-03-28T15:19:13Z</issued> 

    <modified>2005-03-28T15:19:13Z</modified> 

    <content type="**text/html**"  mode="**escaped**"><p><a href="http://www.flickr.com/people/patiweber/">patiweb</a> posted a photo:</p> <p><a href="http://www.flickr.com/photos/patiweber/7686394/" title="Karol und die Schnecke"><img src="http://photos6.flickr.com/7686394_1d59deb5aa_m.jpg" width="147" height="240" alt="Karol und die Schnecke" style="border: 1px solid #000000;" /></a></p> <p>To colorize =) I will start to post some illustrations without coloring, so your Kids can do it themselves =) <br /> <br /> Like mine does.</p></content> 

  [-](http://#) <author>
     <name>patiweb</name> 

    <url>http://www.flickr.com/people/patiweber/</url>  

   </author>


   </entry>