diff src/site/markdown/digilib-config.md @ 8:de31af0ad401

more doc for the website.
author casties
date Wed, 04 Sep 2013 09:08:17 +0200
parents cf3abd6ff312
children
line wrap: on
line diff
--- a/src/site/markdown/digilib-config.md	Mon Sep 02 19:32:44 2013 +0200
+++ b/src/site/markdown/digilib-config.md	Wed Sep 04 09:08:17 2013 +0200
@@ -4,8 +4,8 @@
 
 The main configuration for digilib is `digilib-config.xml` in the `WEB-INF` 
 directory in the webapp. 
-(If you really need another location you can define it in the `config-file`
-init-parameter to the servlet.)
+(If you really need a different location you can define it in the `config-file`
+init-parameter to the Servlet.)
 
 In the XML-based configuration file you can set several paths and options. 
 
@@ -14,7 +14,7 @@
 path following the conventions of your operating system (a relative path 
 is taken to be relative to the web application directory).
 
-You need only one directory if you don't provide pre-scaled low resolution 
+You need only one directory if you don't want to provide pre-scaled low resolution 
 versions of your images. If you have pre-scaled images the directory with the 
 high-resolution images must be the first entry in the list.
 
@@ -31,7 +31,12 @@
 	  <parameter name="basedir-list" value="/docuserver/images" />
 	</digilib-config>
 	
-A more customized configuration may look like this:
+A more customized configuration may look like this (for a full list of
+configuration options use the source: 
+[1](http://hg.berlios.de/repos/digilib/file/default/common/src/main/java/digilib/conf/DigilibConfiguration.java) 
+[2](http://hg.berlios.de/repos/digilib/file/default/servlet/src/main/java/digilib/conf/DigilibServletConfiguration.java)
+[3](http://hg.berlios.de/repos/digilib/file/default/servlet3/src/main/java/digilib/conf/DigilibServlet3Configuration.java)
+):
 
 	<!-- Digilib servlet config file -->
 	<digilib-config>
@@ -41,19 +46,19 @@
 	  <!--  Image to be sent to indicate authorization failure. -->
 	  <parameter name="denied-image" value="/docuserver/images/icons/alert.red.gif" />
 	
+	  <!--  Image to be sent to indicate file-not-found. -->
+	  <parameter name="notfound-image" value="/docuserver/images/icons/notfound.gif" />
+	
 	  <!-- List of directories where images are searched.
 	       The authoritative directory with the high-resolution images
 	       is first in list. -->
 	  <parameter name="basedir-list" value="/docuserver/images:/docuserver/scaled/small" />
 	
-	  <!-- Java class to use for image operations -->
-	  <parameter name="docuimage-class" value="digilib.image.ImageLoaderDocuImage" />
-	
 	  <!-- mimimum amount of scaling done with antialiasing -->
 	  <parameter name="subsample-minimum" value="2"/>
 	
 	  <!-- default interpolation quality (0=worst) -->
-	  <parameter name="default-quality" value="1"/>
+	  <parameter name="default-quality" value="2"/>
 	
 	  <!-- is sending whole image files with mo=file allowed? -->
 	  <parameter name="sendfile-allowed" value="true" />