Created
January 11, 2011 23:03
-
-
Save ethangardner/775347 to your computer and use it in GitHub Desktop.
MooTools 1.3 XML parsing with Slick
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//XHR to retrieve an atom feed and parse the result | |
//with MooTools Slick selector engine | |
new Request({ | |
url: '/index.php?format=feed&type=atom', | |
data : 'xml', | |
method: 'get', | |
onComplete: function(responseText, responseXML) { | |
console.log(Slick.search(responseXML, 'entry > title')); | |
} | |
}).send(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment