Created
October 3, 2010 17:25
-
-
Save mcantelon/608741 to your computer and use it in GitHub Desktop.
This file contains 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
var sys = require('sys'), | |
rest = require('restler-aaronblohowiak'), | |
item, | |
node | |
rest.get('http://mikecantelon.com/jsontest/News') | |
.addListener('complete', function(data) { | |
for(item in data.nodes) { | |
node = data.nodes[item].node | |
sys.puts(node.Title) | |
sys.puts(node.Body) | |
} | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment