diff --git a/codemeta_generation.js b/codemeta_generation.js --- a/codemeta_generation.js +++ b/codemeta_generation.js @@ -36,6 +36,24 @@ 'issueTracker', 'name', 'version', + 'identifier', + 'description', + 'applicationCategory', + //keywords TODO:keywords array + 'releaseNotes', + 'funding', + 'runtimePlatform', + //softwareRequiremnts, + 'operatingSystem', + 'developmentStatus', + //relatedLink + 'programmingLanguage', + 'isPartOf', + //'referencePublication' + // "@type": "ScholarlyArticle", + // "idendifier": "https://doi.org/xx.xxxx/xxxx.xxxx.xxxx", + // "name": "title of publication" + ]; // Names of codemeta properties with a matching HTML field name, @@ -44,6 +62,7 @@ 'givenName', 'familyName', 'email', + 'affiliation' ]; function generatePerson(idPrefix) { diff --git a/dynamic_form.js b/dynamic_form.js --- a/dynamic_form.js +++ b/dynamic_form.js @@ -35,6 +35,11 @@
++ + +
`; return fieldset; diff --git a/fields_data.js b/fields_data.js --- a/fields_data.js +++ b/fields_data.js @@ -10,6 +10,7 @@ var SPDX_LICENSES = null; var SPDX_LICENSE_IDS = null; + function initSpdx() { var xhr = new XMLHttpRequest(); xhr.open('GET', './data/spdx/licenses.json', true); diff --git a/index.html b/index.html --- a/index.html +++ b/index.html @@ -28,8 +28,46 @@ +
+
+
+
+ + +
+ +
+
+
+
+
License
+
+
+
+
+
+