<?xml version="1.0"?>
<opml version="2.0">
	<head>
		<title>menubar</title>
		<dateCreated>Sun, 31 Jan 2021 22:12:03 GMT</dateCreated>
		<dateModified>Mon, 02 Aug 2021 18:41:10 GMT</dateModified>
		<expansionState>1,4,8,9,14</expansionState>
		<lastCursor>13</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:12:03 GMT">
			<outline text="Ping tagserver" created="Wed, 03 Feb 2021 18:15:33 GMT">
				<outline text="pingDavesTags ()" created="Wed, 03 Feb 2021 18:15:37 GMT"/>
				</outline>
			<outline text="Get artwork" created="Thu, 29 Apr 2021 15:08:39 GMT">
				<outline text="var theTweets = twitter.getUserTimeline (&quot;pablocubist&quot;, false)" created="Thu, 29 Apr 2021 15:08:56 GMT"/>
				<outline text="function findArt (url) {" created="Thu, 29 Apr 2021 15:18:45 GMT">
					<outline text="return (undefined);" created="Thu, 29 Apr 2021 15:18:54 GMT"/>
					<outline text="}" created="Thu, 29 Apr 2021 15:19:00 GMT"/>
					</outline>
				<outline text="function addWorkOfArt (theArt) {" created="Thu, 29 Apr 2021 15:18:45 GMT">
					<outline text="console.log (jsonStringify (theArt));" created="Thu, 29 Apr 2021 15:18:54 GMT"/>
					<outline text="}" created="Thu, 29 Apr 2021 15:19:00 GMT"/>
					</outline>
				<outline text="theTweets.forEach (function (theTweet) {" created="Thu, 29 Apr 2021 15:12:42 GMT">
					<outline text="if (theTweet.entities.media !== undefined) {" created="Thu, 29 Apr 2021 15:17:06 GMT">
						<outline text="var mediaObject = theTweet.entities.media [0];"/>
						<outline text="if (mediaObject !== undefined) {" created="Thu, 29 Apr 2021 15:17:20 GMT">
							<outline text="var urlMedia = mediaObject.media_url;"/>
							<outline text="var width = mediaObject.sizes.large.w;"/>
							<outline text="var height = mediaObject.sizes.large.h;"/>
							<outline text="if (findArt (urlMedia) === undefined) {" created="Thu, 29 Apr 2021 15:17:28 GMT">
								<outline text="addWorkOfArt ({" created="Thu, 29 Apr 2021 15:18:14 GMT">
									<outline text="text: theTweet.text,"/>
									<outline text="url: urlMedia,"/>
									<outline text="w: width,"/>
									<outline text="h: height,"/>
									<outline text="name: screenname,"/>
									<outline text="id: theTweet.id_str, //7/1/18 by DW -- important to use string, JS can't handle numbers as large as twitter IDs"/>
									<outline text="when: new Date ()"/>
									<outline text="});"/>
									</outline>
								<outline text="}"/>
								</outline>
							<outline text="}"/>
							</outline>
						<outline text="}"/>
						</outline>
					<outline text="});" created="Thu, 29 Apr 2021 15:16:56 GMT"/>
					</outline>
				</outline>
			<outline text="Test" created="Fri, 07 May 2021 14:51:31 GMT">
				<outline text="" created="Fri, 07 May 2021 14:51:32 GMT"/>
				</outline>
			<outline text="New all-JSS pinger" created="Mon, 08 Feb 2021 15:29:56 GMT">
				<outline text="function getDayOpml  () {" created="Mon, 08 Feb 2021 15:47:20 GMT">
					<outline text="var opmltext = undefined;  " created="Mon, 08 Feb 2021 15:48:12 GMT"/>
					<outline text="var oldcursor = opGetCursor ();" created="Mon, 08 Feb 2021 15:30:19 GMT" isComment="false"/>
					<outline text="opFirstSummit ();" created="Mon, 08 Feb 2021 15:31:19 GMT"/>
					<outline text="var isCalendarMonth = op.attributes.getOne (&quot;type&quot;) == &quot;calendarMonth&quot;; " created="Mon, 08 Feb 2021 15:41:55 GMT"/>
					<outline text="if (isCalendarMonth) {" created="Mon, 08 Feb 2021 15:43:55 GMT">
						<outline text="opGo (right, 1);" created="Mon, 08 Feb 2021 15:44:05 GMT"/>
						<outline text="var isCalendarDay = op.attributes.getOne (&quot;type&quot;) == &quot;calendarDay&quot;; " created="Mon, 08 Feb 2021 15:41:55 GMT"/>
						<outline text="if (isCalendarDay) {" created="Mon, 08 Feb 2021 15:44:10 GMT">
							<outline text="console.log (op.getLineText ());" created="Mon, 08 Feb 2021 15:38:34 GMT"/>
							<outline text="opmltext = op.getCursorOpml ();" created="Mon, 08 Feb 2021 15:45:58 GMT"/>
							<outline text="}" created="Mon, 08 Feb 2021 15:44:33 GMT"/>
							</outline>
						<outline text="}" created="Mon, 08 Feb 2021 15:43:58 GMT"/>
						</outline>
					<outline text="opSetCursor (oldcursor)" created="Mon, 08 Feb 2021 15:31:26 GMT"/>
					<outline text="return (opmltext);" created="Mon, 08 Feb 2021 15:48:53 GMT"/>
					<outline text="}" created="Mon, 08 Feb 2021 15:47:29 GMT"/>
					</outline>
				<outline text="var s = getDayOpml ();" created="Mon, 08 Feb 2021 15:56:37 GMT"/>
				<outline text="console.log (s);" created="Mon, 08 Feb 2021 15:56:46 GMT"/>
				</outline>
			<outline text="Possible breaker" created="Mon, 08 Feb 2021 16:08:50 GMT">
				<outline text="function getRandomNumber () {" created="Mon, 08 Feb 2021 16:08:53 GMT">
					<outline text="" created="Mon, 08 Feb 2021 16:09:42 GMT"/>
					<outline text="if (number.random (101, 102) == 101) {" created="Mon, 08 Feb 2021 16:09:42 GMT">
						<outline text="return (number.random (100, 200));" created="Mon, 08 Feb 2021 16:09:02 GMT"/>
						<outline text="}" created="Mon, 08 Feb 2021 16:09:52 GMT"/>
						</outline>
					<outline text="else {" created="Mon, 08 Feb 2021 16:10:31 GMT">
						<outline text="return (&quot;hello&quot;);" created="Mon, 08 Feb 2021 16:10:34 GMT"/>
						<outline text="}" created="Mon, 08 Feb 2021 16:10:42 GMT"/>
						</outline>
					<outline text="" created="Mon, 08 Feb 2021 16:09:43 GMT"/>
					<outline text="}" created="Mon, 08 Feb 2021 16:09:12 GMT"/>
					</outline>
				<outline text="alert (getRandomNumber ());" created="Mon, 08 Feb 2021 16:09:13 GMT"/>
				</outline>
			<outline text="Script with local function" created="Mon, 08 Feb 2021 15:58:46 GMT">
				<outline text="function myname () {" created="Mon, 08 Feb 2021 15:58:56 GMT">
					<outline text="return (&quot;Bull Mancuso&quot;);" created="Mon, 08 Feb 2021 15:59:12 GMT"/>
					<outline text="}" created="Mon, 08 Feb 2021 15:59:20 GMT"/>
					</outline>
				<outline text="var s = myname ();" created="Mon, 08 Feb 2021 15:59:21 GMT"/>
				<outline text="alert (s)" created="Mon, 08 Feb 2021 15:59:21 GMT"/>
				</outline>
			<outline text="file.writewholefile test" created="Mon, 02 Aug 2021 18:06:46 GMT">
				<outline text="function getSomeNumber () {" created="Mon, 02 Aug 2021 18:07:28 GMT">
					<outline text="return (random (0, 1000));"/>
					<outline text="}"/>
					</outline>
				<outline text="file.writeWholeFile (&quot;number.txt&quot;, getSomeNumber ())" created="Mon, 02 Aug 2021 18:23:15 GMT"/>
				<outline text="dialog.alert (file.readWholeFile (&quot;number.txt&quot;));"/>
				</outline>
			<outline text="Testing" created="Sun, 31 Jan 2021 22:12:09 GMT" flSubMenu="true">
				<outline text="Write then read a file" created="Sun, 07 Feb 2021 15:29:28 GMT">
					<outline text="Notes" created="Sun, 07 Feb 2021 15:32:32 GMT" isComment="true">
						<outline text="the dialog displays [object Promise]" created="Sun, 07 Feb 2021 15:32:34 GMT" isComment="false"/>
						</outline>
					<outline text="file.writeWholeFile (&quot;testing/test.txt&quot;, string.filledString (&quot;abc &quot;, 50))" created="Sun, 07 Feb 2021 15:29:31 GMT"/>
					<outline text="dialog.alert (file.readWholeFile (&quot;testing/test.txt&quot;))" created="Sun, 07 Feb 2021 15:31:18 GMT" isComment="false"/>
					</outline>
				<outline text="Read a file over HTTP" created="Sun, 07 Feb 2021 15:55:52 GMT">
					<outline text="console.log (http.readUrl (&quot;http://scripting.com/rss.xml&quot;))" created="Sun, 07 Feb 2021 15:57:24 GMT"/>
					</outline>
				<outline text="Current file path" created="Sun, 07 Feb 2021 16:40:09 GMT">
					<outline text="dialog.alert (file.getCurrentFilePath ())" created="Sun, 07 Feb 2021 16:40:15 GMT"/>
					</outline>
				<outline text="Current file title" created="Sun, 07 Feb 2021 16:40:57 GMT">
					<outline text="dialog.alert (file.getCurrentFileTitle ())" created="Sun, 07 Feb 2021 16:40:15 GMT"/>
					</outline>
				<outline text="Current file info" created="Sun, 07 Feb 2021 16:40:57 GMT">
					<outline text="dialog.alert (jsonStringify (file.getCurrentFileInfo ()))" created="Sun, 07 Feb 2021 16:40:15 GMT"/>
					</outline>
				<outline text="File list" created="Sun, 07 Feb 2021 16:40:57 GMT">
					<outline text="dialog.alert (jsonStringify (file.getFileList ()))" created="Sun, 07 Feb 2021 16:40:15 GMT"/>
					</outline>
				<outline text="Get cursor OPML" created="Tue, 02 Feb 2021 17:38:33 GMT">
					<outline text="console.log (op.getCursorOpml ())" created="Tue, 02 Feb 2021 17:38:37 GMT" isComment="false"/>
					<outline text="op.expand (1)" created="Tue, 02 Feb 2021 17:38:40 GMT" isComment="true"/>
					<outline text="op.go (&quot;down&quot;, 1)" created="Tue, 02 Feb 2021 17:38:37 GMT" isComment="true"/>
					</outline>
				</outline>
			</outline>
		</body>
	</opml>
