reallysimple 0.4.26 → 0.4.28
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.28",
|
|
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.28";
|
|
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", "source:cloud", "linkToSelf"
|
|
17
|
+
"generator", "docs", "cloud", "ttl", "image", "rating", "textInput", "skipHours", "skipDays", "source:account", "source:localtime", "source:cloud", "linkToSelf", "source:blogroll"
|
|
18
18
|
];
|
|
19
19
|
const allowedItemNames = [
|
|
20
20
|
"title", "link", "description", "author", "category", "comments", "enclosures", "guid", "pubDate", "source", "source:outline", "source:likes"
|
|
@@ -166,6 +166,10 @@ function convertFeed (oldFeed, whenstart) {
|
|
|
166
166
|
const cloud = item.meta ["source:cloud"];
|
|
167
167
|
newFeed.cloudUrl = cloud ["#"];
|
|
168
168
|
}
|
|
169
|
+
if (item.meta ["source:blogroll"] !== undefined) { //3/14/24 by DW
|
|
170
|
+
var blogroll = item.meta ["source:blogroll"];
|
|
171
|
+
newFeed.blogroll = blogroll ["#"];
|
|
172
|
+
}
|
|
169
173
|
}
|
|
170
174
|
}
|
|
171
175
|
}
|