[Yazlist] Pazpar2 settings files and user-defined settings

Christensen, David A. (CHT) David.Christensen at gov.mb.ca
Wed Aug 31 17:38:05 CEST 2011


Hi all,

I'm having trouble getting my head around this :-)

If you have a pazpar2 settings file like this:
	<settings target="123.456.789.012:210">
		<!-- This file introduces default settings for pazpar2 -->
		<!-- mapping for unqualified search -->
		<set name="pz:cclmap:term" value="u=1016 t=l,r s=al"/>

		<!-- field-specific mappings -->
		<set name="pz:cclmap:ti" value="u=4 s=al"/>
		<set name="pz:cclmap:su" value="u=21 s=al"/>
		<set name="pz:cclmap:isbn" value="u=7"/>
		<set name="pz:cclmap:issn" value="u=8"/>
		<set name="pz:cclmap:date" value="u=30 r=r"/>

		<!-- Retrieval settings -->
		<set name="pz:requestsyntax" value="marc21"/>
		<set name="pz:elements" value="F"/>
		<!-- Query encoding -->

		<set name="pz:queryencoding" value="iso-8859-1"/>
		<!-- Result normalization settings -->
		<set name="pz:nativesyntax" value="iso2709"/>
		<set name="pz:xslt" value="../etc/marc21.xsl"/>
	</settings>

...you could (can you?) add another name/value - such as, for example:  <set name="libraryopacurl" value="http://opac.somelibrary.org/"/>

How would you access this new name/value pair from the client (i.e. example_client.js)?  I've been poking at it using Firebug, but can't for the life of me see where it ends up....

--
David A. Christensen               Phone: (204) 726-6870
Technology Consultant              Toll-free MB: 1-888-226-8014
Manitoba Public Library Services   FAX: (204) 726-6868
http://library.gov.mb.ca           Email: David.Christensen at gov.mb.ca 





More information about the Yazlist mailing list