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": "0f43e414a6ab0416c14bc1a0b73ce2" | |
}, | |
"myResponse": "0f43e414a6ab0416c14bc1a0b73ce2", |
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
const myVersion = "0.4.0", myProductName = "clouddemo"; | |
const fs = require ("fs"); | |
const utils = require ("daveutils"); | |
const qs = require ("querystring"); | |
const request = require ("request"); | |
const davehttp = require ("davehttp"); | |
const xml2js = require ("xml2js"); | |
const reallysimple = require ("reallysimple"); |
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 | |
}; |
NewerOlder