Tools for use with Puppeter when filling in DiVA's forms, i.e., entering meta-data and uploading documents to DiVA. The focus of the code has been on degree projects. The assumption is that another program gets data from Canvas and from the thesis itself to make a JSON file that contains the relevant data and a pointer to the file containing the document (thesis).
The latest version of the program for making an entry in DiVA.
contains documentation on the program and how it works
Extracts the national subject category information from DiVA, this is used to create a JSON file that the diva7.js program later uses.
For example, National_subject_categories-new.json is the latest national subject categories tree (as of August 2019); while National_subject_categories-old.json is an earlier one. Note that the test instance of DiVA has the old tree.
Extracts the organization information from DiVA, this is used to create a JSON file that the diva7.js program later uses.
For example, kth-org-diva-new.json is the latest KTH organization tree (as of August 2019); while kth-org-diva-old.json is the older organization tree. Note that the test instance of DiVA has the old tree.
JSON files for fake theses as test cases and examples