modulepackage
0.7.3-alpha
Repository: https://github.com/kupferstich/datatool.git
Documentation: pkg.go.dev
# README
CLI Optionen
Init
Mit init werden die Daten im DataFolder aus den vorhandenen Quelldateien aus dem SourceFolder erzeugt.
datatool -init CreateList
Erzeugt aus den vorhandenen MOD xml Dateien json Files, welche durch den Editor weiter verarbeitet werden können.
datatool -init ImportTiff
Hierfür muss auf der ausführenden Maschine ImageMagick installiert sein, da sonst die Tiff Dateien nicht verarbeitet werden können. Der Befehl lädt die Tiff Scans und speichert diese als jpg in den Datafolder.
Installation
Externe Abhängigkeiten
JavaScript
Innerhalb des Ordners static/files/library
müssen folgende JavaScript Quellen hinzugefügt werden.
- Jquery: jquery.min.js
- Markdown: marked.min.js
- Vue: vue.js
- https://github.com/fahrenheit-marketing/jquery-canvas-area-draw
Semantic UI
Für das Layout wird Semantic UI benötigt. Folgende Dateien müssen im Ornder static/files/semantic
vorhanden sein:
- semantic.min.js
- semantic.css
# Packages
Package data contains the structure of all the data and is used to encode/decode JSON or XML format.
Package gbv ist eine Schnittstelle zu http://unapi.gbv.de Anhand der PPN werden die aktuellen Daten von der Seite geladen.
Package export collects all the data and copies them into the different folders.
Package mods provides the MODS/METS structure for the XML files of the Staats- und Universitaets Bibliothek Hamburg The package provides not all tags and attributes, which are inside the files.
Package stabi contains all the implementations for the pictures of Staats- und Universitaets Bibliothek Hamburg It links the XML representation to the data structures.
# Functions
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ListHandler is for listing all availiable pictures.
No description provided by the author
No description provided by the author
No description provided by the author
PersonSaveHandler sends the data of a picture in JSON format.
PicAllHandler is for listing all availiable pictures.
PicHandler sends the data of a picture in JSON format.
PicSaveHandler sends the data of a picture in JSON format.