Permalink
Browse files

Formating to XML. Online debug, sry for the spam

  • Loading branch information...
1 parent ae28e30 commit 62d1840f85bf6ec38963de3aa67086978802f7be @damienalexandre committed Dec 27, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 populartagbydays.js
View
@@ -5,9 +5,9 @@ var recenttracks = request_instance
.query('user', inputs['user']).query('api_key', inputs['api_key'])
.query('limit', inputs['limit']).accept('application/json').get().response;
-y.log( y.xmlToJson(recenttracks).lfm );
+y.log( y.xmlToJson(recenttracks).lfm.recenttracks.track );
-response.object = y.xmlToJson(recenttracks).lfm;
+response.object = y.xmlToJson(recenttracks).lfm.recenttracks.track;
//var recenttracks = {
// "results": {

0 comments on commit 62d1840

Please sign in to comment.