From 01ea3147d50de8e22e1999135ee26bfdec6c0ecc Mon Sep 17 00:00:00 2001 From: Sebastian Hammer Date: Wed, 11 Apr 2007 03:34:11 +0000 Subject: [PATCH 1/1] Documentation up to date with available settings (allow and maxrecs not yet implemented). --- doc/pazpar2_conf.xml | 85 +++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 81 insertions(+), 4 deletions(-) diff --git a/doc/pazpar2_conf.xml b/doc/pazpar2_conf.xml index 08b4769..5c81fb5 100644 --- a/doc/pazpar2_conf.xml +++ b/doc/pazpar2_conf.xml @@ -8,7 +8,7 @@ %common; ]> - + Pazpar2 @@ -313,7 +313,7 @@ Each file contains a root element named <settings>. It may contain one or more <set> elements. The settings and set - elements may contain the following attributes. Attributes in set + elements may contain the following attributes. Attributes in the set node overrides those in the setting root element. Each set node must specify (directly, or inherited from the parent node) at least a target, name, and value. @@ -393,6 +393,74 @@ within your application. + + The following examples illustrate uses of the settings system to + associate settings with targets to meet different requirements. + + + + The example below associates a set of default values that can be + used across many targets. Note the wildcard for targets. + This associates the given settings with all targets for which no + other information is provided. + + + + + + + + + + + + + + + + + + + + + + + + + + + + ]]> + + + + The next example shows certain settings overriden for one target, + one which returns XML records containing DublinCore elements, and + which furthermore requires a username/password. + + + + + + + + ]]> + + + + The following example associates a specific name/value combination + with a number of targets. The targets below are access-restricted, + and can only be used by users with special credentials. + + + + + ]]> + + RESERVED SETTING NAMES @@ -455,7 +523,7 @@ pz:nativesyntax - The representation of the retrieval records. Currently + The representation (syntax) of the retrieval records. Currently recognized values are iso2709 and xml. @@ -464,7 +532,7 @@ pz:encoding - The native encoding of retrieval records. Can be anything + The native encoding (character set) of retrieval records. Can be anything recognized by conv, but typical values are marc8 and latin1. The default is UTF-8. @@ -500,6 +568,15 @@ + pz:maxrecs + + + Controls the maximum number of records to be retrieved from a + server. The default is 100. + + + + pz:id -- 1.7.10.4