reallysimple 0.4.22 → 0.4.24

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,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.22",
4
+ "version": "0.4.24",
5
5
  "author": "Dave Winer <dave@scripting.com>",
6
6
  "license": "MIT",
7
7
  "files": [
@@ -15,7 +15,7 @@
15
15
  },
16
16
  "dependencies" : {
17
17
  "marked": "*",
18
- "node-emoji": "*",
18
+ "node-emoji": "1.11.0",
19
19
  "opml": "*",
20
20
  "daveutils": "*",
21
21
  "davefeedread": ">=0.5.23"
package/readme.md CHANGED
@@ -6,9 +6,9 @@ A Node package that reads RSS-like feeds and calls back with a simple, consisten
6
6
 
7
7
  I always like to see the code first...
8
8
 
9
- ```javascript
9
+ ```javascript
10
10
 
11
- Here's <a href="https://github.com/scripting/reallysimple/blob/main/example/test.json">the file</a> that's created when you run the code.
11
+ This is <a href="https://github.com/scripting/reallysimple/blob/main/example/test.json">what you see</a> when you run the code.
12
12
 
13
13
  #### Why?
14
14
 
package/readme.opml CHANGED
@@ -2,7 +2,7 @@
2
2
  <opml version="2.0">
3
3
  <head>
4
4
  <title>readme.md</title>
5
- <dateModified>Thu, 28 Jul 2022 14:17:15 GMT</dateModified>
5
+ <dateModified>Thu, 03 Nov 2022 13:50:10 GMT</dateModified>
6
6
  <expansionState></expansionState>
7
7
  <vertScrollState>1</vertScrollState>
8
8
  <windowTop>300</windowTop>
@@ -17,7 +17,7 @@
17
17
  <outline created="Sat, 11 Jun 2022 16:24:18 GMT" text="#### Code example">
18
18
  <outline created="Sat, 11 Jun 2022 16:20:10 GMT" text="I always like to see the code first..."></outline>
19
19
  <outline text="&lt;%includeExample (&quot;example1&quot;)%&gt;"></outline>
20
- <outline created="Mon, 07 Mar 2022 15:10:30 GMT" text="Here's &lt;a href=&quot;https://github.com/scripting/reallysimple/blob/main/example/test.json&quot;&gt;the file&lt;/a&gt; that's created when you run the code. "></outline>
20
+ <outline created="Mon, 07 Mar 2022 15:10:30 GMT" text="This is &lt;a href=&quot;https://github.com/scripting/reallysimple/blob/main/example/test.json&quot;&gt;what you see&lt;/a&gt; when you run the code. "></outline>
21
21
  </outline>
22
22
  <outline created="Sat, 11 Jun 2022 16:00:30 GMT" text="#### Why?">
23
23
  <outline created="Sat, 11 Jun 2022 16:00:36 GMT" text="I needed a simple routine to call when I wanted to read a feed. "></outline>
package/reallysimple.js CHANGED
@@ -1,4 +1,4 @@
1
- var myProductName = "reallysimple", myVersion = "0.4.22";
1
+ var myProductName = "reallysimple", myVersion = "0.4.24";
2
2
 
3
3
  exports.readFeed = readFeed;
4
4
  exports.convertFeedToOpml = convertFeedToOpml;
@@ -44,13 +44,15 @@ function getItemPermalink (item) {
44
44
  var rssguid = item ["rss:guid"], returnedval = undefined;
45
45
  if (rssguid !== undefined) {
46
46
  var atts = rssguid ["@"];
47
- if (atts.ispermalink === undefined) {
48
- returnedval = rssguid ["#"];
49
- }
50
- else {
51
- if (utils.getBoolean (atts.ispermalink)) {
47
+ if (atts !== undefined) { //3/22/23 by DW
48
+ if (atts.ispermalink === undefined) {
52
49
  returnedval = rssguid ["#"];
53
50
  }
51
+ else {
52
+ if (utils.getBoolean (atts.ispermalink)) {
53
+ returnedval = rssguid ["#"];
54
+ }
55
+ }
54
56
  }
55
57
  }
56
58
  if (returnedval !== undefined) {
package/worknotes.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Worknotes
2
2
 
3
+ #### 5/16/23 by DW -- v0.4.24
4
+
5
+ Believe it or not node-emoji of all things introduced a breaking change, so we have to hold at v1.11.0.
6
+
7
+ I'm not sure if this will get it to work, but emoji is a nice feature to have not a <i>required</i> feature.
8
+
9
+ #### 3/22/23 by DW -- v0.4.23
10
+
11
+ Allow for the possibility that rss:guid elements might not have atttributes. I know it happens because when it does FeedLand crashes. ;-)
12
+
13
+ #### 11/11/22 by DW
14
+
15
+ <a href="http://scripting.com/2022/11/11.html#a141519">Hack alert</a>: We generate item-level link elements for items that don't have link elements. Explained <a href="http://scripting.com/2022/11/11.html#a141519">here</a>. This isn't my code that's doing it, it's a lower-level package that I'm using. I think it was copying an even older <a href="https://pythonhosted.org/feedparser/reference-entry-link.html">package</a>. Which did something they should not have done.
16
+
3
17
  #### 9/29/22 by DW -- v0.4.20
4
18
 
5
19
  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.