The most important scripts are in hyperimage_insertion
:
- histandoff.py
- update_hi.py
Some additional helper scripts are in misc
:
- graphicchecker.py
- teichecker.py
This script is used to extract Hyperimage code from an enriched Django file. It is most likely that this workflow is not a very common case in the future. However, it creates a CSV file that can store Hyperimage code in a standoff fashion. In a later step, the information can be inserted again into the file that is to be published. It also stores human readable version of the Hyperimage code as JSON files.
The JSON files can be edited manually, if needed (the recommended way would be of course to use Hyperimage's own annotation tool). This script will recode the information and write it back into the CSV file.
A checker if images referenced in the XML file are present in the images
directory.
A checker if Hyperimage markup is handled correctly.