reallysimple 0.5.3 → 0.5.4
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 +15 -1
- package/worknotes.md +8 -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.5.
|
|
4
|
+
"version": "0.5.4",
|
|
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.5.
|
|
1
|
+
var myProductName = "reallysimple", myVersion = "0.5.4";
|
|
2
2
|
|
|
3
3
|
exports.readFeed = readFeed;
|
|
4
4
|
exports.convertFeedToOpml = convertFeedToOpml;
|
|
@@ -298,6 +298,20 @@ function convertFeed (oldFeed, whenstart) {
|
|
|
298
298
|
}
|
|
299
299
|
}
|
|
300
300
|
|
|
301
|
+
if (item ["source:inreplyto"] !== undefined) { //7/29/26 by DW -- davefeedread lowercases element names
|
|
302
|
+
newItem.inReplyTo = item ["source:inreplyto"] ["#"];
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
if (item ["source:comments"] !== undefined) { //7/29/26 by DW
|
|
306
|
+
const theAtts = item ["source:comments"] ["@"];
|
|
307
|
+
if (theAtts !== undefined) {
|
|
308
|
+
newItem.commentsFeed = {
|
|
309
|
+
count: Number (theAtts.count),
|
|
310
|
+
feedUrl: theAtts.feedurl //lowercased by davefeedread, restored here
|
|
311
|
+
};
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
|
|
301
315
|
newFeed.items.push (newItem);
|
|
302
316
|
});
|
|
303
317
|
|
package/worknotes.md
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
#### 7/29/26; 11:51:56 AM by DW
|
|
2
|
+
|
|
3
|
+
Add support for source:inreplyto and source:comments.
|
|
4
|
+
|
|
5
|
+
#### 11/28/25; 10:50:41 AM by DW
|
|
6
|
+
|
|
7
|
+
Fixed a <a href="https://github.com/scripting/reallysimple/blob/main/demos/feeder/worknotes.md#112825-102032-am-by-dw">bug</a> in the feeder app that was causing the Links page on scripting.com to look awful. There was a change in the way links.daveverse.org was formatting the description elements.
|
|
8
|
+
|
|
1
9
|
#### 11/18/25; 8:09:33 AM by DW
|
|
2
10
|
|
|
3
11
|
In convertFeed, if there's a source:markdown element present in an item, we were changing the value of the item description to a rendered version of the markdown text. There's no comment explaining why we did this and it seems wrong. It might make some sense if there's no description element present.
|