reallysimple 0.4.25 → 0.4.26
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 +6 -2
- package/worknotes.md +4 -0
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "reallysimple",
|
|
3
3
|
"description": "A Node package that reads RSS-like feeds and calls back with a simple, consistent JavaScript object. Easy to use, hides the history.",
|
|
4
|
-
"version": "0.4.
|
|
4
|
+
"version": "0.4.26",
|
|
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.26";
|
|
2
2
|
|
|
3
3
|
exports.readFeed = readFeed;
|
|
4
4
|
exports.convertFeedToOpml = convertFeedToOpml;
|
|
@@ -14,7 +14,7 @@ const emoji = require ("node-emoji"); //7/18/22 by DW
|
|
|
14
14
|
|
|
15
15
|
const allowedHeadNames = [
|
|
16
16
|
"title", "link", "description", "language", "copyright", "managingEditor", "webMaster", "lastBuildDate", "pubDate", "category",
|
|
17
|
-
"generator", "docs", "cloud", "ttl", "image", "rating", "textInput", "skipHours", "skipDays", "source:account", "source:localtime", "linkToSelf"
|
|
17
|
+
"generator", "docs", "cloud", "ttl", "image", "rating", "textInput", "skipHours", "skipDays", "source:account", "source:localtime", "source:cloud", "linkToSelf"
|
|
18
18
|
];
|
|
19
19
|
const allowedItemNames = [
|
|
20
20
|
"title", "link", "description", "author", "category", "comments", "enclosures", "guid", "pubDate", "source", "source:outline", "source:likes"
|
|
@@ -162,6 +162,10 @@ function convertFeed (oldFeed, whenstart) {
|
|
|
162
162
|
var localtime = item.meta ["source:localtime"];
|
|
163
163
|
newFeed.localtime = localtime ["#"];
|
|
164
164
|
}
|
|
165
|
+
if (item.meta ["source:cloud"] !== undefined) { //11/28/23 by DW
|
|
166
|
+
const cloud = item.meta ["source:cloud"];
|
|
167
|
+
newFeed.cloudUrl = cloud ["#"];
|
|
168
|
+
}
|
|
165
169
|
}
|
|
166
170
|
}
|
|
167
171
|
}
|