Mercurial > hg > digilib
changeset 1402:7770ac493446
small doc improvements.
author | robcast |
---|---|
date | Mon, 12 Oct 2015 15:07:25 +0200 |
parents | 4b4973a9f34a |
children | 51587d36fd44 |
files | doc/src/site/markdown/digilib-config.md doc/src/site/markdown/digilib-short.md |
diffstat | 2 files changed, 5 insertions(+), 12 deletions(-) [+] |
line wrap: on
line diff
--- a/doc/src/site/markdown/digilib-config.md Mon Oct 12 12:31:11 2015 +0200 +++ b/doc/src/site/markdown/digilib-config.md Mon Oct 12 15:07:25 2015 +0200 @@ -54,9 +54,6 @@ is first in list. --> <parameter name="basedir-list" value="/docuserver/images:/docuserver/scaled/small" /> - <!-- mimimum amount of scaling done with antialiasing --> - <parameter name="subsample-minimum" value="2"/> - <!-- default interpolation quality (0=worst) --> <parameter name="default-quality" value="2"/> @@ -88,7 +85,7 @@ <!-- use mapping of "virtual directories" to real directories on the server --> <parameter name="use-mapping" value="false"/> - <!-- location of XML mapping file --> + <!-- location of XML name mapping file --> <parameter name="mapping-file" value="digilib-map.xml"/> <!-- location of logger config file -->
--- a/doc/src/site/markdown/digilib-short.md Mon Oct 12 12:31:11 2015 +0200 +++ b/doc/src/site/markdown/digilib-short.md Mon Oct 12 15:07:25 2015 +0200 @@ -48,15 +48,12 @@ pages. Here is a minimal version: The Scaler servlet takes parameters in the HTTP request format: -`Scaler/request\_path/?param1=value1¶m2=value2&...` Unknown parameters +`Scaler?param1=value1¶m2=value2&...` Unknown parameters will be silently ignored. Recognised parameters: -- `request_path` path to file or directory. -- `fn` path to file or directory. This path will be added to the - `request_path` behind the servlet name. Either parameter can be - empty. All paths are relative to the configured base directory +- `fn` path to file or directory. All paths are relative to the configured base directory (digilib-config parameter `basedir-list`). - `pn` page number. Index into the (alphabetically sorted) directory given by the path. Starts with 1. Ignored if the path @@ -73,8 +70,7 @@ <= 1). Default: 1. - `wh` relative height of the image area to be sent (0 <= `wh` <= 1). Default: 1. -- The image to be loaded can be specified by the `request_path` - (deprecated) or the `fn` (preferred) parameter and the optional +- The image to be loaded can be specified by `fn` parameter and the optional index `pn` - if `fn` points to a directory then the file with the index `pn` (in alphabetical order according to ASCII) will be loaded @@ -88,7 +84,7 @@ parameter is determined by the aspect ratio of the image. An example for a Scaler URL is: -`http://digilib.mpiwg-berlin.mpg.de/digitallibrary/servlet/Scaler?fn=experimental/digilib-test/images&wh=0.1712&ww=0.1282&wy=0.1681&wx=0.6895&dw=862&dh=904` +`http://digilib.mpiwg-berlin.mpg.de/digitallibrary/Scaler?fn=experimental/digilib-test/images&wh=0.1712&ww=0.1282&wy=0.1681&wx=0.6895&dw=862&dh=904` such a URL can be used as src attribute to an img element in the frontend HTML.