<?xml version="1.0"?>
<opml version="2.0">
	<head>
		<title>scriptsMenu</title>
		<dateCreated>Sun, 31 Jan 2021 22:12:03 GMT</dateCreated>
		<urlInstant>http://instantoutliner.com/nk</urlInstant>
		<urlPublic>http://test.littleoutliner.com/davewiner/myOutlines/menubar.opml</urlPublic>
		<longTitle></longTitle>
		<description></description>
		<someRandomValue>527</someRandomValue>
		<dateModified>Fri, 16 Apr 2021 21:03:52 GMT</dateModified>
		<expansionState>1,4</expansionState>
		<lastCursor>4</lastCursor>
		<ownerTwitterScreenName>davewiner</ownerTwitterScreenName>
		<ownerName>Dave Winer</ownerName>
		<ownerId>http://twitter.com/davewiner</ownerId>
		<urlUpdateSocket>ws://localhost:1230/</urlUpdateSocket>
		</head>
	<body>
		<outline text="Scripts" created="Sun, 31 Jan 2021 22:38:01 GMT">
			<outline text="Ping tagserver" created="Wed, 03 Feb 2021 18:15:33 GMT">
				<outline text="pingDavesTags () //need to replace this with script code" created="Wed, 03 Feb 2021 18:15:37 GMT"/>
				</outline>
			<outline text="Make Submenu" created="Thu, 18 Feb 2021 16:44:39 GMT">
				<outline text="//put the cursor on a headline you want to make a submenu, and choose this command" created="Thu, 18 Feb 2021 19:47:47 GMT"/>
				<outline text="op.attributes.setOne (&quot;flSubMenu&quot;, true)" created="Thu, 18 Feb 2021 16:44:52 GMT"/>
				</outline>
			<outline text="This is just a test" created="Fri, 16 Apr 2021 21:03:37 GMT">
				<outline text="dialog.alert (&quot;Oh the buzzing.&quot;)" created="Fri, 16 Apr 2021 21:03:41 GMT"/>
				</outline>
			<outline text="-" created="Thu, 18 Feb 2021 16:44:47 GMT"/>
			<outline text="Outlines" created="Thu, 18 Feb 2021 16:06:34 GMT" flSubMenu="true">
				<outline text="visit verbs" created="Tue, 06 Apr 2021 16:53:01 GMT" flSubMenu="true">
					<outline text="op.visitAll" created="Tue, 06 Apr 2021 16:04:54 GMT">
						<outline text="var ct = 0;" created="Tue, 06 Apr 2021 16:15:30 GMT"/>
						<outline text="op.visitAll (function (headline) {" created="Tue, 06 Apr 2021 15:38:47 GMT">
							<outline text="ct++;" created="Tue, 06 Apr 2021 16:15:44 GMT"/>
							<outline text="console.log (string.padWithZeros (ct, 4) + &quot;: &quot; + headline.getLineText ());" created="Tue, 06 Apr 2021 15:39:12 GMT"/>
							<outline text="return (true);" created="Tue, 06 Apr 2021 16:05:56 GMT"/>
							<outline text="});" created="Tue, 06 Apr 2021 15:39:00 GMT"/>
							</outline>
						</outline>
					<outline text="op.visitToSummit" created="Tue, 06 Apr 2021 16:47:27 GMT">
						<outline text="op.visitToSummit (function (headline) {" created="Tue, 06 Apr 2021 15:38:47 GMT">
							<outline text="console.log (headline.getLineText ());" created="Tue, 06 Apr 2021 15:39:12 GMT"/>
							<outline text="return (true);" created="Tue, 06 Apr 2021 16:05:56 GMT"/>
							<outline text="});" created="Tue, 06 Apr 2021 15:39:00 GMT"/>
							</outline>
						</outline>
					<outline text="op.visitSubs" created="Tue, 06 Apr 2021 15:40:05 GMT">
						<outline text="op.visitSubs (function (headline, level) {" created="Tue, 06 Apr 2021 15:38:47 GMT">
							<outline text="console.log (string.filledString (&quot;\t&quot;, level) + headline.getLineText ());" created="Tue, 06 Apr 2021 15:39:12 GMT"/>
							<outline text="return (true);" created="Tue, 06 Apr 2021 16:05:56 GMT"/>
							<outline text="});" created="Tue, 06 Apr 2021 15:39:00 GMT"/>
							</outline>
						</outline>
					</outline>
				<outline text="get headers" created="Wed, 07 Apr 2021 15:52:52 GMT">
					<outline text="//An example script for opml.setHeadrers docs" created="Wed, 07 Apr 2021 15:53:00 GMT"/>
					<outline text="var headers = opml.getHeaders ();" created="Wed, 07 Apr 2021 15:53:15 GMT"/>
					<outline text="headers.someRandomValue = number.random (1, 1000);" created="Wed, 07 Apr 2021 15:53:41 GMT"/>
					<outline text="opml.setHeaders (headers);" created="Wed, 07 Apr 2021 15:54:36 GMT"/>
					</outline>
				<outline text="op.getCursor test" created="Wed, 07 Apr 2021 16:53:37 GMT">
					<outline text="var origCursor = op.getCursor ();" created="Wed, 07 Apr 2021 16:53:43 GMT"/>
					<outline text="op.firstSummit ();" created="Wed, 07 Apr 2021 16:53:56 GMT"/>
					<outline text="dialog.alert (op.getLineText ());" created="Wed, 07 Apr 2021 16:54:09 GMT"/>
					<outline text="op.setCursor (origCursor)" created="Wed, 07 Apr 2021 16:54:22 GMT"/>
					</outline>
				<outline text="Cursor madness" created="Thu, 25 Feb 2021 19:21:58 GMT">
					<outline text="op.firstSummit ();" created="Thu, 25 Feb 2021 19:22:01 GMT"/>
					<outline text="op.collapse ();" created="Thu, 25 Feb 2021 19:23:48 GMT"/>
					<outline text="op.expandAllLevels ();" created="Thu, 25 Feb 2021 19:25:03 GMT"/>
					<outline text="while (true) {" created="Thu, 25 Feb 2021 19:22:11 GMT">
						<outline text="op.expand (1);" created="Thu, 25 Feb 2021 19:22:20 GMT"/>
						<outline text="if (!op.go (flatdown, 1)) {" created="Thu, 25 Feb 2021 19:22:29 GMT">
							<outline text="break;" created="Thu, 25 Feb 2021 19:22:42 GMT"/>
							<outline text="}" created="Thu, 25 Feb 2021 19:22:41 GMT"/>
							</outline>
						<outline text="}" created="Thu, 25 Feb 2021 19:22:19 GMT"/>
						</outline>
					</outline>
				<outline text="Get linetext" created="Thu, 18 Feb 2021 16:48:55 GMT">
					<outline text="dialog.alert (op.getLineText ())"/>
					</outline>
				<outline text="Get cursor OPML" created="Wed, 17 Feb 2021 17:31:36 GMT">
					<outline text="console.log (op.getCursorOpml ())"/>
					<outline text="op.expand (1)"/>
					<outline text="op.go (&quot;down&quot;, 1)"/>
					</outline>
				<outline text="Summit collapse" created="Thu, 18 Feb 2021 17:03:32 GMT">
					<outline text="op.firstSummit ();"/>
					<outline text="while (true) {" created="Thu, 25 Feb 2021 19:25:22 GMT">
						<outline text="op.collapse ()"/>
						<outline text="if (!op.go (down, 1)) {" created="Thu, 25 Feb 2021 19:25:22 GMT">
							<outline text="break;"/>
							<outline text="}"/>
							</outline>
						<outline text="}"/>
						</outline>
					</outline>
				<outline text="Import file test" created="Thu, 18 Feb 2021 17:12:33 GMT">
					<outline text="file.readWholeFile (&quot;myOutlines/denton.opml&quot;, function (data) {" created="Thu, 18 Feb 2021 17:12:36 GMT">
						<outline text="op.insertOpml (data, down);"/>
						<outline text="op.go (down, 1);"/>
						<outline text="});"/>
						</outline>
					</outline>
				<outline text="HTMLize subs" created="Thu, 18 Feb 2021 17:12:52 GMT">
					<outline text="if (op.go (right, 1)) {" created="Thu, 18 Feb 2021 17:12:53 GMT">
						<outline text="var htmltext = &quot;&quot;, indentlevel = 0;"/>
						<outline text="function add (s) {" created="Thu, 25 Feb 2021 19:25:22 GMT">
							<outline text="htmltext += s + &quot;\n&quot;;"/>
							<outline text="}"/>
							</outline>
						<outline text="add (&quot;&lt;html&gt;&quot;); indentlevel++;"/>
						<outline text="add (&quot;&lt;body&gt;&quot;); indentlevel++;"/>
						<outline text="while (true) {" created="Thu, 18 Feb 2021 18:07:51 GMT">
							<outline text="add (&quot;&lt;p&gt;&quot; + op.getLineText () + &quot;&lt;/p&gt;&quot;);"/>
							<outline text="if (!op.go (down, 1)) {" created="Thu, 25 Feb 2021 19:25:22 GMT">
								<outline text="break;"/>
								<outline text="}"/>
								</outline>
							<outline text="}"/>
							</outline>
						<outline text="op.go (left, 1);"/>
						<outline text="add (&quot;&lt;/body&gt;&quot;); indentlevel--;"/>
						<outline text="add (&quot;&lt;/html&gt;&quot;); indentlevel--;"/>
						<outline text="file.writeWholeFile (&quot;test.html&quot;, htmltext, function (data) {" created="Thu, 18 Feb 2021 18:08:28 GMT">
							<outline text="webBrowser.openUrl (data.url);"/>
							<outline text="});"/>
							</outline>
						<outline text="}"/>
						</outline>
					<outline text="else {" created="Thu, 25 Feb 2021 19:25:22 GMT">
						<outline text="dialog.alert (&quot;Please put the cursor on a headline with expanded subheads.&quot;);"/>
						<outline text="}"/>
						</outline>
					</outline>
				</outline>
			<outline text="Twitter" created="Fri, 09 Apr 2021 13:35:19 GMT" flSubMenu="true">
				<outline text="List early users" created="Fri, 09 Apr 2021 13:35:20 GMT">
					<outline text="var flfirst = true;" created="Fri, 09 Apr 2021 14:04:43 GMT"/>
					<outline text="op.insert (&quot;Early Twitter signups&quot;, down);" created="Fri, 09 Apr 2021 14:04:44 GMT"/>
					<outline text="for (var i = 12; i &lt; 25; i++) {" created="Fri, 09 Apr 2021 13:35:30 GMT">
						<outline text="op.insert (twitter.getScreenname (i), (flfirst) ? &quot;right&quot; : &quot;down&quot;);" created="Fri, 09 Apr 2021 14:03:11 GMT"/>
						<outline text="flfirst = false;" created="Fri, 09 Apr 2021 14:05:11 GMT"/>
						<outline text="}" created="Fri, 09 Apr 2021 13:36:03 GMT"/>
						</outline>
					<outline text="op.go (left, 1);" created="Fri, 09 Apr 2021 14:05:18 GMT"/>
					</outline>
				</outline>
			<outline text="Basics" created="Thu, 18 Feb 2021 16:55:03 GMT" flSubMenu="true">
				<outline text="Hello world" created="Thu, 18 Feb 2021 16:55:12 GMT">
					<outline text="dialog.alert (&quot;Hello world.&quot;);" created="Mon, 22 Mar 2021 13:10:37 GMT"/>
					</outline>
				<outline text="dialog.ask" created="Mon, 22 Mar 2021 13:04:59 GMT">
					<outline text="var yo = dialog.ask (&quot;Prompt&quot;, &quot;default value&quot;, &quot;placeholder&quot;);" created="Mon, 22 Mar 2021 13:11:40 GMT"/>
					<outline text="if (yo === undefined) {" created="Mon, 22 Mar 2021 13:42:03 GMT">
						<outline text="dialog.alert (&quot;You clicked Cancel.&quot;);" created="Mon, 22 Mar 2021 13:42:12 GMT"/>
						<outline text="}" created="Mon, 22 Mar 2021 13:42:22 GMT"/>
						</outline>
					<outline text="else {" created="Mon, 22 Mar 2021 13:42:24 GMT">
						<outline text="dialog.alert (yo);" created="Mon, 22 Mar 2021 13:42:26 GMT"/>
						<outline text="}" created="Mon, 22 Mar 2021 13:42:34 GMT"/>
						</outline>
					</outline>
				<outline text="App version" created="Thu, 18 Feb 2021 17:56:54 GMT">
					<outline text="dialog.alert (fargo.version ());"/>
					</outline>
				<outline text="Add numbers" created="Wed, 17 Feb 2021 15:44:37 GMT">
					<outline text="dialog.alert (12 + 34)" created="Wed, 17 Feb 2021 15:44:41 GMT"/>
					</outline>
				<outline text="Count" created="Thu, 18 Feb 2021 17:03:54 GMT">
					<outline text="var j;" created="Thu, 18 Feb 2021 17:05:08 GMT"/>
					<outline text="for (var i = 0; i &lt; 10000; i++) {" created="Thu, 18 Feb 2021 17:03:56 GMT">
						<outline text="j = i * 2;" created="Thu, 18 Feb 2021 17:05:13 GMT"/>
						<outline text="}"/>
						</outline>
					<outline text="dialog.alert (i)"/>
					</outline>
				<outline text="Local function" created="Wed, 17 Feb 2021 16:59:19 GMT">
					<outline text="function getSomeNumber () {" created="Wed, 17 Feb 2021 16:59:22 GMT">
						<outline text="return (random (0, 1000));" created="Wed, 17 Feb 2021 16:59:47 GMT"/>
						<outline text="}" created="Wed, 17 Feb 2021 16:59:46 GMT"/>
						</outline>
					<outline text="file.writeWholeFile (&quot;number.txt&quot;, getSomeNumber ())" created="Wed, 17 Feb 2021 17:07:09 GMT"/>
					<outline text="dialog.alert (file.readWholeFile (&quot;number.txt&quot;));" created="Wed, 17 Feb 2021 15:43:00 GMT" isComment="false"/>
					</outline>
				</outline>
			<outline text="Strings" created="Thu, 18 Feb 2021 16:59:47 GMT" flSubMenu="true">
				<outline text="beginsWith" created="Thu, 18 Feb 2021 17:14:14 GMT">
					<outline text="dialog.alert (string.beginsWith (&quot;my name is Bull&quot;, &quot;my&quot;));"/>
					</outline>
				<outline text="countFields" created="Sat, 27 Feb 2021 21:55:39 GMT">
					<outline text="dialog.alert (string.countFields (&quot;/scripting.com/2003/08/12.html&quot;, &quot;/&quot;))" created="Sat, 27 Feb 2021 21:54:14 GMT"/>
					</outline>
				<outline text="hashMD5" created="Thu, 18 Feb 2021 17:14:21 GMT">
					<outline text="dialog.alert (string.hashMD5 (&quot;My name Jose Jimenez.&quot;));"/>
					</outline>
				<outline text="trimWhitespace" created="Thu, 18 Feb 2021 17:14:31 GMT">
					<outline text="dialog.alert (&quot;\&quot;&quot; + string.trimWhitespace (&quot;    It's even worse than it appears.  &quot;) + &quot;\&quot;&quot;);"/>
					</outline>
				</outline>
			<outline text="Files" created="Thu, 18 Feb 2021 16:06:04 GMT" flSubMenu="true">
				<outline text="Write a file" created="Wed, 17 Feb 2021 15:44:37 GMT">
					<outline text="file.writeWholeFile (&quot;tmp.txt&quot;, &quot;oh the buzzing of the bees.&quot;)" created="Wed, 17 Feb 2021 15:44:41 GMT"/>
					</outline>
				<outline text="Read a file" created="Wed, 17 Feb 2021 17:09:05 GMT">
					<outline text="dialog.alert (file.readWholeFile (&quot;tmp.txt&quot;));" created="Wed, 17 Feb 2021 15:43:00 GMT" isComment="false"/>
					</outline>
				<outline text="Delete a file" created="Tue, 23 Feb 2021 16:12:17 GMT">
					<outline text="file.writeWholeFile (&quot;deleteme.txt&quot;, &quot;It's even worse than it appears.&quot;)" created="Wed, 17 Feb 2021 15:44:41 GMT"/>
					<outline text="file.delete (&quot;deleteme.txt&quot;);" created="Tue, 23 Feb 2021 16:13:25 GMT"/>
					</outline>
				<outline text="Modify a file" created="Wed, 17 Feb 2021 16:38:57 GMT">
					<outline text="dialog.alert (file.writeWholeFile (&quot;tmp.txt&quot;, string.upper (file.readWholeFile (&quot;tmp.txt&quot;))))" created="Wed, 17 Feb 2021 16:39:01 GMT"/>
					</outline>
				<outline text="Current file info" created="Wed, 17 Feb 2021 17:30:58 GMT">
					<outline text="dialog.alert (jsonStringify (file.getCurrentFileInfo ()))"/>
					</outline>
				<outline text="File list" created="Wed, 17 Feb 2021 17:31:21 GMT">
					<outline text="dialog.alert (jsonStringify (file.getFileList ()))"/>
					</outline>
				<outline text="File hierarchy" created="Sun, 21 Feb 2021 21:02:04 GMT">
					<outline text="console.log (jsonStringify (file.getFileHierarchy ()));" created="Sun, 21 Feb 2021 21:02:08 GMT"/>
					</outline>
				<outline text="-" created="Thu, 18 Feb 2021 18:00:36 GMT"/>
				<outline text="Make file public" created="Thu, 18 Feb 2021 17:13:29 GMT">
					<outline text="dialog.ask (&quot;Here's your file:&quot;, file.makeFilePublic (&quot;myOutlines/hello.opml&quot;));" created="Sat, 20 Feb 2021 16:20:32 GMT"/>
					</outline>
				<outline text="View in reader" created="Thu, 18 Feb 2021 17:13:54 GMT">
					<outline text="file.viewCurrentFileInReader ();"/>
					<outline text="file.makeFileViewable (function (theUrl) {" created="Thu, 18 Feb 2021 17:13:59 GMT">
						<outline text="if (theUrl === undefined) {" created="Thu, 25 Feb 2021 19:25:22 GMT">
							<outline text="dialog.alert (&quot;Can't open the file in the reader, possibly because it's not public.&quot;);"/>
							<outline text="}"/>
							</outline>
						<outline text="else {" created="Thu, 25 Feb 2021 19:25:22 GMT">
							<outline text="webBrowser.openUrl (theUrl);"/>
							<outline text="}"/>
							</outline>
						<outline text="})"/>
						</outline>
					</outline>
				</outline>
			<outline text="Errors" created="Thu, 18 Feb 2021 17:56:56 GMT" flSubMenu="true">
				<outline text="Syntax error" created="Thu, 18 Feb 2021 17:03:37 GMT">
					<outline text="12 +"/>
					</outline>
				<outline text="Runtime error" created="Thu, 18 Feb 2021 16:48:02 GMT">
					<outline text="dialog.alert (file.readWholeFile (&quot;mensch.txt&quot;)) //the file is not there" created="Thu, 18 Feb 2021 16:48:20 GMT"/>
					</outline>
				<outline text="Debugging test" created="Thu, 18 Feb 2021 17:05:42 GMT">
					<outline text="function buildString (s) {" created="Thu, 18 Feb 2021 17:56:30 GMT">
						<outline text="for (var i = 0; i &lt; 100; i++) {" created="Thu, 18 Feb 2021 17:56:32 GMT">
							<outline text="s += &quot;a&quot;;"/>
							<outline text="}"/>
							</outline>
						<outline text="return (s);"/>
						<outline text="}"/>
						</outline>
					<outline text="console.log (&quot;hello&quot;)"/>
					<outline text="debugger; //the debugger should open? probably did in a previous version" created="Thu, 18 Feb 2021 17:57:27 GMT"/>
					<outline text="var s = buildString (&quot;&quot;) ;"/>
					<outline text="console.log (&quot;goodbye&quot;)"/>
					</outline>
				</outline>
			<outline text="Net" created="Thu, 18 Feb 2021 16:06:20 GMT" flSubMenu="true">
				<outline text="Read a file over HTTP" created="Fri, 26 Feb 2021 19:43:30 GMT">
					<outline text="dialog.alert (&quot;There are &quot; + http.readUrl (&quot;http://scripting.com/rss.xml&quot;).length + &quot; chars in the Scripting News feed.&quot;)" created="Fri, 26 Feb 2021 19:43:57 GMT"/>
					</outline>
				<outline text="Get domain name" created="Sat, 27 Feb 2021 17:10:28 GMT">
					<outline text="dialog.alert (dns.getDomainName (&quot;52.217.47.139&quot;))" created="Sat, 27 Feb 2021 17:10:34 GMT"/>
					</outline>
				<outline text="Get dotted id" created="Sat, 27 Feb 2021 17:16:47 GMT">
					<outline text="dialog.alert (dns.getDottedId (&quot;scripting.com&quot;))" created="Sat, 27 Feb 2021 17:13:09 GMT"/>
					</outline>
				<outline text="Tweet" created="Thu, 18 Feb 2021 16:54:03 GMT">
					<outline text="twitter.tweet (&quot;This is a test&quot;)"/>
					</outline>
				<outline text="Get Jack's tweets" created="Thu, 18 Feb 2021 17:01:00 GMT">
					<outline text="twitter.getUserTweets (&quot;jack&quot;, function (theTweets) {" created="Thu, 18 Feb 2021 17:01:05 GMT">
						<outline text="for (var i = 0; i &lt; theTweets.length; i++) {" created="Thu, 18 Feb 2021 17:02:40 GMT">
							<outline text="var theTweet = theTweets [i];"/>
							<outline text="console.log (theTweet.text);"/>
							<outline text="}"/>
							</outline>
						<outline text="});"/>
						</outline>
					</outline>
				<outline text="Post a tweet..." created="Thu, 18 Feb 2021 17:02:49 GMT">
					<outline text="dialog.confirm (&quot;This will post a test tweet from your account.&quot;, function () {" created="Thu, 18 Feb 2021 17:02:52 GMT">
						<outline text="twitter.post (&quot;This is a test. Please ignore. Thank you. :-)&quot;);"/>
						<outline text="});"/>
						</outline>
					</outline>
				</outline>
			<outline text="Tabs" created="Thu, 18 Feb 2021 16:57:49 GMT" flSubMenu="true">
				<outline text="Current file path" created="Thu, 18 Feb 2021 16:54:38 GMT">
					<outline text="dialog.alert (file.getCurrentFilePath ())"/>
					</outline>
				<outline text="Current file title" created="Thu, 18 Feb 2021 16:54:43 GMT">
					<outline text="dialog.alert (file.getCurrentFileTitle ())"/>
					</outline>
				<outline text="Current file info" created="Thu, 18 Feb 2021 16:54:46 GMT">
					<outline text="dialog.alert (jsonStringify (file.getCurrentFileInfo ()))"/>
					</outline>
				</outline>
			</outline>
		</body>
	</opml>
