-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathindex.html
1042 lines (1019 loc) · 40.8 KB
/
index.html
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
<!DOCTYPE html><html>
<!-- DataCite Metadata Generator (Kernel 4.0)-->
<!-- created: 2013-10-04 paluchm - DataCite Canada -->
<!-- modified: 2015-02-04 paluchm - Updated to Kernel 3.1 -->
<!-- modified: 2015-11-01 paluchm - Fixed HTML validation problems. Modified implementation so that new XML tags can be generated just by adding HTML elements with proper names and classes. -->
<!-- modified: 2016-01-09 paluchm - Fixed rightsList tag name. -->
<!-- modified: 2017-02-12 paluchm - Updated to Kernel 4.0 and JQuery 3 -->
<!-- modified: 2017-02-13 paluchm - Fixed ordering of givenName and familyName tags -->
<!-- modified: 2017-04-01 paluchm - Updated ResourceType to allow empty value -->
<!-- modified: 2017-10-05 r3r57 - Added IE support and straightforward XML download -->
<!-- This form makes use of styles developed by the wet-boew project (https://github.com/wet-boew/wet-boew) -->
<!-- Recommended browsers are Firefox, Chrome or Edge. Minimum supported IE version is 8. -->
<!-- modified: 2019-10-09 osmancakirio - fixed the errors in multiple tags. (deleted german explanations) -->
<!-- modified: 2019-10-09 osmancakirio - added lang attribute: title, publisher, subject, contributor, description, rights, awardTitle -->
<!-- modified: 2019-10-09 osmancakirio - added nameType attribute to creator tag, -->
<!-- modified: 2019-10-09 osmancakirio - added schemeURI, rightsIdentifierScheme, rightsIdentifier, rightsURI attributes to rights tag -->
<!-- modified: 2019-10-09 osmancakirio - options menus are updated/added: creators (nameType, nameIdentifierScheme)
resourceType,
contributor (contributorType, nameIdentifierScheme)
relatedIdentifier (relationType)
description (descriptionType)
fundingReference (funderIdentifierType)
subject (subjectScheme-->
<!-- modified: 2019-10-10 osmancakirio - Date Information field added -->
<!-- modified: 2019-10-21 osmancakirio - Information links added -->
<head>
<meta charset="utf-8" />
<title>DataCite Metadata Generator - Kernel 4.3</title>
<script src="https://code.jquery.com/jquery-3.1.1.min.js"></script>
<script type = "text/javascript" >
$(document).ready(function() {
var kernelVersion = "4.3";
var kernelNamespace = "https://schema.datacite.org/meta/kernel-4.3/";
var kernelSchema = "https://schema.datacite.org/meta/kernel-4.3/metadata.xsd";
var kernelSchemaLocation = kernelNamespace + " " + kernelSchema;
var header = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" + br() + "<resource xmlns=\"" + kernelNamespace + "\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:schemaLocation=\"" + kernelSchemaLocation + "\">" + br();
$("select[title]").each(function() {
var tagName = name($(this));
ps($(this), optionValues[tagName]);
});
$("body").on("keyup", "input", function(event) {
event.preventDefault();
var xml = header;
$("div.section").each(function() {
xml += process($(this));
});
xml += ct("resource");
metadata = xml;
$("div.right code").text(xml);
$(".right").show();
});
$("body").on("change", "select", function(event) {
event.preventDefault();
$("input").eq(0).keyup();
});
$("#reset").bind("click", function(event) {
event.preventDefault();
location.reload(true);
});
$("#selectall").bind("click", function(event) {
event.preventDefault();
st($("div code").get(0));
});
$("button.add.group").bind("click", function(event) {
event.preventDefault();
var d = $(this).parent().find(".tag-group:first").clone();
$(d).find("input,select").val("");
$(d).find("input + button.delete.element").each(function() {
$(this).prev("input").remove();
$(this).remove();
});
$("<button/>", {
"class": "delete group",
type: "button",
text: "-"
}).appendTo($(d).find(".tag:first"));
d.appendTo($(this).parent());
});
$("div.section").on("mouseenter mouseleave focusin focusout", "button.delete.group, button.delete.single-tag", function(event) {
event.preventDefault();
$(this).parent().toggleClass("remove-highlight");
});
$("div.section").on("click", "button.delete.group", function(event) {
event.preventDefault();
$(this).parent().remove();
$("input").eq(0).keyup();
});
$("body").on("click", " button.add.single-tag", function(event) {
event.preventDefault();
var c = $(this).parent().clone();
$(c).find("input,select").val("");
$(this).before($("<button/>", {
"class": "delete single-tag",
type: "button",
text: "-"
}));
c.insertAfter($(this).parent());
$(this).remove();
});
$("body").on("click", "button.delete.single-tag", function(event) {
event.preventDefault();
$(this).parent().remove();
$("input").eq(0).keyup();
});
$("body").on("click", "button#more", function(event) {
event.preventDefault();
var div = $(this).parent();
$(div).find("button#more").hide();
$(div).find("div#subgroup,button#less").show();
});
$("body").on("click", "button#less", function(event) {
event.preventDefault();
var div = $(this).parent();
$(div).find("div#subgroup,button#less").hide();
$(div).find("button#more").show();
$(div).find("div#subgroup input,div#subgroup select").val("");
$("input").eq(0).keyup();
});
$("body").on("click", "h3.recommended,h3.other", function(event) {
var div = $(this).next("div");
var text = $(this).html();
if (text.charAt(0) == "+") {
text = text.replace("+", "-");
$(this).html(text);
$(div).show();
} else {
if (text.charAt(0) == "-") {
text = text.replace("-", "+");
$(this).html(text);
$(div).hide();
}
}
});
});
var optionValues = {};
optionValues["descriptionType"] = ["Abstract", "Methods", "TechnicalInfo"];
optionValues["relatedIdentifierType"] = ["ARK", "arXiv", "bibcode", "DOI", "EAN13", "EISSN", "Handle", "IGSN", "ISBN", "ISSN", "ISTC", "LISSN", "LSID", "PMID", "PURL", "UPC", "URL", "URN"];
optionValues["relationType"] = ["describes", "isDescribedBy", "hasPart", "isPartOf", "hasMetadata","isMetadataFor", "hasVersion","isVersionOf","isNewVersionOf", "isPreviousVersionOf", "isSourceOf", "isDerivedFrom", "references", "isReferencedBy", "isVariantFormOf", "isIdenticalTo", "isSupplementTo", "isSupplementedBy", "documents", "isDocumentedBy" ];
optionValues["resourceTypeGeneral"] = ["Audiovisual", "Collection", "Dataset", "Image", "Model", "Software", "Sound", "Text", "Workflow", "Other"];
optionValues["dateType"] = ["Accepted", "Available", "Copyrighted", "Collected", "Created", "Issued", "Submitted", "Updated", "Valid", "Withdrawn"];
optionValues["contributorType"] = ["DataCollector", "DataCurator", "HostingInstitution", "ProjectLeader", "ProjectManager", "ProjectMember", "Researcher", "RightsHolder", "WorkPackageLeader"];
optionValues["titleType"] = ["AlternativeTitle", "Subtitle", "TranslatedTitle", "Other"];
optionValues["funderIdentifierType"] = ["EU", "DFG", "FWF", "Other"];
optionValues["nameType"] = ["Personal", "Organizational"];
optionValues["nameIdentifierScheme"] = ["GND", "ORCID"];
optionValues["subjectScheme"] = ["DDC", "GND", "wikidata"];
function process(section) {
var isWrapper = $(section).hasClass("wrapper-tag");
var indent = 0;
var xml = "";
if (isWrapper) {
indent = 1;
}
$(section).find(".tag-group>.tag").each(function() {
xml += processTag(this, indent);
});
if (xml.length > 0) {
if (isWrapper) {
var wrapperName = name(section);
xml = ot(wrapperName) + br() + xml + ct(wrapperName) + br();
}
}
return xml;
}
function processTag(tag, indent) {
var xml = "";
var attributes;
var value;
var tagName = name(tag);
var attr = attribs(tag);
var tagValues = $(tag).children(".tag-value");
if ($(tagValues).length) {
value = inputValue(tagValues[0]);
}
$(tag).children(".tag").each(function() {
xml += processTag(this, indent + 1);
});
if (xml.length > 0) {
xml = tab(indent) + ota(tagName, attr) + br() + xml + tab(indent) + ct(tagName) + br();
} else if (typeof value !== "undefined" && (value.length > 0 || ($(tag).hasClass("allow-empty") && attr.length > 0))) {
xml = tab(indent) + ota(tagName, attr) + value + ct(tagName) + br();
}
return xml;
}
function attribs(element) {
var attribs = "";
$(element).children(".tag-attribute").each(function() {
var value = "";
var n = name(this);
if ($(this).is("input")) {
value = inputValue(this);
}
if ($(this).is("select")) {
value = selectValue(this);
}
if (value.length > 0) {
if (attribs.length > 0) {
attribs += " ";
}
attribs += n + "=\"" + value + "\"";
}
});
return attribs;
}
function inputValue(input) {
return $(input).val().encodeXML();
}
function selectValue(select) {
return $(select).find("option").filter(":selected").val().encodeXML();
}
function name(tag) {
return $(tag).attr("title");
}
function ps(s, sarr) {
var i = $(s).attr("title");
addO(s, "", "[" + i + "]");
for (var i = 0; i < sarr.length; i++) {
addO(s, sarr[i], sarr[i]);
}
}
function addO(s, v, d) {
$(s).append($("<option>").val(v).html(d));
}
function br() {
return "\n";
}
function tab(number) {
var tabs = "";
if (typeof number !== "undefined") {
for (var i = 1; i <= number; i++) {
tabs += "\t";
}
} else {
tabs = "\t";
}
return tabs;
}
function ota(tag, attr) {
if (attr.length > 0) {
return "<" + tag + " " + attr + ">";
} else {
return ot(tag);
}
}
function ot(tag) {
return "<" + tag + ">";
}
function ct(tag) {
return "</" + tag + ">";
}
function st(element) {
var doc = document,
text = element,
range, selection;
if (doc.body.createTextRange) {
range = doc.body.createTextRange();
range.moveToElementText(text);
range.select();
} else {
if (window.getSelection) {
selection = window.getSelection();
range = doc.createRange();
range.selectNodeContents(text);
selection.removeAllRanges();
selection.addRange(range);
}
}
}
String.prototype.encodeXML = function() {
return this.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'");
};
var metadata = "";
var MIME_TYPE = "application/xml";
var cleanUp = function(a) {
setTimeout(function() {
window.URL.revokeObjectURL(a.href);
}, 1500);
$("span#output").html("");
};
var downloadFile = function() {
window.URL = window.webkitURL || window.URL;
var prevLink = $("span#output a");
if (prevLink) {
$("span#output").html("");
}
var bb = new Blob([metadata], {
type: MIME_TYPE
});
if (navigator.msSaveBlob) {
navigator.msSaveBlob(bb, "metadata.xml");
} else {
var a = document.createElement("a");
a.download = "metadata.xml";
a.href = window.URL.createObjectURL(bb);
a.onclick = function(e) {
if ($(this).is(":disabled")) {
return false;
}
cleanUp(this);
};
$(a).appendTo($("span#output"));
$(a)[0].click();
}
};
function save() {
if (false) {
alert("Not currently supported in Internet Explorer");
} else {
downloadFile();
}
};
</script>
<style>
body{
font-family:sans-serif
}
.hidden{
display:none
}
.visible{
display:block
}
.input-field{
margin-bottom:2px
}
.unbounded-width{
width:79%
}
.full-width{
width:89%
}
input.half-width{
width:43%
}
input.half-width-smaller{
width:41%
}
input.language{
width: 13%
}
select.half-width{
width:45%
}
.tag-group-label{
float:left;
margin-top:2px;
width: 90%
}
.left{
float:left
}
.right{
float:right
}
div.left{
width:38%
}
div.right{
width:61%
}
div.form{
padding:12px
}
div.form div{
width:100%;
display:inline
}
div.tag{
margin-bottom:4px
}
div.tag-group input:nth-last-of-type(1),div.tag-group select:nth-last-of-type(1){
margin-bottom:8px
}
input,select{
border-radius:4px;
border-style:solid;
border-width:1px;
margin-bottom:2px;
margin-top:0;
min-height:18px!important;
padding:4px
}
.right button{
margin:2px;
float:right
}
button.add,button.delete{
width:1.8em;
font-weight:400;
margin-left:4px;
text-align:center;
}
button.group{
float:right;
margin-top:3px
}
button.element{
margin-left:5px
}
button:hover{
background-position:0 -15px;
outline-offset:-6px;
text-decoration:none;
transition:background-position 0.1s linear 0s
}
input:focus,select:focus{
border-color:#176ca7;
box-shadow:0 1px 1px rgba(0, 0, 0, 0.05) inset, 0 0 8px #99cdf1;
transition:border 0.2s linear 0s, box-shadow 0.2s linear 0s
}
div.left > div,div.right > div{
background:none repeat scroll 0 center #f6f6f6;
color:#222 !important;
outline:1px solid gainsboro
}
div.right h3{
background-color:#666;
background-image:linear-gradient(#666666, #545454);
background-repeat:repeat-x;
background-size:100% auto;
border-collapse:collapse;
border-spacing:0;
border-top-left-radius:4px;
border-top-right-radius:4px;
color:#fff;
direction:ltr;
font-family:sans-serif;
font-size:12.8px;
font-weight:700;
line-height:19.2px;
margin:0 0 1px;
padding:5px 10px;
text-align:left;
text-shadow:#222 0 1px 1px;
vertical-align:bottom
}
div.left h3{
background-color:#176ca7;
background-image:linear-gradient(#176ca7, #135888);
background-repeat:repeat-x;
background-size:100% auto;
border-collapse:collapse;
border-spacing:0;
border-top-left-radius:4px;
border-top-right-radius:4px;
color:#fff;
direction:ltr;
font-family:sans-serif;
font-size:12.8px;
font-weight:700;
line-height:19.2px;
margin:0 0 1px;
padding:5px 10px;
text-align:left;
text-shadow:#222 0 1px 1px;
vertical-align:bottom
}
.remove-highlight input,.remove-highlight select{
border-color:rgb(239, 6, 6);
border-style:solid;
border-width:1px;
border-radius:5px;
-webkit-transition:all 0.1s linear 0s, border-color 0s;
transition:all 0.1s linear 0s, border-color 0s
}
button:hover,h3.other:hover,h3.recommended:hover{
cursor:pointer
}
h1,h2{
color:#0084b9
}
span.divider{
border-bottom:1px gainsboro solid;
float:left;
line-height:3px;
margin-bottom:5px;
width:100%
}
pre{
white-space:pre-wrap;
word-wrap:break-word
}
span.output{
float:left
}
button{
-moz-text-blink:none;
-moz-text-decoration-color:#fff;
-moz-text-decoration-line:none;
-moz-text-decoration-style:solid;
background-color:#176ca7;
background-image:linear-gradient(#176ca7, #114f7a);
background-repeat:repeat-x;
background-size:100% auto;
border-bottom-color:#0b324d;
border-bottom-left-radius:4px;
border-bottom-right-radius:4px;
border-bottom-style:solid;
border-bottom-width:1px;
border-collapse:collapse;
border-left-color:#0e4164;
border-left-style:solid;
border-left-width:1px;
border-right-color:#0e4164;
border-right-style:solid;
border-right-width:1px;
border-spacing:0;
border-top-color:#0e4164;
border-top-left-radius:4px;
border-top-right-radius:4px;
border-top-style:solid;
border-top-width:1px;
box-shadow:rgba(255, 255, 255, 0.2) 0 1px 0 0 inset, rgba(0, 0, 0, 0.05) 0 1px 2px 0;
color:#fff;
cursor:pointer;
direction:ltr;
display:table-cell;
font-family:Arial, Verdana, Helvetica, sans-serif;
font-size:13.3333px;
font-weight:400;
line-height:16px;
padding:0px 0px 0px 0px;
text-align:center;
text-decoration:none;
text-shadow:#222 0 1px 1px;
vertical-align:middle
}
a:link {
text-decoration: none;
color: #3784b9;
float: right;
}
a.tag-group-info {
display:inline-block;
margin-top:0px;
margin-bottom: 0px;
-moz-text-blink:none;
-moz-text-decoration-color:#fff;
-moz-text-decoration-line:none;
-moz-text-decoration-style:solid;
background-color:#3784b9;
background-image:linear-gradient(#176ca7, #3784b9);
background-repeat:repeat-x;
background-size:100% auto;
border-bottom-color:#3784b9;
border-bottom-left-radius:4px;
border-bottom-right-radius:4px;
border-bottom-style:solid;
border-bottom-width:1px;
border-collapse:collapse;
border-left-color:#3784b9;
border-left-style:solid;
border-left-width:1px;
border-right-color:#3784b9;
border-right-style:solid;
border-right-width:1px;
border-spacing:0;
border-top-color:#3784b9;
border-top-left-radius:4px;
border-top-right-radius:4px;
border-top-style:solid;
border-top-width:1px;
box-shadow:rgba(255, 255, 255, 0.2) 0 1px 0 0 inset, rgba(0, 0, 0, 0.05) 0 1px 2px 0;
color:#fff;
cursor:pointer;
direction:ltr;
font-family:Arial, Verdana, Helvetica, sans-serif;
font-size:10px;
font-weight:400;
line-height:16px;
padding:0px 10px 0px 10px;
text-align:center;
text-decoration:none;
text-shadow:#222 0 1px 1px;
vertical-align:middle
}
a.tag-group-info-language {
margin:4px 10px 10px 10px;
width: 1%;
display:inline-block;
-moz-text-blink:none;
-moz-text-decoration-color:#fff;
-moz-text-decoration-line:none;
-moz-text-decoration-style:solid;
background-color:#3784b9;
background-image:linear-gradient(#176ca7, #3784b9);
background-repeat:repeat-x;
background-size:100% auto;
border-bottom-color:#3784b9;
border-bottom-left-radius:4px;
border-bottom-right-radius:4px;
border-bottom-style:solid;
border-bottom-width:1px;
border-collapse:collapse;
border-left-color:#3784b9;
border-left-style:solid;
border-left-width:1px;
border-right-color:#3784b9;
border-right-style:solid;
border-right-width:1px;
border-spacing:0;
border-top-color:#3784b9;
border-top-left-radius:4px;
border-top-right-radius:4px;
border-top-style:solid;
border-top-width:1px;
box-shadow:rgba(255, 255, 255, 0.2) 0 1px 0 0 inset, rgba(0, 0, 0, 0.05) 0 1px 2px 0;
color:#fff;
cursor:pointer;
direction:ltr;
display:inline-block;
font-family:Arial, Verdana, Helvetica, sans-serif;
font-size:10px;
font-weight:400;
line-height:16px;
padding:0px 10px 0px 10px;
text-align:center;
text-decoration:none;
text-shadow:#222 0 1px 1px;
vertical-align:middle
}
a:hover {
color: red;
}
#langinput {
float:left;
}
#langlink{
float:left;
}
#langlatest {
float:left;
}
#date{
margin-right: 76%;
}
</style>
</head>
<body>
<h2 class="pagetitle">DataCite Metadata Generator - Kernel 4.3</h2>
<div class="left">
<h3 class="mandatory">Mandatory Elements</h3>
<div class="form mandatory">
<div class="section">
<span class="tag-group-label" title="DOI">DOI:
<a class="tag-group-info" href="https://github.com/UB-LMU/DataCite_BestPracticeGuide/blob/master/BestPracticeGuide.md#identifier" target="_blank"> ?</a>
</span>
<div class="tag-group">
<div title="identifier" class="tag">
<input class="input-field full-width tag-value" type="text" placeholder="[DOI]" title="identifier" value="" />
<input class="input-field tag-attribute" type="hidden" title="identifierType" value="DOI" />
</div>
</div>
</div>
<span class="divider"> </span>
<div title="titles" class="section wrapper-tag">
<span class="tag-group-label">Title(s):
<a class="tag-group-info" href="https://github.com/UB-LMU/DataCite_BestPracticeGuide/blob/master/BestPracticeGuide.md#title" target="_blank"> ? </a>
</span>
<button type="button" class="add group">+</button>
<div class="tag-group">
<div title="title" class="tag">
<input class="full-width input-field tag-value" type="text" placeholder="[TITLE]" title="title" value="" />
<input class="language input-field tag-attribute" type="text" id = "langinput" maxlength="3" placeholder="[LANG]" title="xml:lang" value="" />
<a class="tag-group-info-language" id = "langlink" href="https://github.com/UB-LMU/DataCite_BestPracticeGuide/blob/master/BestPracticeGuide.md#what-is-the-language-of-the-metadata" target="_blank"> ?</a>
<select class="language half-width input-field tag-attribute" id = "langlatest" title="titleType"></select>
</div>
</div>
</div>
<span class="divider"> </span>
<div title="creators" class="section wrapper-tag">
<span class="tag-group-label">Creator(s):
<a class="tag-group-info" href="https://github.com/UB-LMU/DataCite_BestPracticeGuide/blob/master/BestPracticeGuide.md#creator" target="_blank"> ? </a>
</span>
<button type="button" class="add group">+</button>
<div class="tag-group">
<div title="creator" class="tag">
<div title="creatorName" class="tag">
<input class="half-width input-field tag-value" type="text" placeholder="[CREATOR NAME]" title="creatorName" value="" />
<select class="half-width input-field tag-attribute" title="nameType"></select>
</div>
<div title="givenName" class="tag">
<input class="half-width input-field tag-value" type="text" placeholder="[GIVEN NAME] (optional)" title="givenName" value="" />
</div>
<div title="familyName" class="tag">
<input class="half-width input-field tag-value" type="text" placeholder="[FAMILY NAME] (optional)" title="familyName" value="" />
</div>
<div title="nameIdentifier" class="tag">
<input class="half-width input-field tag-value" type="text" placeholder="[NAME IDENTIFIER]" title="nameIdentifier" value="" />
<select class="half-width input-field tag-attribute" type="text" title="nameIdentifierScheme" value="" />
<input class="unbounded-width input-field tag-attribute" type="text" placeholder="[IDENTIFIER SCHEME URI]" title="schemeURI" value="" /><button type="button" class="add single-tag">+</button>
</div>
<div title="affiliation" class="tag">
<input class="half-width input-field tag-value" type="text" placeholder="[CREATOR AFFILIATION]" title="affiliation" value="" />
<input class="language half-width input-field tag-attribute" type="text" maxlength="3" placeholder="[LANG]" title="xml:lang" value="" /><button type="button" class="add single-tag">+</button>
</div>
</div>
</div>
</div>
<span class="divider"> </span>
<div class="section">
<span class="tag-group-label">Publisher:
<a class="tag-group-info" href="https://github.com/UB-LMU/DataCite_BestPracticeGuide/blob/master/BestPracticeGuide.md#publisher" target="_blank"> ? </a>
</span>
<div class="tag-group">
<div title="publisher" class="tag">
<input type="text" class="full-width input-field tag-value" placeholder="[PUBLISHER]" title="publisher" value="" />
<input class="language half-width input-field tag-attribute" type="text" maxlength="3" placeholder="[LANG]" title="xml:lang" value="" />
</div>
</div>
</div>
<span class="divider"> </span>
<div class="section">
<span class="tag-group-label">Publication Year:
<a class="tag-group-info" href="https://github.com/UB-LMU/DataCite_BestPracticeGuide/blob/master/BestPracticeGuide.md#publicationyear" target="_blank">?</a>
</span>
<div class="tag-group">
<div title="publicationYear" class="tag">
<input type="text" class="full-width input-field tag-value" placeholder="[YYYY]" title="publicationYear" pattern="[0-9]{4}" value="" />
</div>
</div>
</div>
<span class="divider"> </span>
<div class="section">
<span class="tag-group-label">Resource Type:
<a class="tag-group-info" href="https://github.com/UB-LMU/DataCite_BestPracticeGuide/blob/master/BestPracticeGuide.md#resourcetype" target="_blank">?</a>
</span>
<div class="tag-group">
<div title="resourceType" class="tag allow-empty">
<input class="half-width input-field tag-value" type="text" placeholder="[RESOURCE TYPE]" title="resourceType" value="" />
<select class="half-width input-field tag-attribute" title="resourceTypeGeneral"></select>
</div>
</div>
</div>
</div>
<h3 class="recommended">+ Recommended Elements</h3>
<div id="recommended" class="form recommended hidden">
<div title="subjects" class="section wrapper-tag">
<span class="tag-group-label">Subject(s):
<a class="tag-group-info" href="https://github.com/UB-LMU/DataCite_BestPracticeGuide/blob/master/BestPracticeGuide.md#subject" target="_blank"> ? </a>
</span>
<button type="button" class="add group">+</button>
<div class="tag-group">
<div title="subject" class="tag">
<input class="half-width input-field tag-value" type="text" placeholder="[SUBJECT]" title="subject" value="" />
<select class="half-width input-field tag-attribute" type="text" title="subjectScheme" value="" />
<input class="half-width input-field tag-attribute" type="text" placeholder="[SUBJECT SCHEME URI]" title="schemeURI" value="" />
<input class="language half-width input-field tag-attribute" type="text" maxlength="3" placeholder="[LANG]" title="xml:lang" value="" />
<input class="full-width input-field tag-attribute" type="text" placeholder="[SUBJECT VALUE URI]" title="valueURI" value="" />
</div>
</div>
</div>
<span class="divider"> </span>
<div title="contributors" class="section wrapper-tag">
<span class="tag-group-label">Contributor(s):
<a class="tag-group-info" href="https://github.com/UB-LMU/DataCite_BestPracticeGuide/blob/master/BestPracticeGuide.md#contributor" target="_blank"> ? </a>
</span>
<button type="button" class="add group">+</button>
<div class="tag-group">
<div title="contributor" class="tag">
<div title="contributorName" class="tag">
<input class="half-width input-field tag-value" type="text" placeholder="[CONTRIBUTOR NAME]" title="contributorName" value="" />
</div>
<select class="half-width input-field tag-attribute" title="contributorType"></select>
<div title="givenName" class="tag">
<input class="half-width input-field tag-value" type="text" placeholder="[GIVEN NAME] (optional)" title="givenName" value="" />
</div>
<div title="familyName" class="tag">
<input class="half-width input-field tag-value" type="text" placeholder="[FAMILY NAME] (optional)" title="familyName" value="" />
</div>
<div title="nameIdentifier" class="tag">
<input class="half-width input-field tag-value" type="text" placeholder="[NAME IDENTIFIER]" title="nameIdentifier" value="" />
<select class="half-width input-field tag-attribute" type="text" title="nameIdentifierScheme" value="" />
<input class="unbounded-width input-field tag-attribute" type="text" placeholder="[IDENTIFIER SCHEME URI]" title="schemeURI" value="" /><button type="button" class="add single-tag">+</button>
</div>
<div title="affiliation" class="tag">
<input class="unbounded-width input-field tag-value" type="text" placeholder="[CONTRIBUTOR AFFILIATION]" title="affiliation" value="" /><button type="button" class="add single-tag">+</button>
<input class="language half-width input-field tag-attribute" id= "date" type="text" maxlength="3" placeholder="[LANG]" title="xml:lang" value="" />
</div>
</div>
</div>
</div>
<span class="divider"> </span>
<div title="dates" class="section wrapper-tag">
<span class="tag-group-label">Date(s):
<a class="tag-group-info" href="https://github.com/UB-LMU/DataCite_BestPracticeGuide/blob/master/BestPracticeGuide.md#date" target="_blank"> ?</a>
</span>
<button type="button" class="add group">+</button>
<div class="tag-group">
<div title="date" class="tag">
<input class="half-width input-field tag-value" type="text" placeholder="[DATE]" title="date" value="" />
<input class="full-width input-field tag-attribute" type="text" placeholder="[DATE INFORMATION]" title="dateInformation" value="" />
<select class="half-width input-field tag-attribute" title="dateType"></select>
</div>
</div>
</div>
<span class="divider"> </span>
<div title="relatedIdentifiers" class="section wrapper-tag">
<span class="tag-group-label">Related Identifier(s):
<a class="tag-group-info" href="https://github.com/UB-LMU/DataCite_BestPracticeGuide/blob/master/BestPracticeGuide.md#relatedidentifier" target="_blank"> ? </a>
</span>
<button type="button" class="add group">+</button>
<div class="tag-group">
<div title="relatedIdentifier" class="tag">
<input class="full-width input-field tag-value" type="text" placeholder="[RELATED IDENTIFIER]" title="relatedIdentifier" value="" />
<select class="half-width input-field tag-attribute" title="relatedIdentifierType"></select>
<select class="half-width input-field tag-attribute" title="relationType"></select>
<input class="half-width input-field tag-attribute" type="text" placeholder="[METADATA SCHEME]" title="relatedMetadataScheme" value="" />
<input class="half-width input-field tag-attribute" type="text" placeholder="[SCHEME TYPE]" title="schemeType" value="" />
</div>
</div>
</div>
<span class="divider"> </span>
<div title="descriptions" class="section wrapper-tag">
<span class="tag-group-label">Description:
<a class="tag-group-info" href="https://github.com/UB-LMU/DataCite_BestPracticeGuide/blob/master/BestPracticeGuide.md#description" target="_blank"> ? </a>
</span>
<button type="button" class="add group">+</button>
<div class="tag-group">
<div title="description" class="tag">
<input class="half-width input-field tag-value" type="text" placeholder="[DESCRIPTION]" title="description" value="" />
<input class="language half-width input-field tag-attribute" type="text" maxlength="3" placeholder="[LANG]" title="xml:lang" value="" />
<select class="half-width input-field tag-attribute" title="descriptionType"></select>
</div>
</div>
</div>
<span class="divider"> </span>
<div title="geoLocations" class="section wrapper-tag">
<button type="button" class="add group">+</button>
<div class="tag-group">
<div title="geoLocation" class="tag">
<span class="tag-group-label">Geo Location Place:
<a class="tag-group-info" href="https://github.com/UB-LMU/DataCite_BestPracticeGuide/blob/master/BestPracticeGuide.md#geolocation" target="_blank"> ? </a>
</span>
<div title="geoLocationPlace" class="tag">
<input class="full-width input-field tag-value" type="text" placeholder="[GEO LOCATION PLACE]" title="geoLocationPlace" value="" />
</div>
<span class="tag-group-label">Geo Location Point:</span>
<div title="geoLocationPoint" class="tag">
<div title="pointLongitude" class="tag">
<input class="half-width input-field tag-value" type="text" placeholder="[POINT LONGITUDE]" title="pointLongitude" value="" />
</div>
<div title="pointLatitude" class="tag">
<input class="half-width input-field tag-value" type="text" placeholder="[POINT LATITUDE]" title="pointLatitude" value="" />
</div>
</div>
<span class="tag-group-label">Geo Location Box:</span>
<div title="geoLocationBox" class="tag">
<div title="westBoundLongitude" class="tag">
<input class="half-width input-field tag-value" type="text" placeholder="[WEST BOUND LONGITUDE]" title="westBoundLongitude" value="" />
</div>
<div title="eastBoundLongitude" class="tag">
<input class="half-width input-field tag-value" type="text" placeholder="[EAST BOUND LONGITUDE]" title="eastBoundLongitude" value="" />
</div>
<div title="southBoundLatitude" class="tag">
<input class="half-width input-field tag-value" type="text" placeholder="[SOUTH BOUND LATITUDE]" title="southBoundLatitude" value="" />
</div>
<div title="northBoundLatitude" class="tag">
<input class="half-width input-field tag-value" type="text" placeholder="[NORTH BOUND LATITUDE]" title="northBoundLatitude" value="" />
</div>
</div>
<span class="tag-group-label">Geo Location Polygon:</span>
<div title="geoLocationPolygon" class="tag">
<div title="polygonPoint" class="tag">
<div title="pointLongitude" class="tag">
<input class="half-width-smaller input-field tag-value" type="text" placeholder="[POINT LONGITUDE]" title="pointLongitude" value="" />
</div>
<div title="pointLatitude" class="tag">
<input class="half-width-smaller input-field tag-value" type="text" placeholder="[POINT LATITUDE]" title="pointLatitude" value="" />
</div>
</div>
<div title="polygonPoint" class="tag">
<div title="pointLongitude" class="tag">
<input class="half-width-smaller input-field tag-value" type="text" placeholder="[POINT LONGITUDE]" title="pointLongitude" value="" />
</div>
<div title="pointLatitude" class="tag">
<input class="half-width-smaller input-field tag-value" type="text" placeholder="[POINT LATITUDE]" title="pointLatitude" value="" />
</div>
</div>
<div title="polygonPoint" class="tag">
<div title="pointLongitude" class="tag">
<input class="half-width-smaller input-field tag-value" type="text" placeholder="[POINT LONGITUDE]" title="pointLongitude" value="" />
</div>
<div title="pointLatitude" class="tag">
<input class="half-width-smaller input-field tag-value" type="text" placeholder="[POINT LATITUDE]" title="pointLatitude" value="" />
</div>
</div>
<div title="polygonPoint" class="tag">
<div title="pointLongitude" class="tag">
<input class="half-width-smaller input-field tag-value" type="text" placeholder="[POINT LONGITUDE]" title="pointLongitude" value="" />
</div>
<div title="pointLatitude" class="tag">
<input class="half-width-smaller input-field tag-value" type="text" placeholder="[POINT LATITUDE]" title="pointLatitude" value="" />
</div><button type="button" class="add single-tag">+</button>
</div>
</div>
</div>
</div>
</div>
</div>
<h3 class="other">+ Other Elements</h3>
<div id="other" class="form other hidden">
<div class="section">
<span class="tag-group-label">Language:
<a class="tag-group-info" href="https://github.com/UB-LMU/DataCite_BestPracticeGuide/blob/master/BestPracticeGuide.md#language" target="_blank"> ? </a>
</span>
<div class="tag-group">
<div title="language" class="tag">
<input class="full-width input-field tag-value" type="text" maxlength="3" placeholder="[LANG]" title="language" value="" />
</div>
</div>
</div>
<span class="divider"> </span>
<div title="alternateIdentifiers" class="section wrapper-tag">
<span class="tag-group-label">Alternate Identifier(s):
<a class="tag-group-info" href="https://github.com/UB-LMU/DataCite_BestPracticeGuide/blob/master/BestPracticeGuide.md#alternateidentifier" target="_blank"> ?</a>
</span>
<button type="button" class="add group">+</button>
<div class="tag-group">
<div title="alternateIdentifier" class="tag">
<input class="half-width input-field tag-value" type="text" placeholder="[ALTERNATE IDENTIFIER]" title="alternateIdentifier" value="" />
<input class="half-width input-field tag-attribute" type="text" placeholder="[ALTERNATE ID TYPE]" title="alternateIdentifierType" value="" />
</div>
</div>
</div>
<span class="divider"> </span>
<div title="sizes" class="section wrapper-tag">
<span class="tag-group-label">Size(s):
<a class="tag-group-info" href="https://github.com/UB-LMU/DataCite_BestPracticeGuide/blob/master/BestPracticeGuide.md#size" target="_blank"> ?</a>
</span>
<button type="button" class="add group">+</button>
<div class="tag-group">
<div title="size" class="tag">
<input class="full-width input-field tag-value" type="text" placeholder="[SIZE]" title="size" value="" />
</div>
</div>
</div>
<span class="divider"> </span>
<div title="formats" class="section wrapper-tag">
<span class="tag-group-label">Format(s):
<a class="tag-group-info" href="https://github.com/UB-LMU/DataCite_BestPracticeGuide/blob/master/BestPracticeGuide.md#format" target="_blank"> ? </a>
</span>
<button type="button" class="add group">+</button>
<div class="tag-group">
<div title="format" class="tag">
<input class="full-width input-field tag-value" type="text" placeholder="[FORMAT]" title="format" value="" />
</div>
</div>
</div>
<span class="divider"> </span>
<div class="section">
<span class="tag-group-label">Version:
<a class="tag-group-info" href="https://github.com/UB-LMU/DataCite_BestPracticeGuide/blob/master/BestPracticeGuide.md#version" target="_blank"> ? </a>
</span>
<div class="tag-group">
<div title="version" class="tag">
<input class="full-width input-field tag-value" type="text" placeholder="[VERSION]" title="version" value="" />
</div>
</div>
</div>
<span class="divider"> </span>
<div title="rightsList" class="section wrapper-tag">
<span class="tag-group-label">Rights List:
<a class="tag-group-info" href="https://github.com/UB-LMU/DataCite_BestPracticeGuide/blob/master/BestPracticeGuide.md#rights" target="_blank"> ? </a>
</span>
<button type="button" class="add group">+</button>
<div class="tag-group">
<div title="rights" class="tag">
<input class="full-width input-field tag-value" type="text" placeholder="[RIGHTS]" title="rights" value="" />
<input class="language half-width input-field tag-attribute" type="text" maxlength="3" placeholder="[LANG]" title="xml:lang" value="" />
<input class="half-width input-field tag-attribute" type="text" placeholder="[SCHEME URI]" title="schemeURI" value="" />
<input class="half-width input-field tag-attribute" type="text" placeholder="[RIGHTS IDENTTIFIER SCHEME]" title="rightsIdentifierScheme" value="" />
<input class="half-width input-field tag-attribute" type="text" placeholder="[RIGHTS IDENTIFIER]" title="rightsIdentifier" value="" />
<input class="half-width input-field tag-attribute" type="text" placeholder="[RIGHTS URI]" title="rightsURI" value="" />
</div>
</div>
</div>
<span class="divider"> </span>