robcast / digilib

A versatile image viewing environment for the internet.
https://robcast.github.io/digilib/
GNU Lesser General Public License v3.0
18 stars 7 forks source link

Allow Texter Servlet to Deliver Json Files #10

Closed awagner-mainz closed 6 years ago

awagner-mainz commented 6 years ago

I am trying to use the Texter servlet in order to output pre-generated manifest files. (This is especially valuable in the case of multi-volume works which are represented by folders that contain only subfolders, since Manifester cannot handle such.) For this, I have to put a manifest/collection file in the corresponding directory, but I am naming it .txt. With the more conventional ".json" filename extension it does not work (and I did not even try to go by another filename/basename).

Now, the more concrete request is:

(see also #11 )

awagner-mainz commented 6 years ago

Example: https://c104-131.cloud.gwdg.de:8443/digilib/Texter/svsal/W0013 (but this currently contains a bunch of errors...)

robcast commented 6 years ago

The first part of the issue should be simple. There is a filter for the type of file that gets sent by the Texter that can be extended to allow JSON.

I will move the second part of how to integrate the Manifester servlet with hand-crafted manifest files into a separate issue. It is a good idea. I will need to think about the solution a bit more.

robcast commented 6 years ago

closed with dc0f0da2647cac493e201d1ccd91e4ca1474e284