Issue parsing Reddit XML with jQuery
<p>I'm trying to use the reddit XML feed of a subreddit, but I'm having issues parsing it with JavaScript. </p>

<p>I've got this code</p>

<pre><code>function parseXml(xml) {
    var xmlResult = "";
    $(xml).find("item").each(function() {
        xmlResult = xmlResult + ($(this).find("title").text()) + "&lt;br /&gt;";
    });
    document.write(xmlResult);
}
</code></pre>

<p>but the issue is that it duplicates the title.</p>

<p>In the Reddit XML feed, there is the title and the media:title tag. I how I can fix this duplication.</p>

<p>Example: Title is "Really awesome title of post", and in my output I get "Really awesome title of postReally awesome title of post".</p>
