ibm-connections-blogs
Advanced tools
Comparing version 1.2.0 to 2.0.0
@@ -5,3 +5,3 @@ { | ||
"app": "http://www.w3.org/2007/app", | ||
"os": "http://a9.com/-/spec/opensearch/1.1/", | ||
"opensearch": "http://a9.com/-/spec/opensearch/1.1/", | ||
"ibmsc": "http://www.ibm.com/search/content/2010", | ||
@@ -8,0 +8,0 @@ "thr": "http://purl.org/syndication/thread/1.0", |
@@ -16,3 +16,8 @@ 'use strict'; | ||
return _.map(xpathSelect('/atom:feed/atom:entry', xmlDoc), entryNode => blogPostParser(entryNode, true)); | ||
const result = { | ||
totalResults: xpathSelect('number(atom:feed/opensearch:totalResults/text())', xmlDoc, true), | ||
entries: _.map(xpathSelect('/atom:feed/atom:entry', xmlDoc), entryNode => blogPostParser(entryNode, true)), | ||
}; | ||
return result; | ||
}; |
{ | ||
"name": "ibm-connections-blogs", | ||
"version": "1.2.0", | ||
"version": "2.0.0", | ||
"description": "An IBM Connections Blogs API Wrapper", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
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
14350
303