This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"events": [ | |
{ | |
"method": "GET", | |
"path": "/feedupdated", | |
"params": { | |
"url": "https://rsscloud.andysylvester.com/feed/", | |
"challenge": "f03b10e367c0384fe2e5ad4e075ab1" | |
}, | |
"myResponse": "f03b10e367c0384fe2e5ad4e075ab1", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@AndyDO-03:~/rssDave# node clouddemo.js | |
davehttp.startup: launching on port == 443, v0.4.37. | |
davehttp.startup: config == { | |
"port": 443, | |
"flPostEnabled": true, | |
"flLogToConsole": true, | |
"flTraceOnError": false, | |
"defaultFeedUrl": "https://rsscloud.andysylvester.com/feed/", | |
"thisServer": { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"events": [ | |
{ | |
"method": "GET", | |
"path": "/feedupdated", | |
"params": { | |
"url": "https://rsscloud4.wordpress.com/feed/", | |
"challenge": "b4db940fa88a20fc18db180143d8dd" | |
}, | |
"myResponse": "b4db940fa88a20fc18db180143d8dd", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@AndyDO-03:~/rssDave# node clouddemo.js | |
davehttp.startup: launching on port == 443, v0.4.37. | |
davehttp.startup: config == { | |
"port": 443, | |
"flPostEnabled": true, | |
"flLogToConsole": true, | |
"flTraceOnError": false, | |
"defaultFeedUrl": "https://rsscloud4.wordpress.com/feed/", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var myVersion = "0.40", myProductName = "testRssCloud", myPort = 2222, myDomain = "http://fedwiki.andysylvester.com"; | |
//Test app for Andrew Shell's rssCloud server | |
//https://github.com/andrewshell/rsscloud-server | |
var request = require ("request"); | |
var http = require ("http"); | |
var urlpack = require ("url"); | |
var dns = require ("dns"); | |
var qs = require ("querystring"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var myVersion = "0.40", myProductName = "testRssCloud", myPort = 2222, myDomain = "http://fedwiki.andysylvester.com"; | |
//Test app for Andrew Shell's rssCloud server | |
//https://github.com/andrewshell/rsscloud-server | |
var request = require ("request"); | |
var http = require ("http"); | |
var urlpack = require ("url"); | |
var dns = require ("dns"); | |
var qs = require ("querystring"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//5/11/22; 4:59:24 PM by DW | |
//Read an OPML file that has includes. | |
//Pass it through opml.expandIncludes. | |
//Display the resulting outline, with the includes expanded. | |
const fs = require ("fs"); | |
const opml = require ("opml"); | |
fs.readFile ("includesALS.opml", function (err, opmltext) { | |
if (err) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var now = new Date (); | |
if (localStorage.feeds === undefined) { | |
localStorage.feeds = new Object (); | |
} | |
if (localStorage.feeds [urlfeed] === undefined) { | |
localStorage.feeds [urlfeed] = { | |
ctAdds: 0, | |
whenFirstAdd: now | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<opml version="2.0"> | |
<head> | |
<title>photos</title> | |
<dateModified>Tue, 20 Oct 2015 03:43:00 GMT</dateModified> | |
<expansionState></expansionState> | |
<lastCursor>0</lastCursor> | |
</head> | |
<body> | |
<outline text=""/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Based on https://gist.github.com/scripting/1737c886c4f653758033 | |
var now = new Date (); | |
if (localStorage.feeds === undefined) { | |
localStorage.feeds = new Object (); | |
} | |
if (localStorage.feeds [urlfeed] === undefined) { | |
localStorage.feeds [urlfeed] = { | |
ctAdds: 0, |