# HG changeset patch # User Robert Casties # Date 1511292634 -3600 # Node ID 6420df6b213b3f63a5d8cddef2babde7cc46de75 # Parent a243eb5cc480fa10a36200b4a5524641dabed6a4 More documentation. diff -r a243eb5cc480 -r 6420df6b213b doc/src/site/markdown/digilib-config.md --- a/doc/src/site/markdown/digilib-config.md Tue Nov 21 19:38:53 2017 +0100 +++ b/doc/src/site/markdown/digilib-config.md Tue Nov 21 20:30:34 2017 +0100 @@ -35,7 +35,7 @@ the web application's directory as base. You can inspect a summary of your running digilib configuration at the URL -`/server/dlConfig.jsp`. +`/server/dlConfig.jsp` e.g. . ### Image locations @@ -44,7 +44,7 @@ ``` A list of directories where images are searched. See -[this document](image-directories.html) for details. +[this document](image-directories.html) for details (**required**). ```xml @@ -79,7 +79,7 @@ [digilib-map.xml.template](https://github.com/robcast/digilib/blob/master/webapp/src/main/webapp/WEB-INF/digilib-map.xml.template) for an example. -The file contains `mapping` elements with a `link` attribute containing a 'virtual directory' name that is mapped to the +The file contains `mapping` elements with a `link` attribute containing a 'virtual directory' name that is redirected to the directory given in the `dir` attribute. @@ -122,6 +122,13 @@ [documentation on authentication and authorization](auth.html). ```xml + +``` + +Enables or disables all authorization. If `use-authorization` is `true` you also have to configure +`authnops-class`, `authzops-class` and the `auth-file` and its contents. + +```xml ``` @@ -146,13 +153,6 @@ The class to handle authorization. -```xml - -``` - -Enable or disable all authorization. If `use-authorization` is `true` it also needs to be configured -using `authnops-class` and `authzops-class` and the `auth-file`. - ### IIIF API options @@ -195,7 +195,7 @@ ``` -The maximum number of requests waiting in the queue before sending "service unavailable". +The maximum number of requests waiting in the queue before new requests get "service unavailable". ```xml @@ -210,7 +210,7 @@ Timeout for worker threads in milliseconds. -### Assorted options +### Other options ```xml @@ -234,39 +234,45 @@ ``` -Location of the logging configuration file. The current logger is +Location of the logging configuration file. The current logging library is [Log4J 1.2](https://logging.apache.org/log4j/1.2/manual.html). +### Options for developers + +Using these options you can replace default classes used by digilib with your own implementations +to change the behaviour of digilib. + +```xml + +``` + -### Unknown category - -**TODO** move items to appropriate sections +Class of the `DocuImage` instance. You can replace the `digilib.image.DocuImage` implementation to use a different image +toolkit than Java ImageIO. (There are deprecated alternative implementations in the `common-jai`, +`common-imagej` and `common-bioformats` modules.) ```xml + +``` + +Text string to selectively enable specific `Hacks` in the `DocuImage` implementation +(see [the source](https://github.com/robcast/digilib/blob/master/common/src/main/java/digilib/image/ImageLoaderDocuImage.java)) + +```xml + ``` -Class for **TODO**. +Classes of the `digilib.meta.FileMeta` and `digilib.meta.DirMeta` implementations. You can change these implementations +to change the way digilib finds metadata about image files. + +`IndexMetaFileMeta` and `IndexMetaDirMeta` read metadata from `index.meta` and `*.meta` XML files according to +the [index meta standard](http://intern.mpiwg-berlin.mpg.de/digitalhumanities/mpiwg-metadata-documentation/formate/indexmeta-standard). ```xml ``` -Class for **TODO**. - -```xml - -``` - -Class for the `DocuImage` instance, **TODO** elaborate intended use +Class of the `digilib.io.DocuDirectory` implementation. You can change this implementation to change the way +digilib finds image files (including different resolutions). -```xml - -``` - -**TODO** elaborate - -```xml - -``` -Class for **TODO**.