<?xml version="1.0"?>
<opml version="2.0">
	<head>
		<title>testMenubar</title>
		<dateCreated>Thu, 25 Feb 2021 21:24:15 GMT</dateCreated>
		<dateModified>Mon, 29 Mar 2021 18:46:01 GMT</dateModified>
		<expansionState>1,5,9,17</expansionState>
		<lastCursor>8</lastCursor>
		<ownerTwitterScreenName>davewiner</ownerTwitterScreenName>
		<ownerName>dave@scripting.com</ownerName>
		<ownerId>http://twitter.com/davewiner</ownerId>
		<urlUpdateSocket>ws://test.littleoutliner.com:1230/</urlUpdateSocket>
		<urlInstant>http://instantoutliner.com/nr</urlInstant>
		<urlPublic>http://test.littleoutliner.com/davewiner/myOutlines/testMenubar.opml</urlPublic>
		</head>
	<body>
		<outline text="T" created="Thu, 25 Feb 2021 21:24:15 GMT">
			<outline text="What is this?" created="Thu, 25 Feb 2021 21:24:32 GMT">
				<outline text="dialog.alert (&quot;This is where I put scripts that I want you to try out.&quot;)" created="Thu, 25 Feb 2021 21:47:29 GMT"/>
				</outline>
			<outline text="-" created="Fri, 26 Feb 2021 13:26:24 GMT"/>
			<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>
			<outline text="Net" created="Fri, 26 Feb 2021 19:43:26 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="Sat, 27 Feb 2021 17:16:36 GMT"/>
					</outline>
				<outline text="Get domain name" created="Sat, 27 Feb 2021 17:13:04 GMT">
					<outline text="dialog.alert (dns.getDomainName (&quot;52.217.47.139&quot;))" created="Sat, 27 Feb 2021 17:13:09 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>
			<outline text="Sync Twitter User" created="Mon, 29 Mar 2021 18:45:53 GMT">
				<outline text="const oneDayInSeconds = 86400; "/>
				<outline text="const username = dialog.ask('Twitter username?');"/>
				<outline text="if (storage.twitsync === undefined) {">
					<outline text="storage.twitsync = {};"/>
					<outline text="}"/>
					</outline>
				<outline text="if (date.secondsSince (storage.twitsync[username]?.updated ?? '2021-03-01 00:00:00') &lt; oneDayInSeconds) {">
					<outline text="dialog.alert(&quot;You synced &quot; + username + &quot; too recently:&lt;br&gt;&quot; + storage.twitsync[username]?.updated);"/>
					<outline text="}"/>
					</outline>
				<outline text="else {">
					<outline text="storage.twitsync[username] = {};"/>
					<outline text="storage.twitsync[username].following = twitter.getFollowed (username);"/>
					<outline text="storage.twitsync[username].updated = date.netStandardString (clock.now ());"/>
					<outline text="dialog.alert(&quot;Synced &quot; + username);"/>
					<outline text="}"/>
					</outline>
				</outline>
			<outline text="" created="Tue, 23 Mar 2021 15:59:22 GMT"/>
			<outline text="" created="Tue, 23 Mar 2021 15:59:22 GMT"/>
			<outline text="one" created="Tue, 23 Mar 2021 15:59:23 GMT">
				<outline text="two" created="Tue, 23 Mar 2021 15:59:26 GMT"/>
				<outline text="three" created="Tue, 23 Mar 2021 15:59:28 GMT"/>
				<outline text="four" created="Tue, 23 Mar 2021 15:59:30 GMT"/>
				<outline text="" created="Tue, 23 Mar 2021 15:59:23 GMT"/>
				</outline>
			</outline>
		</body>
	</opml>
