reallysimple 0.4.18 → 0.4.20

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 CHANGED
@@ -1,11 +1,12 @@
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.18",
4
+ "version": "0.4.20",
5
5
  "author": "Dave Winer <dave@scripting.com>",
6
6
  "license": "MIT",
7
7
  "files": [
8
- "reallysimple.js"
8
+ "reallysimple.js",
9
+ "worknotes.md"
9
10
  ],
10
11
  "main": "reallysimple.js",
11
12
  "repository": {
@@ -17,7 +18,7 @@
17
18
  "node-emoji": "*",
18
19
  "opml": "*",
19
20
  "daveutils": "*",
20
- "davefeedread": "*"
21
+ "davefeedread": ">=0.5.21"
21
22
  },
22
23
  "engines": {
23
24
  "node": "*"
package/reallysimple.js CHANGED
@@ -1,4 +1,4 @@
1
- var myProductName = "reallysimple", myVersion = "0.4.18";
1
+ var myProductName = "reallysimple", myVersion = "0.4.20";
2
2
 
3
3
  exports.readFeed = readFeed;
4
4
  exports.convertFeedToOpml = convertFeedToOpml;
@@ -244,7 +244,7 @@ function convertFeed (oldFeed, whenstart) {
244
244
  if (item ["source:markdown"] !== undefined) { //7/18/22 by DW
245
245
  let markdowntext = item ["source:markdown"] ["#"];
246
246
  newItem.description = markdownProcess (emojiProcess (markdowntext));
247
- newItem.markdown = markdowntext; //8/25/22 by DW
247
+ newItem.markdowntext = markdowntext; //8/25/22 by DW
248
248
  }
249
249
 
250
250
  newFeed.items.push (newItem);
package/worknotes.md ADDED
@@ -0,0 +1,96 @@
1
+ # Worknotes
2
+
3
+ #### 9/29/22 by DW -- v0.4.20
4
+
5
+ I did an update to the davefeedread package, but for some reason NPM isn't picking it up. So I changed the spec in package.json to specify the exact version or greater, to "force" it to use the correct version, I hope.
6
+
7
+ #### 8/25/22 by DW -- v0.4.19
8
+
9
+ We now return the markdowntext for items that have the source:markdown element.
10
+
11
+ We needed this because [app] strips markup from descriptions, by providing markdowntext, we will have a way to regenerate it. The idea is that we can let through the styling that Markdown implements, it's harmless, where the garbage many feeds put in their text is intolerable.
12
+
13
+ #### 7/18/22 by DW -- v0.4.17
14
+
15
+ If we see a source:markdown element, we generate the description by processing the markdown text.
16
+
17
+ #### 7/14/22 by DW -- v0.4.16
18
+
19
+ Created a new item-level value called permalink. Previously we were getting the permalink and overwriting the guid value. Which is all well and good if the guid is a permalink. It's possible it's not, as illustrated by <a href="http://xmlviewer.scripting.com/?url=http%3A%2F%2Fscripting.com%2Fuserfeeds%2Fdavewiner.xml">this feed</a>, where it's just an id, not a permalink, in which case we overwrite the guid with undefined. Not really good behavior. So now instead of doing that we copy it into the permalink value.
20
+
21
+ #### 7/2/22 by DW -- v0.4.15
22
+
23
+ Added a new <i>reader</i> section to the returned object, containing information that's not from the feed, rather is about the feed reader software. The first element of this object is ctSecsToRead which is the number of seconds it took to read the feed. Also included the name of the reader app and version.
24
+
25
+ #### 6/23/22 by DW -- v0.4.11
26
+
27
+ New exported function reallySimple.setConfig.
28
+
29
+ Right now there is just one item in its config, timeoutSecs.
30
+
31
+ We need to change it in the feeder app, and there may be other config elements to change in the future, so let's do this right.
32
+
33
+ Also change the default from 3 to 10.
34
+
35
+ #### 6/20/22 by DW -- v0.4.10
36
+
37
+ Fixed a syntax error on the first line of reallysimple.js, changing a semicolon to a comma.
38
+
39
+ Oddly, this is not seen as a syntax error in my Node, whereas Scott's is reporting an error.
40
+
41
+ It's not good syntax no matter what. :smile:
42
+
43
+ #### 6/15/22 by DW -- v0.4.9
44
+
45
+ If a feed has an &lt;atom:link> head-level element with rel="self", we add a head-level linkToSelf value with its value.
46
+
47
+ A <a href="http://scripting.com/2022/06/15.html#a163715">blog post</a> on this addition.
48
+
49
+ #### 6/12/22 by DW
50
+
51
+ <a href="https://github.com/scripting/feeder">Feeder</a> is a server app that connects to the <a href="https://github.com/scripting/reallysimple">reallysimple</a> package via the web.
52
+
53
+ #### 6/11/22 by DW -- v0.4.8
54
+
55
+ Announced on <a href="http://scripting.com/2022/06/11.html#a193356">Scripting News</a> and <a href="https://twitter.com/davewiner/status/1535708039621353472">Twitter</a>.
56
+
57
+ If the cloud element exists but is empty, delete it.
58
+
59
+ Only allow url, type and length properties in enclosure objects.
60
+
61
+ Don't pass through enclosure properties whose value is null.
62
+
63
+ #### 6/5/22 by DW
64
+
65
+ Put together the <a href="http://reallysimple.org/twentyYearsAgo.opml">notes</a> on how RSS 0.94 became RSS 2.0 in the summer of 2002.
66
+
67
+ Added a menubar to the reallysimple.org website, to organize the various projects.
68
+
69
+ #### 5/17/22 by DW
70
+
71
+ If an object is undefined there's no need to delete it.
72
+
73
+ #### 4/7/22 by DW
74
+
75
+ Clean up the readme file. Simplify the example app. Review docs. Start to invite collaborators to the repo, still private.
76
+
77
+ #### 3/21/22 by DW
78
+
79
+ Reviewing the way we represent links in items in the API.
80
+
81
+ The question is this -- how can we get a link to the item from the item.
82
+
83
+ The answer, on reflection -- rely on the link element as the permalink.
84
+
85
+ #### 3/7/22 by DW
86
+
87
+ Start the reallysimple repo. Publish the NPM package.
88
+
89
+ #### 3/6/22 by DW
90
+
91
+ It now understands various elements from the source namespace, including source:account, source:localtime and source:outline.
92
+
93
+ Started a new private GitHub repo for the project and saved the files.
94
+
95
+ Added it to my NPM sub-menu, this is going to be a supported project.
96
+