Skip to content

Commit

Permalink
Merge pull request #8 from mandric/master
Browse files Browse the repository at this point in the history
minor patches
  • Loading branch information
Sam committed Feb 9, 2013
2 parents 8c058f0 + 830ceae commit ed0b452
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ key from Google ClientLogin. The actualy authentication is not handled by this
library. I would recommend the [googleclientlogin](https://github.com/Ajnasz/GoogleClientLogin)

### Authentication example (using googleclientlogin):
var GoogleClientLogin = require("googleclientlogin").GoogleClientLogin;

var googleAuth = new GoogleClientLogin({
email: '<email>',
password: '<password>',
Expand Down Expand Up @@ -119,4 +121,4 @@ library. I would recommend the [googleclientlogin](https://github.com/Ajnasz/Goo

## Links
- <http://code.google.com/apis/spreadsheets/>
- <https://github.com/Ajnasz/GoogleClientLogin>
- <https://github.com/Ajnasz/GoogleClientLogin>
2 changes: 1 addition & 1 deletion lib/spreadsheets.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ var getFeed = function(params, auth, query, cb) {
cb(new Error("HTTP error " + response.statusCode + ": " + http.STATUS_CODES[response.statusCode]));
}

var parser = new xml2js.Parser();
var parser = new xml2js.Parser(xml2js.defaults["0.1"]);
parser.on("end", function(result) {
cb(null, result);
});
Expand Down

0 comments on commit ed0b452

Please sign in to comment.