Comparing version 0.0.6 to 0.0.7
@@ -141,2 +141,3 @@ //feed.js | ||
var obj = {}, _ref; | ||
//Tx PaulFreund | ||
obj.title = (_ref = val.title) != undefined && _ref.length>0 ? _ref[0] : void 0; | ||
@@ -242,11 +243,7 @@ obj.summary = (_ref = val.description) != undefined && _ref.length>0 ? _ref[0] : void 0; | ||
val = flattenComments(val); | ||
var obj = {}; | ||
var obj = {}, _ref; | ||
obj.id = val.id[0]; | ||
if (!val.title) { | ||
// console.log(json); | ||
} | ||
obj.title = val.title[0]._; | ||
if (val.content) { | ||
obj.summary = val.content[0]._; | ||
} | ||
obj.title = (_ref = val.title) != undefined && _ref.length>0 ? _ref[0]._ : void 0; | ||
obj.summary = (_ref = val.content[0]) != undefined && _ref.length>0 ? _ref[0]._ : void 0; | ||
var categories = []; | ||
@@ -253,0 +250,0 @@ //just grab the category text |
{ | ||
"name": "rssparser", | ||
"version": "0.0.5", | ||
"version": "0.0.7", | ||
"dependencies": { | ||
@@ -5,0 +5,0 @@ "xml2js": { |
{ | ||
"name": "rssparser", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"author": "Arjunkumar Krishnamoorthy", | ||
"description": "rssparser is an all purpose RSS/ATOM feed parser that parses feeds into a JSON format.", | ||
@@ -31,4 +32,4 @@ "keywords": [ | ||
"readmeFilename": "README.md", | ||
"_id": "rssparser@0.0.6", | ||
"_id": "rssparser@0.0.7", | ||
"_from": "rssparser" | ||
} |
@@ -86,4 +86,5 @@ node-rssparser [![endorse](https://api.coderwall.com/tk120404/endorsecount.png)](https://coderwall.com/tk120404) | ||
---------- | ||
* 0.0.7 More check for the attributes like title, summary in atom feed | ||
* 0.0.6 Minor changes | ||
* 0.0.5 More check for the attributes like title,summary,link and categories | ||
* 0.0.5 More check for the attributes like title,summary,link and categories in RSS feed | ||
* 0.0.4 minor changes | ||
@@ -90,0 +91,0 @@ * 0.0.3 thumbnails added |
Sorry, the diff of this file is not supported yet
No contributors or author data
MaintenancePackage does not specify a list of contributors or an author in package.json.
Found 1 instance in 1 package
18805
2
103
468