Created
June 28, 2021 19:11
-
-
Save scripting/ae8e2f426d2dfb18b3962f72a586ac48 to your computer and use it in GitHub Desktop.
Script to run in UserLand Frontier or the OPML Editor to create instantoutliner glue
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
on createInstantOutlineGlue () { | |
local (apiUrl = "http://instantoutliner.com/createglue?", flfirst = true); | |
on pushparam (name, val) { | |
if not flfirst { | |
apiUrl = apiUrl + "&";}; | |
apiUrl = apiUrl + name + "=" + string.urlencode (val);; | |
flfirst = false; | |
flfirst = false;}; | |
pushparam ("url", "https://raw.githubusercontent.com/scripting/instantOutlines/main/outlines/scripting.opml");; | |
pushparam ("title", "Scripting News");; | |
pushparam ("description", "It's even worse than it appears.");; | |
pushparam ("socketserver", "ws://sockets.scripting.com:1239");; | |
scratchpad.url = apiUrl} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment