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 2.1.0 to 2.2.0

5

History.md
2.2.0 / 2017-04-11
==================
* support for g:image_link attribute
2.1.0 / 2017-01-18

@@ -3,0 +8,0 @@ ==================

1

lib/feedparser/index.js

@@ -1058,2 +1058,3 @@ /**********************************************************************

else if (node['media:group'] && node['media:group']['media:content'] && node['media:group']['media:content']['media:thumbnail']) item.image.url = _.get(node['media:group']['media:content']['media:thumbnail']['@'], 'url');
else if (node['g:image_link']) item.image.url = _.get(node['g:image_link']);
}

@@ -1060,0 +1061,0 @@ if (item.categories.length) {

64

lib/namespaces.js

@@ -6,33 +6,33 @@ /*

*/
module.exports = { 'http://www.w3.org/2005/Atom' :'atom' // v1.0
, 'http://purl.org/atom/ns#' :'atom' // v0.3
, 'http://www.w3.org/1999/02/22-rdf-syntax-ns#' :'rdf'
, 'http://purl.org/rss/1.0/' :'rdf' // rss v1.0
, 'http://my.netscape.com/rdf/simple/0.9/' :'rdf' // rss v0.90
, 'http://webns.net/mvcb/' :'admin'
, 'http://creativecommons.org/ns#' :'cc'
, 'http://web.resource.org/cc/' :'cc'
, 'http://purl.org/rss/1.0/modules/content/' :'content'
, 'http://backend.userland.com/creativeCommonsRSSModule' :'creativecommons'
, 'http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html' :'creativecommons'
, 'http://purl.org/dc/elements/1.1/' :'dc'
, 'http://purl.org/dc/elements/1.0/' :'dc'
, 'http://purl.oclc.org/net/rss_2.0/enc#' :'enc'
, 'http://rssnamespace.org/feedburner/ext/1.0' :'feedburner'
, 'http://www.bradsoft.com/feeddemon/xmlns/1.0/' :'fd' // FeedDemon
, 'http://www.itunes.com/dtds/podcast-1.0.dtd' :'itunes'
, 'http://www.w3.org/2003/01/geo/wgs84_pos#' :'geo'
, 'http://www.georss.org/georss' :'georss'
, 'http://search.yahoo.com/mrss/' :'media'
, 'http://search.yahoo.com/mrss' :'media' // commonly-used but wrong
, 'http://newsgator.com/schema/extensions' :'ng' // NewsGator
, 'http://opml.org/spec2' :'opml' // OPML 2.0
, 'http://www.pheedo.com/namespace/pheedo' :'pheedo'
, 'http://purl.org/rss/1.0/modules/syndication/' :'syn'
, 'http://feedsync.org/2007/feedsync' :'sx' // feedsync (Simple Sharing Extensions) http://feedsyncsamples.codeplex.com/
, 'http://purl.org/rss/1.0/modules/taxonomy/' :'taxo'
, 'http://purl.org/syndication/thread/1.0' :'thr'
, 'http://www.w3.org/1999/xhtml' :'xhtml'
, 'http://www.w3.org/XML/1998/namespace' :'xml'
};
module.exports = {
'http://www.w3.org/2005/Atom' :'atom', // v1.0
'http://purl.org/atom/ns#' :'atom', // v0.3
'http://www.w3.org/1999/02/22-rdf-syntax-ns#' :'rdf',
'http://purl.org/rss/1.0/' :'rdf', // rss v1.0
'http://my.netscape.com/rdf/simple/0.9/' :'rdf', // rss v0.90
'http://webns.net/mvcb/' :'admin',
'http://creativecommons.org/ns#' :'cc',
'http://web.resource.org/cc/' :'cc',
'http://purl.org/rss/1.0/modules/content/' :'content',
'http://backend.userland.com/creativeCommonsRSSModule' :'creativecommons',
'http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html' :'creativecommons',
'http://purl.org/dc/elements/1.1/' :'dc',
'http://purl.org/dc/elements/1.0/' :'dc',
'http://purl.oclc.org/net/rss_2.0/enc#' :'enc',
'http://rssnamespace.org/feedburner/ext/1.0' :'feedburner',
'http://www.bradsoft.com/feeddemon/xmlns/1.0/' :'fd', // FeedDemon
'http://www.itunes.com/dtds/podcast-1.0.dtd' :'itunes',
'http://www.w3.org/2003/01/geo/wgs84_pos#' :'geo',
'http://www.georss.org/georss' :'georss',
'http://search.yahoo.com/mrss/' :'media',
'http://search.yahoo.com/mrss' :'media', // commonly-used but wrong
'http://newsgator.com/schema/extensions' :'ng', // NewsGator
'http://opml.org/spec2' :'opml', // OPML 2.0
'http://www.pheedo.com/namespace/pheedo' :'pheedo',
'http://purl.org/rss/1.0/modules/syndication/' :'syn',
'http://feedsync.org/2007/feedsync' :'sx', // feedsync (Simple Sharing Extensions) http://feedsyncsamples.codeplex.com/
'http://purl.org/rss/1.0/modules/taxonomy/' :'taxo',
'http://purl.org/syndication/thread/1.0' :'thr',
'http://www.w3.org/1999/xhtml' :'xhtml',
'http://www.w3.org/XML/1998/namespace' :'xml'
};

@@ -8,3 +8,3 @@ {

},
"version": "2.1.0",
"version": "2.2.0",
"keywords": [

@@ -44,6 +44,6 @@ "rss",

"devDependencies": {
"eslint": "^2.11.1",
"iconv": "2.2.1",
"eslint": "^3.17.1",
"iconv": "2.2.2",
"mocha": "^3.2.0",
"request": "~2.79.0"
"request": "~2.81.0"
},

@@ -53,4 +53,5 @@ "scripts": {

"pretest": "npm run lint",
"test": "mocha"
"test": "mocha",
"version": "git changelog ; git add History.md"
}
}
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