This file contains hidden or 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
| { | |
| "feeds": { | |
| "http://www.nytimes.com/services/xml/rss/nyt/Travel.xml": { | |
| "ctAdds": 1, | |
| "whenFirstAdd": "2015-06-21T03:02:55.237Z", | |
| "whenLastAdd": "2015-06-21T03:02:55.237Z", | |
| "stories": [ | |
| "Frugal Traveler: Exploring Franche-Comté, France’s Well-Kept Secret" | |
| ] | |
| }, |
This file contains hidden or 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 hidden or 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 = "yourserver.io"; | |
| //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 hidden or 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 request = require ("request"); | |
| var urlWebHook = "https://hooks.slack.com/services/abcdef"; //the URL you get on your "incoming web hooks" page. | |
| function sendToSlack (s, theUsername, theIconUrl, theIconEmoji, theChannel) { | |
| var payload = { | |
| text: s | |
| }; | |
| if (theUsername !== undefined) { | |
| payload.username = theUsername; |
This file contains hidden or 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
| { | |
| "myPort": 80, | |
| "indexFilename": "index", | |
| "flProcessScriptFiles": true, | |
| "extScriptFiles": "js", | |
| "flProcessMarkdownFiles": true, | |
| "extMarkdownFiles": "md", | |
| "domainMap": { | |
| "judgment.club": 5351, | |
| "twitter.radio3.io": 5342, |
This file contains hidden or 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 request = require ("request"); | |
| var opmlParser = require ("opmlparser"); | |
| function stringMid (s, ix, len) { //8/12/14 by DW | |
| return (s.substr (ix-1, len)); | |
| } | |
| function filledString (ch, ct) { //6/4/14 by DW | |
| var s = ""; | |
| for (var i = 0; i < ct; i++) { | |
| s += ch; | |
| } |
This file contains hidden or 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
| //By Dave Winer, May 12, 2015. | |
| //I use this script to copy the only files that River4 produces that have to be publicly accessible. | |
| //It only copies if the dest file doesn't exist or if the content of the files has changed. | |
| //I use Noderunner to run it once every minute: https://github.com/scripting/noderunner | |
| var sourcefolder = "/root/river4data/rivers/"; |
This file contains hidden or 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.43"; | |
| //last build 4/17/2014; 1:03:26 PM | |
| var http = require ("http"); | |
| var AWS = require ("aws-sdk"); | |
| var s3 = new AWS.S3 (); | |
| var urlpack = require ("url"); | |
| var xmlrpc = require ("xmlrpc"); |
This file contains hidden or 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
| { | |
| "urlSiteContents": "https://dl.dropboxusercontent.com/u/36518280/pageParkDemo" | |
| } |
This file contains hidden or 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
| <html> | |
| <head> | |
| <title>Dave's MyWord Blog Home</title> | |
| <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <link rel="alternate" type="application/rss+xml" href="http://myword.io/users/davewiner/rss.xml" /> | |
| <script src="http://fargo.io/code/jquery-1.9.1.min.js"></script> | |
| <link href="http://fargo.io/code/bootstrap.css" rel="stylesheet"> |