Skip to content

Instantly share code, notes, and snippets.

@scripting
Created June 28, 2021 19:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save scripting/ae8e2f426d2dfb18b3962f72a586ac48 to your computer and use it in GitHub Desktop.
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
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