title: Get the URL of RSS Feed Enclosure Tag
body: <p>Developers!</p>
  
  <p>I'm having some trouble understanding the rss feed enclosure tag..
  Here you got the relevant code:</p>
  
  <pre><code>$(document).ready(function(){
  
  
      $('#btnHentRss').click(function(){
          fyllNyheter();
      });
  
  });
  
      function fyllNyheter(){
  
          var url = $('#feedListe').val();
  
              $.getFeed({
                  url: "getRSS.php?url=" + url,
                  success: function(feed){
                       parseXML(feed);
              },
              error: function(){
                  $('#sectId').html("&lt;p&gt;Something went wrong&lt;/p&gt;");
              },
              complete: function(){
  
              }
          });
  
  }
   function parseXML(feed){
  
         $.each(feed.items, function(i, item){
                  var tittel = item.title;
                  var beskrivelse = item.description;
                  var url= $(item).find("enclosure['url']");
  
                  $('#sectId').append("&lt;img src='" + media + "' /&gt;");
              }); 
  }
  </code></pre>
  
  <p>Example of the xml:</p>
  
  <pre><code>&lt;rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/"&gt;
  &lt;channel&gt;
  &lt;title&gt;NRK - Musikknyheter&lt;/title&gt;
  &lt;link&gt;http://nrk.no/liste.rss&lt;/link&gt;
  &lt;description&gt;Musikknyheter&lt;/description&gt;
  &lt;pubDate&gt;Sat, 13 Oct 2012 16:20:47 +0200&lt;/pubDate&gt;
  &lt;sy:updateFrequency&gt;12&lt;/sy:updateFrequency&gt;
  &lt;sy:updatePeriod&gt;hourly&lt;/sy:updatePeriod&gt;
  &lt;item&gt;
  &lt;title&gt;Ny slagkraftig festspillprodusent&lt;/title&gt;
  &lt;link&gt;http://www.nrk.no/nyheter/distrikt/troms_og_finnmark/1.8354920&lt;/link&gt;
  &lt;description&gt;Festspillene i Nord-Norge har ansatt Nasra Ali Omar som ny produsent for barn og unge.&lt;/description&gt;
  &lt;pubDate&gt;Thu, 11 Oct 2012 14:41:39 +0200&lt;/pubDate&gt;
  &lt;enclosure url="http://www.nrk.no/contentfile/imagecrop/1.6102705?cropid=f169w225" type="image/jpeg"/&gt;
  &lt;/item&gt;
  &lt;/channel&gt;
  &lt;/rss&gt;
  </code></pre>
  
  <p><code>var tittel</code> returns the correct title of each item(So I know I got contact with the feed).</p>
  
  <p><code>var url</code> only returns [Object object].</p>
  
  <p>I'm using jFeed. See the jFeed php and js here: <a href="http://jsfiddle.net/zbuNW/" rel="nofollow">http://jsfiddle.net/zbuNW/</a></p>
  
  <p>What am I supposed to do? My google searches has turned purple, I don't want to use another plugin, and I want to do it in javascript/jquery.</p>
  
  <p>Thanks for even reading my problem :) Happy problem solving!</p>