feedparser
Advanced tools
Comparing version 0.16.0 to 0.16.1
v0.16.1 / 2013-06-13 | ||
================== | ||
* Update travis config | ||
* Only emit meta once. title is a required channel element, so a feed without it is broken, but emitting more than once is still a no-no. Closes #69 | ||
* Bump version: v0.16.0 | ||
* Update README | ||
* Remove legacy libxml-like helpers | ||
* Update dump script | ||
* Update examples | ||
* Update tests | ||
* Emit SAXErrors and allow consumer to handle or bail on SAXErrors | ||
* Update copyright notices | ||
* Merge branch 'AndreasMadsen-transform-stream' | ||
* Change stream test to not require additional dependency | ||
* make feedparser a transform stream | ||
v0.16.0 / 2013-06-11 | ||
@@ -3,0 +20,0 @@ ================== |
11
main.js
@@ -99,2 +99,3 @@ /********************************************************************** | ||
}; | ||
this._emitted_meta = false; | ||
this.stack = []; | ||
@@ -298,3 +299,6 @@ this.nodes = {}; | ||
utils.merge(this.meta, this.handleMeta(this.stack[0], this.meta['#type'], this.options)); | ||
this.emit('meta', this.meta); | ||
if (!this._emitted_meta) { | ||
this.emit('meta', this.meta); | ||
this._emitted_meta = true; | ||
} | ||
} | ||
@@ -316,3 +320,6 @@ if (!baseurl && this.xmlbase && this.xmlbase.length) { // handleMeta was able to infer a baseurl without xml:base or options.feedurl | ||
utils.merge(this.meta, this.handleMeta(n, this.meta['#type'], this.options)); | ||
this.emit('meta', this.meta); | ||
if (!this._emitted_meta) { | ||
this.emit('meta', this.meta); | ||
this._emitted_meta = true; | ||
} | ||
} | ||
@@ -319,0 +326,0 @@ |
@@ -5,3 +5,3 @@ { | ||
"description": "Robust RSS Atom and RDF feed parsing using sax js", | ||
"version": "0.16.0", | ||
"version": "0.16.1", | ||
"keywords": [ | ||
@@ -8,0 +8,0 @@ "rss", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
269718
1473