Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Explicit arrays for xml parsing turned off by default. xml2js parsing options now controlled via xmlOptions
- Loading branch information
Edward de Groot
committed
Sep 15, 2011
1 parent
7209761
commit 56d48b2
Showing
7 changed files
with
27 additions
and
3 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
pantry = require '../src/pantry' | ||
util = require 'util' | ||
|
||
pantry.fetch { | ||
xmlOptions: {explicitCharkey: true, explicitArray: true} | ||
uri: 'http://www.edmontonjournal.com/1419033.atom' | ||
}, (error, item) -> | ||
console.log util.inspect(item, false, null) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
pantry = require '../src/pantry' | ||
util = require 'util' | ||
|
||
pantry.fetch { | ||
xmlOptions: {explicitCharkey: true, explicitArray: true} | ||
uri: 'http://rss.cbc.ca/lineup/topstories.xml' | ||
}, (error, item) -> | ||
console.log util.inspect(item, false, null) |
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
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
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