Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

feedparser

Package Overview
Dependencies
Maintainers
1
Versions
100
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

feedparser - npm Package Compare versions

Comparing version 0.15.2 to 0.15.3

test/category.js

7

History.md
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.

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc