-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathflows.json
3999 lines (3999 loc) · 553 KB
/
flows.json
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
[
{
"id": "3b1289d7ccf9cb0f",
"type": "tab",
"label": "flowviewer",
"disabled": false,
"info": "### Description\n\nThis flow that maintains the codebase for the [flowviewer](https://github.com/gorenje/node-red-flowviewer-js).\n\nThis flow is the single source of wisdom for this [GitHub repo](https://github.com/gorenje/node-red-flowviewer-js) and the [minified versions](https://github.com/gorenje/cdn.openmindmap.org/blob/main/embed/flowviewer.min.js) of the flowviewer.\n\nFor more details, check the [blog page](https://blog.openmindmap.org/blog/backticks-in-markdown-and-node-red).\n\nAs such, this flow is a mixture between a CI server for creating production code, the actual code itself and the editor for maintaining the codebase.\n\nIt is an experiment for a alternative approach to software development.\n\nIn addition, this flow also contains:\n\n- <a class='ahl-group-only' data-ids='9d2af1cbb2846fa6'>helper functionality</a> to retrievee image content for nodes\n- the <a class='ahl-group-only' data-ids='61aca6c3c1dd26ad'>documentation and blog page</a> talking about this code\n- <a class='ahl-node-only' data-ids='131ac29d97134896,9a4513ce542f7bf6'>beta</a> code for testing before going to production.\n\nIt is a conglomerate of many steps that are required in software development.\n",
"env": []
},
{
"id": "9d2af1cbb2846fa6",
"type": "group",
"z": "3b1289d7ccf9cb0f",
"name": "Generate ImageNameToContent JS object",
"style": {
"label": true
},
"nodes": [
"a64997e5a2da3544",
"466c798b8d80d31e",
"5d660c00a7898eca",
"3c2aae6109374f63",
"0d8a6e1af70e96a7",
"7f883a05629592fa",
"d7a9f3a9cc5027ac",
"2f3e3fb68e6a4f0c",
"5c43b6d4731dcfb4",
"46e01e7859c2dcc9",
"5ba8cd49e5fec87b",
"53d33d111359f360",
"31c20b3bf9dd7cb9"
],
"x": 50,
"y": 2250,
"w": 1819,
"h": 159
},
{
"id": "e4084a937a77f0d0",
"type": "group",
"z": "3b1289d7ccf9cb0f",
"name": "Don't Press Here.",
"style": {
"label": true
},
"nodes": [
"03b87e7f0c64f35b"
],
"x": 367,
"y": 1071,
"w": 312,
"h": 82
},
{
"id": "a9db9cc079cee4d1",
"type": "group",
"z": "3b1289d7ccf9cb0f",
"name": "request router",
"style": {
"label": true
},
"nodes": [
"d5b5130932d53ee6",
"f2085b6bdd960155",
"c8329fa2a9c7f294",
"a4e29c958d43a75f",
"f9ce2c70ea88d513",
"246f7c42782ba50c",
"fb3cf59197f04d6d",
"cecdd1c8a3e2b62a",
"72e33d0413b6cd47"
],
"x": 538,
"y": 53,
"w": 1100,
"h": 308
},
{
"id": "6c68f0dc375cbe62",
"type": "group",
"z": "3b1289d7ccf9cb0f",
"name": "commit to node-red-flowviewer repo",
"style": {
"label": true
},
"nodes": [
"83744d14d589d375",
"f6dfc013ef04cbff",
"d07ddb933d722248"
],
"x": 2662,
"y": 1207,
"w": 894.5,
"h": 981
},
{
"id": "91967f767ec6c48f",
"type": "group",
"z": "3b1289d7ccf9cb0f",
"name": "this will only commit if the sha's of the files differ",
"style": {
"label": true
},
"nodes": [
"58ad9096a049bd57",
"33afb8166416d54e",
"72f284ff2072c42e",
"174950271a5c38fe",
"ca6f68d9e9a6911b",
"49771b22ba81070b",
"86875d673ee1c30c",
"eaa186595bcabd49",
"0f6926caf939f280",
"bcfe56aeb08be686"
],
"x": 2628,
"y": 439,
"w": 1783,
"h": 555
},
{
"id": "2546bdcda23f8d99",
"type": "group",
"z": "3b1289d7ccf9cb0f",
"name": "convert pkgfile svg files to base64 content",
"style": {
"label": true
},
"nodes": [
"64c316345ca030ed",
"422778cae449fea2",
"40d6bd842110c67c",
"33fac1ad356cec9d",
"ed035eda2664a70c",
"65d2de6c12608c46",
"620d7c9052224de7",
"91e7e468b0ac61af",
"5fadd32b4a5d4dc0",
"7b52fa6039f06ae7",
"a498720920dba8f2",
"47f4643a9e016b49",
"e423e0032a360d05"
],
"x": 2422,
"y": 2876,
"w": 652,
"h": 701
},
{
"id": "61aca6c3c1dd26ad",
"type": "group",
"z": "3b1289d7ccf9cb0f",
"name": "blog page content",
"style": {
"label": true
},
"nodes": [
"523327924cdb577e",
"4195651c394926ef",
"275db9d959888e89",
"ce8ea7841fa9be9d",
"eb24596d4204b910",
"b3528e0d706e0dd0",
"0634f8d5676fc70d",
"0c3702db8e3df5d0",
"300c6e7b72c46791",
"abd683b88834358e",
"e6277b8ff18ec7d2",
"a29a6c3facf4d1bc",
"e7ac3ae475fa2308",
"39ee817dca2a6a0b",
"34b6754b4977d604",
"b5e66e27b2b0d789",
"af681fca1e26c30f",
"8705351c5e6dc4f8",
"dc8f3756ead59120",
"3aa459e4be671f2e",
"00023ca0f8060a8d",
"beca1e195fdecc29",
"44ce1bb65bc802d2",
"a7c08fa148f82f3f",
"04b2c4438c162bba",
"3987b0c17b3e08c7"
],
"x": 49.75,
"y": 2474.25,
"w": 2156,
"h": 813.5
},
{
"id": "f6dfc013ef04cbff",
"type": "group",
"z": "3b1289d7ccf9cb0f",
"g": "6c68f0dc375cbe62",
"name": "for each file, create blob at github",
"style": {
"label": true
},
"nodes": [
"be932cbb0971d0e6",
"e275f899d947408c",
"84deaa8431cc6d1e",
"4e454286c4e6e746",
"e184b0fe543c835f",
"d77803b5de0f7dab"
],
"x": 2935,
"y": 1323,
"w": 252,
"h": 404
},
{
"id": "33afb8166416d54e",
"type": "group",
"z": "3b1289d7ccf9cb0f",
"g": "91967f767ec6c48f",
"name": "for each file, create blob at github",
"style": {
"label": true
},
"nodes": [
"966b2c12bc124684",
"3e447b3d36b5192e",
"c83e498a1edbea4a",
"540423e89add682a",
"5f3f01a7b66b82c1",
"d4c4a7848e8c9b04"
],
"x": 3235,
"y": 513,
"w": 252,
"h": 404
},
{
"id": "d07ddb933d722248",
"type": "group",
"z": "3b1289d7ccf9cb0f",
"g": "6c68f0dc375cbe62",
"name": "prepare commit and check for change",
"style": {
"label": true
},
"nodes": [
"538382528e212e10",
"dfeb191f16bef5df",
"ee00d35fee925bc7",
"9488d18457d0f1f7",
"8a12d8c3f7305d06",
"9d116acb86d60a6a",
"c4bc9a7c3ee337e7",
"255cf2c177f684a9",
"238e3f6cfc2eefa5"
],
"x": 3218.5,
"y": 1594,
"w": 312,
"h": 568
},
{
"id": "72f284ff2072c42e",
"type": "group",
"z": "3b1289d7ccf9cb0f",
"g": "91967f767ec6c48f",
"name": "do commit to cdn.omm.org",
"style": {
"label": true
},
"nodes": [
"cf1b500165dd957a",
"fb0cfc6fc6ba198d",
"5aae5e5579e1f571",
"3b588233885dc912"
],
"x": 4030,
"y": 541,
"w": 355,
"h": 328
},
{
"id": "174950271a5c38fe",
"type": "group",
"z": "3b1289d7ccf9cb0f",
"g": "91967f767ec6c48f",
"name": "check that something did actually change",
"style": {
"label": true
},
"nodes": [
"9f79b5be7ff9aec0",
"ec7dc3f74585d7ad",
"9cd21c2349d55ec5",
"78f922f2379a9db3",
"5064042f7e28cf9e",
"7910f96bca237835",
"53aa521f18c37c97"
],
"x": 3582,
"y": 465,
"w": 351,
"h": 503
},
{
"id": "c9469bc8f43477f8",
"type": "link out",
"z": "3b1289d7ccf9cb0f",
"name": "link out 80",
"mode": "return",
"links": [],
"x": 2264.4287109375,
"y": 1051.7142333984375,
"wires": []
},
{
"id": "8a027a1eec82ec7c",
"type": "switch",
"z": "3b1289d7ccf9cb0f",
"name": "has _linkSource - is this a link-call action",
"property": "_linkSource",
"propertyType": "msg",
"rules": [
{
"t": "nnull"
},
{
"t": "else"
}
],
"checkall": "true",
"repair": false,
"outputs": 2,
"x": 2033.285888671875,
"y": 916.0714111328125,
"wires": [
[
"c9469bc8f43477f8"
],
[]
]
},
{
"id": "91a42bb5da443216",
"type": "http response",
"z": "3b1289d7ccf9cb0f",
"name": "js",
"statusCode": "",
"headers": {
"content-type": "application/javascript; charset=utf-8"
},
"x": 2094,
"y": 1486.5,
"wires": []
},
{
"id": "20308184aaf2dda3",
"type": "template",
"z": "3b1289d7ccf9cb0f",
"name": "jsColoursByType",
"field": "jsColoursByType",
"fieldType": "msg",
"format": "javascript",
"syntax": "plain",
"template": "var _hshClr = (fill, stroke) => {\n return {\n fill: fill || \"#ffffff\",\n stroke: stroke || \"rgb(153, 153, 153)\"\n }\n};\n\nvar clrByType = {\n \"base64\": _hshClr(\"#DEBD5C\"),\n \"batch\": _hshClr(\"#E2D96E\"),\n \"catch\": _hshClr(\"#e49191\"),\n \"change\": _hshClr(\"#E2D96E\"),\n \"rbe\": _hshClr(\"#E2D96E\"), \n \"comment\": _hshClr(),\n \"csv\": _hshClr(\"#DEBD5C\"),\n \"debug\": _hshClr(\"#87a980\"),\n \"delay\": _hshClr(\"#E6E0F8\"),\n \"exec\": _hshClr(\"#e9967a\"),\n \"feedparse\": _hshClr(\"#C0DEED\"),\n \"file\": _hshClr(\"#deb887\"),\n \"file in\": _hshClr(\"#deb887\"),\n \"function\": _hshClr(\"#fdd0a2\"),\n \"html\": _hshClr(\"#DEBD5C\"),\n \"http response\": _hshClr(\"rgb(231, 231, 174)\"),\n \"http in\": _hshClr(\"rgb(231, 231, 174)\"),\n \"http request\": _hshClr(\"rgb(231, 231, 174)\"),\n \"inject\": _hshClr(\"#a6bbcf\"),\n \"join\": _hshClr(\"#E2D96E\"),\n \"json\": _hshClr(\"#DEBD5C\"),\n \"junction\": _hshClr('rgb(217, 217, 217)'),\n \"link in\": _hshClr(\"#ddd\"),\n \"link out\": _hshClr(\"#ddd\"),\n \"link call\": _hshClr(\"#ddd\"),\n \"markdown\": _hshClr(\"#DEBD5C\"),\n \"mqtt in\": _hshClr(\"rgb(216, 191, 216)\"),\n \"mqtt out\": _hshClr(\"rgb(216, 191, 216)\"),\n \"postgresql\": _hshClr(\"#5b85a7\"),\n \"range\": _hshClr(\"#E2D96E\"),\n \"sort\": _hshClr(\"#E2D96E\"),\n \"split\": _hshClr(\"#E2D96E\"),\n \"subflow\": _hshClr(\"#ddd\"),\n \"switch\": _hshClr(\"#E2D96E\"),\n \"trigger\": _hshClr(\"#E6E0F8\"),\n \"tcp in\": _hshClr(\"#c0c0c0\"),\n \"tcp out\": _hshClr(\"#c0c0c0\"),\n \"tcp request\": _hshClr(\"#c0c0c0\"),\n \"udp in\": _hshClr(\"#c0c0c0\"),\n \"udp out\": _hshClr(\"#c0c0c0\"),\n ui_button: _hshClr(\"rgb(176, 223, 227)\"),\n ui_list: _hshClr(\"rgb( 63, 173, 181)\"),\n ui_svg_graphics: _hshClr(\"rgb( 63, 173, 181)\"),\n ui_template: _hshClr(\"rgb( 63, 173, 181)\"),\n ui_toast: _hshClr(\"rgb(119, 198, 204)\"),\n ui_upload: _hshClr(\"rgb( 63, 173, 181)\"),\n ui_audio: _hshClr(\"rgb(119, 198, 204)\"),\n ui_chart: _hshClr(\"rgb(119, 198, 204)\"),\n ui_gauge: _hshClr(\"rgb(119, 198, 204)\"),\n ui_text: _hshClr(\"rgb(119, 198, 204)\"),\n ui_date_picker: _hshClr(\"rgb(176, 223, 227)\"),\n ui_dropdown: _hshClr(\"rgb(176, 223, 227)\"),\n ui_form: _hshClr(\"rgb(176, 223, 227)\"),\n ui_numeric: _hshClr(\"rgb(176, 223, 227)\"),\n ui_slider: _hshClr(\"rgb(176, 223, 227)\"),\n ui_switch: _hshClr(\"rgb(176, 223, 227)\"),\n ui_text_input: _hshClr(\"rgb(176, 223, 227)\"),\n ui_colour_picker: _hshClr(\"rgb(176, 223, 227)\"),\n\n \"websocket in\": _hshClr(\"rgb(215, 215, 160)\"),\n \"websocket out\": _hshClr(\"rgb(215, 215, 160)\"),\n \"yaml\": _hshClr(\"#DEBD5C\"),\n \"xml\": _hshClr(\"#DEBD5C\"),\n\n /* private nodes for this instane */\n 'BlogPages': _hshClr(\"#ddeeff\"),\n 'BlogDetails': _hshClr(\"#ddeeff\"),\n 'BlogPageInfo': _hshClr(\"#ddeeff\"),\n 'BlogChanges': _hshClr(\"#ddeeff\"),\n 'PubMedium': _hshClr(\"#ddee44\"),\n\n \"Topic\": _hshClr('#d0c9f6'),\n \"Observation\": _hshClr('#f4adf3'),\n \"Question\": _hshClr('#e0a4f3'),\n \"Thought\": _hshClr('#cb9cf3'),\n \"Idea\": _hshClr('#88baff'),\n \"Analogy\": _hshClr('#86bfff'),\n \"Aphorism\": _hshClr('#84c3ff'),\n \"Poesie\": _hshClr('#82C6FF'),\n \"Humour\": _hshClr('#81C9FF'),\n \"Treasure\": _hshClr('#80CCFF'),\n \"Consequence\": _hshClr('#f6c1cc'),\n \"Advantage\": _hshClr('#efacbf'),\n \"Disadvantage\": _hshClr('#e796b1'),\n \"Text\": _hshClr('#c8ffb5'),\n \"Blog-Post\": _hshClr('#CDFEBC'),\n \"Comment\": _hshClr('#D2FDC3'),\n \"Code-Base\": _hshClr('#D7FCCB'),\n \"Sketch\": _hshClr('#e1fbda'),\n \"Inspiration\": _hshClr('#dfdfb6'),\n \"Quote\": _hshClr('#E3E3BE'),\n \"Definition\": _hshClr('#E7E8C6'),\n \"Book\": _hshClr('#F0F1D6'),\n \"Author\": _hshClr('#f5f6de'),\n \"Dream\": _hshClr('#86BDFF'),\n \"Art\": _hshClr('#DCFBD2'),\n \"Image\": _hshClr('#CDFEBC'),\n \"Metaphor\": _hshClr('#85C0FF'),\n \"Learning\": _hshClr('#e1fbda'),\n \"Keyword\": _hshClr('#E2E2BB'),\n \"Bookmark\": _hshClr('#ECECCE'),\n \n 'nnb-input-node': _hshClr('#ffefef'),\n 'nnb-layer-node': _hshClr('#ffffef'),\n 'nnb-output-node': _hshClr('#efefef'),\n 'nnb-backprop': _hshClr('#e3edef'),\n 'nnb-trainer': _hshClr('#e5e4ef'),\n\n 'Seeker': _hshClr('#e5e4ef'),\n 'Sink': _hshClr('#e5e4ef'),\n 'Screenshot': _hshClr('#e5e4ef'),\n 'Orphans': _hshClr('#e5e4ef'),\n 'IsMobile': _hshClr('#e5e4ef'),\n 'Navigator': _hshClr('#e5e4ef'),\n 'DrawSVG': _hshClr('#e5e4ef'),\n 'GetFlows': _hshClr('#e5e4ef'),\n 'SendFlow': _hshClr('#e5e4ef'),\n 'InstallPackage': _hshClr('#e5e4ef'),\n 'TriggerImport': _hshClr('#e5e4ef'),\n 'ClientCode': _hshClr('#e5e4ef'),\n\n \"i2c scan\": _hshClr('rgb(227, 82, 83)'),\n \"i2c in\": _hshClr('rgb(227, 82, 83)'),\n \"i2c out\": _hshClr('rgb(227, 82, 83)'),\n\n \"NodeFactory\": _hshClr('#e5e4ef'),\n \"NodeRedInstall\": _hshClr('#e5e4ef'),\n \"PkgFile\": _hshClr('#e5e4ef'),\n \"NpmTarBall\": _hshClr('#e5e4ef'),\n \"NpmPublish\": _hshClr('#e5e4ef'),\n \"NodeDevOps\": _hshClr('#e5e4ef'),\n \"OTPGenerate\": _hshClr('#e5e4ef'),\n \n 'cronplus': _hshClr('#a6bbcf'),\n\n \"FlowHubPull\": _hshClr(\"#44eeff\"),\n \"FlowHubPush\": _hshClr(\"#44eeff\"),\n \"FlowHubDiff\": _hshClr(\"#44eeff\"),\n \n \"JsonSchemaValidatorWithDocu\": _hshClr(\"#addb7b\"),\n \"Flow2UML\": _hshClr(\"#C0DDFF\"),\n\n \"AutoAlign\": _hshClr(\"#DDD7A0\"),\n \"UglifyJS\": _hshClr(\"#D7D7A0\"),\n\n \"aedes broker\": _hshClr(\"rgb(216, 191, 216)\"),\n\n \"Blockly\": _hshClr(\"#FFAAAA\"),\n \"osc\": _hshClr(\"#0099FF\"),\n \n \"sphere\": _hshClr('#D8BFD8'),\n \"box\": _hshClr('#D8BFD8'),\n \"plane\": _hshClr('#D8BFD8'),\n \"cone\": _hshClr('#D8BFD8'),\n \"transform\": _hshClr('#D8BFD8'),\n \"events\": _hshClr('#D8BFD8'),\n\n \"AIsBreaker\": _hshClr('#1AE0F0'),\n \n \"PipeStart\": _hshClr('#e5e4ef'),\n \"FileStream\": _hshClr('#D7D7A0'),\n \"HttpRequestStream\": _hshClr('#D7D7A0'),\n \"CsvStream\": _hshClr('#FDD0A2'),\n \"JsonLStream\": _hshClr('#FDD0A2'),\n \"LineStream\": _hshClr('#FDD0A2'),\n \"IconvStream\": _hshClr('#FDD0A2'),\n \"Chunk2Msg\": _hshClr('#FDD0A2'),\n \"DeCompStream\": _hshClr('#FDF0C2'),\n \"ArchiveStream\": _hshClr('#FDF0C2'),\n \"PipeEnd\": _hshClr('#e5e4ef'),\n\n \"Yaml2Flow\": _hshClr('#e5e4ef'),\n\n \"Contact\": _hshClr('#e5e4ef'),\n \"EmptyContact\": _hshClr('#E9967A'),\n \"Generator\": _hshClr('#e5e4ef'),\n\n \"ArtWork\": _hshClr(\"#FDD0A284\"),\n\n \"_default\": _hshClr(\"rgb(243, 181, 103)\"),\n};",
"output": "str",
"x": 850,
"y": 1501.7777777777778,
"wires": [
[
"4a01b297560306d8"
]
]
},
{
"id": "99beaca271f10dd0",
"type": "template",
"z": "3b1289d7ccf9cb0f",
"name": "jsGenerateLinkPath",
"field": "jsGenerateLinkPath",
"fieldType": "msg",
"format": "javascript",
"syntax": "plain",
"template": "/**\n * Taken from view.js --> https://github.com/node-red/node-red/blob/7e9042e9f713eec981adeb8ff6af226a40efb5af/packages/node_modules/%40node-red/editor-client/src/js/ui/view.js#L931\n */\nfunction generateLinkPath(origX, origY, destX, destY, sc) {\n var space_width = 5000,\n space_height = 5000,\n lineCurveScale = 0.75,\n scaleFactor = 1,\n node_width = 100,\n node_height = 30,\n dblClickInterval = 650;\n\n var dy = destY - origY;\n var dx = destX - origX;\n var delta = Math.sqrt(dy * dy + dx * dx);\n var scale = lineCurveScale;\n var scaleY = 0;\n\n if (dx * sc > 0) {\n if (delta < node_width) {\n scale = 0.75 - 0.75 * ((node_width - delta) / node_width);\n // scale += 2*(Math.min(5*node_width,Math.abs(dx))/(5*node_width));\n // if (Math.abs(dy) < 3*node_height) {\n // scaleY = ((dy>0)?0.5:-0.5)*(((3*node_height)-Math.abs(dy))/(3*node_height))*(Math.min(node_width,Math.abs(dx))/(node_width)) ;\n // }\n }\n } else {\n scale = 0.4 - 0.2 * (Math.max(0, (node_width - Math.min(Math.abs(dx), Math.abs(dy))) / node_width));\n }\n\n if (dx * sc > 0) {\n return \"M \" + origX + \" \" + origY +\n \" C \" + (origX + sc * (node_width * scale)) + \" \" + (origY + scaleY * node_height) + \" \" +\n (destX - sc * (scale) * node_width) + \" \" + (destY - scaleY * node_height) + \" \" +\n destX + \" \" + destY\n } else {\n\n var midX = Math.floor(destX - dx / 2);\n var midY = Math.floor(destY - dy / 2);\n //\n if (dy === 0) {\n midY = destY + node_height;\n }\n var cp_height = node_height / 2;\n var y1 = (destY + midY) / 2\n var topX = origX + sc * node_width * scale;\n var topY = dy > 0 ? Math.min(y1 - dy / 2, origY + cp_height) : Math.max(y1 - dy / 2, origY - cp_height);\n var bottomX = destX - sc * node_width * scale;\n var bottomY = dy > 0 ? Math.max(y1, destY - cp_height) : Math.min(y1, destY + cp_height);\n var x1 = (origX + topX) / 2;\n var scy = dy > 0 ? 1 : -1;\n var cp = [\n // Orig -> Top\n [x1, origY],\n [topX, dy > 0 ? Math.max(origY, topY - cp_height) : Math.min(origY, topY + cp_height)],\n // Top -> Mid\n // [Mirror previous cp]\n [x1, dy > 0 ? Math.min(midY, topY + cp_height) : Math.max(midY, topY - cp_height)],\n // Mid -> Bottom\n // [Mirror previous cp]\n [bottomX, dy > 0 ? Math.max(midY, bottomY - cp_height) : Math.min(midY, bottomY + cp_height)],\n // Bottom -> Dest\n // [Mirror previous cp]\n [(destX + bottomX) / 2, destY]\n ];\n if (cp[2][1] === topY + scy * cp_height) {\n if (Math.abs(dy) < cp_height * 10) {\n cp[1][1] = topY - scy * cp_height / 2;\n cp[3][1] = bottomY - scy * cp_height / 2;\n }\n cp[2][0] = topX;\n }\n return \"M \" + origX + \" \" + origY +\n \" C \" +\n cp[0][0] + \" \" + cp[0][1] + \" \" +\n cp[1][0] + \" \" + cp[1][1] + \" \" +\n topX + \" \" + topY +\n \" S \" +\n cp[2][0] + \" \" + cp[2][1] + \" \" +\n midX + \" \" + midY +\n \" S \" +\n cp[3][0] + \" \" + cp[3][1] + \" \" +\n bottomX + \" \" + bottomY +\n \" S \" +\n cp[4][0] + \" \" + cp[4][1] + \" \" +\n destX + \" \" + destY\n }\n}",
"output": "str",
"x": 850,
"y": 1597.3333333333335,
"wires": [
[
"88d1f05947b691a6"
]
]
},
{
"id": "ad3557e8ac38b2a8",
"type": "http response",
"z": "3b1289d7ccf9cb0f",
"name": "css",
"statusCode": "200",
"headers": {
"content-type": "text/css"
},
"x": 2098,
"y": 1319,
"wires": []
},
{
"id": "58a0c0fa022572ed",
"type": "template",
"z": "3b1289d7ccf9cb0f",
"name": "basic styling",
"field": "payload",
"fieldType": "msg",
"format": "css",
"syntax": "mustache",
"template": "body {\n color: #040506;\n background-color: #fefcfc\n}\n\n.node {\n fill-opacity: 1;\n stroke-width: 1px;\n}\n\n.link {\n stroke: #999;\n stroke-width: 3;\n fill: none;\n}\n\n.link-dashed {\n stroke: rgb(170,170,170);\n stroke-width: 2;\n}\n\n.group-text-label {\n font-family: Helvetica Neue, Arial, Helvetica, sans-serif;\n\tfont-size: 14px;\n}\n\n.node-text-label {\n\tfont-family: Helvetica Neue, Arial, Helvetica, sans-serif;\n\tfont-size: 14px;\n\tdominant-baseline: middle;\n}\n\n.subflow-node-text-label {\n color: rgb(85, 85, 85);\n dominant-baseline: middle;\n font-family: Helvetica Neue, Arial, Helvetica, sans-serif;\n font-size: 10px;\n line-height: 20px;\n pointer-events: none;\n text-anchor: middle;\n user-select: none\n}\n\n.subflow-node-text-label-number {\n color: rgb(85, 85, 85);\n dominant-baseline: middle;\n font-family: Helvetica Neue, Arial, Helvetica, sans-serif;\n font-size: 16px;\n line-height: 20px;\n pointer-events: none;\n text-anchor: middle;\n user-select: none\n}\n\n.flow-download-link {\n font-size: 70%;\n}\n\n.flow-copy-to-clipboard-link {\n font-size: 70%;\n}\n\n.link-highlight, .node-highlight {\n stroke: rgb(247, 103, 30);\n}\n.node-highlight {\n stroke-width: 8px;\n}\n\n.node-disabled {\n\tstroke-dasharray: 8,3;\n\tfill-opacity: 0.5;\n}\n\n.group-highlight {\n stroke: rgb(255, 127, 14);\n stroke-width: 4px;\n fill: rgb(255, 127, 14);\n fill-opacity: 0.2;\n}\n\n.link-disabled {\n\tstroke-dasharray: 10,8 !important;\n\tstroke-width: 2 !important;\n\tstroke: rgb(204, 204, 204);\n}\n\n.grid-line {\n shape-rendering: crispedges;\n stroke: rgb(238, 238, 238);\n stroke-width: 1px;\n fill: none;\n}\n.output-deco {\n stroke-width: 2px; \n stroke-miterlimit: 4;\n}\n\n.input-deco {\n stroke-width: 2px;\n stroke-miterlimit: 4;\n}\n\n.flow-render-error {\n background-color: rgb(54, 52, 52); \n color: rgb(196, 59, 59); \n width: 100%;\n}\n",
"output": "str",
"x": 1762,
"y": 1291,
"wires": [
[
"9006855cce6be8b7"
]
]
},
{
"id": "523327924cdb577e",
"type": "link in",
"z": "3b1289d7ccf9cb0f",
"g": "61aca6c3c1dd26ad",
"name": "[blog] codeblock-test",
"links": [],
"x": 1531.75,
"y": 3169.75,
"wires": [
[
"4195651c394926ef"
]
]
},
{
"id": "4195651c394926ef",
"type": "BlogPageInfo",
"z": "3b1289d7ccf9cb0f",
"g": "61aca6c3c1dd26ad",
"name": "",
"image": "",
"summary": "Can I replace codeblocks of flows.json with images?",
"title": "Testing the inclusion and replacement of codeblocks",
"tags": "",
"publishedAt": "2023-06-25T11:22",
"updatedOn": "2023-07-06T10:14",
"incRss": false,
"incSitemap": false,
"incIndex": false,
"draft": false,
"shrHackerNews": false,
"shrLinkedIn": false,
"supportNodeRedJson": true,
"reloadOnEdit": false,
"editbutton": false,
"redirectToNode": true,
"redirectNodeId": "3987b0c17b3e08c7",
"redirectStatusCode": "301",
"x": 1748.46435546875,
"y": 3064.75,
"wires": [
[
"8705351c5e6dc4f8"
]
]
},
{
"id": "275db9d959888e89",
"type": "template",
"z": "3b1289d7ccf9cb0f",
"g": "61aca6c3c1dd26ad",
"name": "flow example 1",
"field": "flowexample1",
"fieldType": "msg",
"format": "handlebars",
"syntax": "plain",
"template": "[{\"id\":\"548238136ca436ac\",\"type\":\"link in\",\"z\":\"652104ea8724facc\",\"name\":\"[blog] embedded-flow.html\",\"links\":[],\"x\":538,\"y\":482,\"wires\":[[\"6c47c59cbbbecdf5\"]]},{\"id\":\"6c47c59cbbbecdf5\",\"type\":\"BlogPageInfo\",\"z\":\"652104ea8724facc\",\"name\":\"\",\"image\":\"\",\"summary\":\"Can I generate html directly without using markdown markup?\",\"title\":\"This is a test of something new\",\"publishedAt\":\"2023-06-25T11:22\",\"updatedAt\":\"2023-06-25T11:22\",\"incRss\":false,\"incSitemap\":false,\"incIndex\":false,\"shrLinkedIn\":false,\"reloadOnEdit\":false,\"redirectToNode\":false,\"redirectNodeId\":\"status-404\",\"redirectStatusCode\":\"301\",\"x\":734.7143707275391,\"y\":482,\"wires\":[[\"64c749a71e14498a\"]]},{\"id\":\"99a631acf3d6c5bf\",\"type\":\"link out\",\"z\":\"652104ea8724facc\",\"name\":\"link out 80\",\"mode\":\"return\",\"links\":[],\"x\":1580.0002040863037,\"y\":475.4285936355591,\"wires\":[]},{\"id\":\"b360b1072d4d72fa\",\"type\":\"switch\",\"z\":\"652104ea8724facc\",\"name\":\"has _linkSource - is this a link-call action\",\"property\":\"_linkSource\",\"propertyType\":\"msg\",\"rules\":[{\"t\":\"nnull\"},{\"t\":\"else\"}],\"checkall\":\"true\",\"repair\":false,\"outputs\":2,\"x\":1289.8573913574219,\"y\":481.8571538925171,\"wires\":[[\"99a631acf3d6c5bf\"],[]]},{\"id\":\"64c749a71e14498a\",\"type\":\"template\",\"z\":\"652104ea8724facc\",\"name\":\"v1\",\"field\":\"payload\",\"fieldType\":\"msg\",\"format\":\"javascript\",\"syntax\":\"mustache\",\"template\":\"\",\"output\":\"str\",\"x\":970.4287910461426,\"y\":482,\"wires\":[[\"b360b1072d4d72fa\"]]},{\"id\":\"f0de398e3cfa056a\",\"type\":\"link in\",\"z\":\"652104ea8724facc\",\"name\":\"[blog] embedded-flow-v2.html\",\"links\":[],\"x\":538,\"y\":541.5714330673218,\"wires\":[[\"b116c37cd891a5e7\"]]},{\"id\":\"b116c37cd891a5e7\",\"type\":\"BlogPageInfo\",\"z\":\"652104ea8724facc\",\"name\":\"\",\"image\":\"\",\"summary\":\"Can I generate html directly without using markdown markup?\",\"title\":\"This is a test of something new\",\"publishedAt\":\"2023-06-25T11:22\",\"updatedAt\":\"2023-06-25T11:22\",\"incRss\":false,\"incSitemap\":false,\"incIndex\":false,\"shrLinkedIn\":false,\"reloadOnEdit\":false,\"redirectToNode\":false,\"redirectNodeId\":\"status-404\",\"redirectStatusCode\":\"301\",\"x\":744.7143707275391,\"y\":541.5714330673218,\"wires\":[[\"861c435f7685cf55\"]]},{\"id\":\"861c435f7685cf55\",\"type\":\"template\",\"z\":\"652104ea8724facc\",\"name\":\"v2\",\"field\":\"payload\",\"fieldType\":\"msg\",\"format\":\"javascript\",\"syntax\":\"mustache\",\"template\":\"\",\"output\":\"str\",\"x\":970.4287910461426,\"y\":541.5714330673218,\"wires\":[[\"b360b1072d4d72fa\"]]},{\"id\":\"951cf6e2f214b95b\",\"type\":\"template\",\"z\":\"652104ea8724facc\",\"name\":\"v3\",\"field\":\"payload\",\"fieldType\":\"msg\",\"format\":\"javascript\",\"syntax\":\"mustache\",\"template\":\"\",\"output\":\"str\",\"x\":970.4287910461426,\"y\":597.2857732772827,\"wires\":[[\"b360b1072d4d72fa\"]]},{\"id\":\"7885fd1e6f944103\",\"type\":\"link in\",\"z\":\"652104ea8724facc\",\"name\":\"[blog] embedded-flow-v3.html\",\"links\":[],\"x\":538,\"y\":597.2857732772827,\"wires\":[[\"382f5f013b6f9a3b\"]]},{\"id\":\"382f5f013b6f9a3b\",\"type\":\"BlogPageInfo\",\"z\":\"652104ea8724facc\",\"name\":\"\",\"image\":\"\",\"summary\":\"Can I generate html directly without using markdown markup?\",\"title\":\"This is a test of something new\",\"publishedAt\":\"2023-06-25T11:22\",\"updatedAt\":\"2023-06-25T11:22\",\"incRss\":false,\"incSitemap\":false,\"incIndex\":false,\"shrLinkedIn\":false,\"reloadOnEdit\":false,\"redirectToNode\":false,\"redirectNodeId\":\"status-404\",\"redirectStatusCode\":\"301\",\"x\":744.7143707275391,\"y\":597.2857732772827,\"wires\":[[\"951cf6e2f214b95b\"]]},{\"id\":\"7b05f3f671073181\",\"type\":\"template\",\"z\":\"652104ea8724facc\",\"name\":\"v4\",\"field\":\"payload\",\"fieldType\":\"msg\",\"format\":\"html\",\"syntax\":\"mustache\",\"template\":\"\",\"output\":\"str\",\"x\":970.4287910461426,\"y\":662.2857732772827,\"wires\":[[\"b360b1072d4d72fa\"]]},{\"id\":\"3952279c3016c957\",\"type\":\"link in\",\"z\":\"652104ea8724facc\",\"name\":\"[blog] embedded-flow-v4.html\",\"links\":[],\"x\":538,\"y\":662.2857732772827,\"wires\":[[\"295d018b67f438b9\"]]},{\"id\":\"295d018b67f438b9\",\"type\":\"BlogPageInfo\",\"z\":\"652104ea8724facc\",\"name\":\"\",\"image\":\"\",\"summary\":\"Can I generate html directly without using markdown markup?\",\"title\":\"This is a test of something new\",\"publishedAt\":\"2023-06-25T11:22\",\"updatedAt\":\"2023-06-25T11:22\",\"incRss\":false,\"incSitemap\":false,\"incIndex\":false,\"shrLinkedIn\":false,\"reloadOnEdit\":false,\"redirectToNode\":false,\"redirectNodeId\":\"status-404\",\"redirectStatusCode\":\"301\",\"x\":744.7143707275391,\"y\":662.2857732772827,\"wires\":[[\"7b05f3f671073181\"]]},{\"id\":\"747018dc4b0adf33\",\"type\":\"template\",\"z\":\"652104ea8724facc\",\"name\":\"v5\",\"field\":\"payload\",\"fieldType\":\"msg\",\"format\":\"javascript\",\"syntax\":\"mustache\",\"template\":\"\",\"output\":\"str\",\"x\":975.571418762207,\"y\":724.7143468856812,\"wires\":[[\"b360b1072d4d72fa\"]]},{\"id\":\"317130644c24a056\",\"type\":\"link in\",\"z\":\"652104ea8724facc\",\"name\":\"[blog] embedded-flow-v5.html\",\"links\":[],\"x\":543.1426277160645,\"y\":724.7143468856812,\"wires\":[[\"afca478f73a8601e\"]]},{\"id\":\"afca478f73a8601e\",\"type\":\"BlogPageInfo\",\"z\":\"652104ea8724facc\",\"name\":\"\",\"image\":\"\",\"summary\":\"Can I generate html directly without using markdown markup?\",\"title\":\"This is a test of something new\",\"publishedAt\":\"2023-06-25T11:22\",\"updatedAt\":\"2023-06-25T11:22\",\"incRss\":false,\"incSitemap\":false,\"incIndex\":false,\"shrLinkedIn\":false,\"reloadOnEdit\":false,\"redirectToNode\":false,\"redirectNodeId\":\"status-404\",\"redirectStatusCode\":\"301\",\"x\":749.8569984436035,\"y\":724.7143468856812,\"wires\":[[\"747018dc4b0adf33\"]]}]",
"output": "str",
"x": 603.75,
"y": 2515.25,
"wires": [
[
"ce8ea7841fa9be9d"
]
]
},
{
"id": "ce8ea7841fa9be9d",
"type": "template",
"z": "3b1289d7ccf9cb0f",
"g": "61aca6c3c1dd26ad",
"name": "flowexample2",
"field": "flowexample2",
"fieldType": "msg",
"format": "handlebars",
"syntax": "plain",
"template": "[{\"id\":\"d598829cba783cad\",\"type\":\"GetFlows\",\"z\":\"f13d3b083d5cc429\",\"name\":\"\",\"flowVersion\":\"v1\",\"useAuthentication\":false,\"apiUsername\":\"\",\"apiUsernameType\":\"env\",\"apiPassword\":\"\",\"apiPasswordType\":\"env\",\"x\":349,\"y\":301,\"wires\":[[\"ddce7325bdba57d8\"]]},{\"id\":\"c507dd73478a26af\",\"type\":\"inject\",\"z\":\"f13d3b083d5cc429\",\"name\":\"\",\"props\":[{\"p\":\"payload\"},{\"p\":\"topic\",\"vt\":\"str\"}],\"repeat\":\"7200\",\"crontab\":\"\",\"once\":false,\"onceDelay\":0.1,\"topic\":\"\",\"payload\":\"\",\"payloadType\":\"date\",\"x\":199,\"y\":181,\"wires\":[[\"d598829cba783cad\"]]},{\"id\":\"67b77f304303cb27\",\"type\":\"http request\",\"z\":\"f13d3b083d5cc429\",\"name\":\"send off to backup server\",\"method\":\"POST\",\"ret\":\"txt\",\"paytoqs\":\"ignore\",\"url\":\"\",\"tls\":\"\",\"persist\":false,\"proxy\":\"\",\"insecureHTTPParser\":false,\"authType\":\"\",\"senderr\":false,\"headers\":[],\"x\":1119,\"y\":181,\"wires\":[[]]},{\"id\":\"ddce7325bdba57d8\",\"type\":\"change\",\"z\":\"f13d3b083d5cc429\",\"name\":\"setup payload for zip node\",\"rules\":[{\"t\":\"set\",\"p\":\"_p\",\"pt\":\"msg\",\"to\":\"[]\",\"tot\":\"json\"},{\"t\":\"set\",\"p\":\"_p[0]\",\"pt\":\"msg\",\"to\":\"{ \\\"filename\\\": \\\"openmindmap_flows.json\\\", \\\"payload\\\": \\\"\\\" }\",\"tot\":\"json\"},{\"t\":\"set\",\"p\":\"_p[0].payload\",\"pt\":\"msg\",\"to\":\"payload\",\"tot\":\"msg\"},{\"t\":\"set\",\"p\":\"token\",\"pt\":\"msg\",\"to\":\"BACKUP_ZIP_TOKEN\",\"tot\":\"env\"},{\"t\":\"set\",\"p\":\"_p[1]\",\"pt\":\"msg\",\"to\":\"{ \\\"filename\\\": \\\"token.txt\\\", \\\"payload\\\": \\\"\\\" & token & \\\"\\\" }\",\"tot\":\"jsonata\"},{\"t\":\"set\",\"p\":\"payload\",\"pt\":\"msg\",\"to\":\"_p\",\"tot\":\"msg\"},{\"t\":\"set\",\"p\":\"url\",\"pt\":\"msg\",\"to\":\"BACKUP_ENDPOINT\",\"tot\":\"env\"}],\"action\":\"\",\"property\":\"\",\"from\":\"\",\"to\":\"\",\"reg\":false,\"x\":549,\"y\":401,\"wires\":[[\"1f879c968f033a26\"]]},{\"id\":\"1f879c968f033a26\",\"type\":\"zip\",\"z\":\"f13d3b083d5cc429\",\"name\":\"\",\"mode\":\"compress\",\"filename\":\"backup.zip\",\"compressionlevel\":\"9\",\"outasstring\":false,\"x\":769,\"y\":401,\"wires\":[[\"53808fa58e1aa543\"]]},{\"id\":\"53808fa58e1aa543\",\"type\":\"base64\",\"z\":\"f13d3b083d5cc429\",\"name\":\"\",\"action\":\"\",\"property\":\"payload\",\"x\":929,\"y\":301,\"wires\":[[\"67b77f304303cb27\"]]}]",
"output": "str",
"x": 848.8928833007812,
"y": 2515.25,
"wires": [
[
"eb24596d4204b910"
]
]
},
{
"id": "eb24596d4204b910",
"type": "template",
"z": "3b1289d7ccf9cb0f",
"g": "61aca6c3c1dd26ad",
"name": "flowexample3",
"field": "flowexample3",
"fieldType": "msg",
"format": "handlebars",
"syntax": "plain",
"template": "[{\"id\":\"e2ec7bbe752d60b0\",\"type\":\"BlogDetails\",\"z\":\"184fd5793b8d906c\",\"name\":\"Open Mind Map Blog Configuration\",\"authorName\":\"Gregorius Rippenstein\",\"authorEmail\":\"gregorius@rippenstein.art\",\"authorUrl\":\"https://gregorius.rippenstein.art\",\"blogUrl\":\"https://blog.openmindmap.org\",\"blogPathPrefix\":\"/blog\",\"blogTitle\":\"Open Mind Map Blog\",\"blogSubtitle\":\"Global mind-map for a global world.\",\"blogCopyrightOwner\":\"Open Mind-Map Org.\",\"x\":818,\"y\":906.5,\"wires\":[[\"85a8755de2d6ae5c\"]]},{\"id\":\"1956265f7f508d04\",\"type\":\"group\",\"z\":\"184fd5793b8d906c\",\"name\":\"ensure correct domain\",\"style\":{\"label\":true,\"fill\":\"#bfc7d7\",\"fill-opacity\":\"0.71\",\"color\":\"#000000\"},\"nodes\":[\"26b099616f74f352\",\"42795f82c29b8583\",\"1f0ea79587166fdd\",\"6f6d63b5fa995b5c\",\"1d1325b68a7cac1e\",\"cdaeb49728432c46\"],\"x\":163,\"y\":136,\"w\":877,\"h\":189.5},{\"id\":\"26b099616f74f352\",\"type\":\"switch\",\"z\":\"184fd5793b8d906c\",\"g\":\"1956265f7f508d04\",\"name\":\"check hostname\",\"property\":\"req.hostname\",\"propertyType\":\"msg\",\"rules\":[{\"t\":\"eq\",\"v\":\"blog.openmindmap.org\",\"vt\":\"str\"},{\"t\":\"eq\",\"v\":\"demo.openmindmap.org\",\"vt\":\"str\"},{\"t\":\"else\"}],\"checkall\":\"false\",\"repair\":false,\"outputs\":3,\"x\":533,\"y\":184.5,\"wires\":[[\"e2ec7bbe752d60b0\"],[\"1f0ea79587166fdd\"],[\"6f6d63b5fa995b5c\"]]},{\"id\":\"42795f82c29b8583\",\"type\":\"http in\",\"z\":\"184fd5793b8d906c\",\"g\":\"1956265f7f508d04\",\"name\":\"\",\"url\":\"/\",\"method\":\"get\",\"upload\":false,\"swaggerDoc\":\"\",\"x\":239,\"y\":184.5,\"wires\":[[\"26b099616f74f352\"]]},{\"id\":\"1f0ea79587166fdd\",\"type\":\"http response\",\"z\":\"184fd5793b8d906c\",\"g\":\"1956265f7f508d04\",\"name\":\"redirect if demo.omm.org\",\"statusCode\":\"301\",\"headers\":{\"Location\":\"/omm\"},\"x\":887,\"y\":185.5,\"wires\":[]},{\"id\":\"6f6d63b5fa995b5c\",\"type\":\"http response\",\"z\":\"184fd5793b8d906c\",\"g\":\"1956265f7f508d04\",\"name\":\"NOT FOUND everything else\",\"statusCode\":\"404\",\"headers\":{},\"x\":894,\"y\":227.5,\"wires\":[]},{\"id\":\"1d1325b68a7cac1e\",\"type\":\"http in\",\"z\":\"184fd5793b8d906c\",\"g\":\"1956265f7f508d04\",\"name\":\"\",\"url\":\"/blog/:name\",\"method\":\"get\",\"upload\":false,\"swaggerDoc\":\"\",\"x\":269,\"y\":232.5,\"wires\":[[\"26b099616f74f352\"]]},{\"id\":\"cdaeb49728432c46\",\"type\":\"http in\",\"z\":\"184fd5793b8d906c\",\"g\":\"1956265f7f508d04\",\"name\":\"\",\"url\":\"/:name\",\"method\":\"get\",\"upload\":false,\"swaggerDoc\":\"\",\"x\":259,\"y\":284.5,\"wires\":[[\"26b099616f74f352\"]]},{\"id\":\"95389d39f5c53d23\",\"type\":\"group\",\"z\":\"184fd5793b8d906c\",\"name\":\"map path to blog content\",\"style\":{\"label\":true,\"stroke\":\"#000000\",\"color\":\"#000000\"},\"nodes\":[\"85c463f82c547140\",\"32bb06dfab9a9529\",\"85a8755de2d6ae5c\",\"7fa818203cac5402\",\"71c533e01539c3d3\",\"180d18e4931a5ace\",\"0d6c29c07f300c15\",\"f4781993f9dc4130\",\"b41e2620ed591a2d\",\"a4bf3e5ac7c74343\",\"5d0edf716dc5c6b5\"],\"x\":1182,\"y\":790.5,\"w\":2129,\"h\":264},{\"id\":\"85c463f82c547140\",\"type\":\"template\",\"z\":\"184fd5793b8d906c\",\"g\":\"95389d39f5c53d23\",\"name\":\"HTML Layout\",\"field\":\"payload\",\"fieldType\":\"msg\",\"format\":\"handlebars\",\"syntax\":\"mustache\",\"template\":\"\",\"output\":\"str\",\"x\":3035,\"y\":1013.5,\"wires\":[[\"32bb06dfab9a9529\"]]},{\"id\":\"32bb06dfab9a9529\",\"type\":\"http response\",\"z\":\"184fd5793b8d906c\",\"g\":\"95389d39f5c53d23\",\"name\":\"\",\"statusCode\":\"200\",\"headers\":{},\"x\":3225,\"y\":932.5,\"wires\":[]},{\"id\":\"85a8755de2d6ae5c\",\"type\":\"switch\",\"z\":\"184fd5793b8d906c\",\"g\":\"95389d39f5c53d23\",\"name\":\"Path handling\",\"property\":\"req.params.name\",\"propertyType\":\"msg\",\"rules\":[{\"t\":\"eq\",\"v\":\"apple-touch-icon.png\",\"vt\":\"str\"},{\"t\":\"eq\",\"v\":\"favicon.ico\",\"vt\":\"str\"},{\"t\":\"eq\",\"v\":\"sitemap.xml\",\"vt\":\"str\"},{\"t\":\"eq\",\"v\":\"feed.xml\",\"vt\":\"str\"},{\"t\":\"eq\",\"v\":\"rss.xml\",\"vt\":\"str\"},{\"t\":\"eq\",\"v\":\"index\",\"vt\":\"str\"},{\"t\":\"eq\",\"v\":\"blog\",\"vt\":\"str\"},{\"t\":\"nnull\"},{\"t\":\"else\"}],\"checkall\":\"false\",\"repair\":false,\"outputs\":9,\"x\":1288,\"y\":906.5,\"wires\":[[],[],[],[],[],[\"7fa818203cac5402\"],[\"0d6c29c07f300c15\"],[\"7fa818203cac5402\"],[\"0d6c29c07f300c15\"]]},{\"id\":\"7fa818203cac5402\",\"type\":\"change\",\"z\":\"184fd5793b8d906c\",\"g\":\"95389d39f5c53d23\",\"name\":\"set page target: \\\"[blog] <name>\\\"\",\"rules\":[{\"t\":\"set\",\"p\":\"target\",\"pt\":\"msg\",\"to\":\"\\\"[blog] \\\" & msg.req.params.name\",\"tot\":\"jsonata\"}],\"action\":\"\",\"property\":\"\",\"from\":\"\",\"to\":\"\",\"reg\":false,\"x\":1638,\"y\":886.5,\"wires\":[[\"71c533e01539c3d3\"]]},{\"id\":\"71c533e01539c3d3\",\"type\":\"link call\",\"z\":\"184fd5793b8d906c\",\"g\":\"95389d39f5c53d23\",\"name\":\"generate page content\",\"links\":[],\"linkType\":\"dynamic\",\"timeout\":\"5\",\"x\":1941,\"y\":951.5,\"wires\":[[\"f4781993f9dc4130\"]]},{\"id\":\"180d18e4931a5ace\",\"type\":\"markdown\",\"z\":\"184fd5793b8d906c\",\"g\":\"95389d39f5c53d23\",\"name\":\"Markdown to HTML\",\"x\":2794,\"y\":1013.5,\"wires\":[[\"85c463f82c547140\"]]},{\"id\":\"0d6c29c07f300c15\",\"type\":\"change\",\"z\":\"184fd5793b8d906c\",\"g\":\"95389d39f5c53d23\",\"name\":\"target: \\\"[blog] index\\\"\",\"rules\":[{\"t\":\"set\",\"p\":\"target\",\"pt\":\"msg\",\"to\":\"[blog] index\",\"tot\":\"str\"}],\"action\":\"\",\"property\":\"\",\"from\":\"\",\"to\":\"\",\"reg\":false,\"x\":1598,\"y\":951.5,\"wires\":[[\"71c533e01539c3d3\"]]},{\"id\":\"f4781993f9dc4130\",\"type\":\"switch\",\"z\":\"184fd5793b8d906c\",\"g\":\"95389d39f5c53d23\",\"name\":\"ignore redirects\",\"property\":\"statusCode\",\"propertyType\":\"msg\",\"rules\":[{\"t\":\"eq\",\"v\":\"301\",\"vt\":\"num\"},{\"t\":\"eq\",\"v\":\"302\",\"vt\":\"num\"},{\"t\":\"else\"}],\"checkall\":\"false\",\"repair\":false,\"outputs\":3,\"x\":2152,\"y\":951.5,\"wires\":[[],[],[\"b41e2620ed591a2d\"]]},{\"id\":\"b41e2620ed591a2d\",\"type\":\"switch\",\"z\":\"184fd5793b8d906c\",\"g\":\"95389d39f5c53d23\",\"name\":\"path extension is '.html'?\",\"property\":\"page.path\",\"propertyType\":\"msg\",\"rules\":[{\"t\":\"regex\",\"v\":\"\\\\.html$\",\"vt\":\"str\",\"case\":true},{\"t\":\"else\"}],\"checkall\":\"false\",\"repair\":false,\"outputs\":2,\"x\":2524,\"y\":831.5,\"wires\":[[\"32bb06dfab9a9529\"],[\"a4bf3e5ac7c74343\"]]},{\"id\":\"a4bf3e5ac7c74343\",\"type\":\"switch\",\"z\":\"184fd5793b8d906c\",\"g\":\"95389d39f5c53d23\",\"name\":\"is msg.htmlcontent set?\",\"property\":\"htmlcontent\",\"propertyType\":\"msg\",\"rules\":[{\"t\":\"nnull\"},{\"t\":\"else\"}],\"checkall\":\"false\",\"repair\":false,\"outputs\":2,\"x\":2526,\"y\":935.5,\"wires\":[[\"5d0edf716dc5c6b5\"],[\"180d18e4931a5ace\"]]},{\"id\":\"5d0edf716dc5c6b5\",\"type\":\"change\",\"z\":\"184fd5793b8d906c\",\"g\":\"95389d39f5c53d23\",\"name\":\"\",\"rules\":[{\"t\":\"set\",\"p\":\"payload\",\"pt\":\"msg\",\"to\":\"htmlcontent\",\"tot\":\"msg\"}],\"action\":\"\",\"property\":\"\",\"from\":\"\",\"to\":\"\",\"reg\":false,\"x\":2863,\"y\":929.5,\"wires\":[[\"32bb06dfab9a9529\"]]}]",
"output": "str",
"x": 1081.0357055664062,
"y": 2515.25,
"wires": [
[
"b3528e0d706e0dd0"
]
]
},
{
"id": "b3528e0d706e0dd0",
"type": "template",
"z": "3b1289d7ccf9cb0f",
"g": "61aca6c3c1dd26ad",
"name": "flowexample4",
"field": "flowexample4",
"fieldType": "msg",
"format": "handlebars",
"syntax": "plain",
"template": "[{\"id\":\"523327924cdb577e\",\"type\":\"link in\",\"z\":\"3b1289d7ccf9cb0f\",\"name\":\"[blog] codeblock-test\",\"links\":[],\"x\":317,\"y\":1265,\"wires\":[[\"4195651c394926ef\"]]},{\"id\":\"4195651c394926ef\",\"type\":\"BlogPageInfo\",\"z\":\"3b1289d7ccf9cb0f\",\"name\":\"\",\"image\":\"\",\"summary\":\"CaN I replace codeblocks with images?\",\"title\":\"Testingt he inclusion and replacement of codeblocks\",\"publishedAt\":\"2023-06-25T11:22\",\"updatedAt\":\"2023-06-25T11:22\",\"incRss\":false,\"incSitemap\":false,\"incIndex\":false,\"shrLinkedIn\":false,\"reloadOnEdit\":false,\"redirectToNode\":false,\"redirectNodeId\":\"status-404\",\"redirectStatusCode\":\"301\",\"x\":433.71435546875,\"y\":1353,\"wires\":[[\"a5aca26d804cccd1\"]]},{\"id\":\"a5aca26d804cccd1\",\"type\":\"template\",\"z\":\"3b1289d7ccf9cb0f\",\"name\":\"flow example 1\",\"field\":\"flowexample1\",\"fieldType\":\"msg\",\"format\":\"handlebars\",\"syntax\":\"mustache\",\"template\":\"[{\\\"id\\\":\\\"39b83ec3d1b780d6\\\",\\\"type\\\":\\\"link in\\\",\\\"z\\\":\\\"3b1289d7ccf9cb0f\\\",\\\"name\\\":\\\"[blog] embedded-flow.html\\\",\\\"links\\\":[],\\\"x\\\":139.42858123779297,\\\"y\\\":118.28565311431885,\\\"wires\\\":[[\\\"2d3b78db024dd988\\\"]]},{\\\"id\\\":\\\"2d3b78db024dd988\\\",\\\"type\\\":\\\"BlogPageInfo\\\",\\\"z\\\":\\\"3b1289d7ccf9cb0f\\\",\\\"name\\\":\\\"\\\",\\\"image\\\":\\\"\\\",\\\"summary\\\":\\\"Can I generate html directly without using markdown markup?\\\",\\\"title\\\":\\\"This is a test of something new\\\",\\\"publishedAt\\\":\\\"2023-06-25T11:22\\\",\\\"updatedAt\\\":\\\"2023-06-25T11:22\\\",\\\"incRss\\\":false,\\\"incSitemap\\\":false,\\\"incIndex\\\":false,\\\"shrLinkedIn\\\":false,\\\"reloadOnEdit\\\":false,\\\"redirectToNode\\\":false,\\\"redirectNodeId\\\":\\\"status-404\\\",\\\"redirectStatusCode\\\":\\\"301\\\",\\\"x\\\":336.14295196533203,\\\"y\\\":118.28565311431885,\\\"wires\\\":[[\\\"df6327f923a1ae3a\\\"]]},{\\\"id\\\":\\\"c9469bc8f43477f8\\\",\\\"type\\\":\\\"link out\\\",\\\"z\\\":\\\"3b1289d7ccf9cb0f\\\",\\\"name\\\":\\\"link out 80\\\",\\\"mode\\\":\\\"return\\\",\\\"links\\\":[],\\\"x\\\":1181.4287853240967,\\\"y\\\":111.71424674987793,\\\"wires\\\":[]},{\\\"id\\\":\\\"8a027a1eec82ec7c\\\",\\\"type\\\":\\\"switch\\\",\\\"z\\\":\\\"3b1289d7ccf9cb0f\\\",\\\"name\\\":\\\"has _linkSource - is this a link-call action\\\",\\\"property\\\":\\\"_linkSource\\\",\\\"propertyType\\\":\\\"msg\\\",\\\"rules\\\":[{\\\"t\\\":\\\"nnull\\\"},{\\\"t\\\":\\\"else\\\"}],\\\"checkall\\\":\\\"true\\\",\\\"repair\\\":false,\\\"outputs\\\":2,\\\"x\\\":891.2859725952148,\\\"y\\\":118.14280700683594,\\\"wires\\\":[[\\\"c9469bc8f43477f8\\\"],[]]},{\\\"id\\\":\\\"df6327f923a1ae3a\\\",\\\"type\\\":\\\"template\\\",\\\"z\\\":\\\"3b1289d7ccf9cb0f\\\",\\\"name\\\":\\\"v1\\\",\\\"field\\\":\\\"payload\\\",\\\"fieldType\\\":\\\"msg\\\",\\\"format\\\":\\\"javascript\\\",\\\"syntax\\\":\\\"mustache\\\",\\\"template\\\":\\\"<!DOCTYPE html>\\\\n<html lang=\\\\\\\"en\\\\\\\">\\\\n <head>\\\\n <meta charset=\\\\\\\"UTF-8\\\\\\\">\\\\n <meta http-equiv=\\\\\\\"X-UA-Compatible\\\\\\\" content=\\\\\\\"IE=edge\\\\\\\">\\\\n <meta name=\\\\\\\"viewport\\\\\\\" content=\\\\\\\"width=device-width, initial-scale=1\\\\\\\">\\\\n\\\\n <title>Flow Embeddation</title>\\\\n\\\\n <link rel=\\\\\\\"alternate\\\\\\\" type=\\\\\\\"application/rss+xml\\\\\\\" href=\\\\\\\"/feed.xml\\\\\\\" title=\\\\\\\"Subscribe to Blog Open Mind Map Org\\\\\\\">\\\\n <link rel=\\\\\\\"sitemap\\\\\\\" type=\\\\\\\"application/xml\\\\\\\" title=\\\\\\\"Sitemap\\\\\\\" href=\\\\\\\"/sitemap.xml\\\\\\\">\\\\n\\\\n <link rel=\\\\\\\"apple-touch-icon\\\\\\\" sizes=\\\\\\\"180x180\\\\\\\" href=\\\\\\\"/f/i/apple-touch-icon.png\\\\\\\">\\\\n <link rel=\\\\\\\"icon\\\\\\\" type=\\\\\\\"image/png\\\\\\\" sizes=\\\\\\\"32x32\\\\\\\" href=\\\\\\\"/f/i/favicon-32x32.png\\\\\\\">\\\\n <link rel=\\\\\\\"icon\\\\\\\" type=\\\\\\\"image/png\\\\\\\" sizes=\\\\\\\"16x16\\\\\\\" href=\\\\\\\"/f/i/favicon-16x16.png\\\\\\\">\\\\n <link rel=\\\\\\\"manifest\\\\\\\" href=\\\\\\\"/f/site.webmanifest\\\\\\\">\\\\n\\\\n <script src=\\\\\\\"/content/jquery-3.7.0.min.js\\\\\\\" integrity=\\\\\\\"sha512-3gJwYpMe3QewGELv8k/BX9vcqhryRdzRMxVfq6ngyWXwo03GFEzjsUm8Q7RZcHPHksttq7/GFoxjCVUjkjvPdw==\\\\\\\" crossorigin=\\\\\\\"anonymous\\\\\\\" referrerpolicy=\\\\\\\"no-referrer\\\\\\\"></script>\\\\n </head>\\\\n\\\\n <body>\\\\n <a href=\\\\\\\"https://demo.openmindmap.org/omm/#flow/6c8ce462533a1da4\\\\\\\">Original Flow</a>, <a href=\\\\\\\"https://demo.openmindmap.org/omm/#flow/3b1289d7ccf9cb0f/n/df6327f923a1ae3a/edit\\\\\\\">Codebase</a>. <a href=\\\\\\\"https://blog.openmindmap.org/blog/embedded-flow-v2.html\\\\\\\">Version 2 with text</a>.\\\\n <div id='svgcontainer' style=\\\\\\\"transform: scale(0.5,0.5) translate(-2500px,-2500px) ; top: 30; left: 0; position: absolute;\\\\\\\">\\\\n <svg id=\\\\\\\"svgelem\\\\\\\" width=\\\\\\\"5000\\\\\\\" height=\\\\\\\"5000\\\\\\\" viewBox=\\\\\\\"0 0 5000 5000\\\\\\\" pointer-events=\\\\\\\"all\\\\\\\" style=\\\\\\\"cursor: crosshair; touch-action: none;\\\\\\\" version=\\\\\\\"1.1\\\\\\\" xmlns=\\\\\\\"http://www.w3.org/2000/svg\\\\\\\">\\\\n <g id='flowWires'></g>\\\\n <g id='flowNodes'></g>\\\\n </svg>\\\\n </div>\\\\n </body>\\\\n\\\\n\\\\n <script>\\\\n var flowId = \\\\\\\"6c8ce462533a1da4\\\\\\\";\\\\n \\\\n function getNode(n, v) {\\\\n var elm = document.createElementNS(\\\\\\\"http://www.w3.org/2000/svg\\\\\\\", n);\\\\n for (var p in v) { elm.setAttributeNS(null, p, v[p]); }\\\\n return elm;\\\\n }\\\\n $(function(){\\\\n $.ajax({\\\\n dataType: \\\\\\\"json\\\\\\\",\\\\n url: \\\\\\\"https://demo.openmindmap.org/omm/flows\\\\\\\",\\\\n method: 'get',\\\\n success: function(flowdata) { \\\\n var nodes = {};\\\\n var wires = {};\\\\n\\\\n var svgObj = $('#flowNodes');\\\\n \\\\n flowdata.forEach( function(obj) {\\\\n if ( obj.z == flowId ) {\\\\n switch (obj.type) {\\\\n case \\\\\\\"junction\\\\\\\":\\\\n $(svgObj).append(getNode('rect', { x: obj.x, y: obj.y, rx: 2, ry: 2, fill: 'black', stroke: 'red', width: '10', height: '10', \\\\\\\"stroke-width\\\\\\\": 2}));\\\\n break;\\\\n default: \\\\n $(svgObj).append(getNode('rect', { x: obj.x, y: obj.y, rx: 5, ry: 5, fill: \\\\\\\"rgb(243, 181, 103)\\\\\\\", stroke: 'grey', width: '120', height: '30', \\\\\\\"stroke-width\\\\\\\": 2 }));\\\\n break;\\\\n }\\\\n nodes[obj.id] = obj;\\\\n } \\\\n });\\\\n\\\\n svgObj = $('#flowWires');\\\\n for ( var ndeId in nodes) {\\\\n var nde = nodes[ndeId];\\\\n\\\\n ((nde.wires || [[]])[0] || []).forEach( function(otherNodeId){\\\\n var otherNode = nodes[otherNodeId];\\\\n if ( otherNode ) {\\\\n $(svgObj).append(getNode('line', { \\\\n x1: nde.x + (nde.type != \\\\\\\"junction\\\\\\\" ? 120 : 5), \\\\n y1: nde.y + (nde.type == \\\\\\\"junction\\\\\\\" ? 5 : 15), \\\\n x2: otherNode.x + (otherNode.type == \\\\\\\"junction\\\\\\\" ? 5 : 0), \\\\n y2: otherNode.y + (otherNode.type == \\\\\\\"junction\\\\\\\" ? 5 : 15), \\\\n stroke: 'grey', \\\\n \\\\\\\"stroke-width\\\\\\\": 4 \\\\n }));\\\\n }\\\\n })\\\\n }\\\\n }\\\\n });\\\\n });\\\\n </script>\\\\n</html>\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\",\\\"output\\\":\\\"str\\\",\\\"x\\\":571.8573722839355,\\\"y\\\":118.28565311431885,\\\"wires\\\":[[\\\"8a027a1eec82ec7c\\\"]]},{\\\"id\\\":\\\"f8739da5f7a011bd\\\",\\\"type\\\":\\\"link in\\\",\\\"z\\\":\\\"3b1289d7ccf9cb0f\\\",\\\"name\\\":\\\"[blog] embedded-flow-v2.html\\\",\\\"links\\\":[],\\\"x\\\":139.42858123779297,\\\"y\\\":177.85708618164062,\\\"wires\\\":[[\\\"8e4814da5150c7dc\\\"]]},{\\\"id\\\":\\\"8e4814da5150c7dc\\\",\\\"type\\\":\\\"BlogPageInfo\\\",\\\"z\\\":\\\"3b1289d7ccf9cb0f\\\",\\\"name\\\":\\\"\\\",\\\"image\\\":\\\"\\\",\\\"summary\\\":\\\"Can I generate html directly without using markdown markup?\\\",\\\"title\\\":\\\"This is a test of something new\\\",\\\"publishedAt\\\":\\\"2023-06-25T11:22\\\",\\\"updatedAt\\\":\\\"2023-06-25T11:22\\\",\\\"incRss\\\":false,\\\"incSitemap\\\":false,\\\"incIndex\\\":false,\\\"shrLinkedIn\\\":false,\\\"reloadOnEdit\\\":false,\\\"redirectToNode\\\":false,\\\"redirectNodeId\\\":\\\"status-404\\\",\\\"redirectStatusCode\\\":\\\"301\\\",\\\"x\\\":346.14295196533203,\\\"y\\\":177.85708618164062,\\\"wires\\\":[[\\\"b9c96684fe8c6510\\\"]]},{\\\"id\\\":\\\"b9c96684fe8c6510\\\",\\\"type\\\":\\\"template\\\",\\\"z\\\":\\\"3b1289d7ccf9cb0f\\\",\\\"name\\\":\\\"v2\\\",\\\"field\\\":\\\"payload\\\",\\\"fieldType\\\":\\\"msg\\\",\\\"format\\\":\\\"javascript\\\",\\\"syntax\\\":\\\"mustache\\\",\\\"template\\\":\\\"<!DOCTYPE html>\\\\n<html lang=\\\\\\\"en\\\\\\\">\\\\n <head>\\\\n <meta charset=\\\\\\\"UTF-8\\\\\\\">\\\\n <meta http-equiv=\\\\\\\"X-UA-Compatible\\\\\\\" content=\\\\\\\"IE=edge\\\\\\\">\\\\n <meta name=\\\\\\\"viewport\\\\\\\" content=\\\\\\\"width=device-width, initial-scale=1\\\\\\\">\\\\n\\\\n <title>Flow Embeddation</title>\\\\n\\\\n <link rel=\\\\\\\"alternate\\\\\\\" type=\\\\\\\"application/rss+xml\\\\\\\" href=\\\\\\\"/feed.xml\\\\\\\" title=\\\\\\\"Subscribe to Blog Open Mind Map Org\\\\\\\">\\\\n <link rel=\\\\\\\"sitemap\\\\\\\" type=\\\\\\\"application/xml\\\\\\\" title=\\\\\\\"Sitemap\\\\\\\" href=\\\\\\\"/sitemap.xml\\\\\\\">\\\\n\\\\n <link rel=\\\\\\\"apple-touch-icon\\\\\\\" sizes=\\\\\\\"180x180\\\\\\\" href=\\\\\\\"/f/i/apple-touch-icon.png\\\\\\\">\\\\n <link rel=\\\\\\\"icon\\\\\\\" type=\\\\\\\"image/png\\\\\\\" sizes=\\\\\\\"32x32\\\\\\\" href=\\\\\\\"/f/i/favicon-32x32.png\\\\\\\">\\\\n <link rel=\\\\\\\"icon\\\\\\\" type=\\\\\\\"image/png\\\\\\\" sizes=\\\\\\\"16x16\\\\\\\" href=\\\\\\\"/f/i/favicon-16x16.png\\\\\\\">\\\\n <link rel=\\\\\\\"manifest\\\\\\\" href=\\\\\\\"/f/site.webmanifest\\\\\\\">\\\\n\\\\n <script src=\\\\\\\"/content/jquery-3.7.0.min.js\\\\\\\" integrity=\\\\\\\"sha512-3gJwYpMe3QewGELv8k/BX9vcqhryRdzRMxVfq6ngyWXwo03GFEzjsUm8Q7RZcHPHksttq7/GFoxjCVUjkjvPdw==\\\\\\\" crossorigin=\\\\\\\"anonymous\\\\\\\" referrerpolicy=\\\\\\\"no-referrer\\\\\\\"></script>\\\\n </head>\\\\n\\\\n <body>\\\\n <div id='svgcontainer' style=\\\\\\\"transform: scale(0.5,0.5) translate(-2500px,-2500px) ; top: 0; left: 0; position: absolute;\\\\\\\">\\\\n <svg id=\\\\\\\"svgelem\\\\\\\" width=\\\\\\\"5000\\\\\\\" height=\\\\\\\"5000\\\\\\\" viewBox=\\\\\\\"0 0 5000 5000\\\\\\\" pointer-events=\\\\\\\"all\\\\\\\" style=\\\\\\\"cursor: crosshair; touch-action: none;\\\\\\\" version=\\\\\\\"1.1\\\\\\\" xmlns=\\\\\\\"http://www.w3.org/2000/svg\\\\\\\">\\\\n <!-- these two groups ensure that the nodes are always above the wires, see the structure of the SVG in the editor. -->\\\\n <g id='flowWires'></g>\\\\n <g id='flowNodes'></g>\\\\n </svg>\\\\n </div>\\\\n </body>\\\\n\\\\n\\\\n <script>\\\\n var flowId = \\\\\\\"6c8ce462533a1da4\\\\\\\";\\\\n \\\\n function getNode(n, v) {\\\\n var elm = document.createElementNS(\\\\\\\"http://www.w3.org/2000/svg\\\\\\\", n);\\\\n for (var p in v) { elm.setAttributeNS(null, p, v[p]); }\\\\n return elm;\\\\n }\\\\n $(function(){\\\\n $.ajax({\\\\n dataType: \\\\\\\"json\\\\\\\",\\\\n url: \\\\\\\"https://demo.openmindmap.org/omm/flows\\\\\\\",\\\\n method: 'get',\\\\n success: function(flowdata) { \\\\n var nodes = {};\\\\n var wires = {};\\\\n\\\\n var svgObj = $('#flowNodes');\\\\n \\\\n flowdata.forEach( function(obj) {\\\\n if ( obj.z == flowId ) {\\\\n switch (obj.type) {\\\\n case \\\\\\\"junction\\\\\\\":\\\\n \\\\n $(svgObj).append(getNode('rect', { x: obj.x, y: obj.y, rx: 2, ry: 2, fill: 'black', stroke: 'red', width: '10', height: '10', \\\\\\\"stroke-width\\\\\\\": 2}));\\\\n break;\\\\n\\\\n default: \\\\n\\\\n var grpText = document.createElementNS(\\\\\\\"http://www.w3.org/2000/svg\\\\\\\", 'g');\\\\n var grpTextId = \\\\\\\"grpTxt\\\\\\\" + Math.random().toString().substring(2);\\\\n\\\\n grpText.setAttributeNS(null, \\\\\\\"id\\\\\\\", grpTextId);\\\\n grpText.setAttributeNS(null, \\\\\\\"transform\\\\\\\", \\\\\\\"translate(38,20)\\\\\\\");\\\\n\\\\n var textElem = document.createElementNS(\\\\\\\"http://www.w3.org/2000/svg\\\\\\\", 'text');\\\\n\\\\n var elemTextId = \\\\\\\"elmTxt\\\\\\\" + Math.random().toString().substring(2);\\\\n textElem.setAttributeNS(null, \\\\\\\"id\\\\\\\", elemTextId);\\\\n textElem.textContent = obj.name || obj.info || obj.text || obj.type;\\\\n \\\\n grpText.appendChild( textElem )\\\\n\\\\n var grpId = \\\\\\\"grp\\\\\\\" + Math.random().toString().substring(2);\\\\n $(svgObj).append(getNode('g', { id: grpId, }));\\\\n var grpObj = $('#' + grpId);\\\\n\\\\n $(grpObj).append(grpText);\\\\n\\\\n var txtBBox = document.getElementById(elemTextId).getBBox();\\\\n var txtWidth = txtBBox.width;\\\\n var txtHeight = txtBBox.height;\\\\n var rectWidth = 120;\\\\n var rectHeight = 30;\\\\n\\\\n if ((txtWidth + 38) > (rectWidth-10) ) {\\\\n rectWidth = (txtWidth + 38) + 10;\\\\n obj._realX = (obj.x - (rectWidth - 120));\\\\n }\\\\n\\\\n if (txtHeight > rectHeight) {\\\\n rectHeight = txtHeight + 5;\\\\n }\\\\n\\\\n $(grpObj).prepend(getNode('rect', { rx: 5, ry: 5, fill: \\\\\\\"rgb(243, 181, 103)\\\\\\\", stroke: 'grey', width: rectWidth, height: rectHeight, \\\\\\\"stroke-width\\\\\\\": 2 }));\\\\n $(grpObj).attr(\\\\\\\"transform\\\\\\\", \\\\\\\"translate(\\\\\\\" + (obj._realX || obj.x) + \\\\\\\",\\\\\\\" + obj.y + \\\\\\\")\\\\\\\");\\\\n break;\\\\n }\\\\n nodes[obj.id] = obj;\\\\n } \\\\n });\\\\n\\\\n svgObj = $('#flowWires');\\\\n\\\\n for ( var ndeId in nodes) {\\\\n var nde = nodes[ndeId];\\\\n\\\\n ((nde.wires || [[]])[0] || []).forEach( function(otherNodeId){\\\\n var otherNode = nodes[otherNodeId];\\\\n if ( otherNode ) {\\\\n\\\\n var startX = nde.x + (nde.type == \\\\\\\"junction\\\\\\\" ? 5 : 120);\\\\n var startY = nde.y + (nde.type == \\\\\\\"junction\\\\\\\" ? 5 : 15); /* TODO: this magic 15 should be half the height of the rectangle */\\\\n var endX = (otherNode._realX || otherNode.x) + (otherNode.type == \\\\\\\"junction\\\\\\\" ? 5 : 0);\\\\n var endY = otherNode.y + (otherNode.type == \\\\\\\"junction\\\\\\\" ? 5 : 15);\\\\n\\\\n /*\\\\n $(svgObj).append(getNode('path', { \\\\n d: \\\\\\\"M \\\\\\\" + startX + \\\\\\\" \\\\\\\" + startY + \\\\\\\" C \\\\\\\",\\\\n stroke: 'grey',\\\\n \\\\\\\"stroke-width\\\\\\\": 4 \\\\n });\\\\n */\\\\n $(svgObj).append(getNode('line', { \\\\n x1: nde.x + (nde.type == \\\\\\\"junction\\\\\\\" ? 5 : 120), \\\\n y1: nde.y + (nde.type == \\\\\\\"junction\\\\\\\" ? 5 : 15), \\\\n x2: (otherNode._realX || otherNode.x) + (otherNode.type == \\\\\\\"junction\\\\\\\" ? 5 : 0), \\\\n y2: otherNode.y + (otherNode.type == \\\\\\\"junction\\\\\\\" ? 5 : 15), \\\\n stroke: 'grey', \\\\n \\\\\\\"stroke-width\\\\\\\": 4 \\\\n }));\\\\n }\\\\n })\\\\n }\\\\n }\\\\n });\\\\n });\\\\n </script>\\\\n\\\\n {{#page.reload}}\\\\n<script>\\\\n var socket = undefined;\\\\n\\\\nfunction initSocket() {\\\\n // Connection opened\\\\n socket = new WebSocket(\\\\\\\"wss://blog.openmindmap.org/cmds\\\\\\\");\\\\n\\\\n socket.onclose = function() {\\\\n initSocket();\\\\n };\\\\n\\\\n // Listen for messages\\\\n socket.addEventListener(\\\\\\\"message\\\\\\\", (event) => {\\\\n if ( event.data == \\\\\\\"reload\\\\\\\") {\\\\n window.location.reload();\\\\n }\\\\n });\\\\n};\\\\n\\\\ndocument.addEventListener(\\\\\\\"DOMContentLoaded\\\\\\\", initSocket );\\\\n</script>\\\\n\\\\n{{/page.reload}}\\\\n</html>\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\",\\\"output\\\":\\\"str\\\",\\\"x\\\":571.8573722839355,\\\"y\\\":177.85708618164062,\\\"wires\\\":[[\\\"8a027a1eec82ec7c\\\"]]},{\\\"id\\\":\\\"a23b3d9747beea6e\\\",\\\"type\\\":\\\"template\\\",\\\"z\\\":\\\"3b1289d7ccf9cb0f\\\",\\\"name\\\":\\\"v3\\\",\\\"field\\\":\\\"payload\\\",\\\"fieldType\\\":\\\"msg\\\",\\\"format\\\":\\\"javascript\\\",\\\"syntax\\\":\\\"mustache\\\",\\\"template\\\":\\\"<!DOCTYPE html>\\\\n<html lang=\\\\\\\"en\\\\\\\">\\\\n <head>\\\\n <meta charset=\\\\\\\"UTF-8\\\\\\\">\\\\n <meta http-equiv=\\\\\\\"X-UA-Compatible\\\\\\\" content=\\\\\\\"IE=edge\\\\\\\">\\\\n <meta name=\\\\\\\"viewport\\\\\\\" content=\\\\\\\"width=device-width, initial-scale=1\\\\\\\">\\\\n\\\\n <title>Flow Embeddation</title>\\\\n\\\\n <link rel=\\\\\\\"alternate\\\\\\\" type=\\\\\\\"application/rss+xml\\\\\\\" href=\\\\\\\"/feed.xml\\\\\\\" title=\\\\\\\"Subscribe to Blog Open Mind Map Org\\\\\\\">\\\\n <link rel=\\\\\\\"sitemap\\\\\\\" type=\\\\\\\"application/xml\\\\\\\" title=\\\\\\\"Sitemap\\\\\\\" href=\\\\\\\"/sitemap.xml\\\\\\\">\\\\n\\\\n <link rel=\\\\\\\"apple-touch-icon\\\\\\\" sizes=\\\\\\\"180x180\\\\\\\" href=\\\\\\\"/f/i/apple-touch-icon.png\\\\\\\">\\\\n <link rel=\\\\\\\"icon\\\\\\\" type=\\\\\\\"image/png\\\\\\\" sizes=\\\\\\\"32x32\\\\\\\" href=\\\\\\\"/f/i/favicon-32x32.png\\\\\\\">\\\\n <link rel=\\\\\\\"icon\\\\\\\" type=\\\\\\\"image/png\\\\\\\" sizes=\\\\\\\"16x16\\\\\\\" href=\\\\\\\"/f/i/favicon-16x16.png\\\\\\\">\\\\n <link rel=\\\\\\\"manifest\\\\\\\" href=\\\\\\\"/f/site.webmanifest\\\\\\\">\\\\n\\\\n <script src=\\\\\\\"/content/jquery-3.7.0.min.js\\\\\\\" integrity=\\\\\\\"sha512-3gJwYpMe3QewGELv8k/BX9vcqhryRdzRMxVfq6ngyWXwo03GFEzjsUm8Q7RZcHPHksttq7/GFoxjCVUjkjvPdw==\\\\\\\" crossorigin=\\\\\\\"anonymous\\\\\\\" referrerpolicy=\\\\\\\"no-referrer\\\\\\\"></script>\\\\n <script src=\\\\\\\"/embed/helpers.js\\\\\\\" crossorigin=\\\\\\\"anonymous\\\\\\\" referrerpolicy=\\\\\\\"no-referrer\\\\\\\"></script>\\\\n </head>\\\\n\\\\n <body>\\\\n <select id=\\\\\\\"flowSelector\\\\\\\"></select> == <a id=\\\\\\\"flowLinkToOriginal\\\\\\\" target=_blank href=\\\\\\\"\\\\\\\">Link to Original</a>\\\\n\\\\n <div id='svgcontainer' style=\\\\\\\"transform: scale(0.5,0.5) translate(-2500px,-2500px) ; top: 50; left: 0; position: absolute;\\\\\\\">\\\\n <svg id=\\\\\\\"svgelem\\\\\\\" width=\\\\\\\"5000\\\\\\\" height=\\\\\\\"5000\\\\\\\" viewBox=\\\\\\\"0 0 5000 5000\\\\\\\" pointer-events=\\\\\\\"all\\\\\\\" style=\\\\\\\"cursor: crosshair; touch-action: none;\\\\\\\" version=\\\\\\\"1.1\\\\\\\" xmlns=\\\\\\\"http://www.w3.org/2000/svg\\\\\\\">\\\\n <!-- Use group elems to ensure that layering of shapes is correct, i.e. nodes always over links -->\\\\n <g id='flowGroups'></g>\\\\n <g id='flowWires'></g>\\\\n <g id='flowNodes'></g>\\\\n </svg>\\\\n </div>\\\\n </body>\\\\n\\\\n\\\\n <script>\\\\n\\\\n\\\\n $(function(){\\\\n $('#flowSelector').on( 'change', onChangeSelector);\\\\n $('#flowLinkToOriginal').attr( 'href', \\\\\\\"https://demo.openmindmap.org/omm/#flow/\\\\\\\" + flowId);\\\\n \\\\n $.ajax({\\\\n dataType: \\\\\\\"json\\\\\\\",\\\\n url: \\\\\\\"https://demo.openmindmap.org/omm/flows\\\\\\\",\\\\n method: 'get',\\\\n success: function(flowdata) { \\\\n flowData = flowdata;\\\\n fillFlowSelector( flowId, flowdata);\\\\n renderFlow(flowId, flowdata);\\\\n }\\\\n });\\\\n });\\\\n </script>\\\\n\\\\n{{ #page.reload }}\\\\n <!-- debug aid: reload page when I deploy Node-RED - don't need to explicitly reload any changes -->\\\\n<script>\\\\n var socket = undefined;\\\\n\\\\nfunction initSocket() {\\\\n // Connection opened\\\\n socket = new WebSocket(\\\\\\\"wss://blog.openmindmap.org/cmds\\\\\\\");\\\\n\\\\n socket.onclose = function() {\\\\n initSocket();\\\\n };\\\\n\\\\n // Listen for messages\\\\n socket.addEventListener(\\\\\\\"message\\\\\\\", (event) => {\\\\n if ( event.data == \\\\\\\"reload\\\\\\\") {\\\\n window.location.reload();\\\\n }\\\\n });\\\\n};\\\\n\\\\ndocument.addEventListener(\\\\\\\"DOMContentLoaded\\\\\\\", initSocket );\\\\n</script>\\\\n{{ /page.reload }}\\\\n\\\\n</html>\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\",\\\"output\\\":\\\"str\\\",\\\"x\\\":571.8573722839355,\\\"y\\\":233.57142639160156,\\\"wires\\\":[[\\\"8a027a1eec82ec7c\\\"]]},{\\\"id\\\":\\\"4333204273c7c806\\\",\\\"type\\\":\\\"link in\\\",\\\"z\\\":\\\"3b1289d7ccf9cb0f\\\",\\\"name\\\":\\\"[blog] embedded-flow-v3.html\\\",\\\"links\\\":[],\\\"x\\\":139.42858123779297,\\\"y\\\":233.57142639160156,\\\"wires\\\":[[\\\"2a7c6ae2a9995a51\\\"]]},{\\\"id\\\":\\\"2a7c6ae2a9995a51\\\",\\\"type\\\":\\\"BlogPageInfo\\\",\\\"z\\\":\\\"3b1289d7ccf9cb0f\\\",\\\"name\\\":\\\"\\\",\\\"image\\\":\\\"\\\",\\\"summary\\\":\\\"Can I generate html directly without using markdown markup?\\\",\\\"title\\\":\\\"This is a test of something new\\\",\\\"publishedAt\\\":\\\"2023-06-25T11:22\\\",\\\"updatedAt\\\":\\\"2023-06-25T11:22\\\",\\\"incRss\\\":false,\\\"incSitemap\\\":false,\\\"incIndex\\\":false,\\\"shrLinkedIn\\\":false,\\\"reloadOnEdit\\\":false,\\\"redirectToNode\\\":false,\\\"redirectNodeId\\\":\\\"status-404\\\",\\\"redirectStatusCode\\\":\\\"301\\\",\\\"x\\\":346.14295196533203,\\\"y\\\":233.57142639160156,\\\"wires\\\":[[\\\"a23b3d9747beea6e\\\"]]},{\\\"id\\\":\\\"5adccb35363b1881\\\",\\\"type\\\":\\\"template\\\",\\\"z\\\":\\\"3b1289d7ccf9cb0f\\\",\\\"name\\\":\\\"v4\\\",\\\"field\\\":\\\"payload\\\",\\\"fieldType\\\":\\\"msg\\\",\\\"format\\\":\\\"html\\\",\\\"syntax\\\":\\\"mustache\\\",\\\"template\\\":\\\"<!DOCTYPE html>\\\\n<html lang=\\\\\\\"en\\\\\\\">\\\\n <head>\\\\n <meta charset=\\\\\\\"UTF-8\\\\\\\">\\\\n <meta http-equiv=\\\\\\\"X-UA-Compatible\\\\\\\" content=\\\\\\\"IE=edge\\\\\\\">\\\\n <meta name=\\\\\\\"viewport\\\\\\\" content=\\\\\\\"width=device-width, initial-scale=1\\\\\\\">\\\\n\\\\n <title>Flow Embeddation</title>\\\\n\\\\n <link rel=\\\\\\\"alternate\\\\\\\" type=\\\\\\\"application/rss+xml\\\\\\\" href=\\\\\\\"/feed.xml\\\\\\\" title=\\\\\\\"Subscribe to Blog Open Mind Map Org\\\\\\\">\\\\n <link rel=\\\\\\\"sitemap\\\\\\\" type=\\\\\\\"application/xml\\\\\\\" title=\\\\\\\"Sitemap\\\\\\\" href=\\\\\\\"/sitemap.xml\\\\\\\">\\\\n\\\\n <link rel=\\\\\\\"apple-touch-icon\\\\\\\" sizes=\\\\\\\"180x180\\\\\\\" href=\\\\\\\"/f/i/apple-touch-icon.png\\\\\\\">\\\\n <link rel=\\\\\\\"icon\\\\\\\" type=\\\\\\\"image/png\\\\\\\" sizes=\\\\\\\"32x32\\\\\\\" href=\\\\\\\"/f/i/favicon-32x32.png\\\\\\\">\\\\n <link rel=\\\\\\\"icon\\\\\\\" type=\\\\\\\"image/png\\\\\\\" sizes=\\\\\\\"16x16\\\\\\\" href=\\\\\\\"/f/i/favicon-16x16.png\\\\\\\">\\\\n <link rel=\\\\\\\"manifest\\\\\\\" href=\\\\\\\"/f/site.webmanifest\\\\\\\">\\\\n\\\\n <script src=\\\\\\\"/content/jquery-3.7.0.min.js\\\\\\\" integrity=\\\\\\\"sha512-3gJwYpMe3QewGELv8k/BX9vcqhryRdzRMxVfq6ngyWXwo03GFEzjsUm8Q7RZcHPHksttq7/GFoxjCVUjkjvPdw==\\\\\\\" crossorigin=\\\\\\\"anonymous\\\\\\\" referrerpolicy=\\\\\\\"no-referrer\\\\\\\"></script>\\\\n <script src=\\\\\\\"/embed/helpers-v4.js\\\\\\\" crossorigin=\\\\\\\"anonymous\\\\\\\" referrerpolicy=\\\\\\\"no-referrer\\\\\\\"></script>\\\\n </head>\\\\n\\\\n <body>\\\\n <select id=\\\\\\\"flowSelector\\\\\\\"></select> == <a id=\\\\\\\"flowLinkToOriginal\\\\\\\" target=_blank href=\\\\\\\"\\\\\\\">Link to Original</a>\\\\n\\\\n <div id='svgcontainer' \\\\n style=\\\\\\\"transform: scale(0.5,0.5) translate(-2500px,-2500px) ; top: 50px; left: 10px; position: absolute; overflow: scroll; display: block;\\\\\\\">\\\\n <svg id=\\\\\\\"svgelem\\\\\\\" width=\\\\\\\"5000\\\\\\\" height=\\\\\\\"5000\\\\\\\" viewBox=\\\\\\\"0 0 5000 5000\\\\\\\" pointer-events=\\\\\\\"all\\\\\\\" style=\\\\\\\"cursor: crosshair;\\\\\\\" version=\\\\\\\"1.1\\\\\\\" xmlns=\\\\\\\"http://www.w3.org/2000/svg\\\\\\\">\\\\n <!-- Use group elems to ensure that layering of shapes is correct, i.e. nodes always over links -->\\\\n <g id='flowGroups'></g>\\\\n <g id='flowWires'></g>\\\\n <g id='flowNodes'></g>\\\\n </svg>\\\\n </div>\\\\n </body>\\\\n\\\\n\\\\n <script>\\\\n\\\\n\\\\n $(function(){\\\\n $('#flowSelector').on( 'change', onChangeSelector);\\\\n $('#flowLinkToOriginal').attr( 'href', \\\\\\\"https://demo.openmindmap.org/omm/#flow/\\\\\\\" + flowId);\\\\n \\\\n $.ajax({\\\\n dataType: \\\\\\\"json\\\\\\\",\\\\n url: \\\\\\\"https://demo.openmindmap.org/omm/flows\\\\\\\",\\\\n method: 'get',\\\\n success: function(flowdata) { \\\\n flowData = flowdata;\\\\n fillFlowSelector( flowId, flowdata);\\\\n renderFlow(flowId, flowdata);\\\\n }\\\\n });\\\\n });\\\\n </script>\\\\n\\\\n {{ #page.reload }}\\\\n <!-- debug aid: reload page when I deploy Node-RED - don't need to explicitly reload any changes -->\\\\n <script>\\\\n var socket = undefined;\\\\n \\\\n function initSocket() {\\\\n // Connection opened\\\\n socket = new WebSocket(\\\\\\\"wss://blog.openmindmap.org/cmds\\\\\\\");\\\\n \\\\n socket.onclose = function() {\\\\n initSocket();\\\\n };\\\\n \\\\n // Listen for messages\\\\n socket.addEventListener(\\\\\\\"message\\\\\\\", (event) => {\\\\n if ( event.data == \\\\\\\"reload\\\\\\\") {\\\\n window.location.reload();\\\\n }\\\\n });\\\\n };\\\\n \\\\n document.addEventListener(\\\\\\\"DOMContentLoaded\\\\\\\", initSocket );\\\\n </script>\\\\n {{/ page.reload}}\\\\n</html>\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\",\\\"output\\\":\\\"str\\\",\\\"x\\\":571.8573722839355,\\\"y\\\":298.57142639160156,\\\"wires\\\":[[\\\"8a027a1eec82ec7c\\\"]]},{\\\"id\\\":\\\"bb373e24e578d9d8\\\",\\\"type\\\":\\\"link in\\\",\\\"z\\\":\\\"3b1289d7ccf9cb0f\\\",\\\"name\\\":\\\"[blog] embedded-flow-v4.html\\\",\\\"links\\\":[],\\\"x\\\":139.42858123779297,\\\"y\\\":298.57142639160156,\\\"wires\\\":[[\\\"d96afef150addb88\\\"]]},{\\\"id\\\":\\\"d96afef150addb88\\\",\\\"type\\\":\\\"BlogPageInfo\\\",\\\"z\\\":\\\"3b1289d7ccf9cb0f\\\",\\\"name\\\":\\\"\\\",\\\"image\\\":\\\"\\\",\\\"summary\\\":\\\"Can I generate html directly without using markdown markup?\\\",\\\"title\\\":\\\"This is a test of something new\\\",\\\"publishedAt\\\":\\\"2023-06-25T11:22\\\",\\\"updatedAt\\\":\\\"2023-06-25T11:22\\\",\\\"incRss\\\":false,\\\"incSitemap\\\":false,\\\"incIndex\\\":false,\\\"shrLinkedIn\\\":false,\\\"reloadOnEdit\\\":false,\\\"redirectToNode\\\":false,\\\"redirectNodeId\\\":\\\"status-404\\\",\\\"redirectStatusCode\\\":\\\"301\\\",\\\"x\\\":346.14295196533203,\\\"y\\\":298.57142639160156,\\\"wires\\\":[[\\\"5adccb35363b1881\\\"]]},{\\\"id\\\":\\\"510c57da02cb23e8\\\",\\\"type\\\":\\\"template\\\",\\\"z\\\":\\\"3b1289d7ccf9cb0f\\\",\\\"name\\\":\\\"v5\\\",\\\"field\\\":\\\"payload\\\",\\\"fieldType\\\":\\\"msg\\\",\\\"format\\\":\\\"javascript\\\",\\\"syntax\\\":\\\"mustache\\\",\\\"template\\\":\\\"<!DOCTYPE html>\\\\n<html lang=\\\\\\\"en\\\\\\\">\\\\n <head>\\\\n <meta charset=\\\\\\\"UTF-8\\\\\\\">\\\\n <meta http-equiv=\\\\\\\"X-UA-Compatible\\\\\\\" content=\\\\\\\"IE=edge\\\\\\\">\\\\n <meta name=\\\\\\\"viewport\\\\\\\" content=\\\\\\\"width=device-width, initial-scale=1\\\\\\\">\\\\n\\\\n <title>Flow Embeddation</title>\\\\n\\\\n <link rel=\\\\\\\"alternate\\\\\\\" type=\\\\\\\"application/rss+xml\\\\\\\" href=\\\\\\\"/feed.xml\\\\\\\" title=\\\\\\\"Subscribe to Blog Open Mind Map Org\\\\\\\">\\\\n <link rel=\\\\\\\"sitemap\\\\\\\" type=\\\\\\\"application/xml\\\\\\\" title=\\\\\\\"Sitemap\\\\\\\" href=\\\\\\\"/sitemap.xml\\\\\\\">\\\\n\\\\n <link rel=\\\\\\\"apple-touch-icon\\\\\\\" sizes=\\\\\\\"180x180\\\\\\\" href=\\\\\\\"/f/i/apple-touch-icon.png\\\\\\\">\\\\n <link rel=\\\\\\\"icon\\\\\\\" type=\\\\\\\"image/png\\\\\\\" sizes=\\\\\\\"32x32\\\\\\\" href=\\\\\\\"/f/i/favicon-32x32.png\\\\\\\">\\\\n <link rel=\\\\\\\"icon\\\\\\\" type=\\\\\\\"image/png\\\\\\\" sizes=\\\\\\\"16x16\\\\\\\" href=\\\\\\\"/f/i/favicon-16x16.png\\\\\\\">\\\\n <link rel=\\\\\\\"manifest\\\\\\\" href=\\\\\\\"/f/site.webmanifest\\\\\\\">\\\\n\\\\n <script src=\\\\\\\"/content/jquery-3.7.0.min.js\\\\\\\" integrity=\\\\\\\"sha512-3gJwYpMe3QewGELv8k/BX9vcqhryRdzRMxVfq6ngyWXwo03GFEzjsUm8Q7RZcHPHksttq7/GFoxjCVUjkjvPdw==\\\\\\\" crossorigin=\\\\\\\"anonymous\\\\\\\" referrerpolicy=\\\\\\\"no-referrer\\\\\\\"></script>\\\\n <script src=\\\\\\\"/embed/helpers-v5.js\\\\\\\" crossorigin=\\\\\\\"anonymous\\\\\\\" referrerpolicy=\\\\\\\"no-referrer\\\\\\\"></script>\\\\n <link rel=\\\\\\\"stylesheet\\\\\\\" href=\\\\\\\"/embed/helpers.css\\\\\\\">\\\\n </head>\\\\n\\\\n <body>\\\\n <select id=\\\\\\\"flowSelector\\\\\\\"></select> == <a id=\\\\\\\"flowLinkToOriginal\\\\\\\" target=_blank href=\\\\\\\"\\\\\\\">Link to Original</a>\\\\n\\\\n <div id='svgcontainer' \\\\n style=\\\\\\\"transform: scale(0.5,0.5) translate(-2500px,-2500px) ; top: 50px; left: 10px; position: absolute; overflow: scroll; display: block;\\\\\\\">\\\\n <svg id=\\\\\\\"svgelem\\\\\\\" width=\\\\\\\"5000\\\\\\\" height=\\\\\\\"5000\\\\\\\" viewBox=\\\\\\\"0 0 5000 5000\\\\\\\" pointer-events=\\\\\\\"all\\\\\\\" style=\\\\\\\"cursor: crosshair;\\\\\\\" version=\\\\\\\"1.1\\\\\\\" xmlns=\\\\\\\"http://www.w3.org/2000/svg\\\\\\\">\\\\n <!-- Use group elems to ensure that layering of shapes is correct, i.e. nodes always over links -->\\\\n <g id='flowGroups'></g>\\\\n <g id='flowWires'></g>\\\\n <g id='flowNodes'></g>\\\\n </svg>\\\\n </div>\\\\n </body>\\\\n\\\\n\\\\n <script>\\\\n\\\\n\\\\n $(function(){\\\\n $('#flowSelector').on( 'change', onChangeSelector);\\\\n $('#flowLinkToOriginal').attr( 'href', \\\\\\\"https://demo.openmindmap.org/omm/#flow/\\\\\\\" + flowId);\\\\n \\\\n $.ajax({\\\\n dataType: \\\\\\\"json\\\\\\\",\\\\n url: \\\\\\\"https://demo.openmindmap.org/omm/flows\\\\\\\",\\\\n method: 'get',\\\\n success: function(flowdata) { \\\\n flowData = flowdata;\\\\n fillFlowSelector( flowId, flowdata);\\\\n renderFlow(flowId, flowdata);\\\\n }\\\\n });\\\\n });\\\\n </script>\\\\n\\\\n\\\\n{{#page.reload}}\\\\n <!-- debug aid: reload page when I deploy Node-RED - don't need to explicitly reload any changes -->\\\\n<script>\\\\n var socket = undefined;\\\\n\\\\nfunction initSocket() {\\\\n // Connection opened\\\\n socket = new WebSocket(\\\\\\\"wss://blog.openmindmap.org/cmds\\\\\\\");\\\\n\\\\n socket.onclose = function() {\\\\n initSocket();\\\\n };\\\\n\\\\n // Listen for messages\\\\n socket.addEventListener(\\\\\\\"message\\\\\\\", (event) => {\\\\n if ( event.data == \\\\\\\"reload\\\\\\\") {\\\\n window.location.reload();\\\\n }\\\\n });\\\\n};\\\\n\\\\ndocument.addEventListener(\\\\\\\"DOMContentLoaded\\\\\\\", initSocket );\\\\n</script>\\\\n{{/page.reload}}\\\\n\\\\n</html>\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\",\\\"output\\\":\\\"str\\\",\\\"x\\\":577,\\\"y\\\":361,\\\"wires\\\":[[\\\"8a027a1eec82ec7c\\\"]]},{\\\"id\\\":\\\"f0b074190c1ab98f\\\",\\\"type\\\":\\\"link in\\\",\\\"z\\\":\\\"3b1289d7ccf9cb0f\\\",\\\"name\\\":\\\"[blog] embedded-flow-v5.html\\\",\\\"links\\\":[],\\\"x\\\":144.57120895385742,\\\"y\\\":361,\\\"wires\\\":[[\\\"43528dd3046696bf\\\"]]},{\\\"id\\\":\\\"43528dd3046696bf\\\",\\\"type\\\":\\\"BlogPageInfo\\\",\\\"z\\\":\\\"3b1289d7ccf9cb0f\\\",\\\"name\\\":\\\"\\\",\\\"image\\\":\\\"\\\",\\\"summary\\\":\\\"Can I generate html directly without using markdown markup?\\\",\\\"title\\\":\\\"This is a test of something new\\\",\\\"publishedAt\\\":\\\"2023-06-25T11:22\\\",\\\"updatedAt\\\":\\\"2023-06-25T11:22\\\",\\\"incRss\\\":false,\\\"incSitemap\\\":false,\\\"incIndex\\\":false,\\\"shrLinkedIn\\\":false,\\\"reloadOnEdit\\\":false,\\\"redirectToNode\\\":false,\\\"redirectNodeId\\\":\\\"status-404\\\",\\\"redirectStatusCode\\\":\\\"301\\\",\\\"x\\\":351.2855796813965,\\\"y\\\":361,\\\"wires\\\":[[\\\"510c57da02cb23e8\\\"]]}]\",\"output\":\"str\",\"x\":557,\"y\":1023,\"wires\":[[\"543a3c0420b92eff\"]]},{\"id\":\"543a3c0420b92eff\",\"type\":\"template\",\"z\":\"3b1289d7ccf9cb0f\",\"name\":\"flowexample2\",\"field\":\"flowexample2\",\"fieldType\":\"msg\",\"format\":\"handlebars\",\"syntax\":\"mustache\",\"template\":\"[{\\\"id\\\":\\\"d598829cba783cad\\\",\\\"type\\\":\\\"GetFlows\\\",\\\"z\\\":\\\"f13d3b083d5cc429\\\",\\\"name\\\":\\\"\\\",\\\"flowVersion\\\":\\\"v1\\\",\\\"useAuthentication\\\":false,\\\"apiUsername\\\":\\\"\\\",\\\"apiUsernameType\\\":\\\"env\\\",\\\"apiPassword\\\":\\\"\\\",\\\"apiPasswordType\\\":\\\"env\\\",\\\"x\\\":349,\\\"y\\\":301,\\\"wires\\\":[[\\\"ddce7325bdba57d8\\\"]]},{\\\"id\\\":\\\"c507dd73478a26af\\\",\\\"type\\\":\\\"inject\\\",\\\"z\\\":\\\"f13d3b083d5cc429\\\",\\\"name\\\":\\\"\\\",\\\"props\\\":[{\\\"p\\\":\\\"payload\\\"},{\\\"p\\\":\\\"topic\\\",\\\"vt\\\":\\\"str\\\"}],\\\"repeat\\\":\\\"7200\\\",\\\"crontab\\\":\\\"\\\",\\\"once\\\":false,\\\"onceDelay\\\":0.1,\\\"topic\\\":\\\"\\\",\\\"payload\\\":\\\"\\\",\\\"payloadType\\\":\\\"date\\\",\\\"x\\\":199,\\\"y\\\":181,\\\"wires\\\":[[\\\"d598829cba783cad\\\"]]},{\\\"id\\\":\\\"67b77f304303cb27\\\",\\\"type\\\":\\\"http request\\\",\\\"z\\\":\\\"f13d3b083d5cc429\\\",\\\"name\\\":\\\"send off to backup server\\\",\\\"method\\\":\\\"POST\\\",\\\"ret\\\":\\\"txt\\\",\\\"paytoqs\\\":\\\"ignore\\\",\\\"url\\\":\\\"\\\",\\\"tls\\\":\\\"\\\",\\\"persist\\\":false,\\\"proxy\\\":\\\"\\\",\\\"insecureHTTPParser\\\":false,\\\"authType\\\":\\\"\\\",\\\"senderr\\\":false,\\\"headers\\\":[],\\\"x\\\":1119,\\\"y\\\":181,\\\"wires\\\":[[]]},{\\\"id\\\":\\\"ddce7325bdba57d8\\\",\\\"type\\\":\\\"change\\\",\\\"z\\\":\\\"f13d3b083d5cc429\\\",\\\"name\\\":\\\"setup payload for zip node\\\",\\\"rules\\\":[{\\\"t\\\":\\\"set\\\",\\\"p\\\":\\\"_p\\\",\\\"pt\\\":\\\"msg\\\",\\\"to\\\":\\\"[]\\\",\\\"tot\\\":\\\"json\\\"},{\\\"t\\\":\\\"set\\\",\\\"p\\\":\\\"_p[0]\\\",\\\"pt\\\":\\\"msg\\\",\\\"to\\\":\\\"{ \\\\\\\"filename\\\\\\\": \\\\\\\"openmindmap_flows.json\\\\\\\", \\\\\\\"payload\\\\\\\": \\\\\\\"\\\\\\\" }\\\",\\\"tot\\\":\\\"json\\\"},{\\\"t\\\":\\\"set\\\",\\\"p\\\":\\\"_p[0].payload\\\",\\\"pt\\\":\\\"msg\\\",\\\"to\\\":\\\"payload\\\",\\\"tot\\\":\\\"msg\\\"},{\\\"t\\\":\\\"set\\\",\\\"p\\\":\\\"token\\\",\\\"pt\\\":\\\"msg\\\",\\\"to\\\":\\\"BACKUP_ZIP_TOKEN\\\",\\\"tot\\\":\\\"env\\\"},{\\\"t\\\":\\\"set\\\",\\\"p\\\":\\\"_p[1]\\\",\\\"pt\\\":\\\"msg\\\",\\\"to\\\":\\\"{ \\\\\\\"filename\\\\\\\": \\\\\\\"token.txt\\\\\\\", \\\\\\\"payload\\\\\\\": \\\\\\\"\\\\\\\" & token & \\\\\\\"\\\\\\\" }\\\",\\\"tot\\\":\\\"jsonata\\\"},{\\\"t\\\":\\\"set\\\",\\\"p\\\":\\\"payload\\\",\\\"pt\\\":\\\"msg\\\",\\\"to\\\":\\\"_p\\\",\\\"tot\\\":\\\"msg\\\"},{\\\"t\\\":\\\"set\\\",\\\"p\\\":\\\"url\\\",\\\"pt\\\":\\\"msg\\\",\\\"to\\\":\\\"BACKUP_ENDPOINT\\\",\\\"tot\\\":\\\"env\\\"}],\\\"action\\\":\\\"\\\",\\\"property\\\":\\\"\\\",\\\"from\\\":\\\"\\\",\\\"to\\\":\\\"\\\",\\\"reg\\\":false,\\\"x\\\":549,\\\"y\\\":401,\\\"wires\\\":[[\\\"1f879c968f033a26\\\"]]},{\\\"id\\\":\\\"1f879c968f033a26\\\",\\\"type\\\":\\\"zip\\\",\\\"z\\\":\\\"f13d3b083d5cc429\\\",\\\"name\\\":\\\"\\\",\\\"mode\\\":\\\"compress\\\",\\\"filename\\\":\\\"backup.zip\\\",\\\"compressionlevel\\\":\\\"9\\\",\\\"outasstring\\\":false,\\\"x\\\":769,\\\"y\\\":401,\\\"wires\\\":[[\\\"53808fa58e1aa543\\\"]]},{\\\"id\\\":\\\"53808fa58e1aa543\\\",\\\"type\\\":\\\"base64\\\",\\\"z\\\":\\\"f13d3b083d5cc429\\\",\\\"name\\\":\\\"\\\",\\\"action\\\":\\\"\\\",\\\"property\\\":\\\"payload\\\",\\\"x\\\":929,\\\"y\\\":301,\\\"wires\\\":[[\\\"67b77f304303cb27\\\"]]}]\",\"output\":\"str\",\"x\":664,\"y\":1081,\"wires\":[[\"3a2a8775f9c823ea\"]]},{\"id\":\"3a2a8775f9c823ea\",\"type\":\"template\",\"z\":\"3b1289d7ccf9cb0f\",\"name\":\"flowexample3\",\"field\":\"flowexample3\",\"fieldType\":\"msg\",\"format\":\"handlebars\",\"syntax\":\"mustache\",\"template\":\"[{\\\"id\\\":\\\"ef8e132ea7cfb169\\\",\\\"type\\\":\\\"group\\\",\\\"z\\\":\\\"1f980ab215b3d38b\\\",\\\"name\\\":\\\"ensure correct domain\\\",\\\"style\\\":{\\\"label\\\":true,\\\"fill\\\":\\\"#bfc7d7\\\",\\\"fill-opacity\\\":\\\"0.71\\\",\\\"color\\\":\\\"#000000\\\"},\\\"nodes\\\":[\\\"74524fd544d06041\\\",\\\"e43251341bcee72a\\\",\\\"a2974608d980c146\\\",\\\"9d78a06220c7c8d8\\\",\\\"a43ab9aa8a80e60a\\\",\\\"b6e61b1f9f246701\\\"],\\\"x\\\":23,\\\"y\\\":103.5,\\\"w\\\":877,\\\"h\\\":189.5},{\\\"id\\\":\\\"74524fd544d06041\\\",\\\"type\\\":\\\"switch\\\",\\\"z\\\":\\\"1f980ab215b3d38b\\\",\\\"g\\\":\\\"ef8e132ea7cfb169\\\",\\\"name\\\":\\\"check hostname\\\",\\\"property\\\":\\\"req.hostname\\\",\\\"propertyType\\\":\\\"msg\\\",\\\"rules\\\":[{\\\"t\\\":\\\"eq\\\",\\\"v\\\":\\\"blog.openmindmap.org\\\",\\\"vt\\\":\\\"str\\\"},{\\\"t\\\":\\\"eq\\\",\\\"v\\\":\\\"demo.openmindmap.org\\\",\\\"vt\\\":\\\"str\\\"},{\\\"t\\\":\\\"else\\\"}],\\\"checkall\\\":\\\"false\\\",\\\"repair\\\":false,\\\"outputs\\\":3,\\\"x\\\":393,\\\"y\\\":152,\\\"wires\\\":[[\\\"11368594c2effb54\\\"],[\\\"a2974608d980c146\\\"],[\\\"9d78a06220c7c8d8\\\"]]},{\\\"id\\\":\\\"e43251341bcee72a\\\",\\\"type\\\":\\\"http in\\\",\\\"z\\\":\\\"1f980ab215b3d38b\\\",\\\"g\\\":\\\"ef8e132ea7cfb169\\\",\\\"name\\\":\\\"\\\",\\\"url\\\":\\\"/\\\",\\\"method\\\":\\\"get\\\",\\\"upload\\\":false,\\\"swaggerDoc\\\":\\\"\\\",\\\"x\\\":99,\\\"y\\\":152,\\\"wires\\\":[[\\\"74524fd544d06041\\\"]]},{\\\"id\\\":\\\"a2974608d980c146\\\",\\\"type\\\":\\\"http response\\\",\\\"z\\\":\\\"1f980ab215b3d38b\\\",\\\"g\\\":\\\"ef8e132ea7cfb169\\\",\\\"name\\\":\\\"redirect if demo.omm.org\\\",\\\"statusCode\\\":\\\"301\\\",\\\"headers\\\":{\\\"Location\\\":\\\"/omm\\\"},\\\"x\\\":747,\\\"y\\\":153,\\\"wires\\\":[]},{\\\"id\\\":\\\"9d78a06220c7c8d8\\\",\\\"type\\\":\\\"http response\\\",\\\"z\\\":\\\"1f980ab215b3d38b\\\",\\\"g\\\":\\\"ef8e132ea7cfb169\\\",\\\"name\\\":\\\"NOT FOUND everything else\\\",\\\"statusCode\\\":\\\"404\\\",\\\"headers\\\":{},\\\"x\\\":754,\\\"y\\\":195,\\\"wires\\\":[]},{\\\"id\\\":\\\"a43ab9aa8a80e60a\\\",\\\"type\\\":\\\"http in\\\",\\\"z\\\":\\\"1f980ab215b3d38b\\\",\\\"g\\\":\\\"ef8e132ea7cfb169\\\",\\\"name\\\":\\\"\\\",\\\"url\\\":\\\"/blog/:name\\\",\\\"method\\\":\\\"get\\\",\\\"upload\\\":false,\\\"swaggerDoc\\\":\\\"\\\",\\\"x\\\":129,\\\"y\\\":200,\\\"wires\\\":[[\\\"74524fd544d06041\\\"]]},{\\\"id\\\":\\\"b6e61b1f9f246701\\\",\\\"type\\\":\\\"http in\\\",\\\"z\\\":\\\"1f980ab215b3d38b\\\",\\\"g\\\":\\\"ef8e132ea7cfb169\\\",\\\"name\\\":\\\"\\\",\\\"url\\\":\\\"/:name\\\",\\\"method\\\":\\\"get\\\",\\\"upload\\\":false,\\\"swaggerDoc\\\":\\\"\\\",\\\"x\\\":119,\\\"y\\\":252,\\\"wires\\\":[[\\\"74524fd544d06041\\\"]]}]\",\"output\":\"str\",\"x\":748,\"y\":1143,\"wires\":[[\"968121829ec13f89\"]]},{\"id\":\"968121829ec13f89\",\"type\":\"template\",\"z\":\"3b1289d7ccf9cb0f\",\"name\":\"flowexample4\",\"field\":\"flowexample4\",\"fieldType\":\"msg\",\"format\":\"handlebars\",\"syntax\":\"mustache\",\"template\":\"\",\"output\":\"str\",\"x\":840,\"y\":1200,\"wires\":[[\"af750fbb1cba639d\"]]}]",
"output": "str",
"x": 1331.1785888671875,
"y": 2515.25,
"wires": [
[
"0634f8d5676fc70d"
]
]
},
{
"id": "0634f8d5676fc70d",
"type": "template",
"z": "3b1289d7ccf9cb0f",
"g": "61aca6c3c1dd26ad",
"name": "flowexample5",
"field": "flowexample5",
"fieldType": "msg",
"format": "handlebars",
"syntax": "plain",
"template": "[{\"id\":\"e3e278445b7bcb21\",\"type\":\"subflow\",\"name\":\"BlogPageEndsHere\",\"info\":\"\",\"category\":\"\",\"in\":[{\"x\":132,\"y\":215,\"wires\":[{\"id\":\"b2f270b15349b67c\"}]}],\"out\":[],\"env\":[],\"meta\":{},\"color\":\"#ddeeff\",\"icon\":\"font-awesome/fa-hand-stop-o\"},{\"id\":\"627f98bbc0ea4f8b\",\"type\":\"link out\",\"z\":\"e3e278445b7bcb21\",\"name\":\"link out 77\",\"mode\":\"return\",\"links\":[],\"x\":1328,\"y\":306,\"wires\":[]},{\"id\":\"408189fb7a17ba8b\",\"type\":\"switch\",\"z\":\"e3e278445b7bcb21\",\"name\":\"has _linkSource - is this a link-call action\",\"property\":\"_linkSource\",\"propertyType\":\"msg\",\"rules\":[{\"t\":\"nnull\"},{\"t\":\"else\"}],\"checkall\":\"true\",\"repair\":false,\"outputs\":2,\"x\":1002,\"y\":403,\"wires\":[[\"627f98bbc0ea4f8b\"],[]]},{\"id\":\"2a2cc4ef4e7704b4\",\"type\":\"template\",\"z\":\"e3e278445b7bcb21\",\"name\":\"\",\"field\":\"payload\",\"fieldType\":\"msg\",\"format\":\"handlebars\",\"syntax\":\"mustache\",\"template\":\"\",\"output\":\"str\",\"x\":545,\"y\":632,\"wires\":[[\"408189fb7a17ba8b\"]]},{\"id\":\"693c46a206c026a4\",\"type\":\"change\",\"z\":\"e3e278445b7bcb21\",\"name\":\"\",\"rules\":[{\"t\":\"set\",\"p\":\"template\",\"pt\":\"msg\",\"to\":\"payload\",\"tot\":\"msg\"}],\"action\":\"\",\"property\":\"\",\"from\":\"\",\"to\":\"\",\"reg\":false,\"x\":474,\"y\":510,\"wires\":[[\"2a2cc4ef4e7704b4\"]]},{\"id\":\"b2f270b15349b67c\",\"type\":\"switch\",\"z\":\"e3e278445b7bcb21\",\"name\":\"\",\"property\":\"page.noderedjson\",\"propertyType\":\"msg\",\"rules\":[{\"t\":\"true\"},{\"t\":\"else\"}],\"checkall\":\"false\",\"repair\":false,\"outputs\":2,\"x\":374,\"y\":408,\"wires\":[[\"408189fb7a17ba8b\"],[\"693c46a206c026a4\"]]},{\"id\":\"f161221e2ee84846\",\"type\":\"BlogPageInfo\",\"z\":\"e88020583c022170\",\"name\":\"\",\"image\":\"1687952972847_Screen_Shot_2023-06-28_at_13.48.43.png\",\"summary\":\"Codeblocks are one thing but images are further a thousand Json files. Show me your flow!\",\"title\":\"Replacing Node-RED flow codeblocks with flow images.\",\"publishedAt\":\"2023-06-28T11:22\",\"updatedAt\":\"2023-06-28T11:22\",\"incRss\":true,\"incSitemap\":true,\"incIndex\":true,\"shrLinkedIn\":true,\"supportNodeRedJson\":true,\"reloadOnEdit\":false,\"redirectToNode\":false,\"redirectNodeId\":\"status-404\",\"redirectStatusCode\":\"301\",\"x\":374.71435546875,\"y\":1339,\"wires\":[[\"49c3561cfc3bf8b3\"]]},{\"id\":\"e0bcd8d7b8245c21\",\"type\":\"link in\",\"z\":\"e88020583c022170\",\"name\":\"[blog] backticks-in-markdown-and-node-red\",\"links\":[],\"x\":204,\"y\":1389,\"wires\":[[\"f161221e2ee84846\"]]},{\"id\":\"49c3561cfc3bf8b3\",\"type\":\"template\",\"z\":\"e88020583c022170\",\"name\":\"flow example 1\",\"field\":\"flowexample1\",\"fieldType\":\"msg\",\"format\":\"handlebars\",\"syntax\":\"plain\",\"template\":\"\",\"output\":\"str\",\"x\":660,\"y\":1425,\"wires\":[[\"724cc1e0b9b56983\"]]},{\"id\":\"f9ea3058dc703eee\",\"type\":\"BlogPageInfo\",\"z\":\"e88020583c022170\",\"name\":\"\",\"image\":\"\",\"summary\":\"Can I replace codeblocks of flows.json with images?\",\"title\":\"Testing the inclusion and replacement of codeblocks\",\"publishedAt\":\"2023-06-25T11:22\",\"updatedAt\":\"2023-06-25T11:22\",\"incRss\":false,\"incSitemap\":false,\"incIndex\":false,\"shrLinkedIn\":false,\"supportNodeRedJson\":true,\"reloadOnEdit\":false,\"redirectToNode\":false,\"redirectNodeId\":\"status-404\",\"redirectStatusCode\":\"301\",\"x\":403.71435546875,\"y\":1478,\"wires\":[[\"49c3561cfc3bf8b3\"]]},{\"id\":\"724cc1e0b9b56983\",\"type\":\"template\",\"z\":\"e88020583c022170\",\"name\":\"flowexample2\",\"field\":\"flowexample2\",\"fieldType\":\"msg\",\"format\":\"handlebars\",\"syntax\":\"plain\",\"template\":\"\",\"output\":\"str\",\"x\":857,\"y\":1370,\"wires\":[[\"d8b85c4b0a441b4d\"]]},{\"id\":\"8b702bc007cf0e3e\",\"type\":\"link in\",\"z\":\"e88020583c022170\",\"name\":\"[blog] codeblock-test\",\"links\":[],\"x\":204,\"y\":1424,\"wires\":[[\"f9ea3058dc703eee\"]]},{\"id\":\"d8b85c4b0a441b4d\",\"type\":\"template\",\"z\":\"e88020583c022170\",\"name\":\"flowexample3\",\"field\":\"flowexample3\",\"fieldType\":\"msg\",\"format\":\"handlebars\",\"syntax\":\"plain\",\"template\":\"\",\"output\":\"str\",\"x\":1029,\"y\":1433,\"wires\":[[\"23f9f3582f3172b6\"]]},{\"id\":\"23f9f3582f3172b6\",\"type\":\"template\",\"z\":\"e88020583c022170\",\"name\":\"flowexample4\",\"field\":\"flowexample4\",\"fieldType\":\"msg\",\"format\":\"handlebars\",\"syntax\":\"plain\",\"template\":\"\",\"output\":\"str\",\"x\":1235,\"y\":1378,\"wires\":[[\"22e594991d0092af\"]]},{\"id\":\"22e594991d0092af\",\"type\":\"template\",\"z\":\"e88020583c022170\",\"name\":\"flowexample5\",\"field\":\"flowexample5\",\"fieldType\":\"msg\",\"format\":\"handlebars\",\"syntax\":\"plain\",\"template\":\"\",\"output\":\"str\",\"x\":1411,\"y\":1443,\"wires\":[[\"8ffa9d87efff1d51\"]]},{\"id\":\"8ffa9d87efff1d51\",\"type\":\"template\",\"z\":\"e88020583c022170\",\"name\":\"flowexample6\",\"field\":\"flowexample6\",\"fieldType\":\"msg\",\"format\":\"handlebars\",\"syntax\":\"plain\",\"template\":\"\",\"output\":\"str\",\"x\":1592,\"y\":1385,\"wires\":[[\"7c3cbb557ff5b93d\"]]},{\"id\":\"7c3cbb557ff5b93d\",\"type\":\"template\",\"z\":\"e88020583c022170\",\"name\":\"flowexample7\",\"field\":\"flowexample7\",\"fieldType\":\"msg\",\"format\":\"handlebars\",\"syntax\":\"plain\",\"template\":\"\",\"output\":\"str\",\"x\":1740,\"y\":1443,\"wires\":[[\"d9667d3144e93adb\"]]},{\"id\":\"d9667d3144e93adb\",\"type\":\"template\",\"z\":\"e88020583c022170\",\"name\":\".md page\",\"field\":\"payload\",\"fieldType\":\"msg\",\"format\":\"markdown\",\"syntax\":\"mustache\",\"template\":\"\",\"output\":\"str\",\"x\":1092,\"y\":1737,\"wires\":[[\"d3f10882a0773e9b\"]]},{\"id\":\"d3f10882a0773e9b\",\"type\":\"subflow:e3e278445b7bcb21\",\"z\":\"e88020583c022170\",\"name\":\"\",\"x\":1089,\"y\":1797,\"wires\":[]}]",
"output": "str",
"x": 727.3214111328125,
"y": 2598.75,
"wires": [
[
"300c6e7b72c46791"
]
]
},
{
"id": "0c3702db8e3df5d0",
"type": "BlogPageInfo",
"z": "3b1289d7ccf9cb0f",
"g": "61aca6c3c1dd26ad",
"name": "",
"image": "1687952972847_Screen_Shot_2023-06-28_at_13.48.43.png",
"summary": "Codeblocks are one thing but images are further a thousand Json files. Show me your flow!",
"title": "Replacing Node-RED flow codeblocks with flow images.",
"tags": "",
"publishedAt": "2023-06-28T11:22",
"updatedOn": "2023-07-03T19:43",
"incRss": true,
"incSitemap": true,
"incIndex": true,
"draft": false,
"shrHackerNews": true,
"shrLinkedIn": true,
"supportNodeRedJson": true,
"reloadOnEdit": false,
"editbutton": false,
"redirectToNode": false,
"redirectNodeId": "status-404",
"redirectStatusCode": "301",
"x": 296.46435546875,
"y": 2515.75,
"wires": [
[
"275db9d959888e89"
]
]
},
{
"id": "300c6e7b72c46791",
"type": "template",
"z": "3b1289d7ccf9cb0f",
"g": "61aca6c3c1dd26ad",
"name": "flowexample6",
"field": "flowexample6",
"fieldType": "msg",
"format": "handlebars",
"syntax": "plain",
"template": "[{\"id\":\"3287a0ac2d2a237b\",\"type\":\"link in\",\"z\":\"fa990486a351d7f4\",\"name\":\"[blog] embedded-flow.html\",\"links\":[],\"x\":197,\"y\":107,\"wires\":[[\"0771f05ddd5c7e3e\"]]},{\"id\":\"0771f05ddd5c7e3e\",\"type\":\"BlogPageInfo\",\"z\":\"fa990486a351d7f4\",\"name\":\"\",\"image\":\"\",\"summary\":\"Can I generate html directly without using markdown markup?\",\"title\":\"This is a test of something new\",\"publishedAt\":\"2023-06-25T11:22\",\"updatedAt\":\"2023-06-25T11:22\",\"incRss\":false,\"incSitemap\":false,\"incIndex\":false,\"shrLinkedIn\":false,\"reloadOnEdit\":false,\"redirectToNode\":false,\"redirectNodeId\":\"status-404\",\"redirectStatusCode\":\"301\",\"x\":393.71437072753906,\"y\":107,\"wires\":[[\"f9b99c65087dc03e\"]]},{\"id\":\"996205845bf2ce3f\",\"type\":\"link out\",\"z\":\"fa990486a351d7f4\",\"name\":\"link out 80\",\"mode\":\"return\",\"links\":[],\"x\":1239.0002040863037,\"y\":100.42859363555908,\"wires\":[]},{\"id\":\"714495cf05a320bf\",\"type\":\"switch\",\"z\":\"fa990486a351d7f4\",\"name\":\"has _linkSource - is this a link-call action\",\"property\":\"_linkSource\",\"propertyType\":\"msg\",\"rules\":[{\"t\":\"nnull\"},{\"t\":\"else\"}],\"checkall\":\"true\",\"repair\":false,\"outputs\":2,\"x\":948.8573913574219,\"y\":106.85715389251709,\"wires\":[[\"996205845bf2ce3f\"],[]]},{\"id\":\"f9b99c65087dc03e\",\"type\":\"template\",\"z\":\"fa990486a351d7f4\",\"name\":\"v1\",\"field\":\"payload\",\"fieldType\":\"msg\",\"format\":\"javascript\",\"syntax\":\"mustache\",\"template\":\"\",\"output\":\"str\",\"x\":629.4287910461426,\"y\":107,\"wires\":[[\"714495cf05a320bf\"]]},{\"id\":\"b6b29c169ced0dc4\",\"type\":\"link in\",\"z\":\"fa990486a351d7f4\",\"name\":\"[blog] embedded-flow-v2.html\",\"links\":[],\"x\":197,\"y\":166.57143306732178,\"wires\":[[\"755725b937fd9621\"]]},{\"id\":\"755725b937fd9621\",\"type\":\"BlogPageInfo\",\"z\":\"fa990486a351d7f4\",\"name\":\"\",\"image\":\"\",\"summary\":\"Can I generate html directly without using markdown markup?\",\"title\":\"This is a test of something new\",\"publishedAt\":\"2023-06-25T11:22\",\"updatedAt\":\"2023-06-25T11:22\",\"incRss\":false,\"incSitemap\":false,\"incIndex\":false,\"shrLinkedIn\":false,\"reloadOnEdit\":false,\"redirectToNode\":false,\"redirectNodeId\":\"status-404\",\"redirectStatusCode\":\"301\",\"x\":403.71437072753906,\"y\":166.57143306732178,\"wires\":[[\"eb04b257022ae729\"]]},{\"id\":\"eb04b257022ae729\",\"type\":\"template\",\"z\":\"fa990486a351d7f4\",\"name\":\"v2\",\"field\":\"payload\",\"fieldType\":\"msg\",\"format\":\"javascript\",\"syntax\":\"mustache\",\"template\":\"\",\"output\":\"str\",\"x\":629.4287910461426,\"y\":166.57143306732178,\"wires\":[[\"714495cf05a320bf\"]]},{\"id\":\"b03d9f123a9903ca\",\"type\":\"template\",\"z\":\"fa990486a351d7f4\",\"name\":\"v3\",\"field\":\"payload\",\"fieldType\":\"msg\",\"format\":\"javascript\",\"syntax\":\"mustache\",\"template\":\"\",\"output\":\"str\",\"x\":629.4287910461426,\"y\":222.28577327728271,\"wires\":[[\"714495cf05a320bf\"]]},{\"id\":\"f660e24f4f9d210d\",\"type\":\"link in\",\"z\":\"fa990486a351d7f4\",\"name\":\"[blog] embedded-flow-v3.html\",\"links\":[],\"x\":197,\"y\":222.28577327728271,\"wires\":[[\"ae8f25da7d7893fc\"]]},{\"id\":\"ae8f25da7d7893fc\",\"type\":\"BlogPageInfo\",\"z\":\"fa990486a351d7f4\",\"name\":\"\",\"image\":\"\",\"summary\":\"Can I generate html directly without using markdown markup?\",\"title\":\"This is a test of something new\",\"publishedAt\":\"2023-06-25T11:22\",\"updatedAt\":\"2023-06-25T11:22\",\"incRss\":false,\"incSitemap\":false,\"incIndex\":false,\"shrLinkedIn\":false,\"reloadOnEdit\":false,\"redirectToNode\":false,\"redirectNodeId\":\"status-404\",\"redirectStatusCode\":\"301\",\"x\":403.71437072753906,\"y\":222.28577327728271,\"wires\":[[\"b03d9f123a9903ca\"]]},{\"id\":\"f0cec8e4f35dbc99\",\"type\":\"http in\",\"z\":\"fa990486a351d7f4\",\"name\":\"\",\"url\":\"/embed/helpers.js\",\"method\":\"get\",\"upload\":false,\"swaggerDoc\":\"\",\"x\":533.571418762207,\"y\":877.7143468856812,\"wires\":[[\"dd80e50a71271b27\"]]},{\"id\":\"d5631179afc237dc\",\"type\":\"http response\",\"z\":\"fa990486a351d7f4\",\"name\":\"js\",\"statusCode\":\"\",\"headers\":{\"content-type\":\"application/javascript; charset=utf-8\"},\"x\":1879.571418762207,\"y\":878.7143468856812,\"wires\":[]},{\"id\":\"dd80e50a71271b27\",\"type\":\"template\",\"z\":\"fa990486a351d7f4\",\"name\":\"\",\"field\":\"payload\",\"fieldType\":\"msg\",\"format\":\"javascript\",\"syntax\":\"mustache\",\"template\":\"\",\"output\":\"str\",\"x\":1703.571418762207,\"y\":878.7143468856812,\"wires\":[[\"d5631179afc237dc\"]]},{\"id\":\"ac22dd3a10ca8a7a\",\"type\":\"template\",\"z\":\"fa990486a351d7f4\",\"name\":\"complete js content\",\"field\":\"payload\",\"fieldType\":\"msg\",\"format\":\"javascript\",\"syntax\":\"mustache\",\"template\":\"\",\"output\":\"str\",\"x\":1555.571418762207,\"y\":1097.7143468856812,\"wires\":[[\"d5631179afc237dc\"]]},{\"id\":\"e1e9d52f873f0f5b\",\"type\":\"template\",\"z\":\"fa990486a351d7f4\",\"name\":\"jsColoursByType\",\"field\":\"jsColoursByType\",\"fieldType\":\"msg\",\"format\":\"javascript\",\"syntax\":\"mustache\",\"template\":\"\",\"output\":\"str\",\"x\":855.571418762207,\"y\":941.7143468856812,\"wires\":[[\"36cee437c1931ff7\"]]},{\"id\":\"f9a2c229e54e7c1a\",\"type\":\"http in\",\"z\":\"fa990486a351d7f4\",\"name\":\"\",\"url\":\"/embed/helpers-v4.js\",\"method\":\"get\",\"upload\":false,\"swaggerDoc\":\"\",\"x\":543.571418762207,\"y\":942.7143468856812,\"wires\":[[\"e1e9d52f873f0f5b\"]]},{\"id\":\"36cee437c1931ff7\",\"type\":\"template\",\"z\":\"fa990486a351d7f4\",\"name\":\"jsUtilsGetNodeSelector\",\"field\":\"jsUtilsGetNodeSelector\",\"fieldType\":\"msg\",\"format\":\"javascript\",\"syntax\":\"mustache\",\"template\":\"\",\"output\":\"str\",\"x\":875.571418762207,\"y\":981.7143468856812,\"wires\":[[\"b101d34ec03a821c\"]]},{\"id\":\"b101d34ec03a821c\",\"type\":\"template\",\"z\":\"fa990486a351d7f4\",\"name\":\"jsGenerateLinkPath\",\"field\":\"jsGenerateLinkPath\",\"fieldType\":\"msg\",\"format\":\"javascript\",\"syntax\":\"mustache\",\"template\":\"\",\"output\":\"str\",\"x\":855.571418762207,\"y\":1021.7143468856812,\"wires\":[[\"75fb6789236f48df\"]]},{\"id\":\"d6db970006d87875\",\"type\":\"template\",\"z\":\"fa990486a351d7f4\",\"name\":\"jsRenderFlow - v4\",\"field\":\"jsRenderFlow\",\"fieldType\":\"msg\",\"format\":\"javascript\",\"syntax\":\"mustache\",\"template\":\"\",\"output\":\"str\",\"x\":1269.571418762207,\"y\":1048.7143468856812,\"wires\":[[\"ac22dd3a10ca8a7a\"]]},{\"id\":\"66af842428cf1829\",\"type\":\"template\",\"z\":\"fa990486a351d7f4\",\"name\":\"v4\",\"field\":\"payload\",\"fieldType\":\"msg\",\"format\":\"html\",\"syntax\":\"mustache\",\"template\":\"\",\"output\":\"str\",\"x\":629.4287910461426,\"y\":287.2857732772827,\"wires\":[[\"714495cf05a320bf\"]]},{\"id\":\"859109e5f2acb4e2\",\"type\":\"link in\",\"z\":\"fa990486a351d7f4\",\"name\":\"[blog] embedded-flow-v4.html\",\"links\":[],\"x\":197,\"y\":287.2857732772827,\"wires\":[[\"b3b58ff6a8dede2a\"]]},{\"id\":\"b3b58ff6a8dede2a\",\"type\":\"BlogPageInfo\",\"z\":\"fa990486a351d7f4\",\"name\":\"\",\"image\":\"\",\"summary\":\"Can I generate html directly without using markdown markup?\",\"title\":\"This is a test of something new\",\"publishedAt\":\"2023-06-25T11:22\",\"updatedAt\":\"2023-06-25T11:22\",\"incRss\":false,\"incSitemap\":false,\"incIndex\":false,\"shrLinkedIn\":false,\"reloadOnEdit\":false,\"redirectToNode\":false,\"redirectNodeId\":\"status-404\",\"redirectStatusCode\":\"301\",\"x\":403.71437072753906,\"y\":287.2857732772827,\"wires\":[[\"66af842428cf1829\"]]},{\"id\":\"75fb6789236f48df\",\"type\":\"template\",\"z\":\"fa990486a351d7f4\",\"name\":\"jsLabelUtils\",\"field\":\"jsLabelUtils\",\"fieldType\":\"msg\",\"format\":\"javascript\",\"syntax\":\"mustache\",\"template\":\"\",\"output\":\"str\",\"x\":834.571418762207,\"y\":1063.7143468856812,\"wires\":[[\"ee74e71603896290\"]]},{\"id\":\"f68eb4ac92f2416b\",\"type\":\"http in\",\"z\":\"fa990486a351d7f4\",\"name\":\"\",\"url\":\"/embed/helpers-v5.js\",\"method\":\"get\",\"upload\":false,\"swaggerDoc\":\"\",\"x\":543.571418762207,\"y\":1000.7143468856812,\"wires\":[[\"e1e9d52f873f0f5b\"]]},{\"id\":\"ee74e71603896290\",\"type\":\"switch\",\"z\":\"fa990486a351d7f4\",\"name\":\"\",\"property\":\"req.route.path\",\"propertyType\":\"msg\",\"rules\":[{\"t\":\"regex\",\"v\":\"v4\\\\.js$\",\"vt\":\"str\",\"case\":false},{\"t\":\"regex\",\"v\":\"v5\\\\.js$\",\"vt\":\"str\",\"case\":false},{\"t\":\"regex\",\"v\":\"v6\\\\.js$\",\"vt\":\"str\",\"case\":false},{\"t\":\"regex\",\"v\":\"v7\\\\.js$\",\"vt\":\"str\",\"case\":false},{\"t\":\"regex\",\"v\":\"v8\\\\.js$\",\"vt\":\"str\",\"case\":false},{\"t\":\"regex\",\"v\":\"v9\\\\.js$\",\"vt\":\"str\",\"case\":false}],\"checkall\":\"false\",\"repair\":false,\"outputs\":6,\"x\":1029.571418762207,\"y\":1127.7143468856812,\"wires\":[[\"d6db970006d87875\"],[\"f6adde966139457a\"],[\"4e28f7e5936ef6d7\"],[\"6088b6915f67e507\"],[\"abd4a979676a9088\"],[\"6088b6915f67e507\"]]},{\"id\":\"092c9e55a4787172\",\"type\":\"template\",\"z\":\"fa990486a351d7f4\",\"name\":\"v5\",\"field\":\"payload\",\"fieldType\":\"msg\",\"format\":\"javascript\",\"syntax\":\"mustache\",\"template\":\"\",\"output\":\"str\",\"x\":634.571418762207,\"y\":349.71434688568115,\"wires\":[[\"714495cf05a320bf\"]]},{\"id\":\"f360b35c4b1460d8\",\"type\":\"link in\",\"z\":\"fa990486a351d7f4\",\"name\":\"[blog] embedded-flow-v5.html\",\"links\":[],\"x\":202.14262771606445,\"y\":349.71434688568115,\"wires\":[[\"af62934ece609c34\"]]},{\"id\":\"af62934ece609c34\",\"type\":\"BlogPageInfo\",\"z\":\"fa990486a351d7f4\",\"name\":\"\",\"image\":\"\",\"summary\":\"Can I generate html directly without using markdown markup?\",\"title\":\"This is a test of something new\",\"publishedAt\":\"2023-06-25T11:22\",\"updatedAt\":\"2023-06-25T11:22\",\"incRss\":false,\"incSitemap\":false,\"incIndex\":false,\"shrLinkedIn\":false,\"reloadOnEdit\":false,\"redirectToNode\":false,\"redirectNodeId\":\"status-404\",\"redirectStatusCode\":\"301\",\"x\":408.8569984436035,\"y\":349.71434688568115,\"wires\":[[\"092c9e55a4787172\"]]},{\"id\":\"f6adde966139457a\",\"type\":\"template\",\"z\":\"fa990486a351d7f4\",\"name\":\"jsRenderFlow - v5\",\"field\":\"jsRenderFlow\",\"fieldType\":\"msg\",\"format\":\"javascript\",\"syntax\":\"mustache\",\"template\":\"\",\"output\":\"str\",\"x\":1270.571418762207,\"y\":1099.7143468856812,\"wires\":[[\"ac22dd3a10ca8a7a\"]]},{\"id\":\"7be8ff2bc6dfd549\",\"type\":\"http in\",\"z\":\"fa990486a351d7f4\",\"name\":\"\",\"url\":\"/embed/helpers.css\",\"method\":\"get\",\"upload\":false,\"swaggerDoc\":\"\",\"x\":543.571418762207,\"y\":812.7143468856812,\"wires\":[[\"16ec47cfaf4f5426\"]]},{\"id\":\"ad579a790a31d908\",\"type\":\"http response\",\"z\":\"fa990486a351d7f4\",\"name\":\"css\",\"statusCode\":\"200\",\"headers\":{\"content-type\":\"text/css\"},\"x\":1044.571418762207,\"y\":812.7143468856812,\"wires\":[]},{\"id\":\"16ec47cfaf4f5426\",\"type\":\"template\",\"z\":\"fa990486a351d7f4\",\"name\":\"basic styling\",\"field\":\"payload\",\"fieldType\":\"msg\",\"format\":\"css\",\"syntax\":\"mustache\",\"template\":\"\",\"output\":\"str\",\"x\":840.571418762207,\"y\":812.7143468856812,\"wires\":[[\"ad579a790a31d908\"]]},{\"id\":\"4f0b969b37876989\",\"type\":\"link in\",\"z\":\"fa990486a351d7f4\",\"name\":\"[blog] codeblock-test\",\"links\":[],\"x\":266.57141876220703,\"y\":1639.7143468856812,\"wires\":[[\"ea637b2ce7e48ce9\"]]},{\"id\":\"ea637b2ce7e48ce9\",\"type\":\"BlogPageInfo\",\"z\":\"fa990486a351d7f4\",\"name\":\"\",\"image\":\"\",\"summary\":\"Can I replace codeblocks of flows.json with images?\",\"title\":\"Testing the inclusion and replacement of codeblocks\",\"publishedAt\":\"2023-06-25T11:22\",\"updatedAt\":\"2023-06-25T11:22\",\"incRss\":false,\"incSitemap\":false,\"incIndex\":false,\"shrLinkedIn\":true,\"supportNodeRedJson\":true,\"reloadOnEdit\":false,\"redirectToNode\":false,\"redirectNodeId\":\"status-404\",\"redirectStatusCode\":\"301\",\"x\":509.28577423095703,\"y\":1639.7143468856812,\"wires\":[[\"097d04d398ea4c66\"]]},{\"id\":\"a943b1f59b6f617b\",\"type\":\"http in\",\"z\":\"fa990486a351d7f4\",\"name\":\"\",\"url\":\"/embed/helpers-v6.js\",\"method\":\"get\",\"upload\":false,\"swaggerDoc\":\"\",\"x\":544.571418762207,\"y\":1071.7143468856812,\"wires\":[[\"e1e9d52f873f0f5b\"]]},{\"id\":\"4e28f7e5936ef6d7\",\"type\":\"template\",\"z\":\"fa990486a351d7f4\",\"name\":\"jsRenderFlow - v6\",\"field\":\"jsRenderFlow\",\"fieldType\":\"msg\",\"format\":\"javascript\",\"syntax\":\"mustache\",\"template\":\"\",\"output\":\"str\",\"x\":1271.571418762207,\"y\":1160.7143468856812,\"wires\":[[\"c37952730d57c5a4\"]]},{\"id\":\"c37952730d57c5a4\",\"type\":\"template\",\"z\":\"fa990486a351d7f4\",\"name\":\"complete js content\",\"field\":\"payload\",\"fieldType\":\"msg\",\"format\":\"javascript\",\"syntax\":\"mustache\",\"template\":\"\",\"output\":\"str\",\"x\":1563.571418762207,\"y\":1214.7143468856812,\"wires\":[[\"d5631179afc237dc\"]]},{\"id\":\"d5525ca53c469c75\",\"type\":\"http in\",\"z\":\"fa990486a351d7f4\",\"name\":\"\",\"url\":\"/embed/helpers-v7.js\",\"method\":\"get\",\"upload\":false,\"swaggerDoc\":\"\",\"x\":548.571418762207,\"y\":1134.7143468856812,\"wires\":[[\"e1e9d52f873f0f5b\"]]},{\"id\":\"a631368aa97d4e8b\",\"type\":\"link out\",\"z\":\"fa990486a351d7f4\",\"name\":\"link out 83\",\"mode\":\"return\",\"links\":[],\"x\":2214.571418762207,\"y\":1682.7143468856812,\"wires\":[]},{\"id\":\"bc9a57e1232b6afa\",\"type\":\"switch\",\"z\":\"fa990486a351d7f4\",\"name\":\"has _linkSource - is this a link-call action\",\"property\":\"_linkSource\",\"propertyType\":\"msg\",\"rules\":[{\"t\":\"nnull\"},{\"t\":\"else\"}],\"checkall\":\"true\",\"repair\":false,\"outputs\":2,\"x\":1859.428596496582,\"y\":1689.1429357528687,\"wires\":[[\"a631368aa97d4e8b\"],[]]},{\"id\":\"a3cbccaeff13d666\",\"type\":\"template\",\"z\":\"fa990486a351d7f4\",\"name\":\".md page\",\"field\":\"payload\",\"fieldType\":\"msg\",\"format\":\"markdown\",\"syntax\":\"mustache\",\"template\":\"\",\"output\":\"str\",\"x\":1572.571418762207,\"y\":1689.7143468856812,\"wires\":[[\"bc9a57e1232b6afa\"]]},{\"id\":\"097d04d398ea4c66\",\"type\":\"template\",\"z\":\"fa990486a351d7f4\",\"name\":\"flow example 1\",\"field\":\"flowexample1\",\"fieldType\":\"msg\",\"format\":\"handlebars\",\"syntax\":\"plain\",\"template\":\"\",\"output\":\"str\",\"x\":763.571418762207,\"y\":1692.7143468856812,\"wires\":[[\"e18f0e6a54e39f22\"]]},{\"id\":\"e18f0e6a54e39f22\",\"type\":\"template\",\"z\":\"fa990486a351d7f4\",\"name\":\"flowexample2\",\"field\":\"flowexample2\",\"fieldType\":\"msg\",\"format\":\"handlebars\",\"syntax\":\"plain\",\"template\":\"\",\"output\":\"str\",\"x\":918.571418762207,\"y\":1776.7143468856812,\"wires\":[[\"4f84f6937ef60497\"]]},{\"id\":\"4f84f6937ef60497\",\"type\":\"template\",\"z\":\"fa990486a351d7f4\",\"name\":\"flowexample3\",\"field\":\"flowexample3\",\"fieldType\":\"msg\",\"format\":\"handlebars\",\"syntax\":\"plain\",\"template\":\"\",\"output\":\"str\",\"x\":1059.571418762207,\"y\":1849.7143468856812,\"wires\":[[\"0a0ba7ec8625eb0b\"]]},{\"id\":\"0a0ba7ec8625eb0b\",\"type\":\"template\",\"z\":\"fa990486a351d7f4\",\"name\":\"flowexample4\",\"field\":\"flowexample4\",\"fieldType\":\"msg\",\"format\":\"handlebars\",\"syntax\":\"plain\",\"template\":\"\",\"output\":\"str\",\"x\":1241.571418762207,\"y\":1925.7143468856812,\"wires\":[[\"bd91742d746c4d5b\"]]},{\"id\":\"3ae3d00f0bda7482\",\"type\":\"template\",\"z\":\"fa990486a351d7f4\",\"name\":\"jsRenderFlow - v7\",\"field\":\"jsRenderFlow\",\"fieldType\":\"msg\",\"format\":\"javascript\",\"syntax\":\"mustache\",\"template\":\"\",\"output\":\"str\",\"x\":1268.571418762207,\"y\":1214.7143468856812,\"wires\":[[\"c37952730d57c5a4\"]]},{\"id\":\"bd91742d746c4d5b\",\"type\":\"template\",\"z\":\"fa990486a351d7f4\",\"name\":\"flowexample5\",\"field\":\"flowexample5\",\"fieldType\":\"msg\",\"format\":\"handlebars\",\"syntax\":\"plain\",\"template\":\"\",\"output\":\"str\",\"x\":1425.571418762207,\"y\":1994.7143468856812,\"wires\":[[\"a3cbccaeff13d666\"]]},{\"id\":\"cd12a091665dd5f2\",\"type\":\"link in\",\"z\":\"fa990486a351d7f4\",\"name\":\"[blog] backticks-in-markdown-and-node-red\",\"links\":[],\"x\":180.57141876220703,\"y\":1725.7143468856812,\"wires\":[[\"8da95fc4288b26d9\"]]},{\"id\":\"8da95fc4288b26d9\",\"type\":\"BlogPageInfo\",\"z\":\"fa990486a351d7f4\",\"name\":\"\",\"image\":\"1687952972847_Screen_Shot_2023-06-28_at_13.48.43.png\",\"summary\":\"Codeblocks are one thing but images are further a thousand Json files. Show me your flow!\",\"title\":\"Replacing Node-RED flow codeblocks with flow images.\",\"publishedAt\":\"2023-06-28T11:22\",\"updatedAt\":\"2023-06-28T11:22\",\"incRss\":true,\"incSitemap\":true,\"incIndex\":true,\"shrLinkedIn\":true,\"supportNodeRedJson\":true,\"reloadOnEdit\":true,\"redirectToNode\":false,\"redirectNodeId\":\"status-404\",\"redirectStatusCode\":\"301\",\"x\":412.28577423095703,\"y\":1725.7143468856812,\"wires\":[[\"097d04d398ea4c66\"]]},{\"id\":\"abd4a979676a9088\",\"type\":\"template\",\"z\":\"fa990486a351d7f4\",\"name\":\"jsRenderFlow - v8\",\"field\":\"jsRenderFlow\",\"fieldType\":\"msg\",\"format\":\"javascript\",\"syntax\":\"mustache\",\"template\":\"\",\"output\":\"str\",\"x\":1269.571418762207,\"y\":1265.7143468856812,\"wires\":[[\"c37952730d57c5a4\"]]},{\"id\":\"18f2cbabeac6fdf8\",\"type\":\"http in\",\"z\":\"fa990486a351d7f4\",\"name\":\"\",\"url\":\"/embed/helpers-v8.js\",\"method\":\"get\",\"upload\":false,\"swaggerDoc\":\"\",\"x\":547.571418762207,\"y\":1227.7143468856812,\"wires\":[[\"e1e9d52f873f0f5b\"]]},{\"id\":\"f6a192d1d1cd8646\",\"type\":\"template\",\"z\":\"fa990486a351d7f4\",\"name\":\"v8\",\"field\":\"payload\",\"fieldType\":\"msg\",\"format\":\"javascript\",\"syntax\":\"mustache\",\"template\":\"\",\"output\":\"str\",\"x\":637.571418762207,\"y\":418.71434688568115,\"wires\":[[\"714495cf05a320bf\"]]},{\"id\":\"e177926e2c030177\",\"type\":\"link in\",\"z\":\"fa990486a351d7f4\",\"name\":\"[blog] embedded-flow-v8.html\",\"links\":[],\"x\":205.14262771606445,\"y\":418.71434688568115,\"wires\":[[\"f92265840d383980\"]]},{\"id\":\"f92265840d383980\",\"type\":\"BlogPageInfo\",\"z\":\"fa990486a351d7f4\",\"name\":\"\",\"image\":\"\",\"summary\":\"Can I generate html directly without using markdown markup?\",\"title\":\"This is a test of something new\",\"publishedAt\":\"2023-06-25T11:22\",\"updatedAt\":\"2023-06-25T11:22\",\"incRss\":false,\"incSitemap\":false,\"incIndex\":false,\"shrLinkedIn\":false,\"supportNodeRedJson\":false,\"reloadOnEdit\":false,\"redirectToNode\":false,\"redirectNodeId\":\"status-404\",\"redirectStatusCode\":\"301\",\"x\":411.8569984436035,\"y\":418.71434688568115,\"wires\":[[\"f6a192d1d1cd8646\"]]},{\"id\":\"6088b6915f67e507\",\"type\":\"template\",\"z\":\"fa990486a351d7f4\",\"name\":\"jsRenderFlow - v9\",\"field\":\"jsRenderFlow\",\"fieldType\":\"msg\",\"format\":\"javascript\",\"syntax\":\"mustache\",\"template\":\"\",\"output\":\"str\",\"x\":1267.571418762207,\"y\":1318.7143468856812,\"wires\":[[\"c37952730d57c5a4\"]]},{\"id\":\"a0ce6ff5b4194687\",\"type\":\"http in\",\"z\":\"fa990486a351d7f4\",\"name\":\"\",\"url\":\"/embed/helpers-v9.js\",\"method\":\"get\",\"upload\":false,\"swaggerDoc\":\"\",\"x\":537.571418762207,\"y\":1297.7143468856812,\"wires\":[[\"e1e9d52f873f0f5b\"]]},{\"id\":\"5529c827c2ddd554\",\"type\":\"template\",\"z\":\"fa990486a351d7f4\",\"name\":\"v9\",\"field\":\"payload\",\"fieldType\":\"msg\",\"format\":\"javascript\",\"syntax\":\"mustache\",\"template\":\"\",\"output\":\"str\",\"x\":630.571418762207,\"y\":496.71434688568115,\"wires\":[[\"714495cf05a320bf\"]]},{\"id\":\"a96e7d5a3f2a3b3f\",\"type\":\"link in\",\"z\":\"fa990486a351d7f4\",\"name\":\"[blog] embedded-flow-v9.html\",\"links\":[],\"x\":198.14262771606445,\"y\":496.71434688568115,\"wires\":[[\"c70cc9c6437dc797\"]]},{\"id\":\"c70cc9c6437dc797\",\"type\":\"BlogPageInfo\",\"z\":\"fa990486a351d7f4\",\"name\":\"\",\"image\":\"\",\"summary\":\"Can I generate html directly without using markdown markup?\",\"title\":\"This is a test of something new\",\"publishedAt\":\"2023-06-25T11:22\",\"updatedAt\":\"2023-06-25T11:22\",\"incRss\":false,\"incSitemap\":false,\"incIndex\":false,\"shrLinkedIn\":false,\"supportNodeRedJson\":false,\"reloadOnEdit\":true,\"redirectToNode\":false,\"redirectNodeId\":\"status-404\",\"redirectStatusCode\":\"301\",\"x\":414.8569984436035,\"y\":496.71434688568115,\"wires\":[[\"5529c827c2ddd554\"]]}]",
"output": "str",
"x": 968.4642333984375,
"y": 2598.75,
"wires": [
[
"abd683b88834358e"
]
]
},
{
"id": "abd683b88834358e",
"type": "template",
"z": "3b1289d7ccf9cb0f",
"g": "61aca6c3c1dd26ad",
"name": "flowexample7",
"field": "flowexample7",
"fieldType": "msg",
"format": "handlebars",
"syntax": "plain",
"template": "[{\"id\":\"e3e278445b7bcb21\",\"type\":\"subflow\",\"name\":\"BlogPageEndsHere\",\"info\":\"\",\"category\":\"\",\"in\":[{\"x\":132,\"y\":215,\"wires\":[{\"id\":\"b2f270b15349b67c\"}]}],\"out\":[],\"env\":[],\"meta\":{},\"color\":\"#ddeeff\",\"icon\":\"font-awesome/fa-hand-stop-o\"},{\"id\":\"627f98bbc0ea4f8b\",\"type\":\"link out\",\"z\":\"e3e278445b7bcb21\",\"name\":\"link out 77\",\"mode\":\"return\",\"links\":[],\"x\":1328,\"y\":306,\"wires\":[]},{\"id\":\"408189fb7a17ba8b\",\"type\":\"switch\",\"z\":\"e3e278445b7bcb21\",\"name\":\"has _linkSource - is this a link-call action\",\"property\":\"_linkSource\",\"propertyType\":\"msg\",\"rules\":[{\"t\":\"nnull\"},{\"t\":\"else\"}],\"checkall\":\"true\",\"repair\":false,\"outputs\":2,\"x\":1002,\"y\":403,\"wires\":[[\"627f98bbc0ea4f8b\"],[]]},{\"id\":\"2a2cc4ef4e7704b4\",\"type\":\"template\",\"z\":\"e3e278445b7bcb21\",\"name\":\"\",\"field\":\"payload\",\"fieldType\":\"msg\",\"format\":\"handlebars\",\"syntax\":\"mustache\",\"template\":\"\",\"output\":\"str\",\"x\":545,\"y\":632,\"wires\":[[\"408189fb7a17ba8b\"]]},{\"id\":\"693c46a206c026a4\",\"type\":\"change\",\"z\":\"e3e278445b7bcb21\",\"name\":\"\",\"rules\":[{\"t\":\"set\",\"p\":\"template\",\"pt\":\"msg\",\"to\":\"payload\",\"tot\":\"msg\"}],\"action\":\"\",\"property\":\"\",\"from\":\"\",\"to\":\"\",\"reg\":false,\"x\":474,\"y\":510,\"wires\":[[\"2a2cc4ef4e7704b4\"]]},{\"id\":\"b2f270b15349b67c\",\"type\":\"switch\",\"z\":\"e3e278445b7bcb21\",\"name\":\"\",\"property\":\"page.noderedjson\",\"propertyType\":\"msg\",\"rules\":[{\"t\":\"true\"},{\"t\":\"else\"}],\"checkall\":\"false\",\"repair\":false,\"outputs\":2,\"x\":374,\"y\":408,\"wires\":[[\"408189fb7a17ba8b\"],[\"693c46a206c026a4\"]]},{\"id\":\"82a04eeec5d1ec39\",\"type\":\"link in\",\"z\":\"04fab8edd0e8f2df\",\"name\":\"[blog] backticks-in-markdown-and-node-red\",\"links\":[],\"x\":434,\"y\":292,\"wires\":[[\"cc439de6514717e7\"]]},{\"id\":\"cc439de6514717e7\",\"type\":\"BlogPageInfo\",\"z\":\"04fab8edd0e8f2df\",\"name\":\"\",\"image\":\"1687952972847_Screen_Shot_2023-06-28_at_13.48.43.png\",\"summary\":\"Codeblocks are one thing but images are further a thousand Json files. Show me your flow!\",\"title\":\"Replacing Node-RED flow codeblocks with flow images.\",\"publishedAt\":\"2023-06-28T11:22\",\"updatedAt\":\"2023-06-28T11:22\",\"incRss\":true,\"incSitemap\":true,\"incIndex\":true,\"shrLinkedIn\":true,\"supportNodeRedJson\":true,\"reloadOnEdit\":false,\"redirectToNode\":false,\"redirectNodeId\":\"status-404\",\"redirectStatusCode\":\"301\",\"x\":1075.71435546875,\"y\":448,\"wires\":[[\"be61a774e4c6d75e\"]]},{\"id\":\"be61a774e4c6d75e\",\"type\":\"template\",\"z\":\"04fab8edd0e8f2df\",\"name\":\"flow example 1\",\"field\":\"flowexample1\",\"fieldType\":\"msg\",\"format\":\"handlebars\",\"syntax\":\"plain\",\"template\":\"\",\"output\":\"str\",\"x\":998,\"y\":563,\"wires\":[[\"db01f2dab4fa12ab\"]]},{\"id\":\"ac8306319a302f0c\",\"type\":\"BlogPageInfo\",\"z\":\"04fab8edd0e8f2df\",\"name\":\"\",\"image\":\"\",\"summary\":\"Can I replace codeblocks of flows.json with images?\",\"title\":\"Testing the inclusion and replacement of codeblocks\",\"publishedAt\":\"2023-06-25T11:22\",\"updatedAt\":\"2023-06-25T11:22\",\"incRss\":false,\"incSitemap\":false,\"incIndex\":false,\"shrLinkedIn\":false,\"supportNodeRedJson\":true,\"reloadOnEdit\":false,\"redirectToNode\":false,\"redirectNodeId\":\"status-404\",\"redirectStatusCode\":\"301\",\"x\":1077.71435546875,\"y\":544,\"wires\":[[\"be61a774e4c6d75e\"]]},{\"id\":\"db01f2dab4fa12ab\",\"type\":\"template\",\"z\":\"04fab8edd0e8f2df\",\"name\":\"flowexample2\",\"field\":\"flowexample2\",\"fieldType\":\"msg\",\"format\":\"handlebars\",\"syntax\":\"plain\",\"template\":\"\",\"output\":\"str\",\"x\":991,\"y\":467,\"wires\":[[\"440887f5bfa191c9\"]]},{\"id\":\"24767f8be515eebe\",\"type\":\"link in\",\"z\":\"04fab8edd0e8f2df\",\"name\":\"[blog] codeblock-test\",\"links\":[],\"x\":432,\"y\":336,\"wires\":[[\"ac8306319a302f0c\"]]},{\"id\":\"440887f5bfa191c9\",\"type\":\"template\",\"z\":\"04fab8edd0e8f2df\",\"name\":\"flowexample3\",\"field\":\"flowexample3\",\"fieldType\":\"msg\",\"format\":\"handlebars\",\"syntax\":\"plain\",\"template\":\"\",\"output\":\"str\",\"x\":1218,\"y\":534,\"wires\":[[\"03989336aea86433\"]]},{\"id\":\"03989336aea86433\",\"type\":\"template\",\"z\":\"04fab8edd0e8f2df\",\"name\":\"flowexample4\",\"field\":\"flowexample4\",\"fieldType\":\"msg\",\"format\":\"handlebars\",\"syntax\":\"plain\",\"template\":\"\",\"output\":\"str\",\"x\":1151,\"y\":491,\"wires\":[[\"01dae03d9ec9694f\"]]},{\"id\":\"01dae03d9ec9694f\",\"type\":\"template\",\"z\":\"04fab8edd0e8f2df\",\"name\":\"flowexample5\",\"field\":\"flowexample5\",\"fieldType\":\"msg\",\"format\":\"handlebars\",\"syntax\":\"plain\",\"template\":\"\",\"output\":\"str\",\"x\":1043,\"y\":507,\"wires\":[[\"33bfba9a9fcd9e58\"]]},{\"id\":\"33bfba9a9fcd9e58\",\"type\":\"template\",\"z\":\"04fab8edd0e8f2df\",\"name\":\"flowexample6\",\"field\":\"flowexample6\",\"fieldType\":\"msg\",\"format\":\"handlebars\",\"syntax\":\"plain\",\"template\":\"\",\"output\":\"str\",\"x\":1205,\"y\":472,\"wires\":[[\"930cf2c0b7cbc504\"]]},{\"id\":\"930cf2c0b7cbc504\",\"type\":\"template\",\"z\":\"04fab8edd0e8f2df\",\"name\":\".md page\",\"field\":\"payload\",\"fieldType\":\"msg\",\"format\":\"markdown\",\"syntax\":\"mustache\",\"template\":\"\",\"output\":\"str\",\"x\":1158,\"y\":550,\"wires\":[[\"e6cc075cbd12d4ef\"]]},{\"id\":\"e6cc075cbd12d4ef\",\"type\":\"subflow:e3e278445b7bcb21\",\"z\":\"04fab8edd0e8f2df\",\"name\":\"\",\"x\":1645,\"y\":425,\"wires\":[]}]",
"output": "str",
"x": 1216.607177734375,
"y": 2598.75,
"wires": [
[
"e6277b8ff18ec7d2"
]
]
},
{
"id": "42bd7bcf28046432",
"type": "switch",
"z": "3b1289d7ccf9cb0f",
"name": "",
"property": "req.params.name",
"propertyType": "msg",
"rules": [
{
"t": "regex",
"v": "beta\\.js$",
"vt": "str",
"case": false
},
{
"t": "else"
}
],
"checkall": "false",
"repair": false,
"outputs": 2,
"x": 1082,
"y": 1883,
"wires": [
[
"9a4513ce542f7bf6"
],
[
"ed9563748e6f1088"
]
]
},
{
"id": "0bba66323dec9bec",
"type": "template",
"z": "3b1289d7ccf9cb0f",
"name": "v11",
"field": "payload",
"fieldType": "msg",
"format": "text",
"syntax": "mustache",
"template": "<!DOCTYPE html>\n<html lang=\"en\">\n <head>\n <meta charset=\"UTF-8\">\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n\n <title>Flow Embeddation</title>\n\n <link rel=\"alternate\" type=\"application/rss+xml\" href=\"/feed.xml\" title=\"Subscribe to Blog Open Mind Map Org\">\n <link rel=\"sitemap\" type=\"application/xml\" title=\"Sitemap\" href=\"/sitemap.xml\">\n\n <link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"/f/i/apple-touch-icon.png\">\n <link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/f/i/favicon-32x32.png\">\n <link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/f/i/favicon-16x16.png\">\n <link rel=\"manifest\" href=\"/f/site.webmanifest\">\n\n <script src=\"https://cdn.openmindmap.org/embed/jquery-3.7.0.min.js\" crossorigin=\"anonymous\" referrerpolicy=\"no-referrer\"></script>\n <script src=\"/embed/flowviewer-beta.js?cb={{ _msgid }}\" crossorigin=\"anonymous\" referrerpolicy=\"no-referrer\"></script>\n <link rel=\"stylesheet\" href=\"/embed/flowviewer-beta.css\">\n </head>\n\n <body>\n {{{ payload }}}\n </body>\n\n\n <script>\n\n $(function(){\n replaceCodeBlocksWithNodeRedFlowImages();\n });\n </script>\n\n\n{{#page.reload}}\n <!-- debug aid: reload page when I deploy Node-RED - don't need to explicitly reload any changes -->\n<script>\n var socket = undefined;\n\nfunction initSocket() {\n // Connection opened\n socket = new WebSocket(\"wss://blog.openmindmap.org/cmds\");\n\n socket.onclose = function() {\n initSocket();\n };\n\n // Listen for messages\n socket.addEventListener(\"message\", (event) => {\n if ( event.data == \"reload\") {\n window.location.reload();\n }\n });\n};\n\ndocument.addEventListener(\"DOMContentLoaded\", initSocket );\n</script>\n{{/page.reload}}\n\n</html>\n\n\n\n\n\n",
"output": "str",
"x": 1718,
"y": 973,
"wires": [
[
"8a027a1eec82ec7c"
]
]
},
{
"id": "c9f84af019d2f91a",
"type": "link in",
"z": "3b1289d7ccf9cb0f",
"name": "[blog] embedded-flow-v11.html",
"links": [],
"x": 146,
"y": 680,
"wires": [
[
"dfd9dd3216809508"
]
]
},
{
"id": "dfd9dd3216809508",
"type": "BlogPageInfo",
"z": "3b1289d7ccf9cb0f",
"name": "",
"image": "",
"summary": "Can I generate html directly without using markdown markup?",
"title": "This is a test of something new",
"publishedAt": "2023-06-25T11:22",
"incRss": false,
"incSitemap": false,
"incIndex": false,
"shrLinkedIn": false,
"supportNodeRedJson": false,
"reloadOnEdit": true,
"redirectToNode": false,
"redirectNodeId": "status-404",
"redirectStatusCode": "301",
"x": 347.2855796813965,
"y": 680,
"wires": [
[
"8f2aeaa296dffda0"
]
]
},
{
"id": "8f2aeaa296dffda0",
"type": "template",
"z": "3b1289d7ccf9cb0f",
"name": "flow example 1",
"field": "flowexample1",
"fieldType": "msg",
"format": "handlebars",
"syntax": "plain",
"template": "[{\"id\":\"548238136ca436ac\",\"type\":\"link in\",\"z\":\"652104ea8724facc\",\"name\":\"[blog] embedded-flow.html\",\"links\":[],\"x\":538,\"y\":482,\"wires\":[[\"6c47c59cbbbecdf5\"]]},{\"id\":\"6c47c59cbbbecdf5\",\"type\":\"BlogPageInfo\",\"z\":\"652104ea8724facc\",\"name\":\"\",\"image\":\"\",\"summary\":\"Can I generate html directly without using markdown markup?\",\"title\":\"This is a test of something new\",\"publishedAt\":\"2023-06-25T11:22\",\"updatedAt\":\"2023-06-25T11:22\",\"incRss\":false,\"incSitemap\":false,\"incIndex\":false,\"shrLinkedIn\":false,\"reloadOnEdit\":false,\"redirectToNode\":false,\"redirectNodeId\":\"status-404\",\"redirectStatusCode\":\"301\",\"x\":734.7143707275391,\"y\":482,\"wires\":[[\"64c749a71e14498a\"]]},{\"id\":\"99a631acf3d6c5bf\",\"type\":\"link out\",\"z\":\"652104ea8724facc\",\"name\":\"link out 80\",\"mode\":\"return\",\"links\":[],\"x\":1580.0002040863037,\"y\":475.4285936355591,\"wires\":[]},{\"id\":\"b360b1072d4d72fa\",\"type\":\"switch\",\"z\":\"652104ea8724facc\",\"name\":\"has _linkSource - is this a link-call action\",\"property\":\"_linkSource\",\"propertyType\":\"msg\",\"rules\":[{\"t\":\"nnull\"},{\"t\":\"else\"}],\"checkall\":\"true\",\"repair\":false,\"outputs\":2,\"x\":1289.8573913574219,\"y\":481.8571538925171,\"wires\":[[\"99a631acf3d6c5bf\"],[]]},{\"id\":\"64c749a71e14498a\",\"type\":\"template\",\"z\":\"652104ea8724facc\",\"name\":\"v1\",\"field\":\"payload\",\"fieldType\":\"msg\",\"format\":\"javascript\",\"syntax\":\"mustache\",\"template\":\"\",\"output\":\"str\",\"x\":970.4287910461426,\"y\":482,\"wires\":[[\"b360b1072d4d72fa\"]]},{\"id\":\"f0de398e3cfa056a\",\"type\":\"link in\",\"z\":\"652104ea8724facc\",\"name\":\"[blog] embedded-flow-v2.html\",\"links\":[],\"x\":538,\"y\":541.5714330673218,\"wires\":[[\"b116c37cd891a5e7\"]]},{\"id\":\"b116c37cd891a5e7\",\"type\":\"BlogPageInfo\",\"z\":\"652104ea8724facc\",\"name\":\"\",\"image\":\"\",\"summary\":\"Can I generate html directly without using markdown markup?\",\"title\":\"This is a test of something new\",\"publishedAt\":\"2023-06-25T11:22\",\"updatedAt\":\"2023-06-25T11:22\",\"incRss\":false,\"incSitemap\":false,\"incIndex\":false,\"shrLinkedIn\":false,\"reloadOnEdit\":false,\"redirectToNode\":false,\"redirectNodeId\":\"status-404\",\"redirectStatusCode\":\"301\",\"x\":744.7143707275391,\"y\":541.5714330673218,\"wires\":[[\"861c435f7685cf55\"]]},{\"id\":\"861c435f7685cf55\",\"type\":\"template\",\"z\":\"652104ea8724facc\",\"name\":\"v2\",\"field\":\"payload\",\"fieldType\":\"msg\",\"format\":\"javascript\",\"syntax\":\"mustache\",\"template\":\"\",\"output\":\"str\",\"x\":970.4287910461426,\"y\":541.5714330673218,\"wires\":[[\"b360b1072d4d72fa\"]]},{\"id\":\"951cf6e2f214b95b\",\"type\":\"template\",\"z\":\"652104ea8724facc\",\"name\":\"v3\",\"field\":\"payload\",\"fieldType\":\"msg\",\"format\":\"javascript\",\"syntax\":\"mustache\",\"template\":\"\",\"output\":\"str\",\"x\":970.4287910461426,\"y\":597.2857732772827,\"wires\":[[\"b360b1072d4d72fa\"]]},{\"id\":\"7885fd1e6f944103\",\"type\":\"link in\",\"z\":\"652104ea8724facc\",\"name\":\"[blog] embedded-flow-v3.html\",\"links\":[],\"x\":538,\"y\":597.2857732772827,\"wires\":[[\"382f5f013b6f9a3b\"]]},{\"id\":\"382f5f013b6f9a3b\",\"type\":\"BlogPageInfo\",\"z\":\"652104ea8724facc\",\"name\":\"\",\"image\":\"\",\"summary\":\"Can I generate html directly without using markdown markup?\",\"title\":\"This is a test of something new\",\"publishedAt\":\"2023-06-25T11:22\",\"updatedAt\":\"2023-06-25T11:22\",\"incRss\":false,\"incSitemap\":false,\"incIndex\":false,\"shrLinkedIn\":false,\"reloadOnEdit\":false,\"redirectToNode\":false,\"redirectNodeId\":\"status-404\",\"redirectStatusCode\":\"301\",\"x\":744.7143707275391,\"y\":597.2857732772827,\"wires\":[[\"951cf6e2f214b95b\"]]},{\"id\":\"7b05f3f671073181\",\"type\":\"template\",\"z\":\"652104ea8724facc\",\"name\":\"v4\",\"field\":\"payload\",\"fieldType\":\"msg\",\"format\":\"html\",\"syntax\":\"mustache\",\"template\":\"\",\"output\":\"str\",\"x\":970.4287910461426,\"y\":662.2857732772827,\"wires\":[[\"b360b1072d4d72fa\"]]},{\"id\":\"3952279c3016c957\",\"type\":\"link in\",\"z\":\"652104ea8724facc\",\"name\":\"[blog] embedded-flow-v4.html\",\"links\":[],\"x\":538,\"y\":662.2857732772827,\"wires\":[[\"295d018b67f438b9\"]]},{\"id\":\"295d018b67f438b9\",\"type\":\"BlogPageInfo\",\"z\":\"652104ea8724facc\",\"name\":\"\",\"image\":\"\",\"summary\":\"Can I generate html directly without using markdown markup?\",\"title\":\"This is a test of something new\",\"publishedAt\":\"2023-06-25T11:22\",\"updatedAt\":\"2023-06-25T11:22\",\"incRss\":false,\"incSitemap\":false,\"incIndex\":false,\"shrLinkedIn\":false,\"reloadOnEdit\":false,\"redirectToNode\":false,\"redirectNodeId\":\"status-404\",\"redirectStatusCode\":\"301\",\"x\":744.7143707275391,\"y\":662.2857732772827,\"wires\":[[\"7b05f3f671073181\"]]},{\"id\":\"747018dc4b0adf33\",\"type\":\"template\",\"z\":\"652104ea8724facc\",\"name\":\"v5\",\"field\":\"payload\",\"fieldType\":\"msg\",\"format\":\"javascript\",\"syntax\":\"mustache\",\"template\":\"\",\"output\":\"str\",\"x\":975.571418762207,\"y\":724.7143468856812,\"wires\":[[\"b360b1072d4d72fa\"]]},{\"id\":\"317130644c24a056\",\"type\":\"link in\",\"z\":\"652104ea8724facc\",\"name\":\"[blog] embedded-flow-v5.html\",\"links\":[],\"x\":543.1426277160645,\"y\":724.7143468856812,\"wires\":[[\"afca478f73a8601e\"]]},{\"id\":\"afca478f73a8601e\",\"type\":\"BlogPageInfo\",\"z\":\"652104ea8724facc\",\"name\":\"\",\"image\":\"\",\"summary\":\"Can I generate html directly without using markdown markup?\",\"title\":\"This is a test of something new\",\"publishedAt\":\"2023-06-25T11:22\",\"updatedAt\":\"2023-06-25T11:22\",\"incRss\":false,\"incSitemap\":false,\"incIndex\":false,\"shrLinkedIn\":false,\"reloadOnEdit\":false,\"redirectToNode\":false,\"redirectNodeId\":\"status-404\",\"redirectStatusCode\":\"301\",\"x\":749.8569984436035,\"y\":724.7143468856812,\"wires\":[[\"747018dc4b0adf33\"]]}]",
"output": "str",
"x": 934,
"y": 726,
"wires": [
[
"dde84047ce656ff1"
]
]
},
{
"id": "dde84047ce656ff1",
"type": "template",
"z": "3b1289d7ccf9cb0f",
"name": "flowexample2",
"field": "flowexample2",
"fieldType": "msg",
"format": "handlebars",
"syntax": "plain",
"template": "[{\"id\":\"d598829cba783cad\",\"type\":\"GetFlows\",\"z\":\"f13d3b083d5cc429\",\"name\":\"\",\"flowVersion\":\"v1\",\"useAuthentication\":false,\"apiUsername\":\"\",\"apiUsernameType\":\"env\",\"apiPassword\":\"\",\"apiPasswordType\":\"env\",\"x\":349,\"y\":301,\"wires\":[[\"ddce7325bdba57d8\"]]},{\"id\":\"c507dd73478a26af\",\"type\":\"inject\",\"z\":\"f13d3b083d5cc429\",\"name\":\"\",\"props\":[{\"p\":\"payload\"},{\"p\":\"topic\",\"vt\":\"str\"}],\"repeat\":\"7200\",\"crontab\":\"\",\"once\":false,\"onceDelay\":0.1,\"topic\":\"\",\"payload\":\"\",\"payloadType\":\"date\",\"x\":199,\"y\":181,\"wires\":[[\"d598829cba783cad\"]]},{\"id\":\"67b77f304303cb27\",\"type\":\"http request\",\"z\":\"f13d3b083d5cc429\",\"name\":\"send off to backup server\",\"method\":\"POST\",\"ret\":\"txt\",\"paytoqs\":\"ignore\",\"url\":\"\",\"tls\":\"\",\"persist\":false,\"proxy\":\"\",\"insecureHTTPParser\":false,\"authType\":\"\",\"senderr\":false,\"headers\":[],\"x\":1119,\"y\":181,\"wires\":[[]]},{\"id\":\"ddce7325bdba57d8\",\"type\":\"change\",\"z\":\"f13d3b083d5cc429\",\"name\":\"setup payload for zip node\",\"rules\":[{\"t\":\"set\",\"p\":\"_p\",\"pt\":\"msg\",\"to\":\"[]\",\"tot\":\"json\"},{\"t\":\"set\",\"p\":\"_p[0]\",\"pt\":\"msg\",\"to\":\"{ \\\"filename\\\": \\\"openmindmap_flows.json\\\", \\\"payload\\\": \\\"\\\" }\",\"tot\":\"json\"},{\"t\":\"set\",\"p\":\"_p[0].payload\",\"pt\":\"msg\",\"to\":\"payload\",\"tot\":\"msg\"},{\"t\":\"set\",\"p\":\"token\",\"pt\":\"msg\",\"to\":\"BACKUP_ZIP_TOKEN\",\"tot\":\"env\"},{\"t\":\"set\",\"p\":\"_p[1]\",\"pt\":\"msg\",\"to\":\"{ \\\"filename\\\": \\\"token.txt\\\", \\\"payload\\\": \\\"\\\" & token & \\\"\\\" }\",\"tot\":\"jsonata\"},{\"t\":\"set\",\"p\":\"payload\",\"pt\":\"msg\",\"to\":\"_p\",\"tot\":\"msg\"},{\"t\":\"set\",\"p\":\"url\",\"pt\":\"msg\",\"to\":\"BACKUP_ENDPOINT\",\"tot\":\"env\"}],\"action\":\"\",\"property\":\"\",\"from\":\"\",\"to\":\"\",\"reg\":false,\"x\":549,\"y\":401,\"wires\":[[\"1f879c968f033a26\"]]},{\"id\":\"1f879c968f033a26\",\"type\":\"zip\",\"z\":\"f13d3b083d5cc429\",\"name\":\"\",\"mode\":\"compress\",\"filename\":\"backup.zip\",\"compressionlevel\":\"9\",\"outasstring\":false,\"x\":769,\"y\":401,\"wires\":[[\"53808fa58e1aa543\"]]},{\"id\":\"53808fa58e1aa543\",\"type\":\"base64\",\"z\":\"f13d3b083d5cc429\",\"name\":\"\",\"action\":\"\",\"property\":\"payload\",\"x\":929,\"y\":301,\"wires\":[[\"67b77f304303cb27\"]]}]",
"output": "str",
"x": 1191,
"y": 664,
"wires": [
[
"7ab5d8ddeab7e0be"
]
]
},
{
"id": "7ab5d8ddeab7e0be",
"type": "template",
"z": "3b1289d7ccf9cb0f",
"name": "flowexample3",
"field": "flowexample3",
"fieldType": "msg",
"format": "handlebars",
"syntax": "plain",
"template": "[{\"id\":\"e2ec7bbe752d60b0\",\"type\":\"BlogDetails\",\"z\":\"184fd5793b8d906c\",\"name\":\"Open Mind Map Blog Configuration\",\"authorName\":\"Gregorius Rippenstein\",\"authorEmail\":\"gregorius@rippenstein.art\",\"authorUrl\":\"https://gregorius.rippenstein.art\",\"blogUrl\":\"https://blog.openmindmap.org\",\"blogPathPrefix\":\"/blog\",\"blogTitle\":\"Open Mind Map Blog\",\"blogSubtitle\":\"Global mind-map for a global world.\",\"blogCopyrightOwner\":\"Open Mind-Map Org.\",\"x\":818,\"y\":906.5,\"wires\":[[\"85a8755de2d6ae5c\"]]},{\"id\":\"1956265f7f508d04\",\"type\":\"group\",\"z\":\"184fd5793b8d906c\",\"name\":\"ensure correct domain\",\"style\":{\"label\":true,\"fill\":\"#bfc7d7\",\"fill-opacity\":\"0.71\",\"color\":\"#000000\"},\"nodes\":[\"26b099616f74f352\",\"42795f82c29b8583\",\"1f0ea79587166fdd\",\"6f6d63b5fa995b5c\",\"1d1325b68a7cac1e\",\"cdaeb49728432c46\"],\"x\":163,\"y\":136,\"w\":877,\"h\":189.5},{\"id\":\"26b099616f74f352\",\"type\":\"switch\",\"z\":\"184fd5793b8d906c\",\"g\":\"1956265f7f508d04\",\"name\":\"check hostname\",\"property\":\"req.hostname\",\"propertyType\":\"msg\",\"rules\":[{\"t\":\"eq\",\"v\":\"blog.openmindmap.org\",\"vt\":\"str\"},{\"t\":\"eq\",\"v\":\"demo.openmindmap.org\",\"vt\":\"str\"},{\"t\":\"else\"}],\"checkall\":\"false\",\"repair\":false,\"outputs\":3,\"x\":533,\"y\":184.5,\"wires\":[[\"e2ec7bbe752d60b0\"],[\"1f0ea79587166fdd\"],[\"6f6d63b5fa995b5c\"]]},{\"id\":\"42795f82c29b8583\",\"type\":\"http in\",\"z\":\"184fd5793b8d906c\",\"g\":\"1956265f7f508d04\",\"name\":\"\",\"url\":\"/\",\"method\":\"get\",\"upload\":false,\"swaggerDoc\":\"\",\"x\":239,\"y\":184.5,\"wires\":[[\"26b099616f74f352\"]]},{\"id\":\"1f0ea79587166fdd\",\"type\":\"http response\",\"z\":\"184fd5793b8d906c\",\"g\":\"1956265f7f508d04\",\"name\":\"redirect if demo.omm.org\",\"statusCode\":\"301\",\"headers\":{\"Location\":\"/omm\"},\"x\":887,\"y\":185.5,\"wires\":[]},{\"id\":\"6f6d63b5fa995b5c\",\"type\":\"http response\",\"z\":\"184fd5793b8d906c\",\"g\":\"1956265f7f508d04\",\"name\":\"NOT FOUND everything else\",\"statusCode\":\"404\",\"headers\":{},\"x\":894,\"y\":227.5,\"wires\":[]},{\"id\":\"1d1325b68a7cac1e\",\"type\":\"http in\",\"z\":\"184fd5793b8d906c\",\"g\":\"1956265f7f508d04\",\"name\":\"\",\"url\":\"/blog/:name\",\"method\":\"get\",\"upload\":false,\"swaggerDoc\":\"\",\"x\":269,\"y\":232.5,\"wires\":[[\"26b099616f74f352\"]]},{\"id\":\"cdaeb49728432c46\",\"type\":\"http in\",\"z\":\"184fd5793b8d906c\",\"g\":\"1956265f7f508d04\",\"name\":\"\",\"url\":\"/:name\",\"method\":\"get\",\"upload\":false,\"swaggerDoc\":\"\",\"x\":259,\"y\":284.5,\"wires\":[[\"26b099616f74f352\"]]},{\"id\":\"95389d39f5c53d23\",\"type\":\"group\",\"z\":\"184fd5793b8d906c\",\"name\":\"map path to blog content\",\"style\":{\"label\":true,\"stroke\":\"#000000\",\"color\":\"#000000\"},\"nodes\":[\"85c463f82c547140\",\"32bb06dfab9a9529\",\"85a8755de2d6ae5c\",\"7fa818203cac5402\",\"71c533e01539c3d3\",\"180d18e4931a5ace\",\"0d6c29c07f300c15\",\"f4781993f9dc4130\",\"b41e2620ed591a2d\",\"a4bf3e5ac7c74343\",\"5d0edf716dc5c6b5\"],\"x\":1182,\"y\":790.5,\"w\":2129,\"h\":264},{\"id\":\"85c463f82c547140\",\"type\":\"template\",\"z\":\"184fd5793b8d906c\",\"g\":\"95389d39f5c53d23\",\"name\":\"HTML Layout\",\"field\":\"payload\",\"fieldType\":\"msg\",\"format\":\"handlebars\",\"syntax\":\"mustache\",\"template\":\"\",\"output\":\"str\",\"x\":3035,\"y\":1013.5,\"wires\":[[\"32bb06dfab9a9529\"]]},{\"id\":\"32bb06dfab9a9529\",\"type\":\"http response\",\"z\":\"184fd5793b8d906c\",\"g\":\"95389d39f5c53d23\",\"name\":\"\",\"statusCode\":\"200\",\"headers\":{},\"x\":3225,\"y\":932.5,\"wires\":[]},{\"id\":\"85a8755de2d6ae5c\",\"type\":\"switch\",\"z\":\"184fd5793b8d906c\",\"g\":\"95389d39f5c53d23\",\"name\":\"Path handling\",\"property\":\"req.params.name\",\"propertyType\":\"msg\",\"rules\":[{\"t\":\"eq\",\"v\":\"apple-touch-icon.png\",\"vt\":\"str\"},{\"t\":\"eq\",\"v\":\"favicon.ico\",\"vt\":\"str\"},{\"t\":\"eq\",\"v\":\"sitemap.xml\",\"vt\":\"str\"},{\"t\":\"eq\",\"v\":\"feed.xml\",\"vt\":\"str\"},{\"t\":\"eq\",\"v\":\"rss.xml\",\"vt\":\"str\"},{\"t\":\"eq\",\"v\":\"index\",\"vt\":\"str\"},{\"t\":\"eq\",\"v\":\"blog\",\"vt\":\"str\"},{\"t\":\"nnull\"},{\"t\":\"else\"}],\"checkall\":\"false\",\"repair\":false,\"outputs\":9,\"x\":1288,\"y\":906.5,\"wires\":[[],[],[],[],[],[\"7fa818203cac5402\"],[\"0d6c29c07f300c15\"],[\"7fa818203cac5402\"],[\"0d6c29c07f300c15\"]]},{\"id\":\"7fa818203cac5402\",\"type\":\"change\",\"z\":\"184fd5793b8d906c\",\"g\":\"95389d39f5c53d23\",\"name\":\"set page target: \\\"[blog] <name>\\\"\",\"rules\":[{\"t\":\"set\",\"p\":\"target\",\"pt\":\"msg\",\"to\":\"\\\"[blog] \\\" & msg.req.params.name\",\"tot\":\"jsonata\"}],\"action\":\"\",\"property\":\"\",\"from\":\"\",\"to\":\"\",\"reg\":false,\"x\":1638,\"y\":886.5,\"wires\":[[\"71c533e01539c3d3\"]]},{\"id\":\"71c533e01539c3d3\",\"type\":\"link call\",\"z\":\"184fd5793b8d906c\",\"g\":\"95389d39f5c53d23\",\"name\":\"generate page content\",\"links\":[],\"linkType\":\"dynamic\",\"timeout\":\"5\",\"x\":1941,\"y\":951.5,\"wires\":[[\"f4781993f9dc4130\"]]},{\"id\":\"180d18e4931a5ace\",\"type\":\"markdown\",\"z\":\"184fd5793b8d906c\",\"g\":\"95389d39f5c53d23\",\"name\":\"Markdown to HTML\",\"x\":2794,\"y\":1013.5,\"wires\":[[\"85c463f82c547140\"]]},{\"id\":\"0d6c29c07f300c15\",\"type\":\"change\",\"z\":\"184fd5793b8d906c\",\"g\":\"95389d39f5c53d23\",\"name\":\"target: \\\"[blog] index\\\"\",\"rules\":[{\"t\":\"set\",\"p\":\"target\",\"pt\":\"msg\",\"to\":\"[blog] index\",\"tot\":\"str\"}],\"action\":\"\",\"property\":\"\",\"from\":\"\",\"to\":\"\",\"reg\":false,\"x\":1598,\"y\":951.5,\"wires\":[[\"71c533e01539c3d3\"]]},{\"id\":\"f4781993f9dc4130\",\"type\":\"switch\",\"z\":\"184fd5793b8d906c\",\"g\":\"95389d39f5c53d23\",\"name\":\"ignore redirects\",\"property\":\"statusCode\",\"propertyType\":\"msg\",\"rules\":[{\"t\":\"eq\",\"v\":\"301\",\"vt\":\"num\"},{\"t\":\"eq\",\"v\":\"302\",\"vt\":\"num\"},{\"t\":\"else\"}],\"checkall\":\"false\",\"repair\":false,\"outputs\":3,\"x\":2152,\"y\":951.5,\"wires\":[[],[],[\"b41e2620ed591a2d\"]]},{\"id\":\"b41e2620ed591a2d\",\"type\":\"switch\",\"z\":\"184fd5793b8d906c\",\"g\":\"95389d39f5c53d23\",\"name\":\"path extension is '.html'?\",\"property\":\"page.path\",\"propertyType\":\"msg\",\"rules\":[{\"t\":\"regex\",\"v\":\"\\\\.html$\",\"vt\":\"str\",\"case\":true},{\"t\":\"else\"}],\"checkall\":\"false\",\"repair\":false,\"outputs\":2,\"x\":2524,\"y\":831.5,\"wires\":[[\"32bb06dfab9a9529\"],[\"a4bf3e5ac7c74343\"]]},{\"id\":\"a4bf3e5ac7c74343\",\"type\":\"switch\",\"z\":\"184fd5793b8d906c\",\"g\":\"95389d39f5c53d23\",\"name\":\"is msg.htmlcontent set?\",\"property\":\"htmlcontent\",\"propertyType\":\"msg\",\"rules\":[{\"t\":\"nnull\"},{\"t\":\"else\"}],\"checkall\":\"false\",\"repair\":false,\"outputs\":2,\"x\":2526,\"y\":935.5,\"wires\":[[\"5d0edf716dc5c6b5\"],[\"180d18e4931a5ace\"]]},{\"id\":\"5d0edf716dc5c6b5\",\"type\":\"change\",\"z\":\"184fd5793b8d906c\",\"g\":\"95389d39f5c53d23\",\"name\":\"\",\"rules\":[{\"t\":\"set\",\"p\":\"payload\",\"pt\":\"msg\",\"to\":\"htmlcontent\",\"tot\":\"msg\"}],\"action\":\"\",\"property\":\"\",\"from\":\"\",\"to\":\"\",\"reg\":false,\"x\":2863,\"y\":929.5,\"wires\":[[\"32bb06dfab9a9529\"]]}]",
"output": "str",
"x": 1223,
"y": 804,
"wires": [
[
"01de66545bbacee2"
]
]
},
{
"id": "01de66545bbacee2",
"type": "template",
"z": "3b1289d7ccf9cb0f",
"name": "flowexample4",
"field": "flowexample4",
"fieldType": "msg",
"format": "handlebars",
"syntax": "plain",
"template": "[{\"id\":\"ae0d5b956a3f28e6\",\"type\":\"BlogPageInfo\",\"z\":\"4c24fa4e7dcf38ec\",\"name\":\"\",\"image\":\"\",\"summary\":\"Can I generate html directly without using markdown markup?\",\"title\":\"This is a test of something new\",\"publishedAt\":\"2023-06-25T11:22\",\"updatedAt\":\"2023-06-25T11:22\",\"incRss\":false,\"incSitemap\":false,\"incIndex\":false,\"shrLinkedIn\":false,\"supportNodeRedJson\":false,\"reloadOnEdit\":true,\"redirectToNode\":false,\"redirectNodeId\":\"status-404\",\"redirectStatusCode\":\"301\",\"x\":1049,\"y\":559,\"wires\":[[\"2d22995c9f1f1b29\"]]},{\"id\":\"cbce591869d45063\",\"type\":\"link in\",\"z\":\"4c24fa4e7dcf38ec\",\"name\":\"[blog] embedded-flow-v10.html\",\"links\":[],\"x\":1146.28564453125,\"y\":641,\"wires\":[[\"ae0d5b956a3f28e6\"]]},{\"id\":\"2d22995c9f1f1b29\",\"type\":\"template\",\"z\":\"4c24fa4e7dcf38ec\",\"name\":\"v10\",\"field\":\"payload\",\"fieldType\":\"msg\",\"format\":\"javascript\",\"syntax\":\"mustache\",\"template\":\"\",\"output\":\"str\",\"x\":1298.71435546875,\"y\":609,\"wires\":[[\"abac4f329e6a820d\"]]},{\"id\":\"abac4f329e6a820d\",\"type\":\"switch\",\"z\":\"4c24fa4e7dcf38ec\",\"name\":\"has _linkSource - is this a link-call action\",\"property\":\"_linkSource\",\"propertyType\":\"msg\",\"rules\":[{\"t\":\"nnull\"},{\"t\":\"else\"}],\"checkall\":\"true\",\"repair\":false,\"outputs\":2,\"x\":553.0003051757812,\"y\":816.142822265625,\"wires\":[[\"09b45bafaa67147a\"],[]]},{\"id\":\"503aa7f4da56542d\",\"type\":\"template\",\"z\":\"4c24fa4e7dcf38ec\",\"name\":\"v11\",\"field\":\"payload\",\"fieldType\":\"msg\",\"format\":\"javascript\",\"syntax\":\"mustache\",\"template\":\"\",\"output\":\"str\",\"x\":578.7144203186035,\"y\":728,\"wires\":[[\"abac4f329e6a820d\"]]},{\"id\":\"09b45bafaa67147a\",\"type\":\"link out\",\"z\":\"4c24fa4e7dcf38ec\",\"name\":\"link out 82\",\"mode\":\"return\",\"links\":[],\"x\":1136.14306640625,\"y\":818.7142333984375,\"wires\":[]},{\"id\":\"cd925fa7a351451a\",\"type\":\"markdown\",\"z\":\"4c24fa4e7dcf38ec\",\"name\":\"\",\"x\":772.7144203186035,\"y\":594,\"wires\":[[\"503aa7f4da56542d\"]]},{\"id\":\"8d7a34aac2739180\",\"type\":\"template\",\"z\":\"4c24fa4e7dcf38ec\",\"name\":\".md page\",\"field\":\"payload\",\"fieldType\":\"msg\",\"format\":\"markdown\",\"syntax\":\"mustache\",\"template\":\"\",\"output\":\"str\",\"x\":965.7144203186035,\"y\":405,\"wires\":[[\"cd925fa7a351451a\"]]},{\"id\":\"c639b3e6dd4092a2\",\"type\":\"template\",\"z\":\"4c24fa4e7dcf38ec\",\"name\":\"flowexample7\",\"field\":\"flowexample7\",\"fieldType\":\"msg\",\"format\":\"handlebars\",\"syntax\":\"plain\",\"template\":\"\",\"output\":\"str\",\"x\":1185.7144203186035,\"y\":156,\"wires\":[[\"8d7a34aac2739180\"]]},{\"id\":\"40562872bcf9e779\",\"type\":\"template\",\"z\":\"4c24fa4e7dcf38ec\",\"name\":\"flowexample6\",\"field\":\"flowexample6\",\"fieldType\":\"msg\",\"format\":\"handlebars\",\"syntax\":\"plain\",\"template\":\"\",\"output\":\"str\",\"x\":1424.7144203186035,\"y\":402,\"wires\":[[\"c639b3e6dd4092a2\"]]},{\"id\":\"23dc5d86e4ae09f7\",\"type\":\"template\",\"z\":\"4c24fa4e7dcf38ec\",\"name\":\"flowexample5\",\"field\":\"flowexample5\",\"fieldType\":\"msg\",\"format\":\"handlebars\",\"syntax\":\"plain\",\"template\":\"\",\"output\":\"str\",\"x\":1633.7144203186035,\"y\":606,\"wires\":[[\"40562872bcf9e779\"]]},{\"id\":\"309d9661aa3ca436\",\"type\":\"template\",\"z\":\"4c24fa4e7dcf38ec\",\"name\":\"flowexample4\",\"field\":\"flowexample4\",\"fieldType\":\"msg\",\"format\":\"handlebars\",\"syntax\":\"plain\",\"template\":\"\",\"output\":\"str\",\"x\":1814.7144203186035,\"y\":804,\"wires\":[[\"23dc5d86e4ae09f7\"]]},{\"id\":\"88644f9859d30ff0\",\"type\":\"template\",\"z\":\"4c24fa4e7dcf38ec\",\"name\":\"flowexample3\",\"field\":\"flowexample3\",\"fieldType\":\"msg\",\"format\":\"handlebars\",\"syntax\":\"plain\",\"template\":\"\",\"output\":\"str\",\"x\":1346.7144203186035,\"y\":811,\"wires\":[[\"309d9661aa3ca436\"]]},{\"id\":\"18c0c665820d9a21\",\"type\":\"template\",\"z\":\"4c24fa4e7dcf38ec\",\"name\":\"flowexample2\",\"field\":\"flowexample2\",\"fieldType\":\"msg\",\"format\":\"handlebars\",\"syntax\":\"plain\",\"template\":\"\",\"output\":\"str\",\"x\":1115.7144775390625,\"y\":952,\"wires\":[[\"88644f9859d30ff0\"]]},{\"id\":\"8cd8ed44f82b06bf\",\"type\":\"template\",\"z\":\"4c24fa4e7dcf38ec\",\"name\":\"flow example 1\",\"field\":\"flowexample1\",\"fieldType\":\"msg\",\"format\":\"handlebars\",\"syntax\":\"plain\",\"template\":\"\",\"output\":\"str\",\"x\":894.71435546875,\"y\":819,\"wires\":[[\"18c0c665820d9a21\"]]},{\"id\":\"2294edbbc0bcfa16\",\"type\":\"BlogPageInfo\",\"z\":\"4c24fa4e7dcf38ec\",\"name\":\"\",\"image\":\"\",\"summary\":\"Can I generate html directly without using markdown markup?\",\"title\":\"This is a test of something new\",\"publishedAt\":\"2023-06-25T11:22\",\"updatedAt\":\"2023-06-25T11:22\",\"incRss\":false,\"incSitemap\":false,\"incIndex\":false,\"shrLinkedIn\":false,\"supportNodeRedJson\":false,\"reloadOnEdit\":true,\"redirectToNode\":false,\"redirectNodeId\":\"status-404\",\"redirectStatusCode\":\"301\",\"x\":1371,\"y\":559,\"wires\":[[\"8cd8ed44f82b06bf\"]]},{\"id\":\"48e808c24ffc7e1d\",\"type\":\"link in\",\"z\":\"4c24fa4e7dcf38ec\",\"name\":\"[blog] embedded-flow-v11.html\",\"links\":[],\"x\":1122.28564453125,\"y\":484,\"wires\":[[\"2294edbbc0bcfa16\"]]}]",
"output": "str",
"x": 965,
"y": 664,
"wires": [
[
"b840a50c19501b75"
]
]
},
{
"id": "b840a50c19501b75",
"type": "template",
"z": "3b1289d7ccf9cb0f",
"name": "flowexample5",
"field": "flowexample5",
"fieldType": "msg",
"format": "handlebars",
"syntax": "plain",
"template": "[{\"id\":\"e3e278445b7bcb21\",\"type\":\"subflow\",\"name\":\"BlogPageEndsHere\",\"info\":\"\",\"category\":\"\",\"in\":[{\"x\":132,\"y\":215,\"wires\":[{\"id\":\"b2f270b15349b67c\"}]}],\"out\":[],\"env\":[],\"meta\":{},\"color\":\"#ddeeff\",\"icon\":\"font-awesome/fa-hand-stop-o\"},{\"id\":\"627f98bbc0ea4f8b\",\"type\":\"link out\",\"z\":\"e3e278445b7bcb21\",\"name\":\"link out 77\",\"mode\":\"return\",\"links\":[],\"x\":1328,\"y\":306,\"wires\":[]},{\"id\":\"408189fb7a17ba8b\",\"type\":\"switch\",\"z\":\"e3e278445b7bcb21\",\"name\":\"has _linkSource - is this a link-call action\",\"property\":\"_linkSource\",\"propertyType\":\"msg\",\"rules\":[{\"t\":\"nnull\"},{\"t\":\"else\"}],\"checkall\":\"true\",\"repair\":false,\"outputs\":2,\"x\":1002,\"y\":403,\"wires\":[[\"627f98bbc0ea4f8b\"],[]]},{\"id\":\"2a2cc4ef4e7704b4\",\"type\":\"template\",\"z\":\"e3e278445b7bcb21\",\"name\":\"\",\"field\":\"payload\",\"fieldType\":\"msg\",\"format\":\"handlebars\",\"syntax\":\"mustache\",\"template\":\"\",\"output\":\"str\",\"x\":545,\"y\":632,\"wires\":[[\"408189fb7a17ba8b\"]]},{\"id\":\"693c46a206c026a4\",\"type\":\"change\",\"z\":\"e3e278445b7bcb21\",\"name\":\"\",\"rules\":[{\"t\":\"set\",\"p\":\"template\",\"pt\":\"msg\",\"to\":\"payload\",\"tot\":\"msg\"}],\"action\":\"\",\"property\":\"\",\"from\":\"\",\"to\":\"\",\"reg\":false,\"x\":474,\"y\":510,\"wires\":[[\"2a2cc4ef4e7704b4\"]]},{\"id\":\"b2f270b15349b67c\",\"type\":\"switch\",\"z\":\"e3e278445b7bcb21\",\"name\":\"\",\"property\":\"page.noderedjson\",\"propertyType\":\"msg\",\"rules\":[{\"t\":\"true\"},{\"t\":\"else\"}],\"checkall\":\"false\",\"repair\":false,\"outputs\":2,\"x\":374,\"y\":408,\"wires\":[[\"408189fb7a17ba8b\"],[\"693c46a206c026a4\"]]},{\"id\":\"f161221e2ee84846\",\"type\":\"BlogPageInfo\",\"z\":\"e88020583c022170\",\"name\":\"\",\"image\":\"1687952972847_Screen_Shot_2023-06-28_at_13.48.43.png\",\"summary\":\"Codeblocks are one thing but images are further a thousand Json files. Show me your flow!\",\"title\":\"Replacing Node-RED flow codeblocks with flow images.\",\"publishedAt\":\"2023-06-28T11:22\",\"updatedAt\":\"2023-06-28T11:22\",\"incRss\":true,\"incSitemap\":true,\"incIndex\":true,\"shrLinkedIn\":true,\"supportNodeRedJson\":true,\"reloadOnEdit\":false,\"redirectToNode\":false,\"redirectNodeId\":\"status-404\",\"redirectStatusCode\":\"301\",\"x\":374.71435546875,\"y\":1339,\"wires\":[[\"49c3561cfc3bf8b3\"]]},{\"id\":\"e0bcd8d7b8245c21\",\"type\":\"link in\",\"z\":\"e88020583c022170\",\"name\":\"[blog] backticks-in-markdown-and-node-red\",\"links\":[],\"x\":204,\"y\":1389,\"wires\":[[\"f161221e2ee84846\"]]},{\"id\":\"49c3561cfc3bf8b3\",\"type\":\"template\",\"z\":\"e88020583c022170\",\"name\":\"flow example 1\",\"field\":\"flowexample1\",\"fieldType\":\"msg\",\"format\":\"handlebars\",\"syntax\":\"plain\",\"template\":\"\",\"output\":\"str\",\"x\":660,\"y\":1425,\"wires\":[[\"724cc1e0b9b56983\"]]},{\"id\":\"f9ea3058dc703eee\",\"type\":\"BlogPageInfo\",\"z\":\"e88020583c022170\",\"name\":\"\",\"image\":\"\",\"summary\":\"Can I replace codeblocks of flows.json with images?\",\"title\":\"Testing the inclusion and replacement of codeblocks\",\"publishedAt\":\"2023-06-25T11:22\",\"updatedAt\":\"2023-06-25T11:22\",\"incRss\":false,\"incSitemap\":false,\"incIndex\":false,\"shrLinkedIn\":false,\"supportNodeRedJson\":true,\"reloadOnEdit\":false,\"redirectToNode\":false,\"redirectNodeId\":\"status-404\",\"redirectStatusCode\":\"301\",\"x\":403.71435546875,\"y\":1478,\"wires\":[[\"49c3561cfc3bf8b3\"]]},{\"id\":\"724cc1e0b9b56983\",\"type\":\"template\",\"z\":\"e88020583c022170\",\"name\":\"flowexample2\",\"field\":\"flowexample2\",\"fieldType\":\"msg\",\"format\":\"handlebars\",\"syntax\":\"plain\",\"template\":\"\",\"output\":\"str\",\"x\":857,\"y\":1370,\"wires\":[[\"d8b85c4b0a441b4d\"]]},{\"id\":\"8b702bc007cf0e3e\",\"type\":\"link in\",\"z\":\"e88020583c022170\",\"name\":\"[blog] codeblock-test\",\"links\":[],\"x\":204,\"y\":1424,\"wires\":[[\"f9ea3058dc703eee\"]]},{\"id\":\"d8b85c4b0a441b4d\",\"type\":\"template\",\"z\":\"e88020583c022170\",\"name\":\"flowexample3\",\"field\":\"flowexample3\",\"fieldType\":\"msg\",\"format\":\"handlebars\",\"syntax\":\"plain\",\"template\":\"\",\"output\":\"str\",\"x\":1029,\"y\":1433,\"wires\":[[\"23f9f3582f3172b6\"]]},{\"id\":\"23f9f3582f3172b6\",\"type\":\"template\",\"z\":\"e88020583c022170\",\"name\":\"flowexample4\",\"field\":\"flowexample4\",\"fieldType\":\"msg\",\"format\":\"handlebars\",\"syntax\":\"plain\",\"template\":\"\",\"output\":\"str\",\"x\":1235,\"y\":1378,\"wires\":[[\"22e594991d0092af\"]]},{\"id\":\"22e594991d0092af\",\"type\":\"template\",\"z\":\"e88020583c022170\",\"name\":\"flowexample5\",\"field\":\"flowexample5\",\"fieldType\":\"msg\",\"format\":\"handlebars\",\"syntax\":\"plain\",\"template\":\"\",\"output\":\"str\",\"x\":1411,\"y\":1443,\"wires\":[[\"8ffa9d87efff1d51\"]]},{\"id\":\"8ffa9d87efff1d51\",\"type\":\"template\",\"z\":\"e88020583c022170\",\"name\":\"flowexample6\",\"field\":\"flowexample6\",\"fieldType\":\"msg\",\"format\":\"handlebars\",\"syntax\":\"plain\",\"template\":\"\",\"output\":\"str\",\"x\":1592,\"y\":1385,\"wires\":[[\"7c3cbb557ff5b93d\"]]},{\"id\":\"7c3cbb557ff5b93d\",\"type\":\"template\",\"z\":\"e88020583c022170\",\"name\":\"flowexample7\",\"field\":\"flowexample7\",\"fieldType\":\"msg\",\"format\":\"handlebars\",\"syntax\":\"plain\",\"template\":\"\",\"output\":\"str\",\"x\":1740,\"y\":1443,\"wires\":[[\"d9667d3144e93adb\"]]},{\"id\":\"d9667d3144e93adb\",\"type\":\"template\",\"z\":\"e88020583c022170\",\"name\":\".md page\",\"field\":\"payload\",\"fieldType\":\"msg\",\"format\":\"markdown\",\"syntax\":\"mustache\",\"template\":\"\",\"output\":\"str\",\"x\":1092,\"y\":1737,\"wires\":[[\"d3f10882a0773e9b\"]]},{\"id\":\"d3f10882a0773e9b\",\"type\":\"subflow:e3e278445b7bcb21\",\"z\":\"e88020583c022170\",\"name\":\"\",\"x\":1089,\"y\":1797,\"wires\":[]}]",
"output": "str",
"x": 981,
"y": 804,
"wires": [
[
"cf7759967b14e2cf"
]
]
},
{
"id": "cf7759967b14e2cf",
"type": "template",
"z": "3b1289d7ccf9cb0f",
"name": "flowexample6",
"field": "flowexample6",
"fieldType": "msg",
"format": "handlebars",
"syntax": "plain",
"template": "[{\"id\":\"3287a0ac2d2a237b\",\"type\":\"link in\",\"z\":\"fa990486a351d7f4\",\"name\":\"[blog] embedded-flow.html\",\"links\":[],\"x\":197,\"y\":107,\"wires\":[[\"0771f05ddd5c7e3e\"]]},{\"id\":\"0771f05ddd5c7e3e\",\"type\":\"BlogPageInfo\",\"z\":\"fa990486a351d7f4\",\"name\":\"\",\"image\":\"\",\"summary\":\"Can I generate html directly without using markdown markup?\",\"title\":\"This is a test of something new\",\"publishedAt\":\"2023-06-25T11:22\",\"updatedAt\":\"2023-06-25T11:22\",\"incRss\":false,\"incSitemap\":false,\"incIndex\":false,\"shrLinkedIn\":false,\"reloadOnEdit\":false,\"redirectToNode\":false,\"redirectNodeId\":\"status-404\",\"redirectStatusCode\":\"301\",\"x\":393.71437072753906,\"y\":107,\"wires\":[[\"f9b99c65087dc03e\"]]},{\"id\":\"996205845bf2ce3f\",\"type\":\"link out\",\"z\":\"fa990486a351d7f4\",\"name\":\"link out 80\",\"mode\":\"return\",\"links\":[],\"x\":1239.0002040863037,\"y\":100.42859363555908,\"wires\":[]},{\"id\":\"714495cf05a320bf\",\"type\":\"switch\",\"z\":\"fa990486a351d7f4\",\"name\":\"has _linkSource - is this a link-call action\",\"property\":\"_linkSource\",\"propertyType\":\"msg\",\"rules\":[{\"t\":\"nnull\"},{\"t\":\"else\"}],\"checkall\":\"true\",\"repair\":false,\"outputs\":2,\"x\":948.8573913574219,\"y\":106.85715389251709,\"wires\":[[\"996205845bf2ce3f\"],[]]},{\"id\":\"f9b99c65087dc03e\",\"type\":\"template\",\"z\":\"fa990486a351d7f4\",\"name\":\"v1\",\"field\":\"payload\",\"fieldType\":\"msg\",\"format\":\"javascript\",\"syntax\":\"mustache\",\"template\":\"\",\"output\":\"str\",\"x\":629.4287910461426,\"y\":107,\"wires\":[[\"714495cf05a320bf\"]]},{\"id\":\"b6b29c169ced0dc4\",\"type\":\"link in\",\"z\":\"fa990486a351d7f4\",\"name\":\"[blog] embedded-flow-v2.html\",\"links\":[],\"x\":197,\"y\":166.57143306732178,\"wires\":[[\"755725b937fd9621\"]]},{\"id\":\"755725b937fd9621\",\"type\":\"BlogPageInfo\",\"z\":\"fa990486a351d7f4\",\"name\":\"\",\"image\":\"\",\"summary\":\"Can I generate html directly without using markdown markup?\",\"title\":\"This is a test of something new\",\"publishedAt\":\"2023-06-25T11:22\",\"updatedAt\":\"2023-06-25T11:22\",\"incRss\":false,\"incSitemap\":false,\"incIndex\":false,\"shrLinkedIn\":false,\"reloadOnEdit\":false,\"redirectToNode\":false,\"redirectNodeId\":\"status-404\",\"redirectStatusCode\":\"301\",\"x\":403.71437072753906,\"y\":166.57143306732178,\"wires\":[[\"eb04b257022ae729\"]]},{\"id\":\"eb04b257022ae729\",\"type\":\"template\",\"z\":\"fa990486a351d7f4\",\"name\":\"v2\",\"field\":\"payload\",\"fieldType\":\"msg\",\"format\":\"javascript\",\"syntax\":\"mustache\",\"template\":\"\",\"output\":\"str\",\"x\":629.4287910461426,\"y\":166.57143306732178,\"wires\":[[\"714495cf05a320bf\"]]},{\"id\":\"b03d9f123a9903ca\",\"type\":\"template\",\"z\":\"fa990486a351d7f4\",\"name\":\"v3\",\"field\":\"payload\",\"fieldType\":\"msg\",\"format\":\"javascript\",\"syntax\":\"mustache\",\"template\":\"\",\"output\":\"str\",\"x\":629.4287910461426,\"y\":222.28577327728271,\"wires\":[[\"714495cf05a320bf\"]]},{\"id\":\"f660e24f4f9d210d\",\"type\":\"link in\",\"z\":\"fa990486a351d7f4\",\"name\":\"[blog] embedded-flow-v3.html\",\"links\":[],\"x\":197,\"y\":222.28577327728271,\"wires\":[[\"ae8f25da7d7893fc\"]]},{\"id\":\"ae8f25da7d7893fc\",\"type\":\"BlogPageInfo\",\"z\":\"fa990486a351d7f4\",\"name\":\"\",\"image\":\"\",\"summary\":\"Can I generate html directly without using markdown markup?\",\"title\":\"This is a test of something new\",\"publishedAt\":\"2023-06-25T11:22\",\"updatedAt\":\"2023-06-25T11:22\",\"incRss\":false,\"incSitemap\":false,\"incIndex\":false,\"shrLinkedIn\":false,\"reloadOnEdit\":false,\"redirectToNode\":false,\"redirectNodeId\":\"status-404\",\"redirectStatusCode\":\"301\",\"x\":403.71437072753906,\"y\":222.28577327728271,\"wires\":[[\"b03d9f123a9903ca\"]]},{\"id\":\"f0cec8e4f35dbc99\",\"type\":\"http in\",\"z\":\"fa990486a351d7f4\",\"name\":\"\",\"url\":\"/embed/helpers.js\",\"method\":\"get\",\"upload\":false,\"swaggerDoc\":\"\",\"x\":533.571418762207,\"y\":877.7143468856812,\"wires\":[[\"dd80e50a71271b27\"]]},{\"id\":\"d5631179afc237dc\",\"type\":\"http response\",\"z\":\"fa990486a351d7f4\",\"name\":\"js\",\"statusCode\":\"\",\"headers\":{\"content-type\":\"application/javascript; charset=utf-8\"},\"x\":1879.571418762207,\"y\":878.7143468856812,\"wires\":[]},{\"id\":\"dd80e50a71271b27\",\"type\":\"template\",\"z\":\"fa990486a351d7f4\",\"name\":\"\",\"field\":\"payload\",\"fieldType\":\"msg\",\"format\":\"javascript\",\"syntax\":\"mustache\",\"template\":\"\",\"output\":\"str\",\"x\":1703.571418762207,\"y\":878.7143468856812,\"wires\":[[\"d5631179afc237dc\"]]},{\"id\":\"ac22dd3a10ca8a7a\",\"type\":\"template\",\"z\":\"fa990486a351d7f4\",\"name\":\"complete js content\",\"field\":\"payload\",\"fieldType\":\"msg\",\"format\":\"javascript\",\"syntax\":\"mustache\",\"template\":\"\",\"output\":\"str\",\"x\":1555.571418762207,\"y\":1097.7143468856812,\"wires\":[[\"d5631179afc237dc\"]]},{\"id\":\"e1e9d52f873f0f5b\",\"type\":\"template\",\"z\":\"fa990486a351d7f4\",\"name\":\"jsColoursByType\",\"field\":\"jsColoursByType\",\"fieldType\":\"msg\",\"format\":\"javascript\",\"syntax\":\"mustache\",\"template\":\"\",\"output\":\"str\",\"x\":855.571418762207,\"y\":941.7143468856812,\"wires\":[[\"36cee437c1931ff7\"]]},{\"id\":\"f9a2c229e54e7c1a\",\"type\":\"http in\",\"z\":\"fa990486a351d7f4\",\"name\":\"\",\"url\":\"/embed/helpers-v4.js\",\"method\":\"get\",\"upload\":false,\"swaggerDoc\":\"\",\"x\":543.571418762207,\"y\":942.7143468856812,\"wires\":[[\"e1e9d52f873f0f5b\"]]},{\"id\":\"36cee437c1931ff7\",\"type\":\"template\",\"z\":\"fa990486a351d7f4\",\"name\":\"jsUtilsGetNodeSelector\",\"field\":\"jsUtilsGetNodeSelector\",\"fieldType\":\"msg\",\"format\":\"javascript\",\"syntax\":\"mustache\",\"template\":\"\",\"output\":\"str\",\"x\":875.571418762207,\"y\":981.7143468856812,\"wires\":[[\"b101d34ec03a821c\"]]},{\"id\":\"b101d34ec03a821c\",\"type\":\"template\",\"z\":\"fa990486a351d7f4\",\"name\":\"jsGenerateLinkPath\",\"field\":\"jsGenerateLinkPath\",\"fieldType\":\"msg\",\"format\":\"javascript\",\"syntax\":\"mustache\",\"template\":\"\",\"output\":\"str\",\"x\":855.571418762207,\"y\":1021.7143468856812,\"wires\":[[\"75fb6789236f48df\"]]},{\"id\":\"d6db970006d87875\",\"type\":\"template\",\"z\":\"fa990486a351d7f4\",\"name\":\"jsRenderFlow - v4\",\"field\":\"jsRenderFlow\",\"fieldType\":\"msg\",\"format\":\"javascript\",\"syntax\":\"mustache\",\"template\":\"\",\"output\":\"str\",\"x\":1269.571418762207,\"y\":1048.7143468856812,\"wires\":[[\"ac22dd3a10ca8a7a\"]]},{\"id\":\"66af842428cf1829\",\"type\":\"template\",\"z\":\"fa990486a351d7f4\",\"name\":\"v4\",\"field\":\"payload\",\"fieldType\":\"msg\",\"format\":\"html\",\"syntax\":\"mustache\",\"template\":\"\",\"output\":\"str\",\"x\":629.4287910461426,\"y\":287.2857732772827,\"wires\":[[\"714495cf05a320bf\"]]},{\"id\":\"859109e5f2acb4e2\",\"type\":\"link in\",\"z\":\"fa990486a351d7f4\",\"name\":\"[blog] embedded-flow-v4.html\",\"links\":[],\"x\":197,\"y\":287.2857732772827,\"wires\":[[\"b3b58ff6a8dede2a\"]]},{\"id\":\"b3b58ff6a8dede2a\",\"type\":\"BlogPageInfo\",\"z\":\"fa990486a351d7f4\",\"name\":\"\",\"image\":\"\",\"summary\":\"Can I generate html directly without using markdown markup?\",\"title\":\"This is a test of something new\",\"publishedAt\":\"2023-06-25T11:22\",\"updatedAt\":\"2023-06-25T11:22\",\"incRss\":false,\"incSitemap\":false,\"incIndex\":false,\"shrLinkedIn\":false,\"reloadOnEdit\":false,\"redirectToNode\":false,\"redirectNodeId\":\"status-404\",\"redirectStatusCode\":\"301\",\"x\":403.71437072753906,\"y\":287.2857732772827,\"wires\":[[\"66af842428cf1829\"]]},{\"id\":\"75fb6789236f48df\",\"type\":\"template\",\"z\":\"fa990486a351d7f4\",\"name\":\"jsLabelUtils\",\"field\":\"jsLabelUtils\",\"fieldType\":\"msg\",\"format\":\"javascript\",\"syntax\":\"mustache\",\"template\":\"\",\"output\":\"str\",\"x\":834.571418762207,\"y\":1063.7143468856812,\"wires\":[[\"ee74e71603896290\"]]},{\"id\":\"f68eb4ac92f2416b\",\"type\":\"http in\",\"z\":\"fa990486a351d7f4\",\"name\":\"\",\"url\":\"/embed/helpers-v5.js\",\"method\":\"get\",\"upload\":false,\"swaggerDoc\":\"\",\"x\":543.571418762207,\"y\":1000.7143468856812,\"wires\":[[\"e1e9d52f873f0f5b\"]]},{\"id\":\"ee74e71603896290\",\"type\":\"switch\",\"z\":\"fa990486a351d7f4\",\"name\":\"\",\"property\":\"req.route.path\",\"propertyType\":\"msg\",\"rules\":[{\"t\":\"regex\",\"v\":\"v4\\\\.js$\",\"vt\":\"str\",\"case\":false},{\"t\":\"regex\",\"v\":\"v5\\\\.js$\",\"vt\":\"str\",\"case\":false},{\"t\":\"regex\",\"v\":\"v6\\\\.js$\",\"vt\":\"str\",\"case\":false},{\"t\":\"regex\",\"v\":\"v7\\\\.js$\",\"vt\":\"str\",\"case\":false},{\"t\":\"regex\",\"v\":\"v8\\\\.js$\",\"vt\":\"str\",\"case\":false},{\"t\":\"regex\",\"v\":\"v9\\\\.js$\",\"vt\":\"str\",\"case\":false}],\"checkall\":\"false\",\"repair\":false,\"outputs\":6,\"x\":1029.571418762207,\"y\":1127.7143468856812,\"wires\":[[\"d6db970006d87875\"],[\"f6adde966139457a\"],[\"4e28f7e5936ef6d7\"],[\"6088b6915f67e507\"],[\"abd4a979676a9088\"],[\"6088b6915f67e507\"]]},{\"id\":\"092c9e55a4787172\",\"type\":\"template\",\"z\":\"fa990486a351d7f4\",\"name\":\"v5\",\"field\":\"payload\",\"fieldType\":\"msg\",\"format\":\"javascript\",\"syntax\":\"mustache\",\"template\":\"\",\"output\":\"str\",\"x\":634.571418762207,\"y\":349.71434688568115,\"wires\":[[\"714495cf05a320bf\"]]},{\"id\":\"f360b35c4b1460d8\",\"type\":\"link in\",\"z\":\"fa990486a351d7f4\",\"name\":\"[blog] embedded-flow-v5.html\",\"links\":[],\"x\":202.14262771606445,\"y\":349.71434688568115,\"wires\":[[\"af62934ece609c34\"]]},{\"id\":\"af62934ece609c34\",\"type\":\"BlogPageInfo\",\"z\":\"fa990486a351d7f4\",\"name\":\"\",\"image\":\"\",\"summary\":\"Can I generate html directly without using markdown markup?\",\"title\":\"This is a test of something new\",\"publishedAt\":\"2023-06-25T11:22\",\"updatedAt\":\"2023-06-25T11:22\",\"incRss\":false,\"incSitemap\":false,\"incIndex\":false,\"shrLinkedIn\":false,\"reloadOnEdit\":false,\"redirectToNode\":false,\"redirectNodeId\":\"status-404\",\"redirectStatusCode\":\"301\",\"x\":408.8569984436035,\"y\":349.71434688568115,\"wires\":[[\"092c9e55a4787172\"]]},{\"id\":\"f6adde966139457a\",\"type\":\"template\",\"z\":\"fa990486a351d7f4\",\"name\":\"jsRenderFlow - v5\",\"field\":\"jsRenderFlow\",\"fieldType\":\"msg\",\"format\":\"javascript\",\"syntax\":\"mustache\",\"template\":\"\",\"output\":\"str\",\"x\":1270.571418762207,\"y\":1099.7143468856812,\"wires\":[[\"ac22dd3a10ca8a7a\"]]},{\"id\":\"7be8ff2bc6dfd549\",\"type\":\"http in\",\"z\":\"fa990486a351d7f4\",\"name\":\"\",\"url\":\"/embed/helpers.css\",\"method\":\"get\",\"upload\":false,\"swaggerDoc\":\"\",\"x\":543.571418762207,\"y\":812.7143468856812,\"wires\":[[\"16ec47cfaf4f5426\"]]},{\"id\":\"ad579a790a31d908\",\"type\":\"http response\",\"z\":\"fa990486a351d7f4\",\"name\":\"css\",\"statusCode\":\"200\",\"headers\":{\"content-type\":\"text/css\"},\"x\":1044.571418762207,\"y\":812.7143468856812,\"wires\":[]},{\"id\":\"16ec47cfaf4f5426\",\"type\":\"template\",\"z\":\"fa990486a351d7f4\",\"name\":\"basic styling\",\"field\":\"payload\",\"fieldType\":\"msg\",\"format\":\"css\",\"syntax\":\"mustache\",\"template\":\"\",\"output\":\"str\",\"x\":840.571418762207,\"y\":812.7143468856812,\"wires\":[[\"ad579a790a31d908\"]]},{\"id\":\"4f0b969b37876989\",\"type\":\"link in\",\"z\":\"fa990486a351d7f4\",\"name\":\"[blog] codeblock-test\",\"links\":[],\"x\":266.57141876220703,\"y\":1639.7143468856812,\"wires\":[[\"ea637b2ce7e48ce9\"]]},{\"id\":\"ea637b2ce7e48ce9\",\"type\":\"BlogPageInfo\",\"z\":\"fa990486a351d7f4\",\"name\":\"\",\"image\":\"\",\"summary\":\"Can I replace codeblocks of flows.json with images?\",\"title\":\"Testing the inclusion and replacement of codeblocks\",\"publishedAt\":\"2023-06-25T11:22\",\"updatedAt\":\"2023-06-25T11:22\",\"incRss\":false,\"incSitemap\":false,\"incIndex\":false,\"shrLinkedIn\":true,\"supportNodeRedJson\":true,\"reloadOnEdit\":false,\"redirectToNode\":false,\"redirectNodeId\":\"status-404\",\"redirectStatusCode\":\"301\",\"x\":509.28577423095703,\"y\":1639.7143468856812,\"wires\":[[\"097d04d398ea4c66\"]]},{\"id\":\"a943b1f59b6f617b\",\"type\":\"http in\",\"z\":\"fa990486a351d7f4\",\"name\":\"\",\"url\":\"/embed/helpers-v6.js\",\"method\":\"get\",\"upload\":false,\"swaggerDoc\":\"\",\"x\":544.571418762207,\"y\":1071.7143468856812,\"wires\":[[\"e1e9d52f873f0f5b\"]]},{\"id\":\"4e28f7e5936ef6d7\",\"type\":\"template\",\"z\":\"fa990486a351d7f4\",\"name\":\"jsRenderFlow - v6\",\"field\":\"jsRenderFlow\",\"fieldType\":\"msg\",\"format\":\"javascript\",\"syntax\":\"mustache\",\"template\":\"\",\"output\":\"str\",\"x\":1271.571418762207,\"y\":1160.7143468856812,\"wires\":[[\"c37952730d57c5a4\"]]},{\"id\":\"c37952730d57c5a4\",\"type\":\"template\",\"z\":\"fa990486a351d7f4\",\"name\":\"complete js content\",\"field\":\"payload\",\"fieldType\":\"msg\",\"format\":\"javascript\",\"syntax\":\"mustache\",\"template\":\"\",\"output\":\"str\",\"x\":1563.571418762207,\"y\":1214.7143468856812,\"wires\":[[\"d5631179afc237dc\"]]},{\"id\":\"d5525ca53c469c75\",\"type\":\"http in\",\"z\":\"fa990486a351d7f4\",\"name\":\"\",\"url\":\"/embed/helpers-v7.js\",\"method\":\"get\",\"upload\":false,\"swaggerDoc\":\"\",\"x\":548.571418762207,\"y\":1134.7143468856812,\"wires\":[[\"e1e9d52f873f0f5b\"]]},{\"id\":\"a631368aa97d4e8b\",\"type\":\"link out\",\"z\":\"fa990486a351d7f4\",\"name\":\"link out 83\",\"mode\":\"return\",\"links\":[],\"x\":2214.571418762207,\"y\":1682.7143468856812,\"wires\":[]},{\"id\":\"bc9a57e1232b6afa\",\"type\":\"switch\",\"z\":\"fa990486a351d7f4\",\"name\":\"has _linkSource - is this a link-call action\",\"property\":\"_linkSource\",\"propertyType\":\"msg\",\"rules\":[{\"t\":\"nnull\"},{\"t\":\"else\"}],\"checkall\":\"true\",\"repair\":false,\"outputs\":2,\"x\":1859.428596496582,\"y\":1689.1429357528687,\"wires\":[[\"a631368aa97d4e8b\"],[]]},{\"id\":\"a3cbccaeff13d666\",\"type\":\"template\",\"z\":\"fa990486a351d7f4\",\"name\":\".md page\",\"field\":\"payload\",\"fieldType\":\"msg\",\"format\":\"markdown\",\"syntax\":\"mustache\",\"template\":\"\",\"output\":\"str\",\"x\":1572.571418762207,\"y\":1689.7143468856812,\"wires\":[[\"bc9a57e1232b6afa\"]]},{\"id\":\"097d04d398ea4c66\",\"type\":\"template\",\"z\":\"fa990486a351d7f4\",\"name\":\"flow example 1\",\"field\":\"flowexample1\",\"fieldType\":\"msg\",\"format\":\"handlebars\",\"syntax\":\"plain\",\"template\":\"\",\"output\":\"str\",\"x\":763.571418762207,\"y\":1692.7143468856812,\"wires\":[[\"e18f0e6a54e39f22\"]]},{\"id\":\"e18f0e6a54e39f22\",\"type\":\"template\",\"z\":\"fa990486a351d7f4\",\"name\":\"flowexample2\",\"field\":\"flowexample2\",\"fieldType\":\"msg\",\"format\":\"handlebars\",\"syntax\":\"plain\",\"template\":\"\",\"output\":\"str\",\"x\":918.571418762207,\"y\":1776.7143468856812,\"wires\":[[\"4f84f6937ef60497\"]]},{\"id\":\"4f84f6937ef60497\",\"type\":\"template\",\"z\":\"fa990486a351d7f4\",\"name\":\"flowexample3\",\"field\":\"flowexample3\",\"fieldType\":\"msg\",\"format\":\"handlebars\",\"syntax\":\"plain\",\"template\":\"\",\"output\":\"str\",\"x\":1059.571418762207,\"y\":1849.7143468856812,\"wires\":[[\"0a0ba7ec8625eb0b\"]]},{\"id\":\"0a0ba7ec8625eb0b\",\"type\":\"template\",\"z\":\"fa990486a351d7f4\",\"name\":\"flowexample4\",\"field\":\"flowexample4\",\"fieldType\":\"msg\",\"format\":\"handlebars\",\"syntax\":\"plain\",\"template\":\"\",\"output\":\"str\",\"x\":1241.571418762207,\"y\":1925.7143468856812,\"wires\":[[\"bd91742d746c4d5b\"]]},{\"id\":\"3ae3d00f0bda7482\",\"type\":\"template\",\"z\":\"fa990486a351d7f4\",\"name\":\"jsRenderFlow - v7\",\"field\":\"jsRenderFlow\",\"fieldType\":\"msg\",\"format\":\"javascript\",\"syntax\":\"mustache\",\"template\":\"\",\"output\":\"str\",\"x\":1268.571418762207,\"y\":1214.7143468856812,\"wires\":[[\"c37952730d57c5a4\"]]},{\"id\":\"bd91742d746c4d5b\",\"type\":\"template\",\"z\":\"fa990486a351d7f4\",\"name\":\"flowexample5\",\"field\":\"flowexample5\",\"fieldType\":\"msg\",\"format\":\"handlebars\",\"syntax\":\"plain\",\"template\":\"\",\"output\":\"str\",\"x\":1425.571418762207,\"y\":1994.7143468856812,\"wires\":[[\"a3cbccaeff13d666\"]]},{\"id\":\"cd12a091665dd5f2\",\"type\":\"link in\",\"z\":\"fa990486a351d7f4\",\"name\":\"[blog] backticks-in-markdown-and-node-red\",\"links\":[],\"x\":180.57141876220703,\"y\":1725.7143468856812,\"wires\":[[\"8da95fc4288b26d9\"]]},{\"id\":\"8da95fc4288b26d9\",\"type\":\"BlogPageInfo\",\"z\":\"fa990486a351d7f4\",\"name\":\"\",\"image\":\"1687952972847_Screen_Shot_2023-06-28_at_13.48.43.png\",\"summary\":\"Codeblocks are one thing but images are further a thousand Json files. Show me your flow!\",\"title\":\"Replacing Node-RED flow codeblocks with flow images.\",\"publishedAt\":\"2023-06-28T11:22\",\"updatedAt\":\"2023-06-28T11:22\",\"incRss\":true,\"incSitemap\":true,\"incIndex\":true,\"shrLinkedIn\":true,\"supportNodeRedJson\":true,\"reloadOnEdit\":true,\"redirectToNode\":false,\"redirectNodeId\":\"status-404\",\"redirectStatusCode\":\"301\",\"x\":412.28577423095703,\"y\":1725.7143468856812,\"wires\":[[\"097d04d398ea4c66\"]]},{\"id\":\"abd4a979676a9088\",\"type\":\"template\",\"z\":\"fa990486a351d7f4\",\"name\":\"jsRenderFlow - v8\",\"field\":\"jsRenderFlow\",\"fieldType\":\"msg\",\"format\":\"javascript\",\"syntax\":\"mustache\",\"template\":\"\",\"output\":\"str\",\"x\":1269.571418762207,\"y\":1265.7143468856812,\"wires\":[[\"c37952730d57c5a4\"]]},{\"id\":\"18f2cbabeac6fdf8\",\"type\":\"http in\",\"z\":\"fa990486a351d7f4\",\"name\":\"\",\"url\":\"/embed/helpers-v8.js\",\"method\":\"get\",\"upload\":false,\"swaggerDoc\":\"\",\"x\":547.571418762207,\"y\":1227.7143468856812,\"wires\":[[\"e1e9d52f873f0f5b\"]]},{\"id\":\"f6a192d1d1cd8646\",\"type\":\"template\",\"z\":\"fa990486a351d7f4\",\"name\":\"v8\",\"field\":\"payload\",\"fieldType\":\"msg\",\"format\":\"javascript\",\"syntax\":\"mustache\",\"template\":\"\",\"output\":\"str\",\"x\":637.571418762207,\"y\":418.71434688568115,\"wires\":[[\"714495cf05a320bf\"]]},{\"id\":\"e177926e2c030177\",\"type\":\"link in\",\"z\":\"fa990486a351d7f4\",\"name\":\"[blog] embedded-flow-v8.html\",\"links\":[],\"x\":205.14262771606445,\"y\":418.71434688568115,\"wires\":[[\"f92265840d383980\"]]},{\"id\":\"f92265840d383980\",\"type\":\"BlogPageInfo\",\"z\":\"fa990486a351d7f4\",\"name\":\"\",\"image\":\"\",\"summary\":\"Can I generate html directly without using markdown markup?\",\"title\":\"This is a test of something new\",\"publishedAt\":\"2023-06-25T11:22\",\"updatedAt\":\"2023-06-25T11:22\",\"incRss\":false,\"incSitemap\":false,\"incIndex\":false,\"shrLinkedIn\":false,\"supportNodeRedJson\":false,\"reloadOnEdit\":false,\"redirectToNode\":false,\"redirectNodeId\":\"status-404\",\"redirectStatusCode\":\"301\",\"x\":411.8569984436035,\"y\":418.71434688568115,\"wires\":[[\"f6a192d1d1cd8646\"]]},{\"id\":\"6088b6915f67e507\",\"type\":\"template\",\"z\":\"fa990486a351d7f4\",\"name\":\"jsRenderFlow - v9\",\"field\":\"jsRenderFlow\",\"fieldType\":\"msg\",\"format\":\"javascript\",\"syntax\":\"mustache\",\"template\":\"\",\"output\":\"str\",\"x\":1267.571418762207,\"y\":1318.7143468856812,\"wires\":[[\"c37952730d57c5a4\"]]},{\"id\":\"a0ce6ff5b4194687\",\"type\":\"http in\",\"z\":\"fa990486a351d7f4\",\"name\":\"\",\"url\":\"/embed/helpers-v9.js\",\"method\":\"get\",\"upload\":false,\"swaggerDoc\":\"\",\"x\":537.571418762207,\"y\":1297.7143468856812,\"wires\":[[\"e1e9d52f873f0f5b\"]]},{\"id\":\"5529c827c2ddd554\",\"type\":\"template\",\"z\":\"fa990486a351d7f4\",\"name\":\"v9\",\"field\":\"payload\",\"fieldType\":\"msg\",\"format\":\"javascript\",\"syntax\":\"mustache\",\"template\":\"\",\"output\":\"str\",\"x\":630.571418762207,\"y\":496.71434688568115,\"wires\":[[\"714495cf05a320bf\"]]},{\"id\":\"a96e7d5a3f2a3b3f\",\"type\":\"link in\",\"z\":\"fa990486a351d7f4\",\"name\":\"[blog] embedded-flow-v9.html\",\"links\":[],\"x\":198.14262771606445,\"y\":496.71434688568115,\"wires\":[[\"c70cc9c6437dc797\"]]},{\"id\":\"c70cc9c6437dc797\",\"type\":\"BlogPageInfo\",\"z\":\"fa990486a351d7f4\",\"name\":\"\",\"image\":\"\",\"summary\":\"Can I generate html directly without using markdown markup?\",\"title\":\"This is a test of something new\",\"publishedAt\":\"2023-06-25T11:22\",\"updatedAt\":\"2023-06-25T11:22\",\"incRss\":false,\"incSitemap\":false,\"incIndex\":false,\"shrLinkedIn\":false,\"supportNodeRedJson\":false,\"reloadOnEdit\":true,\"redirectToNode\":false,\"redirectNodeId\":\"status-404\",\"redirectStatusCode\":\"301\",\"x\":414.8569984436035,\"y\":496.71434688568115,\"wires\":[[\"5529c827c2ddd554\"]]}]",
"output": "str",
"x": 722,
"y": 664,
"wires": [
[
"70458c68e9ce8ebd"
]
]
},
{
"id": "70458c68e9ce8ebd",
"type": "template",
"z": "3b1289d7ccf9cb0f",
"name": "flowexample7",
"field": "flowexample7",
"fieldType": "msg",
"format": "handlebars",
"syntax": "plain",
"template": "[{\"id\":\"e3e278445b7bcb21\",\"type\":\"subflow\",\"name\":\"BlogPageEndsHere\",\"info\":\"\",\"category\":\"\",\"in\":[{\"x\":132,\"y\":215,\"wires\":[{\"id\":\"b2f270b15349b67c\"}]}],\"out\":[],\"env\":[],\"meta\":{},\"color\":\"#ddeeff\",\"icon\":\"font-awesome/fa-hand-stop-o\"},{\"id\":\"627f98bbc0ea4f8b\",\"type\":\"link out\",\"z\":\"e3e278445b7bcb21\",\"name\":\"link out 77\",\"mode\":\"return\",\"links\":[],\"x\":1328,\"y\":306,\"wires\":[]},{\"id\":\"408189fb7a17ba8b\",\"type\":\"switch\",\"z\":\"e3e278445b7bcb21\",\"name\":\"has _linkSource - is this a link-call action\",\"property\":\"_linkSource\",\"propertyType\":\"msg\",\"rules\":[{\"t\":\"nnull\"},{\"t\":\"else\"}],\"checkall\":\"true\",\"repair\":false,\"outputs\":2,\"x\":1002,\"y\":403,\"wires\":[[\"627f98bbc0ea4f8b\"],[]]},{\"id\":\"2a2cc4ef4e7704b4\",\"type\":\"template\",\"z\":\"e3e278445b7bcb21\",\"name\":\"\",\"field\":\"payload\",\"fieldType\":\"msg\",\"format\":\"handlebars\",\"syntax\":\"mustache\",\"template\":\"\",\"output\":\"str\",\"x\":545,\"y\":632,\"wires\":[[\"408189fb7a17ba8b\"]]},{\"id\":\"693c46a206c026a4\",\"type\":\"change\",\"z\":\"e3e278445b7bcb21\",\"name\":\"\",\"rules\":[{\"t\":\"set\",\"p\":\"template\",\"pt\":\"msg\",\"to\":\"payload\",\"tot\":\"msg\"}],\"action\":\"\",\"property\":\"\",\"from\":\"\",\"to\":\"\",\"reg\":false,\"x\":474,\"y\":510,\"wires\":[[\"2a2cc4ef4e7704b4\"]]},{\"id\":\"b2f270b15349b67c\",\"type\":\"switch\",\"z\":\"e3e278445b7bcb21\",\"name\":\"\",\"property\":\"page.noderedjson\",\"propertyType\":\"msg\",\"rules\":[{\"t\":\"true\"},{\"t\":\"else\"}],\"checkall\":\"false\",\"repair\":false,\"outputs\":2,\"x\":374,\"y\":408,\"wires\":[[\"408189fb7a17ba8b\"],[\"693c46a206c026a4\"]]},{\"id\":\"82a04eeec5d1ec39\",\"type\":\"link in\",\"z\":\"04fab8edd0e8f2df\",\"name\":\"[blog] backticks-in-markdown-and-node-red\",\"links\":[],\"x\":434,\"y\":292,\"wires\":[[\"cc439de6514717e7\"]]},{\"id\":\"cc439de6514717e7\",\"type\":\"BlogPageInfo\",\"z\":\"04fab8edd0e8f2df\",\"name\":\"\",\"image\":\"1687952972847_Screen_Shot_2023-06-28_at_13.48.43.png\",\"summary\":\"Codeblocks are one thing but images are further a thousand Json files. Show me your flow!\",\"title\":\"Replacing Node-RED flow codeblocks with flow images.\",\"publishedAt\":\"2023-06-28T11:22\",\"updatedAt\":\"2023-06-28T11:22\",\"incRss\":true,\"incSitemap\":true,\"incIndex\":true,\"shrLinkedIn\":true,\"supportNodeRedJson\":true,\"reloadOnEdit\":false,\"redirectToNode\":false,\"redirectNodeId\":\"status-404\",\"redirectStatusCode\":\"301\",\"x\":1075.71435546875,\"y\":448,\"wires\":[[\"be61a774e4c6d75e\"]]},{\"id\":\"be61a774e4c6d75e\",\"type\":\"template\",\"z\":\"04fab8edd0e8f2df\",\"name\":\"flow example 1\",\"field\":\"flowexample1\",\"fieldType\":\"msg\",\"format\":\"handlebars\",\"syntax\":\"plain\",\"template\":\"\",\"output\":\"str\",\"x\":998,\"y\":563,\"wires\":[[\"db01f2dab4fa12ab\"]]},{\"id\":\"ac8306319a302f0c\",\"type\":\"BlogPageInfo\",\"z\":\"04fab8edd0e8f2df\",\"name\":\"\",\"image\":\"\",\"summary\":\"Can I replace codeblocks of flows.json with images?\",\"title\":\"Testing the inclusion and replacement of codeblocks\",\"publishedAt\":\"2023-06-25T11:22\",\"updatedAt\":\"2023-06-25T11:22\",\"incRss\":false,\"incSitemap\":false,\"incIndex\":false,\"shrLinkedIn\":false,\"supportNodeRedJson\":true,\"reloadOnEdit\":false,\"redirectToNode\":false,\"redirectNodeId\":\"status-404\",\"redirectStatusCode\":\"301\",\"x\":1077.71435546875,\"y\":544,\"wires\":[[\"be61a774e4c6d75e\"]]},{\"id\":\"db01f2dab4fa12ab\",\"type\":\"template\",\"z\":\"04fab8edd0e8f2df\",\"name\":\"flowexample2\",\"field\":\"flowexample2\",\"fieldType\":\"msg\",\"format\":\"handlebars\",\"syntax\":\"plain\",\"template\":\"\",\"output\":\"str\",\"x\":991,\"y\":467,\"wires\":[[\"440887f5bfa191c9\"]]},{\"id\":\"24767f8be515eebe\",\"type\":\"link in\",\"z\":\"04fab8edd0e8f2df\",\"name\":\"[blog] codeblock-test\",\"links\":[],\"x\":432,\"y\":336,\"wires\":[[\"ac8306319a302f0c\"]]},{\"id\":\"440887f5bfa191c9\",\"type\":\"template\",\"z\":\"04fab8edd0e8f2df\",\"name\":\"flowexample3\",\"field\":\"flowexample3\",\"fieldType\":\"msg\",\"format\":\"handlebars\",\"syntax\":\"plain\",\"template\":\"\",\"output\":\"str\",\"x\":1218,\"y\":534,\"wires\":[[\"03989336aea86433\"]]},{\"id\":\"03989336aea86433\",\"type\":\"template\",\"z\":\"04fab8edd0e8f2df\",\"name\":\"flowexample4\",\"field\":\"flowexample4\",\"fieldType\":\"msg\",\"format\":\"handlebars\",\"syntax\":\"plain\",\"template\":\"\",\"output\":\"str\",\"x\":1151,\"y\":491,\"wires\":[[\"01dae03d9ec9694f\"]]},{\"id\":\"01dae03d9ec9694f\",\"type\":\"template\",\"z\":\"04fab8edd0e8f2df\",\"name\":\"flowexample5\",\"field\":\"flowexample5\",\"fieldType\":\"msg\",\"format\":\"handlebars\",\"syntax\":\"plain\",\"template\":\"\",\"output\":\"str\",\"x\":1043,\"y\":507,\"wires\":[[\"33bfba9a9fcd9e58\"]]},{\"id\":\"33bfba9a9fcd9e58\",\"type\":\"template\",\"z\":\"04fab8edd0e8f2df\",\"name\":\"flowexample6\",\"field\":\"flowexample6\",\"fieldType\":\"msg\",\"format\":\"handlebars\",\"syntax\":\"plain\",\"template\":\"\",\"output\":\"str\",\"x\":1205,\"y\":472,\"wires\":[[\"930cf2c0b7cbc504\"]]},{\"id\":\"930cf2c0b7cbc504\",\"type\":\"template\",\"z\":\"04fab8edd0e8f2df\",\"name\":\".md page\",\"field\":\"payload\",\"fieldType\":\"msg\",\"format\":\"markdown\",\"syntax\":\"mustache\",\"template\":\"\",\"output\":\"str\",\"x\":1158,\"y\":550,\"wires\":[[\"e6cc075cbd12d4ef\"]]},{\"id\":\"e6cc075cbd12d4ef\",\"type\":\"subflow:e3e278445b7bcb21\",\"z\":\"04fab8edd0e8f2df\",\"name\":\"\",\"x\":1645,\"y\":425,\"wires\":[]}]",
"output": "str",
"x": 750,
"y": 803,
"wires": [
[
"f6bda345d2326cbb"
]
]
},
{
"id": "e6277b8ff18ec7d2",
"type": "template",
"z": "3b1289d7ccf9cb0f",
"g": "61aca6c3c1dd26ad",
"name": "flowexample8",
"field": "flowexample8",
"fieldType": "msg",
"format": "handlebars",
"syntax": "plain",
"template": "[{\"id\":\"ae0d5b956a3f28e6\",\"type\":\"BlogPageInfo\",\"z\":\"4c24fa4e7dcf38ec\",\"name\":\"\",\"image\":\"\",\"summary\":\"Can I generate html directly without using markdown markup?\",\"title\":\"This is a test of something new\",\"publishedAt\":\"2023-06-25T11:22\",\"updatedAt\":\"2023-06-25T11:22\",\"incRss\":false,\"incSitemap\":false,\"incIndex\":false,\"shrLinkedIn\":false,\"supportNodeRedJson\":false,\"reloadOnEdit\":true,\"redirectToNode\":false,\"redirectNodeId\":\"status-404\",\"redirectStatusCode\":\"301\",\"x\":1049,\"y\":559,\"wires\":[[\"2d22995c9f1f1b29\"]]},{\"id\":\"cbce591869d45063\",\"type\":\"link in\",\"z\":\"4c24fa4e7dcf38ec\",\"name\":\"[blog] embedded-flow-v10.html\",\"links\":[],\"x\":1146.28564453125,\"y\":641,\"wires\":[[\"ae0d5b956a3f28e6\"]]},{\"id\":\"2d22995c9f1f1b29\",\"type\":\"template\",\"z\":\"4c24fa4e7dcf38ec\",\"name\":\"v10\",\"field\":\"payload\",\"fieldType\":\"msg\",\"format\":\"javascript\",\"syntax\":\"mustache\",\"template\":\"\",\"output\":\"str\",\"x\":1298.71435546875,\"y\":609,\"wires\":[[\"abac4f329e6a820d\"]]},{\"id\":\"abac4f329e6a820d\",\"type\":\"switch\",\"z\":\"4c24fa4e7dcf38ec\",\"name\":\"has _linkSource - is this a link-call action\",\"property\":\"_linkSource\",\"propertyType\":\"msg\",\"rules\":[{\"t\":\"nnull\"},{\"t\":\"else\"}],\"checkall\":\"true\",\"repair\":false,\"outputs\":2,\"x\":553.0003051757812,\"y\":816.142822265625,\"wires\":[[\"09b45bafaa67147a\"],[]]},{\"id\":\"503aa7f4da56542d\",\"type\":\"template\",\"z\":\"4c24fa4e7dcf38ec\",\"name\":\"v11\",\"field\":\"payload\",\"fieldType\":\"msg\",\"format\":\"javascript\",\"syntax\":\"mustache\",\"template\":\"\",\"output\":\"str\",\"x\":578.7144203186035,\"y\":728,\"wires\":[[\"abac4f329e6a820d\"]]},{\"id\":\"09b45bafaa67147a\",\"type\":\"link out\",\"z\":\"4c24fa4e7dcf38ec\",\"name\":\"link out 82\",\"mode\":\"return\",\"links\":[],\"x\":1136.14306640625,\"y\":818.7142333984375,\"wires\":[]},{\"id\":\"cd925fa7a351451a\",\"type\":\"markdown\",\"z\":\"4c24fa4e7dcf38ec\",\"name\":\"\",\"x\":772.7144203186035,\"y\":594,\"wires\":[[\"503aa7f4da56542d\"]]},{\"id\":\"8d7a34aac2739180\",\"type\":\"template\",\"z\":\"4c24fa4e7dcf38ec\",\"name\":\".md page\",\"field\":\"payload\",\"fieldType\":\"msg\",\"format\":\"markdown\",\"syntax\":\"mustache\",\"template\":\"\",\"output\":\"str\",\"x\":965.7144203186035,\"y\":405,\"wires\":[[\"cd925fa7a351451a\"]]},{\"id\":\"c639b3e6dd4092a2\",\"type\":\"template\",\"z\":\"4c24fa4e7dcf38ec\",\"name\":\"flowexample7\",\"field\":\"flowexample7\",\"fieldType\":\"msg\",\"format\":\"handlebars\",\"syntax\":\"plain\",\"template\":\"\",\"output\":\"str\",\"x\":1185.7144203186035,\"y\":156,\"wires\":[[\"8d7a34aac2739180\"]]},{\"id\":\"40562872bcf9e779\",\"type\":\"template\",\"z\":\"4c24fa4e7dcf38ec\",\"name\":\"flowexample6\",\"field\":\"flowexample6\",\"fieldType\":\"msg\",\"format\":\"handlebars\",\"syntax\":\"plain\",\"template\":\"\",\"output\":\"str\",\"x\":1424.7144203186035,\"y\":402,\"wires\":[[\"c639b3e6dd4092a2\"]]},{\"id\":\"23dc5d86e4ae09f7\",\"type\":\"template\",\"z\":\"4c24fa4e7dcf38ec\",\"name\":\"flowexample5\",\"field\":\"flowexample5\",\"fieldType\":\"msg\",\"format\":\"handlebars\",\"syntax\":\"plain\",\"template\":\"\",\"output\":\"str\",\"x\":1633.7144203186035,\"y\":606,\"wires\":[[\"40562872bcf9e779\"]]},{\"id\":\"309d9661aa3ca436\",\"type\":\"template\",\"z\":\"4c24fa4e7dcf38ec\",\"name\":\"flowexample4\",\"field\":\"flowexample4\",\"fieldType\":\"msg\",\"format\":\"handlebars\",\"syntax\":\"plain\",\"template\":\"\",\"output\":\"str\",\"x\":1814.7144203186035,\"y\":804,\"wires\":[[\"23dc5d86e4ae09f7\"]]},{\"id\":\"88644f9859d30ff0\",\"type\":\"template\",\"z\":\"4c24fa4e7dcf38ec\",\"name\":\"flowexample3\",\"field\":\"flowexample3\",\"fieldType\":\"msg\",\"format\":\"handlebars\",\"syntax\":\"plain\",\"template\":\"\",\"output\":\"str\",\"x\":1346.7144203186035,\"y\":811,\"wires\":[[\"309d9661aa3ca436\"]]},{\"id\":\"18c0c665820d9a21\",\"type\":\"template\",\"z\":\"4c24fa4e7dcf38ec\",\"name\":\"flowexample2\",\"field\":\"flowexample2\",\"fieldType\":\"msg\",\"format\":\"handlebars\",\"syntax\":\"plain\",\"template\":\"\",\"output\":\"str\",\"x\":1115.7144775390625,\"y\":952,\"wires\":[[\"88644f9859d30ff0\"]]},{\"id\":\"8cd8ed44f82b06bf\",\"type\":\"template\",\"z\":\"4c24fa4e7dcf38ec\",\"name\":\"flow example 1\",\"field\":\"flowexample1\",\"fieldType\":\"msg\",\"format\":\"handlebars\",\"syntax\":\"plain\",\"template\":\"\",\"output\":\"str\",\"x\":894.71435546875,\"y\":819,\"wires\":[[\"18c0c665820d9a21\"]]},{\"id\":\"2294edbbc0bcfa16\",\"type\":\"BlogPageInfo\",\"z\":\"4c24fa4e7dcf38ec\",\"name\":\"\",\"image\":\"\",\"summary\":\"Can I generate html directly without using markdown markup?\",\"title\":\"This is a test of something new\",\"publishedAt\":\"2023-06-25T11:22\",\"updatedAt\":\"2023-06-25T11:22\",\"incRss\":false,\"incSitemap\":false,\"incIndex\":false,\"shrLinkedIn\":false,\"supportNodeRedJson\":false,\"reloadOnEdit\":true,\"redirectToNode\":false,\"redirectNodeId\":\"status-404\",\"redirectStatusCode\":\"301\",\"x\":1371,\"y\":559,\"wires\":[[\"8cd8ed44f82b06bf\"]]},{\"id\":\"48e808c24ffc7e1d\",\"type\":\"link in\",\"z\":\"4c24fa4e7dcf38ec\",\"name\":\"[blog] embedded-flow-v11.html\",\"links\":[],\"x\":1122.28564453125,\"y\":484,\"wires\":[[\"2294edbbc0bcfa16\"]]}]",
"output": "str",
"x": 869.75,
"y": 2678.75,
"wires": [
[
"3aa459e4be671f2e"
]
]
},
{
"id": "a29a6c3facf4d1bc",
"type": "template",
"z": "3b1289d7ccf9cb0f",
"g": "61aca6c3c1dd26ad",
"name": "htmlexample",
"field": "htmlexample",
"fieldType": "msg",
"format": "handlebars",
"syntax": "plain",
"template": "<html lang=\"en\">\n <head>\n <meta charset=\"UTF-8\">\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n\n <title>Node-RED Flow plugin html example</title>\n\n <script src=\"https://unpkg.com/d3/dist/d3.min.js\" crossorigin=\"anonymous\" referrerpolicy=\"no-referrer\"></script>\n <script src=\"https://ajax.googleapis.com/ajax/libs/jquery/3.7.0/jquery.min.js\" integrity=\"sha512-3gJwYpMe3QewGELv8k/BX9vcqhryRdzRMxVfq6ngyWXwo03GFEzjsUm8Q7RZcHPHksttq7/GFoxjCVUjkjvPdw==\" crossorigin=\"anonymous\" referrerpolicy=\"no-referrer\"></script>\n <script src=\"https://cdn.openmindmap.org/embed/flowviewer.js\" crossorigin=\"anonymous\" referrerpolicy=\"no-referrer\"></script>\n <link rel=\"stylesheet\" href=\"https://cdn.openmindmap.org/embed/flowviewer.css\">\n </head>\n\n <body>\n <h3>Example 1: Classic <code>noderedjson</code> language</h3>\n<pre><code class=\"language-noderedjson\">[{"id":"548238136ca436ac","type":"link in","z":"652104ea8724facc","name":"[blog] embedded-flow.html","links":[],"x":538,"y":482,"wires":[["6c47c59cbbbecdf5"]]},{"id":"6c47c59cbbbecdf5","type":"BlogPageInfo","z":"652104ea8724facc","name":"","image":"","summary":"Can I generate html directly without using markdown markup?","title":"This is a test of something new","publishedAt":"2023-06-25T11:22","updatedAt":"2023-06-25T11:22","incRss":false,"incSitemap":false,"incIndex":false,"shrLinkedIn":false,"reloadOnEdit":false,"redirectToNode":false,"redirectNodeId":"status-404","redirectStatusCode":"301","x":734.7143707275391,"y":482,"wires":[["64c749a71e14498a"]]},{"id":"99a631acf3d6c5bf","type":"link out","z":"652104ea8724facc","name":"link out 80","mode":"return","links":[],"x":1580.0002040863037,"y":475.4285936355591,"wires":[]},{"id":"b360b1072d4d72fa","type":"switch","z":"652104ea8724facc","name":"has _linkSource - is this a link-call action","property":"_linkSource","propertyType":"msg","rules":[{"t":"nnull"},{"t":"else"}],"checkall":"true","repair":false,"outputs":2,"x":1289.8573913574219,"y":481.8571538925171,"wires":[["99a631acf3d6c5bf"],[]]},{"id":"64c749a71e14498a","type":"template","z":"652104ea8724facc","name":"v1","field":"payload","fieldType":"msg","format":"javascript","syntax":"mustache","template":"","output":"str","x":970.4287910461426,"y":482,"wires":[["b360b1072d4d72fa"]]},{"id":"f0de398e3cfa056a","type":"link in","z":"652104ea8724facc","name":"[blog] embedded-flow-v2.html","links":[],"x":538,"y":541.5714330673218,"wires":[["b116c37cd891a5e7"]]},{"id":"b116c37cd891a5e7","type":"BlogPageInfo","z":"652104ea8724facc","name":"","image":"","summary":"Can I generate html directly without using markdown markup?","title":"This is a test of something new","publishedAt":"2023-06-25T11:22","updatedAt":"2023-06-25T11:22","incRss":false,"incSitemap":false,"incIndex":false,"shrLinkedIn":false,"reloadOnEdit":false,"redirectToNode":false,"redirectNodeId":"status-404","redirectStatusCode":"301","x":744.7143707275391,"y":541.5714330673218,"wires":[["861c435f7685cf55"]]},{"id":"861c435f7685cf55","type":"template","z":"652104ea8724facc","name":"v2","field":"payload","fieldType":"msg","format":"javascript","syntax":"mustache","template":"","output":"str","x":970.4287910461426,"y":541.5714330673218,"wires":[["b360b1072d4d72fa"]]},{"id":"951cf6e2f214b95b","type":"template","z":"652104ea8724facc","name":"v3","field":"payload","fieldType":"msg","format":"javascript","syntax":"mustache","template":"","output":"str","x":970.4287910461426,"y":597.2857732772827,"wires":[["b360b1072d4d72fa"]]},{"id":"7885fd1e6f944103","type":"link in","z":"652104ea8724facc","name":"[blog] embedded-flow-v3.html","links":[],"x":538,"y":597.2857732772827,"wires":[["382f5f013b6f9a3b"]]},{"id":"382f5f013b6f9a3b","type":"BlogPageInfo","z":"652104ea8724facc","name":"","image":"","summary":"Can I generate html directly without using markdown markup?","title":"This is a test of something new","publishedAt":"2023-06-25T11:22","updatedAt":"2023-06-25T11:22","incRss":false,"incSitemap":false,"incIndex":false,"shrLinkedIn":false,"reloadOnEdit":false,"redirectToNode":false,"redirectNodeId":"status-404","redirectStatusCode":"301","x":744.7143707275391,"y":597.2857732772827,"wires":[["951cf6e2f214b95b"]]},{"id":"7b05f3f671073181","type":"template","z":"652104ea8724facc","name":"v4","field":"payload","fieldType":"msg","format":"html","syntax":"mustache","template":"","output":"str","x":970.4287910461426,"y":662.2857732772827,"wires":[["b360b1072d4d72fa"]]},{"id":"3952279c3016c957","type":"link in","z":"652104ea8724facc","name":"[blog] embedded-flow-v4.html","links":[],"x":538,"y":662.2857732772827,"wires":[["295d018b67f438b9"]]},{"id":"295d018b67f438b9","type":"BlogPageInfo","z":"652104ea8724facc","name":"","image":"","summary":"Can I generate html directly without using markdown markup?","title":"This is a test of something new","publishedAt":"2023-06-25T11:22","updatedAt":"2023-06-25T11:22","incRss":false,"incSitemap":false,"incIndex":false,"shrLinkedIn":false,"reloadOnEdit":false,"redirectToNode":false,"redirectNodeId":"status-404","redirectStatusCode":"301","x":744.7143707275391,"y":662.2857732772827,"wires":[["7b05f3f671073181"]]},{"id":"747018dc4b0adf33","type":"template","z":"652104ea8724facc","name":"v5","field":"payload","fieldType":"msg","format":"javascript","syntax":"mustache","template":"","output":"str","x":975.571418762207,"y":724.7143468856812,"wires":[["b360b1072d4d72fa"]]},{"id":"317130644c24a056","type":"link in","z":"652104ea8724facc","name":"[blog] embedded-flow-v5.html","links":[],"x":543.1426277160645,"y":724.7143468856812,"wires":[["afca478f73a8601e"]]},{"id":"afca478f73a8601e","type":"BlogPageInfo","z":"652104ea8724facc","name":"","image":"","summary":"Can I generate html directly without using markdown markup?","title":"This is a test of something new","publishedAt":"2023-06-25T11:22","updatedAt":"2023-06-25T11:22","incRss":false,"incSitemap":false,"incIndex":false,"shrLinkedIn":false,"reloadOnEdit":false,"redirectToNode":false,"redirectNodeId":"status-404","redirectStatusCode":"301","x":749.8569984436035,"y":724.7143468856812,"wires":[["747018dc4b0adf33"]]}]\n</code></pre>\n<hr>\n<h3>Example 2: Language <code>noderedjson-with-arrows</code></h3>\n<p>Arrows only on the inputs, outputs remain rectangles.</p>\n<pre><code class=\"language-noderedjson-with-arrows\">[{"id":"d598829cba783cad","type":"GetFlows","z":"f13d3b083d5cc429","name":"","flowVersion":"v1","useAuthentication":false,"apiUsername":"","apiUsernameType":"env","apiPassword":"","apiPasswordType":"env","x":349,"y":301,"wires":[["ddce7325bdba57d8"]]},{"id":"c507dd73478a26af","type":"inject","z":"f13d3b083d5cc429","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"7200","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":199,"y":181,"wires":[["d598829cba783cad"]]},{"id":"67b77f304303cb27","type":"http request","z":"f13d3b083d5cc429","name":"send off to backup server","method":"POST","ret":"txt","paytoqs":"ignore","url":"","tls":"","persist":false,"proxy":"","insecureHTTPParser":false,"authType":"","senderr":false,"headers":[],"x":1119,"y":181,"wires":[[]]},{"id":"ddce7325bdba57d8","type":"change","z":"f13d3b083d5cc429","name":"setup payload for zip node","rules":[{"t":"set","p":"_p","pt":"msg","to":"[]","tot":"json"},{"t":"set","p":"_p[0]","pt":"msg","to":"{ \\"filename\\": \\"openmindmap_flows.json\\", \\"payload\\": \\"\\" }","tot":"json"},{"t":"set","p":"_p[0].payload","pt":"msg","to":"payload","tot":"msg"},{"t":"set","p":"token","pt":"msg","to":"BACKUP_ZIP_TOKEN","tot":"env"},{"t":"set","p":"_p[1]","pt":"msg","to":"{ \\"filename\\": \\"token.txt\\", \\"payload\\": \\"\\" & token & \\"\\" }","tot":"jsonata"},{"t":"set","p":"payload","pt":"msg","to":"_p","tot":"msg"},{"t":"set","p":"url","pt":"msg","to":"BACKUP_ENDPOINT","tot":"env"}],"action":"","property":"","from":"","to":"","reg":false,"x":549,"y":401,"wires":[["1f879c968f033a26"]]},{"id":"1f879c968f033a26","type":"zip","z":"f13d3b083d5cc429","name":"","mode":"compress","filename":"backup.zip","compressionlevel":"9","outasstring":false,"x":769,"y":401,"wires":[["53808fa58e1aa543"]]},{"id":"53808fa58e1aa543","type":"base64","z":"f13d3b083d5cc429","name":"","action":"","property":"payload","x":929,"y":301,"wires":[["67b77f304303cb27"]]}]\n</code></pre>\n<hr>\n<h3>Example 3: Language <code>noderedjson-no-gridlines</code></h3>\n<pre><code class=\"language-noderedjson-no-gridlines\">[{"id":"e2ec7bbe752d60b0","type":"BlogDetails","z":"184fd5793b8d906c","name":"Open Mind Map Blog Configuration","authorName":"Gregorius Rippenstein","authorEmail":"gregorius@rippenstein.art","authorUrl":"https://gregorius.rippenstein.art","blogUrl":"https://blog.openmindmap.org","blogPathPrefix":"/blog","blogTitle":"Open Mind Map Blog","blogSubtitle":"Global mind-map for a global world.","blogCopyrightOwner":"Open Mind-Map Org.","x":818,"y":906.5,"wires":[["85a8755de2d6ae5c"]]},{"id":"1956265f7f508d04","type":"group","z":"184fd5793b8d906c","name":"ensure correct domain","style":{"label":true,"fill":"#bfc7d7","fill-opacity":"0.71","color":"#000000"},"nodes":["26b099616f74f352","42795f82c29b8583","1f0ea79587166fdd","6f6d63b5fa995b5c","1d1325b68a7cac1e","cdaeb49728432c46"],"x":163,"y":136,"w":877,"h":189.5},{"id":"26b099616f74f352","type":"switch","z":"184fd5793b8d906c","g":"1956265f7f508d04","name":"check hostname","property":"req.hostname","propertyType":"msg","rules":[{"t":"eq","v":"blog.openmindmap.org","vt":"str"},{"t":"eq","v":"demo.openmindmap.org","vt":"str"},{"t":"else"}],"checkall":"false","repair":false,"outputs":3,"x":533,"y":184.5,"wires":[["e2ec7bbe752d60b0"],["1f0ea79587166fdd"],["6f6d63b5fa995b5c"]]},{"id":"42795f82c29b8583","type":"http in","z":"184fd5793b8d906c","g":"1956265f7f508d04","name":"","url":"/","method":"get","upload":false,"swaggerDoc":"","x":239,"y":184.5,"wires":[["26b099616f74f352"]]},{"id":"1f0ea79587166fdd","type":"http response","z":"184fd5793b8d906c","g":"1956265f7f508d04","name":"redirect if demo.omm.org","statusCode":"301","headers":{"Location":"/omm"},"x":887,"y":185.5,"wires":[]},{"id":"6f6d63b5fa995b5c","type":"http response","z":"184fd5793b8d906c","g":"1956265f7f508d04","name":"NOT FOUND everything else","statusCode":"404","headers":{},"x":894,"y":227.5,"wires":[]},{"id":"1d1325b68a7cac1e","type":"http in","z":"184fd5793b8d906c","g":"1956265f7f508d04","name":"","url":"/blog/:name","method":"get","upload":false,"swaggerDoc":"","x":269,"y":232.5,"wires":[["26b099616f74f352"]]},{"id":"cdaeb49728432c46","type":"http in","z":"184fd5793b8d906c","g":"1956265f7f508d04","name":"","url":"/:name","method":"get","upload":false,"swaggerDoc":"","x":259,"y":284.5,"wires":[["26b099616f74f352"]]},{"id":"95389d39f5c53d23","type":"group","z":"184fd5793b8d906c","name":"map path to blog content","style":{"label":true,"stroke":"#000000","color":"#000000"},"nodes":["85c463f82c547140","32bb06dfab9a9529","85a8755de2d6ae5c","7fa818203cac5402","71c533e01539c3d3","180d18e4931a5ace","0d6c29c07f300c15","f4781993f9dc4130","b41e2620ed591a2d","a4bf3e5ac7c74343","5d0edf716dc5c6b5"],"x":1182,"y":790.5,"w":2129,"h":264},{"id":"85c463f82c547140","type":"template","z":"184fd5793b8d906c","g":"95389d39f5c53d23","name":"HTML Layout","field":"payload","fieldType":"msg","format":"handlebars","syntax":"mustache","template":"","output":"str","x":3035,"y":1013.5,"wires":[["32bb06dfab9a9529"]]},{"id":"32bb06dfab9a9529","type":"http response","z":"184fd5793b8d906c","g":"95389d39f5c53d23","name":"","statusCode":"200","headers":{},"x":3225,"y":932.5,"wires":[]},{"id":"85a8755de2d6ae5c","type":"switch","z":"184fd5793b8d906c","g":"95389d39f5c53d23","name":"Path handling","property":"req.params.name","propertyType":"msg","rules":[{"t":"eq","v":"apple-touch-icon.png","vt":"str"},{"t":"eq","v":"favicon.ico","vt":"str"},{"t":"eq","v":"sitemap.xml","vt":"str"},{"t":"eq","v":"feed.xml","vt":"str"},{"t":"eq","v":"rss.xml","vt":"str"},{"t":"eq","v":"index","vt":"str"},{"t":"eq","v":"blog","vt":"str"},{"t":"nnull"},{"t":"else"}],"checkall":"false","repair":false,"outputs":9,"x":1288,"y":906.5,"wires":[[],[],[],[],[],["7fa818203cac5402"],["0d6c29c07f300c15"],["7fa818203cac5402"],["0d6c29c07f300c15"]]},{"id":"7fa818203cac5402","type":"change","z":"184fd5793b8d906c","g":"95389d39f5c53d23","name":"set page target: \\"[blog] <name>\\"","rules":[{"t":"set","p":"target","pt":"msg","to":"\\"[blog] \\" & msg.req.params.name","tot":"jsonata"}],"action":"","property":"","from":"","to":"","reg":false,"x":1638,"y":886.5,"wires":[["71c533e01539c3d3"]]},{"id":"71c533e01539c3d3","type":"link call","z":"184fd5793b8d906c","g":"95389d39f5c53d23","name":"generate page content","links":[],"linkType":"dynamic","timeout":"5","x":1941,"y":951.5,"wires":[["f4781993f9dc4130"]]},{"id":"180d18e4931a5ace","type":"markdown","z":"184fd5793b8d906c","g":"95389d39f5c53d23","name":"Markdown to HTML","x":2794,"y":1013.5,"wires":[["85c463f82c547140"]]},{"id":"0d6c29c07f300c15","type":"change","z":"184fd5793b8d906c","g":"95389d39f5c53d23","name":"target: \\"[blog] index\\"","rules":[{"t":"set","p":"target","pt":"msg","to":"[blog] index","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":1598,"y":951.5,"wires":[["71c533e01539c3d3"]]},{"id":"f4781993f9dc4130","type":"switch","z":"184fd5793b8d906c","g":"95389d39f5c53d23","name":"ignore redirects","property":"statusCode","propertyType":"msg","rules":[{"t":"eq","v":"301","vt":"num"},{"t":"eq","v":"302","vt":"num"},{"t":"else"}],"checkall":"false","repair":false,"outputs":3,"x":2152,"y":951.5,"wires":[[],[],["b41e2620ed591a2d"]]},{"id":"b41e2620ed591a2d","type":"switch","z":"184fd5793b8d906c","g":"95389d39f5c53d23","name":"path extension is '.html'?","property":"page.path","propertyType":"msg","rules":[{"t":"regex","v":"\\\\.html$","vt":"str","case":true},{"t":"else"}],"checkall":"false","repair":false,"outputs":2,"x":2524,"y":831.5,"wires":[["32bb06dfab9a9529"],["a4bf3e5ac7c74343"]]},{"id":"a4bf3e5ac7c74343","type":"switch","z":"184fd5793b8d906c","g":"95389d39f5c53d23","name":"is msg.htmlcontent set?","property":"htmlcontent","propertyType":"msg","rules":[{"t":"nnull"},{"t":"else"}],"checkall":"false","repair":false,"outputs":2,"x":2526,"y":935.5,"wires":[["5d0edf716dc5c6b5"],["180d18e4931a5ace"]]},{"id":"5d0edf716dc5c6b5","type":"change","z":"184fd5793b8d906c","g":"95389d39f5c53d23","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"htmlcontent","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":2863,"y":929.5,"wires":[["32bb06dfab9a9529"]]}]\n</code></pre>\n<hr>\n<h3>Example 4: The Xmas tree with <code>noderedjson-no-gridlines-with-arrows</code></h3>\n<pre><code class=\"language-noderedjson-no-gridlines-with-arrows\">[{"id":"ae0d5b956a3f28e6","type":"BlogPageInfo","z":"4c24fa4e7dcf38ec","name":"","image":"","summary":"Can I generate html directly without using markdown markup?","title":"This is a test of something new","publishedAt":"2023-06-25T11:22","updatedAt":"2023-06-25T11:22","incRss":false,"incSitemap":false,"incIndex":false,"shrLinkedIn":false,"supportNodeRedJson":false,"reloadOnEdit":true,"redirectToNode":false,"redirectNodeId":"status-404","redirectStatusCode":"301","x":1049,"y":559,"wires":[["2d22995c9f1f1b29"]]},{"id":"cbce591869d45063","type":"link in","z":"4c24fa4e7dcf38ec","name":"[blog] embedded-flow-v10.html","links":[],"x":1146.28564453125,"y":641,"wires":[["ae0d5b956a3f28e6"]]},{"id":"2d22995c9f1f1b29","type":"template","z":"4c24fa4e7dcf38ec","name":"v10","field":"payload","fieldType":"msg","format":"javascript","syntax":"mustache","template":"","output":"str","x":1298.71435546875,"y":609,"wires":[["abac4f329e6a820d"]]},{"id":"abac4f329e6a820d","type":"switch","z":"4c24fa4e7dcf38ec","name":"has _linkSource - is this a link-call action","property":"_linkSource","propertyType":"msg","rules":[{"t":"nnull"},{"t":"else"}],"checkall":"true","repair":false,"outputs":2,"x":553.0003051757812,"y":816.142822265625,"wires":[["09b45bafaa67147a"],[]]},{"id":"503aa7f4da56542d","type":"template","z":"4c24fa4e7dcf38ec","name":"v11","field":"payload","fieldType":"msg","format":"javascript","syntax":"mustache","template":"","output":"str","x":578.7144203186035,"y":728,"wires":[["abac4f329e6a820d"]]},{"id":"09b45bafaa67147a","type":"link out","z":"4c24fa4e7dcf38ec","name":"link out 82","mode":"return","links":[],"x":1136.14306640625,"y":818.7142333984375,"wires":[]},{"id":"cd925fa7a351451a","type":"markdown","z":"4c24fa4e7dcf38ec","name":"","x":772.7144203186035,"y":594,"wires":[["503aa7f4da56542d"]]},{"id":"8d7a34aac2739180","type":"template","z":"4c24fa4e7dcf38ec","name":".md page","field":"payload","fieldType":"msg","format":"markdown","syntax":"mustache","template":"","output":"str","x":965.7144203186035,"y":405,"wires":[["cd925fa7a351451a"]]},{"id":"c639b3e6dd4092a2","type":"template","z":"4c24fa4e7dcf38ec","name":"flowexample7","field":"flowexample7","fieldType":"msg","format":"handlebars","syntax":"plain","template":"","output":"str","x":1185.7144203186035,"y":156,"wires":[["8d7a34aac2739180"]]},{"id":"40562872bcf9e779","type":"template","z":"4c24fa4e7dcf38ec","name":"flowexample6","field":"flowexample6","fieldType":"msg","format":"handlebars","syntax":"plain","template":"","output":"str","x":1424.7144203186035,"y":402,"wires":[["c639b3e6dd4092a2"]]},{"id":"23dc5d86e4ae09f7","type":"template","z":"4c24fa4e7dcf38ec","name":"flowexample5","field":"flowexample5","fieldType":"msg","format":"handlebars","syntax":"plain","template":"","output":"str","x":1633.7144203186035,"y":606,"wires":[["40562872bcf9e779"]]},{"id":"309d9661aa3ca436","type":"template","z":"4c24fa4e7dcf38ec","name":"flowexample4","field":"flowexample4","fieldType":"msg","format":"handlebars","syntax":"plain","template":"","output":"str","x":1814.7144203186035,"y":804,"wires":[["23dc5d86e4ae09f7"]]},{"id":"88644f9859d30ff0","type":"template","z":"4c24fa4e7dcf38ec","name":"flowexample3","field":"flowexample3","fieldType":"msg","format":"handlebars","syntax":"plain","template":"","output":"str","x":1346.7144203186035,"y":811,"wires":[["309d9661aa3ca436"]]},{"id":"18c0c665820d9a21","type":"template","z":"4c24fa4e7dcf38ec","name":"flowexample2","field":"flowexample2","fieldType":"msg","format":"handlebars","syntax":"plain","template":"","output":"str","x":1115.7144775390625,"y":952,"wires":[["88644f9859d30ff0"]]},{"id":"8cd8ed44f82b06bf","type":"template","z":"4c24fa4e7dcf38ec","name":"flow example 1","field":"flowexample1","fieldType":"msg","format":"handlebars","syntax":"plain","template":"","output":"str","x":894.71435546875,"y":819,"wires":[["18c0c665820d9a21"]]},{"id":"2294edbbc0bcfa16","type":"BlogPageInfo","z":"4c24fa4e7dcf38ec","name":"","image":"","summary":"Can I generate html directly without using markdown markup?","title":"This is a test of something new","publishedAt":"2023-06-25T11:22","updatedAt":"2023-06-25T11:22","incRss":false,"incSitemap":false,"incIndex":false,"shrLinkedIn":false,"supportNodeRedJson":false,"reloadOnEdit":true,"redirectToNode":false,"redirectNodeId":"status-404","redirectStatusCode":"301","x":1371,"y":559,"wires":[["8cd8ed44f82b06bf"]]},{"id":"48e808c24ffc7e1d","type":"link in","z":"4c24fa4e7dcf38ec","name":"[blog] embedded-flow-v11.html","links":[],"x":1122.28564453125,"y":484,"wires":[["2294edbbc0bcfa16"]]}]\n</code></pre>\n<hr>\n<h3>Example 5: Language: <code>noderedjson-no-images</code></h3>\n<pre><code class=\"language-noderedjson-no-images\">[{"id":"e3e278445b7bcb21","type":"subflow","name":"BlogPageEndsHere","info":"","category":"","in":[{"x":132,"y":215,"wires":[{"id":"b2f270b15349b67c"}]}],"out":[],"env":[],"meta":{},"color":"#ddeeff","icon":"font-awesome/fa-hand-stop-o"},{"id":"627f98bbc0ea4f8b","type":"link out","z":"e3e278445b7bcb21","name":"link out 77","mode":"return","links":[],"x":1328,"y":306,"wires":[]},{"id":"408189fb7a17ba8b","type":"switch","z":"e3e278445b7bcb21","name":"has _linkSource - is this a link-call action","property":"_linkSource","propertyType":"msg","rules":[{"t":"nnull"},{"t":"else"}],"checkall":"true","repair":false,"outputs":2,"x":1002,"y":403,"wires":[["627f98bbc0ea4f8b"],[]]},{"id":"2a2cc4ef4e7704b4","type":"template","z":"e3e278445b7bcb21","name":"","field":"payload","fieldType":"msg","format":"handlebars","syntax":"mustache","template":"","output":"str","x":545,"y":632,"wires":[["408189fb7a17ba8b"]]},{"id":"693c46a206c026a4","type":"change","z":"e3e278445b7bcb21","name":"","rules":[{"t":"set","p":"template","pt":"msg","to":"payload","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":474,"y":510,"wires":[["2a2cc4ef4e7704b4"]]},{"id":"b2f270b15349b67c","type":"switch","z":"e3e278445b7bcb21","name":"","property":"page.noderedjson","propertyType":"msg","rules":[{"t":"true"},{"t":"else"}],"checkall":"false","repair":false,"outputs":2,"x":374,"y":408,"wires":[["408189fb7a17ba8b"],["693c46a206c026a4"]]},{"id":"f161221e2ee84846","type":"BlogPageInfo","z":"e88020583c022170","name":"","image":"1687952972847_Screen_Shot_2023-06-28_at_13.48.43.png","summary":"Codeblocks are one thing but images are further a thousand Json files. Show me your flow!","title":"Replacing Node-RED flow codeblocks with flow images.","publishedAt":"2023-06-28T11:22","updatedAt":"2023-06-28T11:22","incRss":true,"incSitemap":true,"incIndex":true,"shrLinkedIn":true,"supportNodeRedJson":true,"reloadOnEdit":false,"redirectToNode":false,"redirectNodeId":"status-404","redirectStatusCode":"301","x":374.71435546875,"y":1339,"wires":[["49c3561cfc3bf8b3"]]},{"id":"e0bcd8d7b8245c21","type":"link in","z":"e88020583c022170","name":"[blog] backticks-in-markdown-and-node-red","links":[],"x":204,"y":1389,"wires":[["f161221e2ee84846"]]},{"id":"49c3561cfc3bf8b3","type":"template","z":"e88020583c022170","name":"flow example 1","field":"flowexample1","fieldType":"msg","format":"handlebars","syntax":"plain","template":"","output":"str","x":660,"y":1425,"wires":[["724cc1e0b9b56983"]]},{"id":"f9ea3058dc703eee","type":"BlogPageInfo","z":"e88020583c022170","name":"","image":"","summary":"Can I replace codeblocks of flows.json with images?","title":"Testing the inclusion and replacement of codeblocks","publishedAt":"2023-06-25T11:22","updatedAt":"2023-06-25T11:22","incRss":false,"incSitemap":false,"incIndex":false,"shrLinkedIn":false,"supportNodeRedJson":true,"reloadOnEdit":false,"redirectToNode":false,"redirectNodeId":"status-404","redirectStatusCode":"301","x":403.71435546875,"y":1478,"wires":[["49c3561cfc3bf8b3"]]},{"id":"724cc1e0b9b56983","type":"template","z":"e88020583c022170","name":"flowexample2","field":"flowexample2","fieldType":"msg","format":"handlebars","syntax":"plain","template":"","output":"str","x":857,"y":1370,"wires":[["d8b85c4b0a441b4d"]]},{"id":"8b702bc007cf0e3e","type":"link in","z":"e88020583c022170","name":"[blog] codeblock-test","links":[],"x":204,"y":1424,"wires":[["f9ea3058dc703eee"]]},{"id":"d8b85c4b0a441b4d","type":"template","z":"e88020583c022170","name":"flowexample3","field":"flowexample3","fieldType":"msg","format":"handlebars","syntax":"plain","template":"","output":"str","x":1029,"y":1433,"wires":[["23f9f3582f3172b6"]]},{"id":"23f9f3582f3172b6","type":"template","z":"e88020583c022170","name":"flowexample4","field":"flowexample4","fieldType":"msg","format":"handlebars","syntax":"plain","template":"","output":"str","x":1235,"y":1378,"wires":[["22e594991d0092af"]]},{"id":"22e594991d0092af","type":"template","z":"e88020583c022170","name":"flowexample5","field":"flowexample5","fieldType":"msg","format":"handlebars","syntax":"plain","template":"","output":"str","x":1411,"y":1443,"wires":[["8ffa9d87efff1d51"]]},{"id":"8ffa9d87efff1d51","type":"template","z":"e88020583c022170","name":"flowexample6","field":"flowexample6","fieldType":"msg","format":"handlebars","syntax":"plain","template":"","output":"str","x":1592,"y":1385,"wires":[["7c3cbb557ff5b93d"]]},{"id":"7c3cbb557ff5b93d","type":"template","z":"e88020583c022170","name":"flowexample7","field":"flowexample7","fieldType":"msg","format":"handlebars","syntax":"plain","template":"","output":"str","x":1740,"y":1443,"wires":[["d9667d3144e93adb"]]},{"id":"d9667d3144e93adb","type":"template","z":"e88020583c022170","name":".md page","field":"payload","fieldType":"msg","format":"markdown","syntax":"mustache","template":"","output":"str","x":1092,"y":1737,"wires":[["d3f10882a0773e9b"]]},{"id":"d3f10882a0773e9b","type":"subflow:e3e278445b7bcb21","z":"e88020583c022170","name":"","x":1089,"y":1797,"wires":[]}]\n</code></pre>\n<hr>\n<h3>Example 6: Language: <code>noderedjson-no-images-with-arrows-no-gridlines</code></h3>\n<pre><code class=\"language-noderedjson-no-images-with-arrows-no-gridlines\">[{"id":"3287a0ac2d2a237b","type":"link in","z":"fa990486a351d7f4","name":"[blog] embedded-flow.html","links":[],"x":197,"y":107,"wires":[["0771f05ddd5c7e3e"]]},{"id":"0771f05ddd5c7e3e","type":"BlogPageInfo","z":"fa990486a351d7f4","name":"","image":"","summary":"Can I generate html directly without using markdown markup?","title":"This is a test of something new","publishedAt":"2023-06-25T11:22","updatedAt":"2023-06-25T11:22","incRss":false,"incSitemap":false,"incIndex":false,"shrLinkedIn":false,"reloadOnEdit":false,"redirectToNode":false,"redirectNodeId":"status-404","redirectStatusCode":"301","x":393.71437072753906,"y":107,"wires":[["f9b99c65087dc03e"]]},{"id":"996205845bf2ce3f","type":"link out","z":"fa990486a351d7f4","name":"link out 80","mode":"return","links":[],"x":1239.0002040863037,"y":100.42859363555908,"wires":[]},{"id":"714495cf05a320bf","type":"switch","z":"fa990486a351d7f4","name":"has _linkSource - is this a link-call action","property":"_linkSource","propertyType":"msg","rules":[{"t":"nnull"},{"t":"else"}],"checkall":"true","repair":false,"outputs":2,"x":948.8573913574219,"y":106.85715389251709,"wires":[["996205845bf2ce3f"],[]]},{"id":"f9b99c65087dc03e","type":"template","z":"fa990486a351d7f4","name":"v1","field":"payload","fieldType":"msg","format":"javascript","syntax":"mustache","template":"","output":"str","x":629.4287910461426,"y":107,"wires":[["714495cf05a320bf"]]},{"id":"b6b29c169ced0dc4","type":"link in","z":"fa990486a351d7f4","name":"[blog] embedded-flow-v2.html","links":[],"x":197,"y":166.57143306732178,"wires":[["755725b937fd9621"]]},{"id":"755725b937fd9621","type":"BlogPageInfo","z":"fa990486a351d7f4","name":"","image":"","summary":"Can I generate html directly without using markdown markup?","title":"This is a test of something new","publishedAt":"2023-06-25T11:22","updatedAt":"2023-06-25T11:22","incRss":false,"incSitemap":false,"incIndex":false,"shrLinkedIn":false,"reloadOnEdit":false,"redirectToNode":false,"redirectNodeId":"status-404","redirectStatusCode":"301","x":403.71437072753906,"y":166.57143306732178,"wires":[["eb04b257022ae729"]]},{"id":"eb04b257022ae729","type":"template","z":"fa990486a351d7f4","name":"v2","field":"payload","fieldType":"msg","format":"javascript","syntax":"mustache","template":"","output":"str","x":629.4287910461426,"y":166.57143306732178,"wires":[["714495cf05a320bf"]]},{"id":"b03d9f123a9903ca","type":"template","z":"fa990486a351d7f4","name":"v3","field":"payload","fieldType":"msg","format":"javascript","syntax":"mustache","template":"","output":"str","x":629.4287910461426,"y":222.28577327728271,"wires":[["714495cf05a320bf"]]},{"id":"f660e24f4f9d210d","type":"link in","z":"fa990486a351d7f4","name":"[blog] embedded-flow-v3.html","links":[],"x":197,"y":222.28577327728271,"wires":[["ae8f25da7d7893fc"]]},{"id":"ae8f25da7d7893fc","type":"BlogPageInfo","z":"fa990486a351d7f4","name":"","image":"","summary":"Can I generate html directly without using markdown markup?","title":"This is a test of something new","publishedAt":"2023-06-25T11:22","updatedAt":"2023-06-25T11:22","incRss":false,"incSitemap":false,"incIndex":false,"shrLinkedIn":false,"reloadOnEdit":false,"redirectToNode":false,"redirectNodeId":"status-404","redirectStatusCode":"301","x":403.71437072753906,"y":222.28577327728271,"wires":[["b03d9f123a9903ca"]]},{"id":"f0cec8e4f35dbc99","type":"http in","z":"fa990486a351d7f4","name":"","url":"/embed/helpers.js","method":"get","upload":false,"swaggerDoc":"","x":533.571418762207,"y":877.7143468856812,"wires":[["dd80e50a71271b27"]]},{"id":"d5631179afc237dc","type":"http response","z":"fa990486a351d7f4","name":"js","statusCode":"","headers":{"content-type":"application/javascript; charset=utf-8"},"x":1879.571418762207,"y":878.7143468856812,"wires":[]},{"id":"dd80e50a71271b27","type":"template","z":"fa990486a351d7f4","name":"","field":"payload","fieldType":"msg","format":"javascript","syntax":"mustache","template":"","output":"str","x":1703.571418762207,"y":878.7143468856812,"wires":[["d5631179afc237dc"]]},{"id":"ac22dd3a10ca8a7a","type":"template","z":"fa990486a351d7f4","name":"complete js content","field":"payload","fieldType":"msg","format":"javascript","syntax":"mustache","template":"","output":"str","x":1555.571418762207,"y":1097.7143468856812,"wires":[["d5631179afc237dc"]]},{"id":"e1e9d52f873f0f5b","type":"template","z":"fa990486a351d7f4","name":"jsColoursByType","field":"jsColoursByType","fieldType":"msg","format":"javascript","syntax":"mustache","template":"","output":"str","x":855.571418762207,"y":941.7143468856812,"wires":[["36cee437c1931ff7"]]},{"id":"f9a2c229e54e7c1a","type":"http in","z":"fa990486a351d7f4","name":"","url":"/embed/helpers-v4.js","method":"get","upload":false,"swaggerDoc":"","x":543.571418762207,"y":942.7143468856812,"wires":[["e1e9d52f873f0f5b"]]},{"id":"36cee437c1931ff7","type":"template","z":"fa990486a351d7f4","name":"jsUtilsGetNodeSelector","field":"jsUtilsGetNodeSelector","fieldType":"msg","format":"javascript","syntax":"mustache","template":"","output":"str","x":875.571418762207,"y":981.7143468856812,"wires":[["b101d34ec03a821c"]]},{"id":"b101d34ec03a821c","type":"template","z":"fa990486a351d7f4","name":"jsGenerateLinkPath","field":"jsGenerateLinkPath","fieldType":"msg","format":"javascript","syntax":"mustache","template":"","output":"str","x":855.571418762207,"y":1021.7143468856812,"wires":[["75fb6789236f48df"]]},{"id":"d6db970006d87875","type":"template","z":"fa990486a351d7f4","name":"jsRenderFlow - v4","field":"jsRenderFlow","fieldType":"msg","format":"javascript","syntax":"mustache","template":"","output":"str","x":1269.571418762207,"y":1048.7143468856812,"wires":[["ac22dd3a10ca8a7a"]]},{"id":"66af842428cf1829","type":"template","z":"fa990486a351d7f4","name":"v4","field":"payload","fieldType":"msg","format":"html","syntax":"mustache","template":"","output":"str","x":629.4287910461426,"y":287.2857732772827,"wires":[["714495cf05a320bf"]]},{"id":"859109e5f2acb4e2","type":"link in","z":"fa990486a351d7f4","name":"[blog] embedded-flow-v4.html","links":[],"x":197,"y":287.2857732772827,"wires":[["b3b58ff6a8dede2a"]]},{"id":"b3b58ff6a8dede2a","type":"BlogPageInfo","z":"fa990486a351d7f4","name":"","image":"","summary":"Can I generate html directly without using markdown markup?","title":"This is a test of something new","publishedAt":"2023-06-25T11:22","updatedAt":"2023-06-25T11:22","incRss":false,"incSitemap":false,"incIndex":false,"shrLinkedIn":false,"reloadOnEdit":false,"redirectToNode":false,"redirectNodeId":"status-404","redirectStatusCode":"301","x":403.71437072753906,"y":287.2857732772827,"wires":[["66af842428cf1829"]]},{"id":"75fb6789236f48df","type":"template","z":"fa990486a351d7f4","name":"jsLabelUtils","field":"jsLabelUtils","fieldType":"msg","format":"javascript","syntax":"mustache","template":"","output":"str","x":834.571418762207,"y":1063.7143468856812,"wires":[["ee74e71603896290"]]},{"id":"f68eb4ac92f2416b","type":"http in","z":"fa990486a351d7f4","name":"","url":"/embed/helpers-v5.js","method":"get","upload":false,"swaggerDoc":"","x":543.571418762207,"y":1000.7143468856812,"wires":[["e1e9d52f873f0f5b"]]},{"id":"ee74e71603896290","type":"switch","z":"fa990486a351d7f4","name":"","property":"req.route.path","propertyType":"msg","rules":[{"t":"regex","v":"v4\\\\.js$","vt":"str","case":false},{"t":"regex","v":"v5\\\\.js$","vt":"str","case":false},{"t":"regex","v":"v6\\\\.js$","vt":"str","case":false},{"t":"regex","v":"v7\\\\.js$","vt":"str","case":false},{"t":"regex","v":"v8\\\\.js$","vt":"str","case":false},{"t":"regex","v":"v9\\\\.js$","vt":"str","case":false}],"checkall":"false","repair":false,"outputs":6,"x":1029.571418762207,"y":1127.7143468856812,"wires":[["d6db970006d87875"],["f6adde966139457a"],["4e28f7e5936ef6d7"],["6088b6915f67e507"],["abd4a979676a9088"],["6088b6915f67e507"]]},{"id":"092c9e55a4787172","type":"template","z":"fa990486a351d7f4","name":"v5","field":"payload","fieldType":"msg","format":"javascript","syntax":"mustache","template":"","output":"str","x":634.571418762207,"y":349.71434688568115,"wires":[["714495cf05a320bf"]]},{"id":"f360b35c4b1460d8","type":"link in","z":"fa990486a351d7f4","name":"[blog] embedded-flow-v5.html","links":[],"x":202.14262771606445,"y":349.71434688568115,"wires":[["af62934ece609c34"]]},{"id":"af62934ece609c34","type":"BlogPageInfo","z":"fa990486a351d7f4","name":"","image":"","summary":"Can I generate html directly without using markdown markup?","title":"This is a test of something new","publishedAt":"2023-06-25T11:22","updatedAt":"2023-06-25T11:22","incRss":false,"incSitemap":false,"incIndex":false,"shrLinkedIn":false,"reloadOnEdit":false,"redirectToNode":false,"redirectNodeId":"status-404","redirectStatusCode":"301","x":408.8569984436035,"y":349.71434688568115,"wires":[["092c9e55a4787172"]]},{"id":"f6adde966139457a","type":"template","z":"fa990486a351d7f4","name":"jsRenderFlow - v5","field":"jsRenderFlow","fieldType":"msg","format":"javascript","syntax":"mustache","template":"","output":"str","x":1270.571418762207,"y":1099.7143468856812,"wires":[["ac22dd3a10ca8a7a"]]},{"id":"7be8ff2bc6dfd549","type":"http in","z":"fa990486a351d7f4","name":"","url":"/embed/helpers.css","method":"get","upload":false,"swaggerDoc":"","x":543.571418762207,"y":812.7143468856812,"wires":[["16ec47cfaf4f5426"]]},{"id":"ad579a790a31d908","type":"http response","z":"fa990486a351d7f4","name":"css","statusCode":"200","headers":{"content-type":"text/css"},"x":1044.571418762207,"y":812.7143468856812,"wires":[]},{"id":"16ec47cfaf4f5426","type":"template","z":"fa990486a351d7f4","name":"basic styling","field":"payload","fieldType":"msg","format":"css","syntax":"mustache","template":"","output":"str","x":840.571418762207,"y":812.7143468856812,"wires":[["ad579a790a31d908"]]},{"id":"4f0b969b37876989","type":"link in","z":"fa990486a351d7f4","name":"[blog] codeblock-test","links":[],"x":266.57141876220703,"y":1639.7143468856812,"wires":[["ea637b2ce7e48ce9"]]},{"id":"ea637b2ce7e48ce9","type":"BlogPageInfo","z":"fa990486a351d7f4","name":"","image":"","summary":"Can I replace codeblocks of flows.json with images?","title":"Testing the inclusion and replacement of codeblocks","publishedAt":"2023-06-25T11:22","updatedAt":"2023-06-25T11:22","incRss":false,"incSitemap":false,"incIndex":false,"shrLinkedIn":true,"supportNodeRedJson":true,"reloadOnEdit":false,"redirectToNode":false,"redirectNodeId":"status-404","redirectStatusCode":"301","x":509.28577423095703,"y":1639.7143468856812,"wires":[["097d04d398ea4c66"]]},{"id":"a943b1f59b6f617b","type":"http in","z":"fa990486a351d7f4","name":"","url":"/embed/helpers-v6.js","method":"get","upload":false,"swaggerDoc":"","x":544.571418762207,"y":1071.7143468856812,"wires":[["e1e9d52f873f0f5b"]]},{"id":"4e28f7e5936ef6d7","type":"template","z":"fa990486a351d7f4","name":"jsRenderFlow - v6","field":"jsRenderFlow","fieldType":"msg","format":"javascript","syntax":"mustache","template":"","output":"str","x":1271.571418762207,"y":1160.7143468856812,"wires":[["c37952730d57c5a4"]]},{"id":"c37952730d57c5a4","type":"template","z":"fa990486a351d7f4","name":"complete js content","field":"payload","fieldType":"msg","format":"javascript","syntax":"mustache","template":"","output":"str","x":1563.571418762207,"y":1214.7143468856812,"wires":[["d5631179afc237dc"]]},{"id":"d5525ca53c469c75","type":"http in","z":"fa990486a351d7f4","name":"","url":"/embed/helpers-v7.js","method":"get","upload":false,"swaggerDoc":"","x":548.571418762207,"y":1134.7143468856812,"wires":[["e1e9d52f873f0f5b"]]},{"id":"a631368aa97d4e8b","type":"link out","z":"fa990486a351d7f4","name":"link out 83","mode":"return","links":[],"x":2214.571418762207,"y":1682.7143468856812,"wires":[]},{"id":"bc9a57e1232b6afa","type":"switch","z":"fa990486a351d7f4","name":"has _linkSource - is this a link-call action","property":"_linkSource","propertyType":"msg","rules":[{"t":"nnull"},{"t":"else"}],"checkall":"true","repair":false,"outputs":2,"x":1859.428596496582,"y":1689.1429357528687,"wires":[["a631368aa97d4e8b"],[]]},{"id":"a3cbccaeff13d666","type":"template","z":"fa990486a351d7f4","name":".md page","field":"payload","fieldType":"msg","format":"markdown","syntax":"mustache","template":"","output":"str","x":1572.571418762207,"y":1689.7143468856812,"wires":[["bc9a57e1232b6afa"]]},{"id":"097d04d398ea4c66","type":"template","z":"fa990486a351d7f4","name":"flow example 1","field":"flowexample1","fieldType":"msg","format":"handlebars","syntax":"plain","template":"","output":"str","x":763.571418762207,"y":1692.7143468856812,"wires":[["e18f0e6a54e39f22"]]},{"id":"e18f0e6a54e39f22","type":"template","z":"fa990486a351d7f4","name":"flowexample2","field":"flowexample2","fieldType":"msg","format":"handlebars","syntax":"plain","template":"","output":"str","x":918.571418762207,"y":1776.7143468856812,"wires":[["4f84f6937ef60497"]]},{"id":"4f84f6937ef60497","type":"template","z":"fa990486a351d7f4","name":"flowexample3","field":"flowexample3","fieldType":"msg","format":"handlebars","syntax":"plain","template":"","output":"str","x":1059.571418762207,"y":1849.7143468856812,"wires":[["0a0ba7ec8625eb0b"]]},{"id":"0a0ba7ec8625eb0b","type":"template","z":"fa990486a351d7f4","name":"flowexample4","field":"flowexample4","fieldType":"msg","format":"handlebars","syntax":"plain","template":"","output":"str","x":1241.571418762207,"y":1925.7143468856812,"wires":[["bd91742d746c4d5b"]]},{"id":"3ae3d00f0bda7482","type":"template","z":"fa990486a351d7f4","name":"jsRenderFlow - v7","field":"jsRenderFlow","fieldType":"msg","format":"javascript","syntax":"mustache","template":"","output":"str","x":1268.571418762207,"y":1214.7143468856812,"wires":[["c37952730d57c5a4"]]},{"id":"bd91742d746c4d5b","type":"template","z":"fa990486a351d7f4","name":"flowexample5","field":"flowexample5","fieldType":"msg","format":"handlebars","syntax":"plain","template":"","output":"str","x":1425.571418762207,"y":1994.7143468856812,"wires":[["a3cbccaeff13d666"]]},{"id":"cd12a091665dd5f2","type":"link in","z":"fa990486a351d7f4","name":"[blog] backticks-in-markdown-and-node-red","links":[],"x":180.57141876220703,"y":1725.7143468856812,"wires":[["8da95fc4288b26d9"]]},{"id":"8da95fc4288b26d9","type":"BlogPageInfo","z":"fa990486a351d7f4","name":"","image":"1687952972847_Screen_Shot_2023-06-28_at_13.48.43.png","summary":"Codeblocks are one thing but images are further a thousand Json files. Show me your flow!","title":"Replacing Node-RED flow codeblocks with flow images.","publishedAt":"2023-06-28T11:22","updatedAt":"2023-06-28T11:22","incRss":true,"incSitemap":true,"incIndex":true,"shrLinkedIn":true,"supportNodeRedJson":true,"reloadOnEdit":true,"redirectToNode":false,"redirectNodeId":"status-404","redirectStatusCode":"301","x":412.28577423095703,"y":1725.7143468856812,"wires":[["097d04d398ea4c66"]]},{"id":"abd4a979676a9088","type":"template","z":"fa990486a351d7f4","name":"jsRenderFlow - v8","field":"jsRenderFlow","fieldType":"msg","format":"javascript","syntax":"mustache","template":"","output":"str","x":1269.571418762207,"y":1265.7143468856812,"wires":[["c37952730d57c5a4"]]},{"id":"18f2cbabeac6fdf8","type":"http in","z":"fa990486a351d7f4","name":"","url":"/embed/helpers-v8.js","method":"get","upload":false,"swaggerDoc":"","x":547.571418762207,"y":1227.7143468856812,"wires":[["e1e9d52f873f0f5b"]]},{"id":"f6a192d1d1cd8646","type":"template","z":"fa990486a351d7f4","name":"v8","field":"payload","fieldType":"msg","format":"javascript","syntax":"mustache","template":"","output":"str","x":637.571418762207,"y":418.71434688568115,"wires":[["714495cf05a320bf"]]},{"id":"e177926e2c030177","type":"link in","z":"fa990486a351d7f4","name":"[blog] embedded-flow-v8.html","links":[],"x":205.14262771606445,"y":418.71434688568115,"wires":[["f92265840d383980"]]},{"id":"f92265840d383980","type":"BlogPageInfo","z":"fa990486a351d7f4","name":"","image":"","summary":"Can I generate html directly without using markdown markup?","title":"This is a test of something new","publishedAt":"2023-06-25T11:22","updatedAt":"2023-06-25T11:22","incRss":false,"incSitemap":false,"incIndex":false,"shrLinkedIn":false,"supportNodeRedJson":false,"reloadOnEdit":false,"redirectToNode":false,"redirectNodeId":"status-404","redirectStatusCode":"301","x":411.8569984436035,"y":418.71434688568115,"wires":[["f6a192d1d1cd8646"]]},{"id":"6088b6915f67e507","type":"template","z":"fa990486a351d7f4","name":"jsRenderFlow - v9","field":"jsRenderFlow","fieldType":"msg","format":"javascript","syntax":"mustache","template":"","output":"str","x":1267.571418762207,"y":1318.7143468856812,"wires":[["c37952730d57c5a4"]]},{"id":"a0ce6ff5b4194687","type":"http in","z":"fa990486a351d7f4","name":"","url":"/embed/helpers-v9.js","method":"get","upload":false,"swaggerDoc":"","x":537.571418762207,"y":1297.7143468856812,"wires":[["e1e9d52f873f0f5b"]]},{"id":"5529c827c2ddd554","type":"template","z":"fa990486a351d7f4","name":"v9","field":"payload","fieldType":"msg","format":"javascript","syntax":"mustache","template":"","output":"str","x":630.571418762207,"y":496.71434688568115,"wires":[["714495cf05a320bf"]]},{"id":"a96e7d5a3f2a3b3f","type":"link in","z":"fa990486a351d7f4","name":"[blog] embedded-flow-v9.html","links":[],"x":198.14262771606445,"y":496.71434688568115,"wires":[["c70cc9c6437dc797"]]},{"id":"c70cc9c6437dc797","type":"BlogPageInfo","z":"fa990486a351d7f4","name":"","image":"","summary":"Can I generate html directly without using markdown markup?","title":"This is a test of something new","publishedAt":"2023-06-25T11:22","updatedAt":"2023-06-25T11:22","incRss":false,"incSitemap":false,"incIndex":false,"shrLinkedIn":false,"supportNodeRedJson":false,"reloadOnEdit":true,"redirectToNode":false,"redirectNodeId":"status-404","redirectStatusCode":"301","x":414.8569984436035,"y":496.71434688568115,"wires":[["5529c827c2ddd554"]]}]\n</code></pre>\n<hr>\n<h3>Example 7: Spaghetti flow</h3>\n<pre><code class=\"language-noderedjson\">[{"id":"e3e278445b7bcb21","type":"subflow","name":"BlogPageEndsHere","info":"","category":"","in":[{"x":132,"y":215,"wires":[{"id":"b2f270b15349b67c"}]}],"out":[],"env":[],"meta":{},"color":"#ddeeff","icon":"font-awesome/fa-hand-stop-o"},{"id":"627f98bbc0ea4f8b","type":"link out","z":"e3e278445b7bcb21","name":"link out 77","mode":"return","links":[],"x":1328,"y":306,"wires":[]},{"id":"408189fb7a17ba8b","type":"switch","z":"e3e278445b7bcb21","name":"has _linkSource - is this a link-call action","property":"_linkSource","propertyType":"msg","rules":[{"t":"nnull"},{"t":"else"}],"checkall":"true","repair":false,"outputs":2,"x":1002,"y":403,"wires":[["627f98bbc0ea4f8b"],[]]},{"id":"2a2cc4ef4e7704b4","type":"template","z":"e3e278445b7bcb21","name":"","field":"payload","fieldType":"msg","format":"handlebars","syntax":"mustache","template":"","output":"str","x":545,"y":632,"wires":[["408189fb7a17ba8b"]]},{"id":"693c46a206c026a4","type":"change","z":"e3e278445b7bcb21","name":"","rules":[{"t":"set","p":"template","pt":"msg","to":"payload","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":474,"y":510,"wires":[["2a2cc4ef4e7704b4"]]},{"id":"b2f270b15349b67c","type":"switch","z":"e3e278445b7bcb21","name":"","property":"page.noderedjson","propertyType":"msg","rules":[{"t":"true"},{"t":"else"}],"checkall":"false","repair":false,"outputs":2,"x":374,"y":408,"wires":[["408189fb7a17ba8b"],["693c46a206c026a4"]]},{"id":"82a04eeec5d1ec39","type":"link in","z":"04fab8edd0e8f2df","name":"[blog] backticks-in-markdown-and-node-red","links":[],"x":434,"y":292,"wires":[["cc439de6514717e7"]]},{"id":"cc439de6514717e7","type":"BlogPageInfo","z":"04fab8edd0e8f2df","name":"","image":"1687952972847_Screen_Shot_2023-06-28_at_13.48.43.png","summary":"Codeblocks are one thing but images are further a thousand Json files. Show me your flow!","title":"Replacing Node-RED flow codeblocks with flow images.","publishedAt":"2023-06-28T11:22","updatedAt":"2023-06-28T11:22","incRss":true,"incSitemap":true,"incIndex":true,"shrLinkedIn":true,"supportNodeRedJson":true,"reloadOnEdit":false,"redirectToNode":false,"redirectNodeId":"status-404","redirectStatusCode":"301","x":1075.71435546875,"y":448,"wires":[["be61a774e4c6d75e"]]},{"id":"be61a774e4c6d75e","type":"template","z":"04fab8edd0e8f2df","name":"flow example 1","field":"flowexample1","fieldType":"msg","format":"handlebars","syntax":"plain","template":"","output":"str","x":998,"y":563,"wires":[["db01f2dab4fa12ab"]]},{"id":"ac8306319a302f0c","type":"BlogPageInfo","z":"04fab8edd0e8f2df","name":"","image":"","summary":"Can I replace codeblocks of flows.json with images?","title":"Testing the inclusion and replacement of codeblocks","publishedAt":"2023-06-25T11:22","updatedAt":"2023-06-25T11:22","incRss":false,"incSitemap":false,"incIndex":false,"shrLinkedIn":false,"supportNodeRedJson":true,"reloadOnEdit":false,"redirectToNode":false,"redirectNodeId":"status-404","redirectStatusCode":"301","x":1077.71435546875,"y":544,"wires":[["be61a774e4c6d75e"]]},{"id":"db01f2dab4fa12ab","type":"template","z":"04fab8edd0e8f2df","name":"flowexample2","field":"flowexample2","fieldType":"msg","format":"handlebars","syntax":"plain","template":"","output":"str","x":991,"y":467,"wires":[["440887f5bfa191c9"]]},{"id":"24767f8be515eebe","type":"link in","z":"04fab8edd0e8f2df","name":"[blog] codeblock-test","links":[],"x":432,"y":336,"wires":[["ac8306319a302f0c"]]},{"id":"440887f5bfa191c9","type":"template","z":"04fab8edd0e8f2df","name":"flowexample3","field":"flowexample3","fieldType":"msg","format":"handlebars","syntax":"plain","template":"","output":"str","x":1218,"y":534,"wires":[["03989336aea86433"]]},{"id":"03989336aea86433","type":"template","z":"04fab8edd0e8f2df","name":"flowexample4","field":"flowexample4","fieldType":"msg","format":"handlebars","syntax":"plain","template":"","output":"str","x":1151,"y":491,"wires":[["01dae03d9ec9694f"]]},{"id":"01dae03d9ec9694f","type":"template","z":"04fab8edd0e8f2df","name":"flowexample5","field":"flowexample5","fieldType":"msg","format":"handlebars","syntax":"plain","template":"","output":"str","x":1043,"y":507,"wires":[["33bfba9a9fcd9e58"]]},{"id":"33bfba9a9fcd9e58","type":"template","z":"04fab8edd0e8f2df","name":"flowexample6","field":"flowexample6","fieldType":"msg","format":"handlebars","syntax":"plain","template":"","output":"str","x":1205,"y":472,"wires":[["930cf2c0b7cbc504"]]},{"id":"930cf2c0b7cbc504","type":"template","z":"04fab8edd0e8f2df","name":".md page","field":"payload","fieldType":"msg","format":"markdown","syntax":"mustache","template":"","output":"str","x":1158,"y":550,"wires":[["e6cc075cbd12d4ef"]]},{"id":"e6cc075cbd12d4ef","type":"subflow:e3e278445b7bcb21","z":"04fab8edd0e8f2df","name":"","x":1645,"y":425,"wires":[]}]\n</code></pre>\n<hr>\n\n </body>\n\n\n <script>\n $(function(){\n replaceCodeBlocksWithNodeRedFlowImages();\n });\n window.addEventListener('load', function () {\n setTimeout( function(){\n var svgs = d3.selectAll(\".svg-container-noderedjson svg\");\n svgs.each(function() {\n var svg = d3.select(this);\n \n svg.html(\"<g>\" + svg.html() + \"</g>\");\n var inner = svg.select(\"g\");\n var zoom = d3.zoom().on(\"zoom\", function(event) {\n inner.attr(\"transform\", event.transform);\n });\n svg.call(zoom);\n });\n }, 500);\n });\n </script>\n</html>\n",
"output": "str",
"x": 1481.75,
"y": 2675.75,
"wires": [
[
"34b6754b4977d604"
]
]
},
{
"id": "e7ac3ae475fa2308",
"type": "http response",
"z": "3b1289d7ccf9cb0f",
"g": "61aca6c3c1dd26ad",
"name": "",
"statusCode": "",
"headers": {},
"x": 2036.75,
"y": 2593.75,
"wires": []
},
{
"id": "39ee817dca2a6a0b",
"type": "change",
"z": "3b1289d7ccf9cb0f",
"g": "61aca6c3c1dd26ad",
"name": "",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "htmlexample",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1851.75,
"y": 2636.75,
"wires": [
[
"e7ac3ae475fa2308"
]
]
},
{
"id": "34b6754b4977d604",
"type": "switch",
"z": "3b1289d7ccf9cb0f",
"g": "61aca6c3c1dd26ad",
"name": "",
"property": "req.url",
"propertyType": "msg",
"rules": [
{
"t": "regex",
"v": "example.html",
"vt": "str",
"case": false
},
{
"t": "regex",
"v": "testing$",
"vt": "str",
"case": false
},
{
"t": "else"
}
],
"checkall": "false",
"repair": false,
"outputs": 3,
"x": 1660.75,
"y": 2675.75,
"wires": [
[
"39ee817dca2a6a0b"
],
[
"b5e66e27b2b0d789"
],
[
"b5e66e27b2b0d789"
]
]
},
{
"id": "93f7c8e044f10891",
"type": "link in",
"z": "3b1289d7ccf9cb0f",
"name": "[blog] embedded-flow-v12.html",
"links": [],
"x": 146,
"y": 794,
"wires": [
[
"26e7eb6e080a8e6b"
]
]