Skip to content

Instantly share code, notes, and snippets.

@timbury
Forked from scripting/getdavewineropml.js
Created November 14, 2017 20:47
Show Gist options
  • Select an option

  • Save timbury/ce3e8e17c4b8c1feeff7a98961b52396 to your computer and use it in GitHub Desktop.

Select an option

Save timbury/ce3e8e17c4b8c1feeff7a98961b52396 to your computer and use it in GitHub Desktop.

Revisions

  1. @scripting scripting created this gist Jun 29, 2015.
    5 changes: 5 additions & 0 deletions getdavewineropml.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    var urlOpml = "http://davewiner.com/davewiner.opml";
    opmlLib.readOpmlUrl (urlOpml, function (theOutline) {
    httpResponse.writeHead (200, {"Content-Type": "application/json", "Access-Control-Allow-Origin": "*"});
    httpResponse.end (utils.jsonStringify (theOutline));
    });