reallysimple 0.5.2 → 0.5.3
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 +1 -2
- package/worknotes.md +14 -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.3",
|
|
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.3";
|
|
2
2
|
|
|
3
3
|
exports.readFeed = readFeed;
|
|
4
4
|
exports.convertFeedToOpml = convertFeedToOpml;
|
|
@@ -281,7 +281,6 @@ function convertFeed (oldFeed, whenstart) {
|
|
|
281
281
|
|
|
282
282
|
if (item ["source:markdown"] !== undefined) { //7/18/22 by DW
|
|
283
283
|
let markdowntext = item ["source:markdown"] ["#"];
|
|
284
|
-
newItem.description = markdownProcess (emojiProcess (markdowntext));
|
|
285
284
|
newItem.markdowntext = markdowntext; //8/25/22 by DW
|
|
286
285
|
}
|
|
287
286
|
|
package/worknotes.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
#### 11/18/25; 8:09:33 AM by DW
|
|
2
|
+
|
|
3
|
+
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.
|
|
4
|
+
|
|
5
|
+
This caused problems in the scripting.com/rss.xml feed because we were generating the markdown text from the description, and it was screwing up fediverse addresses that it thought was a mailto. Like @scripting@daveverse.org.
|
|
6
|
+
|
|
7
|
+
I commented the line of code out. It seems it should be up to the source of the feed to decide what the relationship is between the markdown text and the description.
|
|
8
|
+
|
|
9
|
+
#### 10/10/25; 11:13:23 AM by DW
|
|
10
|
+
|
|
11
|
+
We now look for site id and post id in wordpress-generated sites.
|
|
12
|
+
|
|
13
|
+
No we don't. I misunderstood, the id's are not present in the feeds, they are present in the API.
|
|
14
|
+
|
|
1
15
|
#### 8/23/25; 10:54:38 AM by DW
|
|
2
16
|
|
|
3
17
|
wpSiteId and wpPostId are now numbers.
|