reallysimple 0.4.6 → 0.4.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/reallysimple.js +7 -2
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "reallysimple",
|
|
3
3
|
"description": "Reads an RSS-like feed and calls back with a JavaScript structure, hiding all the history. It really is simple. ;-)",
|
|
4
|
-
"version": "0.4.
|
|
4
|
+
"version": "0.4.7",
|
|
5
5
|
"author": "Dave Winer <dave@scripting.com>",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"files": [
|
package/reallysimple.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var myProductName = "reallysimple"; myVersion = "0.4.
|
|
1
|
+
var myProductName = "reallysimple"; myVersion = "0.4.7";
|
|
2
2
|
|
|
3
3
|
exports.readFeed = readFeed;
|
|
4
4
|
exports.convertFeedToOpml = convertFeedToOpml;
|
|
@@ -21,7 +21,12 @@ var config = {
|
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
function isEmptyObject (obj) {
|
|
24
|
-
|
|
24
|
+
try {
|
|
25
|
+
return (Object.keys (obj).length === 0);
|
|
26
|
+
}
|
|
27
|
+
catch (err) {
|
|
28
|
+
return (true); //6/8/22 by DW
|
|
29
|
+
}
|
|
25
30
|
}
|
|
26
31
|
function getItemPermalink (item) {
|
|
27
32
|
var rssguid = item ["rss:guid"], returnedval = undefined;
|