-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsource.opml
More file actions
1450 lines (1448 loc) · 105 KB
/
source.opml
File metadata and controls
1450 lines (1448 loc) · 105 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- OPML generated by OPML Editor v10.1b19 on Fri, 14 Nov 2025 14:48:18 GMT -->
<!--
Hi this is Dave Winer. I write all my project code in an outliner, which
generates all the files that make up this GitHub project. You'll see a
source.opml file like this in each of my projects. It contains the outline
source that the repo files were generated from. This is the most logical place
to store them. You can read the code in any outliner that supports OPML, which
includes https://drummer.land. You can use the Open URL command in
Drummer's File menu to open the "raw" version of this file straight from the
GitHub repo.
-->
<opml version="2.0">
<head>
<title>nodeEditor: wpEditorDemo</title>
<dateCreated>Tue, 04 Nov 2025 17:40:00 GMT</dateCreated>
<dateModified>Fri, 14 Nov 2025 14:48:18 GMT</dateModified>
<ownerName>Dave Winer</ownerName>
<ownerId>http://davewiner.com/</ownerId>
<expansionState>1, 6, 10, 12, 27</expansionState>
<vertScrollState>1</vertScrollState>
<windowTop>210</windowTop>
<windowLeft>402</windowLeft>
<windowBottom>1087</windowBottom>
<windowRight>1844</windowRight>
</head>
<body>
<outline text="/scripting.com/code/testing/wpeditordemo/">
<outline text="worknotes.md" created="Wed, 18 Dec 2024 17:19:15 GMT">
<outline text="#### 11/12/25; 9:52:01 AM by DW" created="Wed, 12 Nov 2025 14:52:00 GMT">
<outline text="Added to the placeholder text for the text area." created="Wed, 12 Nov 2025 14:52:01 GMT"/>
<outline text="Moved the text box up 20px." created="Wed, 12 Nov 2025 14:52:12 GMT"/>
<outline text="Added an About command." created="Wed, 12 Nov 2025 14:52:19 GMT"/>
<outline text="Hide the main menu if you aren't logged in." created="Wed, 12 Nov 2025 14:52:30 GMT"/>
</outline>
<outline text="#### 11/9/25; 9:47:31 AM by DW" created="Sun, 09 Nov 2025 14:47:31 GMT">
<outline text="Ready to move on to the next project. This thing works. Yes it needs a lot of docs. But it does what it set out to do -- provides full example code for hooking a JS-based editor to WordPress via wpIdentity. " created="Sun, 09 Nov 2025 14:47:32 GMT"/>
<outline text="In the next rev, we should have docs for api2.js, and review all the end points there to make sure they're all still relevant. We know they're sufficient because everything WordLand does with WordPress flows through." created="Sun, 09 Nov 2025 14:48:19 GMT"/>
</outline>
<outline text="#### 11/4/25; 12:40:41 PM by DW" created="Mon, 03 Nov 2025 15:22:59 GMT">
<outline text="Started project wpEditorDemo and accompanying GitHub repo." created="Tue, 04 Nov 2025 17:40:44 GMT"/>
</outline>
<outline text="#### 10/29/25 by DW" created="Wed, 29 Oct 2025 21:45:01 GMT">
<outline text="Started." created="Wed, 29 Oct 2025 21:45:02 GMT"/>
</outline>
</outline>
<outline text="styles.css" created="Wed, 30 Apr 2025 14:11:42 GMT">
<outline text="@import url('https://fonts.googleapis.com/css?family=Archivo+Black');"/>
<outline text="" created="Thu, 30 Oct 2025 12:53:07 GMT"/>
<outline text=":root {">
<outline text="--font-product-name: "Archivo Black";"/>
<outline text="--bodytext-font-family: "Ubuntu";"/>
<outline text="--bodytext-font-size: 16px;"/>
<outline text="--bodytext-line-height: 150%;"/>
<outline text="--min-height-msgtext: 150px;"/>
<outline text="--min-width-msgtext: 550px;"/>
<outline text="--debugging-border: 1px dotted lavender; /* 10/13/24 by DW */"/>
<outline text="--prompt-color: slategray;"/>
<outline text="}"/>
</outline>
<outline text="" created="Thu, 30 Oct 2025 12:55:30 GMT"/>
<outline text="body {">
<outline text="background-color: white;"/>
<outline text="}"/>
</outline>
<outline text=".divPageBody {">
<outline text="width: 750px;"/>
<outline text="margin-left: auto;"/>
<outline text="margin-right: auto;"/>
<outline text="margin-top: 70px;"/>
<outline text="margin-bottom: 400px;"/>
<outline text="background-color: whitesmoke;" isComment="true" created="Sun, 04 Jun 2023 15:38:02 GMT"/>
<outline text="font-family: Arial, sans-serif;" created="Wed, 30 Apr 2025 15:20:01 GMT"/>
<outline text="font-size: 18px;" created="Mon, 14 Apr 2025 22:04:23 GMT"/>
<outline text="}"/>
</outline>
<outline text=".divLoggedInMessage {" created="Thu, 30 Oct 2025 13:33:26 GMT">
<outline text="margin-top: 10px;" created="Thu, 30 Oct 2025 13:33:29 GMT"/>
<outline text="text-align: center;" created="Thu, 30 Oct 2025 13:33:46 GMT"/>
<outline text="}" created="Thu, 30 Oct 2025 13:33:28 GMT"/>
</outline>
<outline text=".spMenuProductName {" created="Sat, 02 Sep 2023 16:12:12 GMT">
<outline text="font-family: var(--font-product-name);"/>
<outline text="font-size: 32px;" created="Sun, 14 Jan 2024 16:49:24 GMT"/>
<outline text="letter-spacing: -1px;"/>
<outline text="margin-top: 4px;" created="Sun, 14 Jan 2024 16:55:56 GMT"/>
<outline text="opacity: 0.7;" created="Mon, 08 Apr 2024 03:10:20 GMT"/>
<outline text="color: black;" created="Sun, 14 Jan 2024 16:59:39 GMT"/>
<outline text="}" created="Sat, 02 Sep 2023 16:12:14 GMT"/>
</outline>
<outline text=".divSignedOff {" created="Sat, 02 Sep 2023 16:33:32 GMT">
<outline text="margin-top: 200px;" created="Mon, 28 Aug 2023 15:41:43 GMT"/>
<outline text="line-height: 200%;" created="Sat, 02 Sep 2023 16:36:10 GMT"/>
<outline text="text-align: center;" created="Sat, 02 Sep 2023 16:34:23 GMT"/>
<outline text="}" created="Sat, 02 Sep 2023 16:33:40 GMT"/>
</outline>
<outline text=".divEditor {" created="Thu, 30 Oct 2025 13:32:28 GMT">
<outline text="width: 100%;" created="Thu, 30 Oct 2025 13:32:34 GMT"/>
<outline text="border: 1px solid silver;" created="Thu, 30 Oct 2025 13:32:47 GMT"/>
<outline text="background-color: whitesmoke;" created="Sun, 04 Jun 2023 15:38:02 GMT"/>
<outline text="min-height: 150px;" created="Sun, 14 Apr 2024 14:30:17 GMT"/>
<outline text="}" created="Thu, 30 Oct 2025 13:32:34 GMT"/>
</outline>
<outline text=".divEditor textarea {">
<outline text="width: 100%;"/>
<outline text="font-family: var(--bodytext-font-family);" created="Sun, 14 Apr 2024 14:30:17 GMT"/>
<outline text="font-size: var(--bodytext-font-size);" created="Sun, 14 Apr 2024 14:30:17 GMT"/>
<outline text="line-height: var(--bodytext-line-height);" created="Sun, 14 Apr 2024 14:30:17 GMT"/>
<outline text="padding-left: 5px; /* 2/25/25 by DW */" created="Tue, 25 Feb 2025 18:00:51 GMT"/>
<outline text="padding-right: 2px;" created="Tue, 25 Feb 2025 18:00:51 GMT"/>
<outline text="min-height: 150px;" created="Sun, 14 Apr 2024 14:30:17 GMT"/>
<outline text="min-width: 550px;" created="Sun, 14 Apr 2024 14:30:17 GMT"/>
<outline text="border: 1px solid gainsboro;"/>
<outline text="overflow: hidden;"/>
<outline text="background-color: white;" created="Tue, 14 May 2024 15:14:27 GMT"/>
<outline text="margin-bottom: 0;" created="Thu, 30 Oct 2025 14:14:13 GMT"/>
<outline text="}" created="Sat, 08 Jun 2024 15:13:16 GMT"/>
</outline>
<outline text=".divEditor .editing {">
<outline text="min-height: var(--min-height-msgtext);" isComment="true" created="Sun, 14 Apr 2024 14:30:17 GMT"/>
<outline text="}" created="Mon, 06 May 2024 15:54:56 GMT"/>
</outline>
<outline text=".divEditor .editing:focus {">
<outline text="border-color: rgba(82, 168, 236, 0.8);"/>
<outline text="outline: 0;"/>
<outline text="outline: thin dotted \9;"/>
<outline text="box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);"/>
<outline text="background-color: white;"/>
<outline text="}"/>
</outline>
<outline text="" created="Fri, 31 Oct 2025 13:44:12 GMT"/>
<outline text=".divButtons {" created="Fri, 31 Oct 2025 13:44:12 GMT">
<outline text="margin-top: 10px;" created="Fri, 31 Oct 2025 13:44:19 GMT"/>
<outline text="text-align: right;" created="Fri, 31 Oct 2025 13:44:45 GMT"/>
<outline text="}" created="Fri, 31 Oct 2025 13:44:24 GMT"/>
</outline>
<outline text="" created="Sat, 01 Nov 2025 16:00:50 GMT"/>
<outline text=".divSitelist {" created="Mon, 28 Aug 2023 15:40:37 GMT">
<outline text="font-size: 15px;" created="Mon, 28 Aug 2023 15:40:40 GMT"/>
<outline text="width: 300px;" created="Sun, 03 Sep 2023 14:26:47 GMT"/>
<outline text="margin-left: auto;" created="Sun, 03 Sep 2023 14:28:29 GMT"/>
<outline text="margin-right: auto;" created="Sun, 03 Sep 2023 14:28:34 GMT"/>
<outline text="border: 1px solid silver;" created="Sun, 03 Sep 2023 14:28:39 GMT"/>
<outline text="background-color: white;" created="Sun, 03 Sep 2023 14:28:49 GMT"/>
<outline text="padding: 3px;" created="Sun, 03 Sep 2023 14:29:08 GMT"/>
<outline text="}" created="Mon, 28 Aug 2023 15:40:39 GMT"/>
</outline>
<outline text=".divSitelist td {" created="Mon, 28 Aug 2023 15:40:37 GMT">
<outline text="min-width: 100px;" created="Sun, 03 Sep 2023 14:26:47 GMT"/>
<outline text="}" created="Mon, 28 Aug 2023 15:40:39 GMT"/>
</outline>
<outline text=".divSitelist .spSitename {" created="Mon, 28 Aug 2023 16:16:20 GMT">
<outline text="cursor: pointer;" created="Mon, 28 Aug 2023 16:16:22 GMT"/>
<outline text="margin-right: 1em;" created="Mon, 28 Aug 2023 16:34:55 GMT"/>
<outline text="}" created="Mon, 28 Aug 2023 16:16:27 GMT"/>
</outline>
<outline text=".divSitelist .spSitedate {" created="Mon, 28 Aug 2023 16:36:08 GMT">
<outline text="margin-right: 1em;" created="Mon, 28 Aug 2023 16:34:55 GMT"/>
<outline text="}" created="Mon, 28 Aug 2023 16:36:10 GMT"/>
</outline>
<outline text=".divSitelist td:hover {" created="Sat, 01 Nov 2025 16:37:51 GMT">
<outline text="text-decoration: underline;" created="Sat, 01 Nov 2025 16:38:18 GMT"/>
<outline text="}" created="Sat, 01 Nov 2025 16:38:01 GMT"/>
</outline>
<outline text="" created="Sun, 02 Nov 2025 21:18:33 GMT"/>
<outline text=".divLeftJustifiedButtons {" created="Sun, 02 Nov 2025 21:18:34 GMT">
<outline text="float: left;" created="Sun, 02 Nov 2025 21:18:38 GMT"/>
<outline text="}" created="Sun, 02 Nov 2025 21:18:41 GMT"/>
</outline>
<outline text=".spChooseSite {" created="Sun, 02 Nov 2025 21:18:34 GMT">
<outline text="float: left;" created="Sun, 02 Nov 2025 21:18:38 GMT"/>
<outline text="}" created="Sun, 02 Nov 2025 21:18:41 GMT"/>
</outline>
<outline text=".divLeftCell {">
<outline text="white-space: nowrap;"/>
<outline text="overflow: hidden;"/>
<outline text="text-overflow: ellipsis;"/>
<outline text="}"/>
</outline>
<outline text=".divRightCell {">
<outline text="width: 270px;"/>
<outline text="text-align: right;"/>
<outline text="float: right;"/>
<outline text="margin-top: 5px;"/>
<outline text="}"/>
</outline>
<outline text="" created="Fri, 31 Oct 2025 13:44:13 GMT"/>
<outline text=".divButtonLine {">
<outline text="display: flex;"/>
<outline text="width: 750px;"/>
<outline text="justify-content: space-between;"/>
<outline text="margin-top: 5px;" created="Sun, 02 Nov 2025 22:59:32 GMT"/>
<outline text="font-size: 14px;" created="Mon, 03 Nov 2025 14:57:59 GMT"/>
<outline text="}"/>
</outline>
<outline text=".divLeftButtons {" created="Sun, 02 Nov 2025 22:52:48 GMT">
<outline text="flex: 1;" created="Sun, 02 Nov 2025 22:53:02 GMT"/>
<outline text="}" created="Sun, 02 Nov 2025 22:52:57 GMT"/>
</outline>
<outline text=".divRightButtons {" created="Sun, 02 Nov 2025 22:52:48 GMT">
<outline text="flex: 1;" created="Sun, 02 Nov 2025 22:53:02 GMT"/>
<outline text="text-align: right;" created="Sun, 02 Nov 2025 22:58:16 GMT"/>
<outline text="}" created="Sun, 02 Nov 2025 22:52:57 GMT"/>
</outline>
<outline text="" created="Mon, 03 Nov 2025 14:59:39 GMT"/>
<outline text=".spLastSiteChosen {" created="Mon, 03 Nov 2025 14:59:39 GMT">
<outline text="display: inline-block;" created="Mon, 03 Nov 2025 15:09:29 GMT"/>
<outline text="margin-top: 3px;" created="Mon, 03 Nov 2025 14:59:41 GMT"/>
<outline text="margin-left: 3px;" created="Mon, 03 Nov 2025 14:59:47 GMT"/>
<outline text="}" created="Mon, 03 Nov 2025 14:59:53 GMT"/>
</outline>
<outline text="" created="Mon, 03 Nov 2025 14:57:38 GMT"/>
<outline text=".divSideBySidePanels {" isComment="true" created="Mon, 03 Nov 2025 22:11:17 GMT">
<outline text="display: flex;" created="Mon, 03 Nov 2025 22:12:46 GMT"/>
<outline text="gap: 8px;" created="Mon, 03 Nov 2025 22:12:52 GMT"/>
<outline text="width: 100%;"/>
<outline text="}" created="Mon, 03 Nov 2025 22:11:22 GMT"/>
</outline>
<outline text=".divDraftDataViewer {" created="Mon, 03 Nov 2025 15:42:50 GMT">
<outline text="margin-top: 25px;" created="Mon, 03 Nov 2025 22:32:48 GMT"/>
<outline text="width: 100%;"/>
<outline text="white-space: pre;"/>
<outline text="font-size: 14px;"/>
<outline text="line-height: 20px;"/>
<outline text="border: 1px solid silver;"/>
<outline text="padding: 3px;" isComment="true"/>
<outline text="overflow: auto;"/>
<outline text="flex: 1;" isComment="true"/>
<outline text="min-width: 0;" isComment="true"/>
<outline text="overflow: auto;" isComment="true"/>
<outline text="overflow-y: hidden;" isComment="true" created="Mon, 03 Nov 2025 22:24:37 GMT"/>
<outline text="white-space: pre;" isComment="true" created="Mon, 03 Nov 2025 15:42:53 GMT"/>
<outline text="font-size: 12px;" isComment="true" created="Mon, 03 Nov 2025 15:44:29 GMT"/>
<outline text="line-height: 18px;" isComment="true" created="Mon, 03 Nov 2025 15:46:55 GMT"/>
<outline text="border: 1px solid silver;" isComment="true" created="Mon, 03 Nov 2025 15:47:10 GMT"/>
<outline text="padding: 3px;" isComment="true" created="Mon, 03 Nov 2025 15:47:17 GMT"/>
<outline text="}" created="Mon, 03 Nov 2025 15:42:51 GMT"/>
</outline>
<outline text=".divEditorContainer {" created="Mon, 03 Nov 2025 22:18:26 GMT">
<outline text="width: 100%;"/>
<outline text="flex: 0 0 750px;"/>
<outline text="}" created="Mon, 03 Nov 2025 22:18:45 GMT"/>
</outline>
<outline text="" created="Fri, 07 Nov 2025 15:51:37 GMT"/>
<outline text=".divEditorContainer .divTopLine {" created="Fri, 07 Nov 2025 15:51:37 GMT">
<outline text="display: flex;"/>
<outline text="width: 100%;"/>
<outline text="}" created="Fri, 07 Nov 2025 15:51:56 GMT"/>
</outline>
<outline text=".divEditorContainer .divTopLine .divTitle {" created="Mon, 03 Nov 2025 22:43:12 GMT">
<outline text="width: 500px;" created="Fri, 07 Nov 2025 15:41:58 GMT"/>
<outline text="flex: 0 0 500px;"/>
<outline text="font-weight: bold;" created="Mon, 03 Nov 2025 22:43:18 GMT"/>
<outline text="font-size: 18px;" created="Fri, 07 Nov 2025 15:45:12 GMT"/>
<outline text="padding: 3px;" created="Fri, 07 Nov 2025 15:05:39 GMT"/>
<outline text="height: 21px;" created="Fri, 07 Nov 2025 14:59:53 GMT"/>
<outline text="border: 1px solid silver;" isComment="true" created="Sun, 14 Apr 2024 14:30:17 GMT"/>
<outline text="margin-bottom: 4px;" created="Fri, 07 Nov 2025 15:44:26 GMT"/>
<outline text="border: var(--debugging-border);" isComment="true" created="Sun, 14 Apr 2024 14:30:17 GMT"/>
<outline text="18+3+ 4" isComment="true" created="Fri, 07 Nov 2025 15:45:42 GMT">
<outline text="25" isComment="true"/>
</outline>
<outline text="white-space: nowrap;"/>
<outline text="overflow: hidden;"/>
<outline text="text-overflow: ellipsis;"/>
<outline text="}" created="Mon, 03 Nov 2025 22:43:18 GMT"/>
</outline>
<outline text=".divEditorContainer .divTopLine .divTitle:hover {" created="Mon, 03 Nov 2025 22:43:12 GMT">
<outline text="cursor: pointer;" created="Fri, 07 Nov 2025 15:07:24 GMT"/>
<outline text="}" created="Mon, 03 Nov 2025 22:43:18 GMT"/>
</outline>
<outline text=".divEditorContainer .divTopLine .divStatus {" created="Mon, 03 Nov 2025 22:43:12 GMT">
<outline text="flex: 1;"/>
<outline text="white-space: nowrap;"/>
<outline text="overflow: hidden;"/>
<outline text="text-align: right;" created="Fri, 07 Nov 2025 15:55:02 GMT"/>
<outline text="text-overflow: ellipsis;" isComment="true"/>
<outline text="border: var(--debugging-border);" isComment="true" created="Sun, 14 Apr 2024 14:30:17 GMT"/>
<outline text="}" created="Mon, 03 Nov 2025 22:43:18 GMT"/>
</outline>
<outline text="" created="Sat, 08 Nov 2025 14:43:05 GMT"/>
<outline text=".divLeftButtons button {" created="Sat, 08 Nov 2025 14:43:06 GMT">
<outline text="margin-right: 10px;" created="Sat, 08 Nov 2025 14:43:12 GMT"/>
<outline text="}" created="Sat, 08 Nov 2025 14:43:11 GMT"/>
</outline>
<outline text=".divRightButtons button {" created="Sat, 08 Nov 2025 14:43:06 GMT">
<outline text="margin-left: 10px;" created="Sat, 08 Nov 2025 14:43:12 GMT"/>
<outline text="}" created="Sat, 08 Nov 2025 14:43:11 GMT"/>
</outline>
<outline text="" created="Sat, 08 Nov 2025 14:55:27 GMT"/>
<outline text=".divStatus .divSavingMessage {" created="Sat, 08 Nov 2025 14:55:27 GMT">
<outline text="font-size: 13px;"/>
<outline text="color: var(--prompt-color);"/>
<outline text="margin-top: 10px;" created="Sat, 08 Nov 2025 14:59:14 GMT"/>
<outline text="}" created="Sat, 08 Nov 2025 14:56:04 GMT"/>
</outline>
<outline text="" created="Fri, 31 Oct 2025 13:44:13 GMT"/>
<outline text="/* styles for phone, tablet */" created="Sat, 08 Jun 2024 16:24:54 GMT">
<outline text="@media screen and (max-width: 1024px) {">
<outline text=".divPageBody {">
<outline text="width: 95%;"/>
<outline text="margin-top: 80px;"/>
<outline text="}"/>
</outline>
<outline text="}"/>
</outline>
<outline text="" created="Thu, 01 May 2025 12:51:24 GMT"/>
</outline>
</outline>
<outline text="code.js" created="Mon, 06 Jun 2022 15:20:22 GMT">
<outline text="const appConsts = {" created="Thu, 30 Oct 2025 14:27:32 GMT">
<outline text="productName: "demoland"," created="Thu, 30 Oct 2025 14:27:43 GMT"/>
<outline text="fnamePrefs: "demoland/prefs.json"," created="Thu, 30 Oct 2025 14:30:38 GMT"/>
<outline text="aboutText: "Drafts are saved to the same wpIdentity server that WordLand uses. Choose a site, click the Publish button to post to WordPress. The second box, below the editor, is a live readout of the data we're keeping for the post you're editing. Useful for learning how wpIdentity works."," created="Sun, 09 Nov 2025 14:13:35 GMT"/>
<outline text="placeholderForTextarea: "This is a simple HTML textarea. You can write using Markdown. The box below the editor is a live readout of the data we're keeping for the current post."" created="Sun, 09 Nov 2025 14:13:35 GMT"/>
<outline text="placeholderForTextarea: "You can enter markdown text here and it should be properly handled by the system."" isComment="true" created="Sun, 09 Nov 2025 14:13:35 GMT"/>
<outline text="}" created="Thu, 30 Oct 2025 14:27:38 GMT"/>
</outline>
<outline text="" created="Thu, 30 Oct 2025 14:27:40 GMT"/>
<outline text="var appPrefs = {" created="Thu, 30 Oct 2025 14:28:26 GMT">
<outline text="ctStarts: 0," created="Fri, 12 Apr 2024 15:44:11 GMT"/>
<outline text="whenLastStart: new Date (0)," created="Fri, 12 Apr 2024 15:44:28 GMT"/>
<outline text="idLastDraft: undefined," created="Thu, 06 Jun 2024 17:54:48 GMT"/>
<outline text="minSecsBetwSave: 0.5," created="Thu, 28 Mar 2024 20:14:12 GMT"/>
<outline text="idLastSiteChosen: undefined,"/>
<outline text="nameLastSiteChosen: undefined" created="Sat, 01 Nov 2025 16:48:34 GMT"/>
<outline text="}" created="Thu, 30 Oct 2025 14:28:30 GMT"/>
</outline>
<outline text="" created="Thu, 30 Oct 2025 14:28:31 GMT"/>
<outline text="var globals = {" created="Thu, 30 Oct 2025 14:27:03 GMT">
<outline text="flPrefsChanged: false," created="Thu, 30 Oct 2025 14:27:14 GMT"/>
<outline text="flDraftChanged: false," created="Thu, 30 Oct 2025 15:32:32 GMT"/>
<outline text="theDraft: undefined," created="Thu, 30 Oct 2025 15:27:54 GMT"/>
<outline text="autosaveClock: new Date (0)," created="Thu, 30 Oct 2025 15:41:51 GMT"/>
<outline text="siteList: undefined,"/>
<outline text="theEditor: undefined," created="Mon, 03 Nov 2025 15:25:05 GMT"/>
<outline text="savingStatusMessage: undefined"/>
<outline text="}" created="Thu, 30 Oct 2025 14:27:08 GMT"/>
</outline>
<outline text="" created="Fri, 31 Oct 2025 13:40:04 GMT"/>
<outline text="//prefs" created="Sun, 09 Nov 2025 14:05:22 GMT">
<outline text="function prefsChanged () {" created="Fri, 29 Mar 2024 13:37:39 GMT">
<outline text="globals.flPrefsChanged = true;" created="Fri, 29 Mar 2024 13:37:45 GMT"/>
<outline text="}" created="Fri, 29 Mar 2024 13:37:48 GMT"/>
</outline>
<outline text="function readPrefs (callback) {" created="Fri, 29 Mar 2024 13:40:08 GMT">
<outline text="const whenstart = new Date ();" created="Thu, 28 Mar 2024 14:41:12 GMT"/>
<outline text="myWordpress.readUserDataFile (appConsts.fnamePrefs, true, function (err, theSavedPrefs) {" created="Fri, 23 Dec 2022 20:06:07 GMT">
<outline text="if (err) {" created="Fri, 29 Mar 2024 13:41:43 GMT">
<outline text="console.log ("readPrefs: err.message == " + err.message);" created="Fri, 29 Mar 2024 13:41:46 GMT"/>
<outline text="if (callback !== undefined) {">
<outline text="if (err.code == 404) { //first-time user" created="Thu, 30 Oct 2025 14:48:40 GMT">
<outline text="callback (undefined, appPrefs);" created="Thu, 30 Oct 2025 14:49:15 GMT"/>
<outline text="}" created="Thu, 30 Oct 2025 14:48:50 GMT"/>
</outline>
<outline text="else {" created="Thu, 30 Oct 2025 14:49:39 GMT">
<outline text="callback (err);" created="Thu, 30 Oct 2025 14:49:40 GMT"/>
<outline text="}" created="Thu, 30 Oct 2025 14:50:47 GMT"/>
</outline>
<outline text="}" created="Thu, 30 Oct 2025 15:06:03 GMT"/>
</outline>
<outline text="}" created="Fri, 29 Mar 2024 13:41:56 GMT"/>
</outline>
<outline text="else {" created="Thu, 21 Mar 2024 14:10:22 GMT">
<outline text="var thePrefs = new Object (), flJsonError = false;" created="Fri, 29 Mar 2024 14:49:41 GMT"/>
<outline text="try {" created="Fri, 29 Mar 2024 14:48:23 GMT">
<outline text="thePrefs = JSON.parse (theSavedPrefs.filecontents);" created="Fri, 29 Mar 2024 14:47:44 GMT"/>
<outline text="}" created="Fri, 29 Mar 2024 14:48:25 GMT"/>
</outline>
<outline text="catch (err) {" created="Fri, 29 Mar 2024 14:48:25 GMT">
<outline text="console.log ("readPrefs: err.message == " + err.message);" created="Fri, 29 Mar 2024 14:48:40 GMT"/>
<outline text="flJsonError = true;" created="Fri, 29 Mar 2024 14:49:33 GMT"/>
<outline text="}" created="Fri, 29 Mar 2024 14:48:29 GMT"/>
</outline>
<outline text="if (!flJsonError) {" created="Fri, 29 Mar 2024 14:47:45 GMT">
<outline text="for (var x in thePrefs) {" created="Fri, 29 Mar 2024 13:42:32 GMT">
<outline text="appPrefs [x] = thePrefs [x];" created="Fri, 29 Mar 2024 13:42:38 GMT"/>
<outline text="}" created="Fri, 29 Mar 2024 13:42:36 GMT"/>
</outline>
<outline text="}" created="Fri, 29 Mar 2024 14:49:52 GMT"/>
</outline>
<outline text="cleanAppPrefs ();" isComment="true"/>
<outline text="console.log ("readPrefs: " + secondsSince (whenstart) + " secs");" created="Thu, 28 Mar 2024 14:39:01 GMT"/>
<outline text="console.log ("readPrefs: appPrefs == " + jsonStringify (appPrefs));" created="Thu, 28 Mar 2024 14:39:01 GMT"/>
<outline text="if (callback !== undefined) {" created="Fri, 29 Mar 2024 13:46:31 GMT">
<outline text="callback (err, theSavedPrefs);" created="Fri, 29 Mar 2024 13:46:37 GMT"/>
<outline text="}" created="Fri, 29 Mar 2024 13:46:40 GMT"/>
</outline>
<outline text="}" created="Thu, 21 Mar 2024 14:10:23 GMT"/>
</outline>
<outline text="});" created="Fri, 23 Dec 2022 20:06:24 GMT"/>
</outline>
<outline text="}" created="Fri, 29 Mar 2024 13:40:19 GMT"/>
</outline>
<outline text="function savePrefs (callback) {" created="Fri, 29 Mar 2024 13:38:27 GMT">
<outline text="const jsontext = jsonStringify (appPrefs), whenstart = new Date ();" created="Thu, 28 Mar 2024 14:41:12 GMT"/>
<outline text="myWordpress.writeUniqueFile (appConsts.fnamePrefs, jsontext, "application/json", true, function (err, data) {" created="Sun, 12 May 2024 13:27:49 GMT">
<outline text="if (err) {" created="Fri, 23 Dec 2022 20:06:30 GMT">
<outline text="console.log ("savePrefs: err.message == " + err.message);" created="Fri, 23 Dec 2022 20:06:45 GMT"/>
<outline text="}" created="Fri, 23 Dec 2022 20:06:33 GMT"/>
</outline>
<outline text="else {" created="Fri, 23 Dec 2022 20:06:33 GMT">
<outline text="console.log ("savePrefs: " + secondsSince (whenstart) + " secs");" created="Thu, 28 Mar 2024 14:39:01 GMT"/>
<outline text="}" created="Fri, 23 Dec 2022 20:06:35 GMT"/>
</outline>
<outline text="if (callback !== undefined) {" created="Fri, 29 Mar 2024 13:40:27 GMT">
<outline text="callback (err, data);" created="Fri, 29 Mar 2024 13:40:34 GMT"/>
<outline text="}" created="Fri, 29 Mar 2024 13:40:38 GMT"/>
</outline>
<outline text="});" created="Sun, 12 May 2024 13:27:52 GMT"/>
</outline>
<outline text="}" created="Fri, 29 Mar 2024 13:38:32 GMT"/>
</outline>
<outline text="function checkPrefsChanged () {" created="Thu, 30 Oct 2025 14:29:13 GMT">
<outline text="if (globals.flPrefsChanged) { //4/12/24 by DW" created="Sat, 30 Mar 2024 18:04:32 GMT">
<outline text="globals.flPrefsChanged = false;" created="Fri, 29 Mar 2024 13:38:14 GMT"/>
<outline text="savePrefs ();" created="Fri, 29 Mar 2024 13:38:07 GMT"/>
<outline text="}" created="Sat, 30 Mar 2024 18:04:36 GMT"/>
</outline>
<outline text="}" created="Thu, 30 Oct 2025 14:29:18 GMT"/>
</outline>
</outline>
<outline text="//drafts" created="Thu, 30 Oct 2025 15:23:27 GMT">
<outline text="function draftChanged (draftInfo) { " created="Fri, 05 Apr 2024 16:15:18 GMT">
<outline text="console.log ("draftChanged");" isComment="true" created="Fri, 25 Oct 2024 16:28:58 GMT"/>
<outline text="globals.flDraftChanged = true;" created="Fri, 05 Apr 2024 16:15:54 GMT"/>
<outline text="globals.autosaveClock = new Date ();" created="Thu, 28 Mar 2024 20:15:26 GMT"/>
<outline text="globals.theDraft.flDraftChanged = true; " isComment="true" created="Sun, 19 May 2024 14:17:13 GMT"/>
<outline text="}" created="Fri, 05 Apr 2024 16:15:25 GMT"/>
</outline>
<outline text="function newDraft () {" created="Thu, 30 Oct 2025 15:23:27 GMT">
<outline text="const theUserInfo = myWordpress.getUserInfoSync ();" created="Sat, 26 Oct 2024 14:08:06 GMT"/>
<outline text="const theDraft = {" created="Wed, 08 May 2024 16:10:59 GMT">
<outline text="title: ""," created="Wed, 20 Mar 2024 18:44:41 GMT"/>
<outline text="content: "", //11/3/25 by DW" created="Wed, 20 Mar 2024 18:44:45 GMT"/>
<outline text="content: "<p><br></p>"," isComment="true" created="Wed, 20 Mar 2024 18:44:45 GMT"/>
<outline text="categories: []," created="Tue, 29 Aug 2023 16:50:37 GMT"/>
<outline text="idPost: undefined," created="Wed, 20 Mar 2024 18:45:08 GMT"/>
<outline text="idSite: undefined," created="Wed, 20 Mar 2024 18:48:31 GMT"/>
<outline text="flEnablePublish: false,"/>
<outline text="whichEditor: "markdown","/>
<outline text="author: {">
<outline text="id: theUserInfo.idUser," created="Wed, 08 May 2024 16:16:47 GMT"/>
<outline text="username: theUserInfo.username,"/>
<outline text="name: theUserInfo.name"/>
<outline text="},"/>
</outline>
<outline text="markdowntext: ""," isComment="true"/>
<outline text="whenCreated: new Date ()"/>
<outline text="}" created="Wed, 08 May 2024 16:11:02 GMT"/>
</outline>
<outline text="return (theDraft);" created="Thu, 30 Oct 2025 15:26:57 GMT"/>
<outline text="}" created="Thu, 30 Oct 2025 15:23:33 GMT"/>
</outline>
<outline text="function readDraft (idDraft, callback) {" created="Fri, 29 Mar 2024 13:40:08 GMT">
<outline text="Changes" isComment="true" created="Thu, 10 Oct 2024 14:14:41 GMT">
<outline text="10/10/24; 10:14:44 AM by DW" created="Thu, 10 Oct 2024 14:14:43 GMT">
<outline text="We now assume the filecontent is in Markdown, so we convert it to HTML on entry, and convert back to Markdown when saving." created="Thu, 10 Oct 2024 14:14:44 GMT"/>
</outline>
</outline>
<outline text="myWordpress.readDraft (idDraft, function (err, data) {" created="Tue, 28 May 2024 18:46:05 GMT">
<outline text="if (err) {" created="Tue, 28 May 2024 18:46:21 GMT">
<outline text="callback (err);" created="Tue, 28 May 2024 18:46:24 GMT"/>
<outline text="}" created="Tue, 28 May 2024 18:46:29 GMT"/>
</outline>
<outline text="else {" created="Tue, 28 May 2024 18:46:30 GMT">
<outline text="var theDraft;" created="Wed, 29 May 2024 14:06:00 GMT"/>
<outline text="try {" created="Fri, 29 Mar 2024 14:48:23 GMT">
<outline text="const theDraft = JSON.parse (data.filecontents);" created="Fri, 29 Mar 2024 14:47:44 GMT"/>
<outline text="theDraft.idDraft = idDraft;" created="Wed, 29 May 2024 14:25:11 GMT"/>
<outline text="" created="Sat, 12 Oct 2024 14:29:54 GMT"/>
<outline text="if (theDraft.contentType == "html") { //10/12/24 by DW" created="Sat, 12 Oct 2024 14:29:55 GMT">
<outline text="theDraft.content = getMarkdownFromHtml (theDraft.content);" created="Thu, 10 Oct 2024 14:18:06 GMT"/>
<outline text="theDraft.contentType = "markdown";" created="Sat, 12 Oct 2024 14:30:29 GMT"/>
<outline text="}" created="Sat, 12 Oct 2024 14:30:08 GMT"/>
</outline>
<outline text="" created="Sat, 12 Oct 2024 14:30:46 GMT"/>
<outline text="callback (undefined, theDraft);" created="Tue, 28 May 2024 18:46:24 GMT"/>
<outline text="}" created="Fri, 29 Mar 2024 14:48:25 GMT"/>
</outline>
<outline text="catch (err) {" created="Fri, 29 Mar 2024 14:48:25 GMT">
<outline text="callback (err);" created="Tue, 28 May 2024 18:46:24 GMT"/>
<outline text="}" created="Fri, 29 Mar 2024 14:48:29 GMT"/>
</outline>
<outline text="}" created="Tue, 28 May 2024 18:46:44 GMT"/>
</outline>
<outline text="});" created="Tue, 28 May 2024 18:46:18 GMT"/>
</outline>
<outline text="}" created="Fri, 29 Mar 2024 13:40:19 GMT"/>
</outline>
<outline text="function saveDraft (draftInfo, callback) { " created="Fri, 05 Apr 2024 16:16:22 GMT">
<outline text="Changes" isComment="true" created="Mon, 06 May 2024 14:53:45 GMT">
<outline text="4/14/25; 9:16:19 AM by DW" created="Mon, 14 Apr 2025 13:16:19 GMT">
<outline text="Call updateDraftLocally to make sure the local version of the draft in localStorage is updated." created="Mon, 14 Apr 2025 13:16:19 GMT"/>
</outline>
<outline text="5/10/24; 5:01:03 PM by DW" created="Fri, 10 May 2024 21:01:02 GMT">
<outline text="pass the id of the draft in the database on the server and set whenCreated to agree with what's in the database." created="Fri, 10 May 2024 21:01:19 GMT"/>
<outline text="The problem in the 5/6/24 note was fixed." created="Fri, 10 May 2024 21:01:03 GMT"/>
</outline>
<outline text="5/6/24; 10:53:47 AM by DW" created="Mon, 06 May 2024 14:53:46 GMT">
<outline text="Remember, posts from the wpidentity app don't return for some reason that's yet to have been determined." created="Mon, 06 May 2024 14:53:47 GMT"/>
</outline>
</outline>
<outline text="var options = {" created="Fri, 05 Apr 2024 16:22:58 GMT">
<outline text="idsite: draftInfo.idSite," created="Fri, 05 Apr 2024 16:23:10 GMT"/>
<outline text="idpost: draftInfo.idPost" created="Fri, 05 Apr 2024 16:23:10 GMT"/>
<outline text="};" created="Fri, 05 Apr 2024 16:23:02 GMT"/>
</outline>
<outline text="if (draftInfo.idDraft !== undefined) { //5/11/24 by DW" created="Sat, 11 May 2024 13:16:01 GMT">
<outline text="options.iddraft = draftInfo.idDraft;" created="Sat, 11 May 2024 13:16:22 GMT"/>
<outline text="}" created="Sat, 11 May 2024 13:16:19 GMT"/>
</outline>
<outline text="const jsontext = jsonStringify (draftInfo), whenstart = new Date ();" created="Thu, 28 Mar 2024 14:41:12 GMT"/>
<outline text="myWordpress.writeUserDataFile ("draft.json", jsontext, "application/json", true, function (err, data) {" created="Fri, 23 Dec 2022 20:06:07 GMT">
<outline text="if (err) {" created="Fri, 23 Dec 2022 20:06:30 GMT">
<outline text="console.log ("saveDraft: err.message == " + err.message);" created="Fri, 23 Dec 2022 20:06:45 GMT"/>
<outline text="}" created="Fri, 23 Dec 2022 20:06:33 GMT"/>
</outline>
<outline text="else {" created="Fri, 23 Dec 2022 20:06:33 GMT">
<outline text="const nowstring = new Date ().toLocaleTimeString ();" created="Mon, 26 May 2025 14:22:04 GMT"/>
<outline text="console.log (nowstring + ": saveDraft: " + draftInfo.content.length + " chars, " + secondsSince (whenstart) + " secs.");" created="Thu, 28 Mar 2024 14:39:01 GMT"/>
<outline text="console.log ("saveDraft: data == " + jsonStringify (data));" isComment="true" created="Thu, 28 Mar 2024 14:39:01 GMT"/>
<outline text="if (data.id !== undefined) {" created="Sat, 11 May 2024 14:40:20 GMT">
<outline text="draftInfo.idDraft = data.id;" created="Fri, 10 May 2024 21:00:50 GMT"/>
<outline text="if (appPrefs.idLastDraft != data.id) { //10/17/24 by DW" created="Thu, 17 Oct 2024 15:43:59 GMT">
<outline text="appPrefs.idLastDraft = data.id;" created="Thu, 17 Oct 2024 15:44:17 GMT"/>
<outline text="prefsChanged ();" created="Thu, 17 Oct 2024 15:44:23 GMT"/>
<outline text="}" created="Thu, 17 Oct 2024 15:44:14 GMT"/>
</outline>
<outline text="}" created="Sat, 11 May 2024 14:40:28 GMT"/>
</outline>
<outline text="if (data.whenCreated !== undefined) {" created="Sat, 11 May 2024 14:40:20 GMT">
<outline text="draftInfo.whenCreated = data.whenCreated;" created="Fri, 10 May 2024 21:00:50 GMT"/>
<outline text="}" created="Sat, 11 May 2024 14:40:28 GMT"/>
</outline>
<outline text="if (data.whenUpdated !== undefined) { //5/18/24 by DW" created="Sat, 11 May 2024 14:40:20 GMT">
<outline text="draftInfo.whenUpdated = data.whenUpdated;" created="Fri, 10 May 2024 21:00:50 GMT"/>
<outline text="}" created="Sat, 11 May 2024 14:40:28 GMT"/>
</outline>
<outline text="draftInfo.flDraftChanged = false; "/>
<outline text="}" created="Fri, 23 Dec 2022 20:06:35 GMT"/>
</outline>
<outline text="if (callback !== undefined) {" created="Fri, 29 Mar 2024 13:40:27 GMT">
<outline text="callback (err, draftInfo);" created="Fri, 29 Mar 2024 13:40:34 GMT"/>
<outline text="}" created="Fri, 29 Mar 2024 13:40:38 GMT"/>
</outline>
<outline text="}, options);" created="Fri, 23 Dec 2022 20:06:24 GMT"/>
</outline>
<outline text="}" created="Fri, 05 Apr 2024 16:16:27 GMT"/>
</outline>
<outline text="function publishDraft (draftInfo, callback) {" created="Wed, 08 May 2024 15:22:56 GMT">
<outline text="if (draftInfo.idPost === undefined) {" created="Wed, 20 Mar 2024 18:45:03 GMT">
<outline text="myWordpress.addPost (appPrefs.idLastSiteChosen, draftInfo, function (err, theNewPost) { //5/7/25 by DW" created="Fri, 23 Dec 2022 20:06:07 GMT">
<outline text="callback (err, theNewPost);" created="Wed, 07 May 2025 20:27:43 GMT"/>
<outline text="});" created="Wed, 07 May 2025 20:26:54 GMT"/>
</outline>
<outline text="}" created="Wed, 20 Mar 2024 18:45:28 GMT"/>
</outline>
<outline text="else {" created="Wed, 20 Mar 2024 18:45:28 GMT">
<outline text="myWordpress.updatePost (draftInfo.idSite, draftInfo.idPost, draftInfo, function (err, theUpdatedPost) {">
<outline text="callback (err, theUpdatedPost);" created="Wed, 07 May 2025 20:27:43 GMT"/>
<outline text="});" created="Sat, 11 Oct 2025 14:20:14 GMT"/>
</outline>
<outline text="}" created="Wed, 20 Mar 2024 18:45:30 GMT"/>
</outline>
<outline text="}" created="Wed, 08 May 2024 15:23:17 GMT"/>
</outline>
</outline>
<outline text="//commands, button clicks" created="Sun, 09 Nov 2025 14:05:55 GMT">
<outline text="function aboutCommand () {" created="Wed, 12 Nov 2025 14:41:52 GMT">
<outline text="alertDialog (appConsts.aboutText);" created="Wed, 12 Nov 2025 14:41:58 GMT"/>
<outline text="}" created="Wed, 12 Nov 2025 14:41:57 GMT"/>
</outline>
<outline text="function newDraftCommand () {" created="Thu, 30 Oct 2025 15:40:30 GMT">
<outline text="console.log ("newDraftCommand");" created="Mon, 03 Nov 2025 15:17:08 GMT"/>
<outline text="confirmDialog ("Create a new post?", function () {" created="Sat, 02 Sep 2023 16:24:18 GMT">
<outline text="globals.theDraft = newDraft ();" created="Thu, 30 Oct 2025 15:27:34 GMT"/>
<outline text="appPrefs.idLastDraft = undefined;" created="Thu, 06 Jun 2024 17:54:48 GMT"/>
<outline text="appPrefs.idLastSiteChosen = undefined;"/>
<outline text="appPrefs.nameLastSiteChosen = undefined;" created="Sat, 01 Nov 2025 16:48:34 GMT"/>
<outline text="prefsChanged ();" created="Mon, 03 Nov 2025 15:33:38 GMT"/>
<outline text="" created="Mon, 03 Nov 2025 15:34:38 GMT"/>
<outline text="globals.theEditor.val (globals.theDraft.content)" created="Mon, 03 Nov 2025 15:34:38 GMT"/>
<outline text="" created="Tue, 04 Nov 2025 16:47:17 GMT"/>
<outline text="updateStatus ();" created="Tue, 04 Nov 2025 16:47:17 GMT"/>
<outline text="});" created="Sat, 02 Sep 2023 16:24:35 GMT"/>
</outline>
<outline text="}" created="Thu, 30 Oct 2025 15:40:34 GMT"/>
</outline>
<outline text="function chooseSiteButtonClick () {" created="Sat, 01 Nov 2025 15:53:59 GMT">
<outline text="console.log ("chooseSiteButtonClick");" created="Tue, 04 Nov 2025 18:09:37 GMT"/>
<outline text="function sortSiteList (theSites, sortBy="name", flReverseSort=false) {" created="Mon, 04 Jul 2022 16:47:46 GMT">
<outline text="theSites.sort (function (a, b) {">
<outline text="cribsheet" isComment="true">
<outline text="if a > b return 1"/>
<outline text="if a < b return -1"/>
</outline>
<outline text="switch (sortBy) {" created="Mon, 04 Jul 2022 16:32:05 GMT">
<outline text="case "name":" created="Mon, 04 Jul 2022 16:32:21 GMT">
<outline text="var alower = a.name.toLowerCase (), val;"/>
<outline text="var blower = b.name.toLowerCase ();"/>
<outline text="if (flReverseSort) { //7/11/22 by DW" created="Mon, 11 Jul 2022 13:22:55 GMT">
<outline text="let tmp = alower;" created="Mon, 11 Jul 2022 13:23:16 GMT"/>
<outline text="alower = blower;" created="Mon, 11 Jul 2022 13:23:19 GMT"/>
<outline text="blower = tmp;" created="Mon, 11 Jul 2022 13:23:23 GMT"/>
<outline text="}" created="Mon, 11 Jul 2022 13:23:08 GMT"/>
</outline>
<outline text="if (alower.length == 0) {">
<outline text="return (1);"/>
<outline text="}"/>
</outline>
<outline text="if (blower.length == 0) {">
<outline text="return (-1);"/>
<outline text="}"/>
</outline>
<outline text="if (alower == blower) {">
<outline text="val = 0;"/>
<outline text="}"/>
</outline>
<outline text="else {">
<outline text="if (blower > alower) {">
<outline text="val = -1;"/>
<outline text="}"/>
</outline>
<outline text="else {">
<outline text="val = 1;"/>
<outline text="}"/>
</outline>
<outline text="}"/>
</outline>
<outline text="return (val);"/>
</outline>
<outline text="case "whenUpdated":" isComment="true" created="Mon, 04 Jul 2022 16:32:32 GMT">
<outline text="var adate = getDateForSorting (a.whenUpdated), bdate = getDateForSorting (b.whenUpdated);"/>
<outline text="if (flReverseSort) { //7/11/22 by DW" created="Mon, 11 Jul 2022 13:22:55 GMT">
<outline text="let tmp = adate;" created="Mon, 11 Jul 2022 13:23:16 GMT"/>
<outline text="adate = bdate;" created="Mon, 11 Jul 2022 13:23:19 GMT"/>
<outline text="bdate = tmp;" created="Mon, 11 Jul 2022 13:23:23 GMT"/>
<outline text="}" created="Mon, 11 Jul 2022 13:23:08 GMT"/>
</outline>
<outline text="return (bdate - adate);"/>
</outline>
<outline text="case "ctSubs":" isComment="true" created="Mon, 04 Jul 2022 16:32:48 GMT">
<outline text="const acount = getCountForSorting (a.ctSubs), bcount = getCountForSorting (b.ctSubs);" created="Sat, 03 Jun 2023 14:26:15 GMT"/>
<outline text="if (flReverseSort) { //7/11/22 by DW" created="Mon, 11 Jul 2022 13:24:36 GMT">
<outline text="return (acount - bcount);"/>
<outline text="}" created="Mon, 11 Jul 2022 13:24:40 GMT"/>
</outline>
<outline text="else {" created="Mon, 11 Jul 2022 13:24:45 GMT">
<outline text="return (bcount - acount);"/>
<outline text="}" created="Mon, 11 Jul 2022 13:24:47 GMT"/>
</outline>
</outline>
<outline text="}" created="Mon, 04 Jul 2022 16:32:19 GMT"/>
</outline>
<outline text="});"/>
</outline>
<outline text="}" created="Mon, 04 Jul 2022 16:47:54 GMT"/>
</outline>
<outline text="function viewSitelist (userOptions) {" created="Mon, 28 Aug 2023 15:03:11 GMT">
<outline text="var options = {" created="Mon, 28 Aug 2023 16:00:23 GMT">
<outline text="whereToAppend: $(".divSitelistContainer")," created="Mon, 28 Aug 2023 15:28:59 GMT"/>
<outline text="sortBy: "name"," created="Mon, 28 Aug 2023 16:00:29 GMT"/>
<outline text="flReverseSort: false" created="Mon, 28 Aug 2023 16:01:37 GMT"/>
<outline text="}" created="Mon, 28 Aug 2023 16:00:36 GMT"/>
</outline>
<outline text="mergeOptions (userOptions, options);" created="Sat, 01 Nov 2025 15:55:49 GMT"/>
<outline text="" created="Sat, 01 Nov 2025 15:55:58 GMT"/>
<outline text="const divSitelist = $("<div class=\"divSitelist\"></div>");" created="Fri, 20 May 2022 14:38:24 GMT"/>
<outline text="" created="Sat, 01 Nov 2025 16:27:52 GMT"/>
<outline text="function getFeedlandTimeString (when, flLongStrings=false) {" created="Fri, 08 Jul 2022 15:26:21 GMT">
<outline text="const options = {" created="Fri, 17 Mar 2023 15:10:46 GMT">
<outline text="flBriefYearDates: true," created="Fri, 17 Mar 2023 14:28:31 GMT"/>
<outline text="nowString: "now"" created="Fri, 17 Mar 2023 14:28:52 GMT"/>
<outline text="};" created="Fri, 17 Mar 2023 15:10:51 GMT"/>
</outline>
<outline text="var s = getFacebookTimeString (when, flLongStrings, options);" isComment="true" created="Fri, 08 Jul 2022 15:26:35 GMT"/>
<outline text="" created="Sat, 01 Nov 2025 15:58:46 GMT"/>
<outline text="var s = formatDate (when, "%b %Y"); //Feb 2022" created="Sat, 01 Nov 2025 15:58:46 GMT"/>
<outline text="" created="Sat, 01 Nov 2025 15:58:47 GMT"/>
<outline text="" created="Sat, 01 Nov 2025 15:58:47 GMT"/>
<outline text="s = replaceAll (s, "Just now", "now");" isComment="true" created="Fri, 08 Jul 2022 15:26:38 GMT"/>
<outline text="return (s);" created="Fri, 08 Jul 2022 15:27:05 GMT"/>
<outline text="}" created="Fri, 08 Jul 2022 15:26:28 GMT"/>
</outline>
<outline text="function getRow (item) {" created="Mon, 28 Aug 2023 16:08:30 GMT">
<outline text="console.log ("getRow: item == " + jsonStringify (item));" isComment="true" created="Mon, 28 Aug 2023 16:25:27 GMT"/>
<outline text="const theRow = $("<tr></tr>");" created="Mon, 28 Aug 2023 15:24:08 GMT"/>
<outline text="function getSiteName () {" created="Mon, 28 Aug 2023 16:09:32 GMT">
<outline text="const theCell = $("<td></td>");" created="Mon, 28 Aug 2023 16:09:56 GMT"/>
<outline text="const shortenedname = maxStringLength (item.name, 65, true, true);" created="Mon, 28 Aug 2023 16:33:39 GMT"/>
<outline text="const theName = $("<span class=\"spSitename\">" + shortenedname + "</span>");" created="Mon, 28 Aug 2023 16:10:30 GMT"/>
<outline text="addToolTip (theName, item.description);" created="Mon, 28 Aug 2023 16:11:29 GMT"/>
<outline text="theCell.append (theName);" created="Mon, 28 Aug 2023 16:11:55 GMT"/>
<outline text="" created="Sat, 01 Nov 2025 16:36:20 GMT"/>
<outline text="theCell.click (function () {" created="Sat, 01 Nov 2025 16:36:21 GMT">
<outline text="console.log (shortenedname);" created="Sat, 01 Nov 2025 16:37:00 GMT"/>
<outline text="appPrefs.idLastSiteChosen = item.idSite;" created="Sat, 01 Nov 2025 16:40:52 GMT"/>
<outline text="appPrefs.nameLastSiteChosen = item.name;" created="Sat, 01 Nov 2025 16:40:52 GMT"/>
<outline text="prefsChanged ();" created="Sat, 01 Nov 2025 16:41:42 GMT"/>
<outline text="theDialog.modal ("hide"); "/>
<outline text="});" created="Sat, 01 Nov 2025 16:36:57 GMT"/>
</outline>
<outline text="" created="Sat, 01 Nov 2025 16:36:21 GMT"/>
<outline text="return (theCell);" created="Mon, 28 Aug 2023 16:10:15 GMT"/>
<outline text="}" created="Mon, 28 Aug 2023 16:09:48 GMT"/>
</outline>
<outline text="function getSiteId () {" created="Mon, 28 Aug 2023 16:09:32 GMT">
<outline text="const theCell = $("<td>" + item.idSite + "</td>");" created="Mon, 28 Aug 2023 16:09:56 GMT"/>
<outline text="return (theCell);" created="Mon, 28 Aug 2023 16:10:15 GMT"/>
<outline text="}" created="Mon, 28 Aug 2023 16:09:48 GMT"/>
</outline>
<outline text="function getDateValue (when, meaning) {" created="Mon, 28 Aug 2023 16:09:32 GMT">
<outline text="const theCell = $("<td></td>");" created="Mon, 28 Aug 2023 16:09:56 GMT"/>
<outline text="const whenstring = getFeedlandTimeString (when);" created="Mon, 28 Aug 2023 16:28:37 GMT"/>
<outline text="const whenstring = new Date (when).toLocaleString ();" isComment="true" created="Mon, 28 Aug 2023 16:28:37 GMT"/>
<outline text="const theDate = $("<span class=\"spSitedate\">" + whenstring + "</span>");" created="Mon, 28 Aug 2023 16:10:30 GMT"/>
<outline text="addToolTip (theDate, "When the site was " + meaning + ".");" created="Mon, 28 Aug 2023 16:11:29 GMT"/>
<outline text="theCell.append (theDate);" created="Mon, 28 Aug 2023 16:11:55 GMT"/>
<outline text="return (theCell);" created="Mon, 28 Aug 2023 16:10:15 GMT"/>
<outline text="}" created="Mon, 28 Aug 2023 16:09:48 GMT"/>
</outline>
<outline text="theRow.append (getSiteName ());" created="Mon, 28 Aug 2023 15:24:29 GMT"/>
<outline text="theRow.append (getDateValue (item.whenCreated, "created"));" isComment="true" created="Mon, 28 Aug 2023 15:24:29 GMT"/>
<outline text="theRow.append (getSiteId ());" isComment="true" created="Mon, 28 Aug 2023 15:24:29 GMT"/>
<outline text="return (theRow);" created="Mon, 28 Aug 2023 16:14:07 GMT"/>
<outline text="}" created="Mon, 28 Aug 2023 16:08:56 GMT"/>
</outline>
<outline text="" created="Sat, 01 Nov 2025 15:48:50 GMT"/>
<outline text="const theList = myWordpress.getSiteList ();" created="Sat, 01 Nov 2025 15:45:53 GMT"/>
<outline text="function sortTheList () {" created="Mon, 04 Jul 2022 16:47:46 GMT">
<outline text="theList.sites.sort (function (a, b) {">
<outline text="cribsheet" isComment="true">
<outline text="if a > b return 1"/>
<outline text="if a < b return -1"/>
</outline>
<outline text="switch (options.sortBy) {" created="Mon, 04 Jul 2022 16:32:05 GMT">
<outline text="case "name":" created="Mon, 04 Jul 2022 16:32:21 GMT">
<outline text="var alower = a.name.toLowerCase (), val;"/>
<outline text="var blower = b.name.toLowerCase ();"/>
<outline text="if (options.flReverseSort) { //7/11/22 by DW" created="Mon, 11 Jul 2022 13:22:55 GMT">
<outline text="let tmp = alower;" created="Mon, 11 Jul 2022 13:23:16 GMT"/>
<outline text="alower = blower;" created="Mon, 11 Jul 2022 13:23:19 GMT"/>
<outline text="blower = tmp;" created="Mon, 11 Jul 2022 13:23:23 GMT"/>
<outline text="}" created="Mon, 11 Jul 2022 13:23:08 GMT"/>
</outline>
<outline text="if (alower.length == 0) {">
<outline text="return (1);"/>
<outline text="}"/>
</outline>
<outline text="if (blower.length == 0) {">
<outline text="return (-1);"/>
<outline text="}"/>
</outline>
<outline text="if (alower == blower) {">
<outline text="val = 0;"/>
<outline text="}"/>
</outline>
<outline text="else {">
<outline text="if (blower > alower) {">
<outline text="val = -1;"/>
<outline text="}"/>
</outline>
<outline text="else {">
<outline text="val = 1;"/>
<outline text="}"/>
</outline>
<outline text="}"/>
</outline>
<outline text="return (val);"/>
</outline>
<outline text="case "whenUpdated":" isComment="true" created="Mon, 04 Jul 2022 16:32:32 GMT">
<outline text="var adate = getDateForSorting (a.whenUpdated), bdate = getDateForSorting (b.whenUpdated);"/>
<outline text="if (options.flReverseSort) { //7/11/22 by DW" created="Mon, 11 Jul 2022 13:22:55 GMT">
<outline text="let tmp = adate;" created="Mon, 11 Jul 2022 13:23:16 GMT"/>
<outline text="adate = bdate;" created="Mon, 11 Jul 2022 13:23:19 GMT"/>
<outline text="bdate = tmp;" created="Mon, 11 Jul 2022 13:23:23 GMT"/>
<outline text="}" created="Mon, 11 Jul 2022 13:23:08 GMT"/>
</outline>
<outline text="return (bdate - adate);"/>
</outline>
<outline text="case "ctSubs":" isComment="true" created="Mon, 04 Jul 2022 16:32:48 GMT">
<outline text="const acount = getCountForSorting (a.ctSubs), bcount = getCountForSorting (b.ctSubs);" created="Sat, 03 Jun 2023 14:26:15 GMT"/>
<outline text="if (options.flReverseSort) { //7/11/22 by DW" created="Mon, 11 Jul 2022 13:24:36 GMT">
<outline text="return (acount - bcount);"/>
<outline text="}" created="Mon, 11 Jul 2022 13:24:40 GMT"/>
</outline>
<outline text="else {" created="Mon, 11 Jul 2022 13:24:45 GMT">
<outline text="return (bcount - acount);"/>
<outline text="}" created="Mon, 11 Jul 2022 13:24:47 GMT"/>
</outline>
</outline>
<outline text="}" created="Mon, 04 Jul 2022 16:32:19 GMT"/>
</outline>
<outline text="});"/>
</outline>
<outline text="}" created="Mon, 04 Jul 2022 16:47:54 GMT"/>
</outline>
<outline text="sortSiteList (theList, options.sortBy, options.flReverseSort);" created="Mon, 28 Aug 2023 16:02:11 GMT"/>
<outline text="theList.forEach (function (item) {" created="Mon, 28 Aug 2023 15:05:25 GMT">
<outline text="divSitelist.append (getRow (item));" created="Mon, 28 Aug 2023 15:28:35 GMT"/>
<outline text="});" created="Mon, 28 Aug 2023 15:23:55 GMT"/>
</outline>
<outline text="options.whereToAppend.append (divSitelist);" isComment="true" created="Mon, 28 Aug 2023 15:27:40 GMT"/>
<outline text="activateToolTips ();" isComment="true"/>
<outline text="" created="Sat, 01 Nov 2025 16:27:43 GMT"/>
<outline text="return (divSitelist);" created="Sat, 01 Nov 2025 16:27:31 GMT"/>
<outline text="}" created="Mon, 28 Aug 2023 15:03:19 GMT"/>
</outline>
<outline text="$(".divSitelistContainer").empty ();" created="Sun, 03 Sep 2023 14:50:44 GMT"/>
<outline text="const dialogBody = viewSitelist ();" created="Sun, 03 Sep 2023 14:49:57 GMT"/>
<outline text="const dialogOptions = {" created="Mon, 15 Sep 2025 14:34:19 GMT">
<outline text="dialogBody," created="Mon, 15 Sep 2025 14:27:10 GMT"/>
<outline text="prompt: "Choose a site for this post.."," created="Mon, 15 Sep 2025 14:27:11 GMT"/>
<outline text="flOkButton: false," created="Thu, 26 Dec 2024 14:28:11 GMT"/>
<outline text="flCancelButton: false" created="Thu, 26 Dec 2024 14:28:11 GMT"/>
<outline text="prompt: "~ Feeds in timeline now ~"" isComment="true" created="Mon, 15 Sep 2025 14:27:11 GMT"/>
<outline text="};" created="Mon, 15 Sep 2025 14:34:23 GMT"/>
</outline>
<outline text="const theDialog = runModalDialog (dialogOptions);" created="Mon, 15 Sep 2025 14:34:25 GMT"/>
<outline text="}" created="Sat, 01 Nov 2025 15:54:09 GMT"/>
</outline>
<outline text="function publishButtonClick () {" created="Fri, 31 Oct 2025 14:02:20 GMT">
<outline text="const theDraft = globals.theDraft;" created="Fri, 31 Oct 2025 14:41:47 GMT"/>
<outline text="globals.savingStatusMessage = "PUBLISHING";" created="Thu, 19 Dec 2024 16:49:43 GMT"/>
<outline text="publishDraft (theDraft, function (err, theNewPost) {" created="Fri, 31 Oct 2025 14:02:32 GMT">
<outline text="if (err) {" created="Fri, 31 Oct 2025 14:09:37 GMT">
<outline text="alertDialog ("Couldn't publish because =\"" + err.message + ".\"");" created="Fri, 31 Oct 2025 14:09:40 GMT"/>
<outline text="}" created="Fri, 31 Oct 2025 14:09:46 GMT"/>
</outline>
<outline text="else {" created="Fri, 31 Oct 2025 14:09:47 GMT">
<outline text="theDraft.idPost = theNewPost.idPost;" created="Sat, 11 May 2024 15:23:09 GMT"/>
<outline text="theDraft.idSite = theNewPost.idSite;" created="Sat, 11 May 2024 15:23:09 GMT"/>
<outline text="theDraft.url = theNewPost.url;" created="Sat, 11 May 2024 15:23:09 GMT"/>
<outline text="theDraft.whenCreated = theNewPost.whenCreated;" created="Sat, 11 May 2024 15:23:09 GMT"/>
<outline text="theDraft.whenPublished = theNewPost.whenPublished; //5/17/24 by DW" created="Sat, 11 May 2024 15:23:09 GMT"/>
<outline text="theDraft.author = theNewPost.author;" created="Sat, 11 May 2024 15:23:09 GMT"/>
<outline text="theDraft.flEnablePublish = false;" created="Sat, 18 May 2024 16:14:20 GMT"/>
<outline text="globals.theDraft = theDraft;" created="Fri, 31 Oct 2025 14:42:45 GMT"/>
<outline text="saveDraft (theDraft, function (err, data) { " created="Thu, 09 May 2024 16:20:06 GMT">
<outline text="if (!err) {" created="Mon, 13 May 2024 18:05:54 GMT">
<outline text="speakerBeep ();" created="Fri, 31 Oct 2025 14:48:26 GMT"/>
<outline text="saveFeed (theNewPost.idSite); " isComment="true" created="Tue, 30 Apr 2024 15:59:20 GMT"/>
<outline text="}" created="Mon, 13 May 2024 18:05:58 GMT"/>
</outline>
<outline text="});" created="Mon, 13 May 2024 18:05:18 GMT"/>
</outline>
<outline text="}" created="Fri, 31 Oct 2025 14:09:49 GMT"/>
</outline>
<outline text="globals.savingStatusMessage = undefined; " created="Thu, 19 Dec 2024 16:49:43 GMT"/>
<outline text="});" created="Fri, 31 Oct 2025 14:09:32 GMT"/>
</outline>
<outline text="}" created="Fri, 31 Oct 2025 14:02:25 GMT"/>
</outline>
<outline text="function setTitleCommand () {" created="Mon, 03 Nov 2025 22:36:30 GMT">
<outline text="const defaultValue = globals.theDraft.title;" created="Mon, 03 Nov 2025 22:36:36 GMT"/>
<outline text="askDialog ("Title for the post:", defaultValue, "This is where you enter the title of the freaking post.", function (newTitle, flcancel) {" created="Tue, 08 Jan 2013 01:26:19 GMT" pgfnum="16860">
<outline text="if (!flcancel) {">
<outline text="globals.theDraft.title = newTitle;" created="Mon, 03 Nov 2025 22:37:57 GMT"/>
<outline text="saveDraft (globals.theDraft, function (err, data) { " created="Thu, 09 May 2024 16:20:06 GMT">
<outline text="if (!err) {" created="Mon, 13 May 2024 18:05:54 GMT">
<outline text="speakerBeep ();" isComment="true" created="Fri, 31 Oct 2025 14:48:26 GMT"/>
<outline text="updateDraftViewer ();" isComment="true"/>
<outline text="updateTitleViewer ();" isComment="true" created="Mon, 03 Nov 2025 22:45:42 GMT"/>
<outline text="updateStatus ();"/>
<outline text="saveFeed (theNewPost.idSite); " isComment="true" created="Tue, 30 Apr 2024 15:59:20 GMT"/>
<outline text="}" created="Mon, 13 May 2024 18:05:58 GMT"/>
</outline>
<outline text="});" created="Mon, 13 May 2024 18:05:18 GMT"/>
</outline>
<outline text="}"/>
</outline>
<outline text="});"/>
</outline>
<outline text="}" created="Mon, 03 Nov 2025 22:36:36 GMT"/>
</outline>
<outline text="function viewPostCommand () {" created="Mon, 03 Nov 2025 22:50:38 GMT">
<outline text="if (globals.theDraft.url === undefined) {" created="Mon, 03 Nov 2025 22:50:42 GMT">
<outline text="alertDialog ("Can't view the post because it hasn't been published yet.");" created="Mon, 03 Nov 2025 22:51:09 GMT"/>
<outline text="}" created="Mon, 03 Nov 2025 22:51:01 GMT"/>
</outline>
<outline text="else {" created="Mon, 03 Nov 2025 22:51:02 GMT">
<outline text="window.open (globals.theDraft.url);" created="Mon, 03 Nov 2025 22:51:31 GMT"/>
<outline text="}" created="Mon, 03 Nov 2025 22:51:04 GMT"/>
</outline>
<outline text="}" created="Mon, 03 Nov 2025 22:50:42 GMT"/>
</outline>
<outline text="function logOffWordpressCommand () {" created="Wed, 23 Aug 2023 12:41:35 GMT">
<outline text="confirmDialog ("Log off WordPress.com?", function () {" created="Sat, 02 Sep 2023 16:24:18 GMT">
<outline text="myWordpress.logOffWordpress ();" created="Sun, 07 Apr 2024 14:08:59 GMT"/>
<outline text="});" created="Sat, 02 Sep 2023 16:24:35 GMT"/>
</outline>
<outline text="}" created="Wed, 23 Aug 2023 12:41:39 GMT"/>
</outline>
</outline>
<outline text="//updating display" created="Fri, 07 Nov 2025 15:56:35 GMT">
<outline text="function updateDraftViewer () {" created="Mon, 03 Nov 2025 16:00:57 GMT">
<outline text="divDraftDataViewer = $(".divDraftDataViewer");" created="Mon, 03 Nov 2025 15:41:22 GMT"/>
<outline text="const d = globals.theDraft;" created="Mon, 03 Nov 2025 21:44:21 GMT"/>
<outline text="function ifNotUndefined (val) {" created="Mon, 03 Nov 2025 21:42:34 GMT">
<outline text="if (val) {" created="Mon, 03 Nov 2025 21:42:44 GMT">
<outline text="return (val);" created="Mon, 03 Nov 2025 21:42:52 GMT"/>
<outline text="}" created="Mon, 03 Nov 2025 21:42:55 GMT"/>
</outline>
<outline text="else {" created="Mon, 03 Nov 2025 21:42:56 GMT">
<outline text="return (undefined);" created="Mon, 03 Nov 2025 21:43:01 GMT"/>
<outline text="}" created="Mon, 03 Nov 2025 21:43:05 GMT"/>
</outline>
<outline text="}" created="Mon, 03 Nov 2025 21:42:43 GMT"/>
</outline>
<outline text="const properlyOrderedObject = {" created="Mon, 03 Nov 2025 21:39:11 GMT">
<outline text="title: ifNotUndefined (d.title)," created="Mon, 03 Nov 2025 21:39:43 GMT"/>
<outline text="content: ifNotUndefined (d.content)," created="Mon, 03 Nov 2025 21:39:49 GMT"/>
<outline text="contentType: ifNotUndefined (d.contentType)," created="Mon, 03 Nov 2025 21:40:33 GMT"/>
<outline text="categories: ifNotUndefined (d.categories)," created="Mon, 03 Nov 2025 21:39:59 GMT"/>
<outline text="author: ifNotUndefined (d.author)," created="Mon, 03 Nov 2025 21:40:15 GMT"/>
<outline text="idDraft: ifNotUndefined (d.idDraft)," created="Mon, 03 Nov 2025 21:40:48 GMT"/>
<outline text="idPost: ifNotUndefined (d.idPost)," created="Mon, 03 Nov 2025 21:40:48 GMT"/>
<outline text="idSite: ifNotUndefined (d.idSite)," created="Mon, 03 Nov 2025 21:40:48 GMT"/>
<outline text="flDraftChanged: ifNotUndefined (d.flDraftChanged)," created="Mon, 03 Nov 2025 21:41:05 GMT"/>
<outline text="flEnablePublish: ifNotUndefined (d.flEnablePublish)," created="Mon, 03 Nov 2025 21:40:40 GMT"/>
<outline text="url: ifNotUndefined (d.url)," created="Mon, 03 Nov 2025 21:40:40 GMT"/>
<outline text="whenCreated: ifNotUndefined (d.whenCreated)," created="Mon, 03 Nov 2025 21:40:20 GMT"/>
<outline text="whenUpdated: ifNotUndefined (d.whenUpdated)," created="Mon, 03 Nov 2025 21:40:56 GMT"/>
<outline text="whenPublished: ifNotUndefined (d.whenPublished)," created="Mon, 03 Nov 2025 21:40:56 GMT"/>
<outline text="whichEditor: ifNotUndefined (d.whichEditor)," created="Mon, 03 Nov 2025 21:40:07 GMT"/>
<outline text="}" created="Mon, 03 Nov 2025 21:39:22 GMT"/>
</outline>
<outline text="const draftViewerText = jsonStringify (properlyOrderedObject);" created="Mon, 03 Nov 2025 15:52:13 GMT"/>
<outline text="if (draftViewerText != divDraftDataViewer.text ()) {" created="Mon, 03 Nov 2025 15:52:29 GMT">
<outline text="const d = globals.theDraft;" created="Mon, 03 Nov 2025 21:39:10 GMT"/>
<outline text="divDraftDataViewer.text (draftViewerText);" created="Mon, 03 Nov 2025 15:52:44 GMT"/>
<outline text="}" created="Mon, 03 Nov 2025 15:52:46 GMT"/>
</outline>
<outline text="}" created="Mon, 03 Nov 2025 16:01:06 GMT"/>
</outline>
<outline text="function updateTitleViewer () {" created="Mon, 03 Nov 2025 22:45:48 GMT">
<outline text="if (globals.theDraft.title !== undefined) {" created="Mon, 03 Nov 2025 22:46:25 GMT">
<outline text="$(".divEditorContainer .divTitle").text (globals.theDraft.title);" created="Mon, 03 Nov 2025 22:42:06 GMT"/>
<outline text="}" created="Mon, 03 Nov 2025 22:46:30 GMT"/>
</outline>
<outline text="}" created="Mon, 03 Nov 2025 22:45:52 GMT"/>
</outline>
<outline text="function updateForLogin (flConnected) {">
<outline text="var idActive, idOther;" created="Mon, 16 May 2022 14:54:58 GMT"/>
<outline text="if (flConnected === undefined) {" created="Sat, 08 Nov 2025 14:30:04 GMT">
<outline text="flConnected = myWordpress.userIsSignedIn ()" created="Sat, 08 Nov 2025 14:30:24 GMT"/>
<outline text="}" created="Sat, 08 Nov 2025 14:30:13 GMT"/>
</outline>
<outline text="if (flConnected) {" created="Mon, 16 May 2022 14:50:50 GMT">
<outline text="idActive = "#idSignedOn";" created="Mon, 16 May 2022 14:54:04 GMT"/>
<outline text="idOther = "#idSignedOff";" created="Mon, 16 May 2022 14:54:04 GMT"/>
<outline text="}" created="Mon, 16 May 2022 14:50:55 GMT"/>
</outline>
<outline text="else {" created="Mon, 16 May 2022 14:50:55 GMT">
<outline text="idActive = "#idSignedOff";" created="Mon, 16 May 2022 14:54:04 GMT"/>
<outline text="idOther = "#idSignedOn";" created="Mon, 16 May 2022 14:54:04 GMT"/>
<outline text="}" created="Mon, 16 May 2022 14:50:57 GMT"/>
</outline>
<outline text="if ($(idActive).css ("display") != "block") {" created="Mon, 16 May 2022 14:56:00 GMT">
<outline text="$(idActive).css ("display", "block")" created="Mon, 16 May 2022 14:50:50 GMT"/>
<outline text="}" created="Mon, 16 May 2022 14:56:14 GMT"/>
</outline>
<outline text="if ($(idOther).css ("display") != "none") {" created="Mon, 16 May 2022 14:56:00 GMT">
<outline text="$(idOther).css ("display", "none")" created="Mon, 16 May 2022 14:50:50 GMT"/>
<outline text="}" created="Mon, 16 May 2022 14:56:14 GMT"/>
</outline>
<outline text="" created="Wed, 12 Nov 2025 14:47:42 GMT"/>
<outline text="if (flConnected) { //11/12/25 by DW" created="Wed, 12 Nov 2025 14:47:42 GMT">
<outline text="$("#idMainMenu").css ("display", "block")" created="Wed, 12 Nov 2025 14:50:43 GMT"/>
<outline text="}" created="Wed, 12 Nov 2025 14:50:36 GMT"/>
</outline>
<outline text="else {" created="Wed, 12 Nov 2025 14:50:37 GMT">
<outline text="$("#idMainMenu").css ("display", "none")" created="Wed, 12 Nov 2025 14:50:43 GMT"/>
<outline text="}" created="Wed, 12 Nov 2025 14:50:38 GMT"/>
</outline>
<outline text="}"/>
</outline>
<outline text="function updateStatus () {" created="Mon, 03 Nov 2025 14:54:08 GMT">
<outline text="function setTextItem (nameObject, theText) {" created="Mon, 03 Nov 2025 14:52:54 GMT">
<outline text="if ($(nameObject).text () != theText) {" created="Mon, 03 Nov 2025 14:56:33 GMT">
<outline text="$(nameObject).text (theText);" created="Mon, 03 Nov 2025 14:55:12 GMT"/>
<outline text="}" created="Mon, 03 Nov 2025 14:56:45 GMT"/>
</outline>
<outline text="}" created="Mon, 03 Nov 2025 14:55:03 GMT"/>
</outline>
<outline text="function updateSavingStatus () {" created="Fri, 07 Nov 2025 15:56:34 GMT">
<outline text="var theText;" created="Sat, 08 Nov 2025 14:52:04 GMT"/>
<outline text="if (globals.savingStatusMessage === undefined) {" created="Sat, 08 Nov 2025 14:53:55 GMT">
<outline text="if (globals.flDraftChanged) {" created="Sat, 08 Nov 2025 14:52:18 GMT">
<outline text="theText = "NOT SAVED";" created="Sat, 08 Nov 2025 14:52:36 GMT"/>
<outline text="}" created="Sat, 08 Nov 2025 14:52:26 GMT"/>
</outline>
<outline text="else {" created="Sat, 08 Nov 2025 14:52:27 GMT">
<outline text="theText = "SAVED";" created="Sat, 08 Nov 2025 14:52:57 GMT"/>
<outline text="}" created="Sat, 08 Nov 2025 14:52:29 GMT"/>
</outline>
<outline text="}" created="Sat, 08 Nov 2025 15:08:06 GMT"/>