title: Get linq to xml descendants Elements with specific attribute value
body: <p>From a <a href="http://dev.twitter.com/doc/get/statuses/user_timeline" rel="nofollow">twitter atom feed</a> I'm trying to get some feed data using linqToXml:</p>
  
  <pre><code>atomFeed = XDocument.Load(feedUrl);  
  var tweets = (from entry in atomFeed.Descendants("entry")
                           select new
                           {
                               Date = entry.Element("published").Value,
                               Title = entry.Element("title").Value,
                               Url = entry.Element("link").Value // with type="image/jpeg"
                           }
                          );
  </code></pre>
  
  <p>Since there are two link types (one with attribute type="text/html" and one with type="image/jpeg" it doesn't work. I only need the link with the jpeg, but no clue how to extract only that link from the xml</p>