I'm trying to use JQuery to parse XML that way I can post content from an RSS Feed to my site. However, I'm stuck.I'm not sure how to load a XML file with JQuery. I've created an example at the link below. Thanks
http://jsfiddle.net/deadendstreet/DytGM/1/
var xml;
$.get("http://straight2jackie.blogspot.com//feeds/posts/default?alt=rss", function(data) {
xml = data;
});,
xmlDoc = $.parseXML( xml ),
$xml = $( xmlDoc ),
$title = $xml.find( "title" );
/* append "RSS Title" to #someElement */
$( "#someElement" ).append( $title.text() );
/* change the title to "XML Title" */
$title.text( "XML Title" );
/* append "XML Title" to #anotherElement */
$( "#anotherElement" ).append( $title.text() );