feedparser
Advanced tools
Comparing version 0.15.2 to 0.15.3
v0.15.3 / 2013-05-05 | ||
================== | ||
* Update README to point to contributors graph | ||
* Merge pull request #59 from AndreasMadsen/rss-category | ||
* do not seperate rss catgories by comma | ||
v0.15.2 / 2013-04-16 | ||
@@ -3,0 +10,0 @@ ================== |
12
main.js
@@ -573,4 +573,3 @@ /********************************************************************** | ||
} else if ('category' == name && utils.get(category) && 'rss' == type) { | ||
_categories = utils.get(category).split(',').map(function (cat){ return cat.trim(); }); | ||
if (_categories.length) meta.categories = meta.categories.concat(_categories); | ||
meta.categories.push(utils.get(category).trim()); | ||
} else if ('dc:subject' == name && utils.get(category)) { | ||
@@ -601,4 +600,3 @@ _categories = utils.get(category).split(' ').map(function (cat){ return cat.trim(); }); | ||
} else if ('category' == name && utils.get(el) && 'rss' == type) { | ||
_categories = utils.get(el).split(',').map(function (cat){ return cat.trim(); }); | ||
if (_categories.length) meta.categories = meta.categories.concat(_categories); | ||
meta.categories.push(utils.get(el).trim()); | ||
} else if ('dc:subject' == name && utils.get(el)) { | ||
@@ -880,4 +878,3 @@ _categories = utils.get(el).split(' ').map(function (cat){ return cat.trim(); }); | ||
} else if ('category' == name && utils.get(category) && 'rss' == type) { | ||
_categories = utils.get(category).split(',').map(function (cat){ return cat.trim(); }); | ||
if (_categories.length) item.categories = item.categories.concat(_categories); | ||
item.categories.push(utils.get(category).trim()); | ||
} else if ('dc:subject' == name && utils.get(category)) { | ||
@@ -908,4 +905,3 @@ _categories = utils.get(category).split(' ').map(function (cat){ return cat.trim(); }); | ||
} else if ('category' == name && utils.get(el) && 'rss' == type) { | ||
_categories = utils.get(el).split(',').map(function (cat){ return cat.trim(); }); | ||
if (_categories.length) item.categories = item.categories.concat(_categories); | ||
item.categories.push(utils.get(el).trim()); | ||
} else if ('dc:subject' == name && utils.get(el)) { | ||
@@ -912,0 +908,0 @@ _categories = utils.get(el).split(' ').map(function (cat){ return cat.trim(); }); |
@@ -5,3 +5,3 @@ { | ||
"description": "Robust RSS Atom and RDF feed parsing using sax js", | ||
"version": "0.15.2", | ||
"version": "0.15.3", | ||
"keywords": [ | ||
@@ -8,0 +8,0 @@ "rss", |
@@ -201,7 +201,4 @@ [![Build Status](https://secure.travis-ci.org/danmactough/node-feedparser.png?branch=master)](https://travis-ci.org/danmactough/node-feedparser) | ||
The following are the major contributors of `node-feedparser` (in no specific | ||
order). | ||
View all the [contributors](https://github.com/danmactough/node-feedparser/graphs/contributors). | ||
* Dan MacTough ([danmactough](http://github.com/danmactough)) | ||
Although `node-feedparser` no longer shares any code with `node-easyrss`, it was | ||
@@ -208,0 +205,0 @@ the original inspiration and a starting point. |
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
479181
52
2198
16
228