title: Change data result while passing promise up chain?
body: <p>I am trying to migrate to using promises via jQuery. In my original code, I have a callback parameter that takes in modified data:</p>
  
  <pre><code>var getRss = function (url, fnLoad) {
      $.get(url, function (data) {
          var items = [];
          $(data).find('item').each(function (index) {
              items.push({
                  title: $(this).find('title').text(),
                  pubDate: $(this).find('pubDate').text()
              });
          });
  
          fnLoad(items);
      });
  }
  </code></pre>
  
  <p>I tried changing to promise, but the "done" returns the unmodified data instead of the parsed one:</p>
  
  <pre><code>var getRss = function (url) {
      return $.get(url).done(function (data) {
          var items = [];
          $(data).find('item').each(function (index) {
              items.push({
                  title: $(this).find('title').text(),
                  pubDate: $(this).find('pubDate').text()
              });
          });
      });
  }
  </code></pre>
  
  <p>Then using it like below but I get the original XML version, not the modified one that was converted to an object:</p>
  
  <pre><code> getRss('/myurl').done(function (data) {
        $('body').append(template('#template', data));
    });
  </code></pre>