<folderInfo id="cdt.managedbuild.config.gnu.macosx.exe.debug.1350738082." name="/" resourcePath="">
<toolChain id="cdt.managedbuild.toolchain.gnu.macosx.exe.debug.642779913" name="MacOSX GCC" superClass="cdt.managedbuild.toolchain.gnu.macosx.exe.debug">
<targetPlatform id="cdt.managedbuild.target.gnu.platform.macosx.exe.debug.206052691" name="Debug Platform" superClass="cdt.managedbuild.target.gnu.platform.macosx.exe.debug"/>
- <builder buildPath="${workspace_loc:/pazpar2.master/Debug}" command="src/make" id="cdt.managedbuild.target.gnu.builder.macosx.exe.debug.2009339594" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="Gnu Make Builder" superClass="cdt.managedbuild.target.gnu.builder.macosx.exe.debug"/>
+ <builder buildPath="${workspace_loc:/pazpar2.master/Debug}" id="cdt.managedbuild.target.gnu.builder.macosx.exe.debug.2009339594" keepEnvironmentInBuildfile="false" managedBuildOn="false" name="Gnu Make Builder" superClass="cdt.managedbuild.target.gnu.builder.macosx.exe.debug"/>
<tool id="cdt.managedbuild.tool.macosx.c.linker.macosx.exe.debug.937721886" name="MacOS X C Linker" superClass="cdt.managedbuild.tool.macosx.c.linker.macosx.exe.debug">
<inputType id="cdt.managedbuild.tool.macosx.c.linker.input.377427532" superClass="cdt.managedbuild.tool.macosx.c.linker.input">
<additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/>
<tool id="cdt.managedbuild.tool.gnu.c.compiler.macosx.exe.debug.2080175189" name="GCC C Compiler" superClass="cdt.managedbuild.tool.gnu.c.compiler.macosx.exe.debug">
<option defaultValue="gnu.c.optimization.level.none" id="gnu.c.compiler.macosx.exe.debug.option.optimization.level.1726497609" name="Optimization Level" superClass="gnu.c.compiler.macosx.exe.debug.option.optimization.level" valueType="enumerated"/>
<option id="gnu.c.compiler.macosx.exe.debug.option.debugging.level.88106198" name="Debug Level" superClass="gnu.c.compiler.macosx.exe.debug.option.debugging.level" value="gnu.c.debugging.level.max" valueType="enumerated"/>
+ <option id="gnu.c.compiler.option.include.paths.16758435" name="Include paths (-I)" superClass="gnu.c.compiler.option.include.paths" valueType="includePath">
+ <listOptionValue builtIn="false" value=""${workspace_loc:/yaz/include}""/>
+ </option>
<inputType id="cdt.managedbuild.tool.gnu.c.compiler.input.1159745856" superClass="cdt.managedbuild.tool.gnu.c.compiler.input"/>
</tool>
</toolChain>
<folderInfo id="cdt.managedbuild.config.macosx.exe.release.397760623." name="/" resourcePath="">
<toolChain id="cdt.managedbuild.toolchain.gnu.macosx.exe.release.740147803" name="MacOSX GCC" superClass="cdt.managedbuild.toolchain.gnu.macosx.exe.release">
<targetPlatform id="cdt.managedbuild.target.gnu.platform.macosx.exe.release.2059998902" name="Debug Platform" superClass="cdt.managedbuild.target.gnu.platform.macosx.exe.release"/>
- <builder buildPath="${workspace_loc:/pazpar2.master/Release}" id="cdt.managedbuild.target.gnu.builder.macosx.exe.release.893517025" managedBuildOn="true" name="Gnu Make Builder.Release" superClass="cdt.managedbuild.target.gnu.builder.macosx.exe.release"/>
+ <builder buildPath="${workspace_loc:/pazpar2.master/Release}" id="cdt.managedbuild.target.gnu.builder.macosx.exe.release.893517025" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="Gnu Make Builder" superClass="cdt.managedbuild.target.gnu.builder.macosx.exe.release"/>
<tool id="cdt.managedbuild.tool.macosx.c.linker.macosx.exe.release.217097143" name="MacOS X C Linker" superClass="cdt.managedbuild.tool.macosx.c.linker.macosx.exe.release">
<inputType id="cdt.managedbuild.tool.macosx.c.linker.input.1144641815" superClass="cdt.managedbuild.tool.macosx.c.linker.input">
<additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/>
</tool>
<tool id="cdt.managedbuild.tool.gnu.archiver.macosx.base.785295904" name="GCC Archiver" superClass="cdt.managedbuild.tool.gnu.archiver.macosx.base"/>
<tool id="cdt.managedbuild.tool.gnu.cpp.compiler.macosx.exe.release.1602863758" name="GCC C++ Compiler" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.macosx.exe.release">
- <option id="gnu.cpp.compiler.macosx.exe.release.option.optimization.level.188273471" superClass="gnu.cpp.compiler.macosx.exe.release.option.optimization.level" value="gnu.cpp.compiler.optimization.level.most" valueType="enumerated"/>
- <option id="gnu.cpp.compiler.macosx.exe.release.option.debugging.level.1795172740" superClass="gnu.cpp.compiler.macosx.exe.release.option.debugging.level" value="gnu.cpp.compiler.debugging.level.none" valueType="enumerated"/>
+ <option id="gnu.cpp.compiler.macosx.exe.release.option.optimization.level.188273471" name="Optimization Level" superClass="gnu.cpp.compiler.macosx.exe.release.option.optimization.level" value="gnu.cpp.compiler.optimization.level.most" valueType="enumerated"/>
+ <option id="gnu.cpp.compiler.macosx.exe.release.option.debugging.level.1795172740" name="Debug Level" superClass="gnu.cpp.compiler.macosx.exe.release.option.debugging.level" value="gnu.cpp.compiler.debugging.level.none" valueType="enumerated"/>
</tool>
<tool id="cdt.managedbuild.tool.gnu.c.compiler.macosx.exe.release.479123096" name="GCC C Compiler" superClass="cdt.managedbuild.tool.gnu.c.compiler.macosx.exe.release">
- <option defaultValue="gnu.c.optimization.level.most" id="gnu.c.compiler.macosx.exe.release.option.optimization.level.590469295" superClass="gnu.c.compiler.macosx.exe.release.option.optimization.level" valueType="enumerated"/>
- <option id="gnu.c.compiler.macosx.exe.release.option.debugging.level.1332521313" superClass="gnu.c.compiler.macosx.exe.release.option.debugging.level" value="gnu.c.debugging.level.none" valueType="enumerated"/>
+ <option defaultValue="gnu.c.optimization.level.most" id="gnu.c.compiler.macosx.exe.release.option.optimization.level.590469295" name="Optimization Level" superClass="gnu.c.compiler.macosx.exe.release.option.optimization.level" valueType="enumerated"/>
+ <option id="gnu.c.compiler.macosx.exe.release.option.debugging.level.1332521313" name="Debug Level" superClass="gnu.c.compiler.macosx.exe.release.option.debugging.level" value="gnu.c.debugging.level.none" valueType="enumerated"/>
<inputType id="cdt.managedbuild.tool.gnu.c.compiler.input.144338339" superClass="cdt.managedbuild.tool.gnu.c.compiler.input"/>
</tool>
</toolChain>
Doxyfile
dox
deb-src
+Debug
+*~
\ No newline at end of file
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.buildCommand</key>
- <value>src/make</value>
+ <value>make</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.buildLocation</key>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.useDefaultBuildCmd</key>
- <value>false</value>
+ <value>true</value>
</dictionary>
</arguments>
</buildCommand>
-DEBIAN_DIST="squeeze etch lenny"
-UBUNTU_DIST="karmic jaunty intrepid hardy"
+DEBIAN_DIST="squeeze lenny"
+UBUNTU_DIST="maverick lucid karmic"
SUBDIRS = src test js doc
-EXTRA_DIST = README NEWS LICENSE buildconf.sh Doxyfile.in m4/yaz.m4 \
+EXTRA_DIST = $(PACKAGE).spec README NEWS LICENSE \
+ buildconf.sh Doxyfile.in m4/yaz.m4 \
win/makefile win/version.nsi win/version.nsi.in win/license.txt
dist-hook:
if test -x /usr/bin/git -a -d .git; then git log >ChangeLog ; cp ChangeLog $(distdir); fi
- for d in etc etc/settings www/test1 www/jsdemo; do \
- mkdir -p $(distdir)/$$d; \
- for f in $(srcdir)/$$d/*; do \
- test -f $$f && cp $$f $(distdir)/$$d; \
- done; \
+ for d in etc etc/settings etc/services www/test1 www/jsdemo www/iphone; do \
+ mkdir -p $(distdir)/$$d; cp -r $$d/* $(distdir)/$$d; \
done; rm -f $(distdir)/etc/pazpar2.cfg; exit 0
.PHONY:debian
+-- 1.5.4 2011/03/08
+- Experiental support for DTIC DADS target
+- adds dads-pz2.xsl
+- Support for query_syntax (overrides the default for SRU | Z39.50)
+- Support for extraArgs (ZOOM "extraArgs" option) for targets
+- New commands: status-server and status-session
+
+-- 1.5.3 2011/02/18
+- Fix for threaded runs:
+Client now have a copy of the database URL,
+which can used after the database has been release from the client.
+This makes the logging in the connection idle timeout of the client nicer (no NOURL)
+and should be thread-safe.
+- tmarc.xsl:
+Add journal-title-abbrev and full text.
+- cf.xsl
+New fields: isbn, issn, journaltitle, volume, issue
+- Fix for cmd=record before search.
+- Session Logging clean up
+- Fix: wrong termlist factor when maxrecs is different from 100.
+
+-- 1.5.2 2011/01/18
+Fixes:
+- Missing pz:termlist_term_factor in settings.c messed up pz:preferred
+- Term factor is default enabled but can be diseabled by pz:termlist_term_factor=0
+
+-- 1.5.1 2011/01/06
+
+Add scaling of facet count. Currently always enabled, needs fixing.
+Allow user-defined info for target suffix. This has no meaning in
+Pazpar2 except to distinguish targets from each other. The suffix
+data begins with #. For example z3950.indexdata.com/gils#Mydata
+
+Added exact-match recordfilter; format name=value
+
+--- 1.5.0 2010/10/05
+
+SOLR support. Pazpar2 may operate as web service client for SOLR.
+
+--- 1.4.4 2010/08/17
+
+Fix for show command and block=1 (dead lock). Bug was introduced in
+1.4.0.
+
+--- 1.4.3 2010/07/02
+
+New RPM packages: pazpar2, pazpar2-js, pazpar2-doc. These have been
+tested on CentOS 5.5 only.
+
+--- 1.4.2 2010/06/18
+
+Fix problem with result sets being removed from a client session
+if the connection for it was resused by another session. Bug #3489.
+
+New iphone UI for Pazpar2 (www/iphone).
+
+--- 1.4.1 2010/05/21
+
+Fixes for threaded operation.
+
+New stylesheets for TurboMARC: tmarc.xsl and opac_turbomarc.xsl.
+
+New example services in etc/services in source. In the Debian packages
+these are located in /etc/pazpar2/services-available
+
+Threaded mode operational on Windows. Requires Windows 7 or Windows
+Server 2008.
+
+Default value of setting pz:max_connections is 0 which means that there
+is no limit on number of connections.
+
+--- 1.4.0 2010/03/29
+
+Pazpar2 may operate in threaded mode. Enabled by element threads in
+the configuration. See pazpar2_conf for details.
+
+New setting setting: pz:max_connections. Setting pz:max_connections is
+a limit of number of sockets to a host. When this limit is reached,
+Pazpar2 will wait up to 5 seconds for a connection to becomes available.
+The client will be marked Client_Error when it can not be searched
+(other clients in a session may work). If pz:max_connections is not set
+for a target, a value of 30 will be used. Note: the pz:max_connections
+will only work in threaded mode.
+
+pz2.js: JSON support for show.
+
+Debian package: Enable default service, default.xml, before starting
+Pazpar2 only if there is no service already in /etc/pazpar2/services-enabled.
+
--- 1.3.0 2010/01/25
Debian version depends on on libyaz4. Note that Pazpar2 will still
model-independent metasearching middleware featuring merging, relevance
ranking, record sorting, and faceted results.
-Copyright (C) 2006-2010, Index Data. See the file LICENSE for details.
+Copyright (C) 2006-2011 Index Data. See the file LICENSE for details.
Installation instructions and documentation is found in directory 'doc' and
on-line at http://www.indexdata.com/pazpar2/ .
## -*- Autoconf -*-
## This file is part of Pazpar2.
+## Copyright (C) 2006-2011 Index Data
## Process this file with autoconf to produce a configure script.
# Autoconf and automake setup
AC_PREREQ(2.60)
-AC_INIT([pazpar2],[1.3.0],[pazpar2-help@indexdata.dk])
+AC_INIT([pazpar2],[1.5.4],[pazpar2-help@indexdata.dk])
AC_CONFIG_HEADERS(src/config.h)
AC_C_INLINE
-YAZ_INIT([static icu server],[4.0.2])
+YAZ_INIT([static icu],[4.1.0])
if test -z "$YAZLIB"; then
AC_MSG_ERROR([YAZ development libraries missing])
fi
+pazpar2 (1.5.3-1indexata) unstable; urgency=low
+
+ * Upstrem.
+
+ -- Dennis Schafroth <dennis@indexdata.com> Fri, 18 Feb 2011 12:26:12 +0100
+
+pazpar2 (1.5.2-1indexdata) unstable; urgency=low
+
+ * Upstream
+
+ -- Dennis Schafroth <dennis@indexdata.dk> Tue, 18 Jan 2011 10:51:26 +0100
+
+pazpar2 (1.5.1-1indexdata) unstable; urgency=low
+
+ * Upstream.
+
+ -- Dennis Schafroth <dennis@indexdata.dk> Thu, 06 Jan 2011 17:30:59 +0200
+
+pazpar2 (1.5.0-1indexdata) unstable; urgency=low
+
+ * Upstream.
+
+ -- Adam Dickmeiss <adam@indexdata.dk> Tue, 05 Oct 2010 12:43:59 +0200
+
+pazpar2 (1.4.4-1indexdata) unstable; urgency=low
+
+ * Upstream.
+
+ -- Adam Dickmeiss <adam@indexdata.dk> Tue, 17 Aug 2010 13:22:40 +0200
+
+pazpar2 (1.4.3-1indexdata) unstable; urgency=low
+
+ * Upstream.
+
+ -- Adam Dickmeiss <adam@indexdata.dk> Thu, 01 Jul 2010 14:04:10 +0200
+
+pazpar2 (1.4.2-1indexdata) unstable; urgency=low
+
+ * Upstream.
+
+ -- Adam Dickmeiss <adam@indexdata.dk> Fri, 18 Jun 2010 11:32:46 +0200
+
+pazpar2 (1.4.1-1indexdata) unstable; urgency=low
+
+ * Upstream.
+
+ -- Adam Dickmeiss <adam@indexdata.dk> Fri, 21 May 2010 14:56:46 +0200
+
+pazpar2 (1.4.0-1indexdata) unstable; urgency=low
+
+ * Upstream.
+
+ -- Adam Dickmeiss <adam@indexdata.dk> Thu, 29 Apr 2010 13:07:13 +0200
+
pazpar2 (1.3.0-1indexdata) unstable; urgency=low
* Upstream.
Section: net
Priority: extra
Maintainer: Adam Dickmeiss <adam@indexdata.dk>
-Build-Depends: debhelper (>= 5), autotools-dev, libyaz4-dev (>= 4.0.2), docbook-xsl
+Build-Depends: debhelper (>= 5), autotools-dev, libyaz4-dev (>= 4.1.0), docbook-xsl, libgnutls-dev
Standards-Version: 3.7.2
Package: pazpar2
do_start
case "$?" in
0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;;
- 2) [ "$VERBOSE" != no ] && log_end_msg 1 ;;
+ 2) [ "$VERBOSE" = no ] && \
+ log_daemon_msg "Starting $DESC" "$NAME"
+ log_end_msg 1
+ ;;
esac
;;
stop)
do_stop
case "$?" in
0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;;
- 2) [ "$VERBOSE" != no ] && log_end_msg 1 ;;
+ 2) [ "$VERBOSE" = no ] && \
+ log_daemon_msg "Stopping $DESC" "$NAME"
+ log_end_msg 1
+ ;;
esac
;;
#reload|force-reload)
# pazpar2-doc package
mv $(CURDIR)/debian/pazpar2/usr/share/doc/pazpar2/* $(CURDIR)/debian/pazpar2-doc/usr/share/doc/pazpar2-doc
# pazpar2 package
- cp $(CURDIR)/debian/server.xml $(CURDIR)/debian/pazpar2/etc/pazpar2/server.xml
+ cp $(CURDIR)/etc/server.xml $(CURDIR)/debian/pazpar2/etc/pazpar2/server.xml
cp $(CURDIR)/etc/default.xml $(CURDIR)/debian/pazpar2/etc/pazpar2/services-available/
- cp etc/settings/*.xml $(CURDIR)/debian/pazpar2/etc/pazpar2/settings/
- cp etc/*.xsl $(CURDIR)/debian/pazpar2/etc/pazpar2/
+ cp $(CURDIR)/etc/services/*.xml $(CURDIR)/debian/pazpar2/etc/pazpar2/services-available
+ cp $(CURDIR)/etc/settings/*.xml $(CURDIR)/debian/pazpar2/etc/pazpar2/settings/
+ cp $(CURDIR)/etc/*.xsl $(CURDIR)/debian/pazpar2/etc/pazpar2/
# pazpar2-apache2 package
cp $(CURDIR)/debian/ap2pazpar2.cfg $(CURDIR)/debian/pazpar2-apache2/etc/pazpar2
# pazpar2-test1 package
# pazpar2-jsdemo package
cp www/jsdemo/*.html $(CURDIR)/debian/pazpar2-jsdemo/usr/share/pazpar2/jsdemo/
cp www/jsdemo/*.js $(CURDIR)/debian/pazpar2-jsdemo/usr/share/pazpar2/jsdemo/
- cp www/jsdemo/*.gif $(CURDIR)/debian/pazpar2-jsdemo/usr/share/pazpar2/jsdemo/
+ cp www/jsdemo/*.png $(CURDIR)/debian/pazpar2-jsdemo/usr/share/pazpar2/jsdemo/
cp www/jsdemo/*.css $(CURDIR)/debian/pazpar2-jsdemo/usr/share/pazpar2/jsdemo/
# pazpar2-js package
cp $(CURDIR)/debian/ap2pazpar2-js.cfg $(CURDIR)/debian/pazpar2-js/etc/pazpar2
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<pazpar2 xmlns="http://www.indexdata.com/pazpar2/1.0">
-
- <server>
- <listen port="8004"/>
-
- <!-- character set mapping.. This can be overriden in services -->
- <relevance>
- <icu_chain id="relevance" locale="en">
- <transform rule="[:Control:] Any-Remove"/>
- <tokenize rule="l"/>
- <transform rule="[[:WhiteSpace:][:Punctuation:]] Remove"/>
- <casemap rule="l"/>
- </icu_chain>
- </relevance>
-
- <sort>
- <icu_chain id="sort" locale="en">
- <transform rule="[[:Control:][:WhiteSpace:][:Punctuation:]] Remove"/>
- <casemap rule="l"/>
- </icu_chain>
- </sort>
-
- <mergekey>
- <icu_chain id="mergekey" locale="en">
- <tokenize rule="l"/>
- <transform rule="[[:Control:][:WhiteSpace:][:Punctuation:]] Remove"/>
- <casemap rule="l"/>
- </icu_chain>
- </mergekey>
-
- <include src="services-enabled/*.xml"/>
-
- </server>
-
-</pazpar2>
-<!-- Keep this comment at the end of the file
- Local variables:
- mode: nxml
- End:
--->
-
<?xml version="1.0" standalone="no"?>
-<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1//EN"
- "http://www.oasis-open.org/docbook/xml/4.1/docbookx.dtd"
+<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
+ "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd"
[
<!ENTITY % local SYSTEM "local.ent">
%local;
<author>
<firstname>Mike</firstname><surname>Taylor</surname>
</author>
+ <author>
+ <firstname>Dennis</firstname><surname>Schafroth</surname>
+ </author>
<releaseinfo>&version;</releaseinfo>
<copyright>
<year>©right-year;</year>
-- <ulink url="&url.xslt;">XSLT</ulink> is used to normalize and extract
data from retrieval records for display and analysis. It can be used
against any server which supports the
- <ulink url="&url.z39.50;">Z39.50</ulink> or <ulink url="&url.sru;">SRU/SRW</ulink>
- protocol. Proprietary
+ <ulink url="&url.z39.50;">Z39.50</ulink>, <ulink url="&url.sru;">SRU/SRW</ulink>
+ or <ulink url="&url.solr;">SOLR</ulink> protocol. Proprietary
backend modules can function as connectors between these standard
protocols and any non-standard API, including web-site scraping, to
support a large number of other protocols.
proprietary framework for building connectors that enable Pazpar2
to access
thousands of online databases, in addition to the vast number of catalogs
- and online services that support the Z39.50/SRU/SRW protocols.
+ and online services that support the Z39.50/SRU/SRW/SOLR protocols.
</para>
</section>
<para>
The test UIs are located in <literal>www</literal>. Ensure that this
- directory is available to the web server by copying
+ directory is available to the web server by copying
<literal>www</literal> to the document root,
using Apache's <literal>Alias</literal> directive, or
creating a symbolic link: for example, on a Debian or Ubuntu
<title>Connecting to non-standard resources</title>
<para>
Pazpar2 uses Z39.50 as its switchboard language -- i.e. as far as it
- is concerned, all resources speak Z39.50, or its webservices derivatives,
- SRU/SRW. It is, however, equipped
+ is concerned, all resources speak Z39.50, its webservices derivatives,
+ SRU/SRW and SOLR servers exposing Lucene indexes. It is, however, equipped
to handle a broad range of different server behavior, through
configurable query mapping and record normalization. If you develop
configuration, stylesheets, etc., for a new type of resources, we
-Subproject commit 51f33ab41eada587c95a46b3340c2cd03ddaa7cd
+Subproject commit cc59b50a147656750bff1385f50fd6ad656d77e4
<!-- Manually edited stuff used for all package documentation -->
-<!ENTITY copyright-year "2006-2010">
+<!ENTITY copyright-year "2006-2011">
<!ENTITY manref SYSTEM "manref.xml">
<!ENTITY sect-ajaxdev SYSTEM "ajaxdev.xml">
<!ENTITY gpl2 SYSTEM "gpl-2.0.xml">
-<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN"
- "http://www.oasis-open.org/docbook/xml/4.1/docbookx.dtd"
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.4//EN"
+ "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd"
[
<!ENTITY % local SYSTEM "local.ent">
%local;
<refentryinfo>
<productname>Pazpar2</productname>
<productnumber>&version;</productnumber>
+ <info><orgname>Index Data</orgname></info>
</refentryinfo>
+
<refmeta>
<refentrytitle>Pazpar2</refentrytitle>
<manvolnum>8</manvolnum>
+ <refmiscinfo class="manual">System management commands</refmiscinfo>
</refmeta>
<refnamediv>
<?xml version="1.0" standalone="no"?>
-<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN"
- "http://www.oasis-open.org/docbook/xml/4.1/docbookx.dtd"
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.4//EN"
+ "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd"
[
<!ENTITY % local SYSTEM "local.ent">
%local;
<refentryinfo>
<productname>Pazpar2</productname>
<productnumber>&version;</productnumber>
+ <info><orgname>Index Data</orgname></info>
</refentryinfo>
+
<refmeta>
<refentrytitle>Pazpar2 conf</refentrytitle>
<manvolnum>5</manvolnum>
+ <refmiscinfo class="manual">File formats and conventions</refmiscinfo>
</refmeta>
<refnamediv>
</varlistentry>
<varlistentry>
- <term>relevance / sort / mergekey</term>
+ <term>relevance / sort / mergekey / facet</term>
<listitem>
<para>
- Specifies character set normalization for relevancy / sorting
- and the mergekey - for the server. These definitions serves as
+ Specifies character set normalization for relevancy / sorting /
+ mergekey and facets - for the server. These definitions serves as
default for services that don't have these given. For the meaning
of these settings refer to the "relevance" element inside service.
</para>
</varlistentry>
<varlistentry>
+ <term>facet</term>
+ <listitem>
+ <para>
+ Specifies ICU tokenization and transformation rules
+ for tokens that are used in Pazpar2's facets. The contents
+ is similar to that of <literal>relevance</literal>.
+ </para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
<term>settings</term>
<listitem>
<para>
<term>pz:nativesyntax</term>
<listitem>
<para>
- The representation (syntax) of the retrieval records. Currently
- recognized values are iso2709 and xml.
+ Specifies how Pazpar2 shoule map retrieved records to XML. Currently
+ supported values are <literal>xml</literal>,
+ <literal>iso2709</literal> and <literal>txml</literal>.
+ </para>
+ <para>
+ The value <literal>iso2709</literal> makes Pazpar2 convert retrieved
+ MARC records to MARCXML. In order to convert to XML, the exact
+ chacater set of the MARC must be known (if not, the resulting
+ XML is probably not well-formed). The character set may be
+ specified by adding:
+ <literal>;charset=</literal><replaceable>charset</replaceable> to
+ <literal>iso2709</literal>. If omitted, a charset of
+ MARC-8 is assumed. This is correct for most MARC21/USMARC records.
</para>
<para>
- For iso2709, can also specify a native character set, e.g. "iso2709;latin-1".
- If no character set is provided, MARC-8 is assumed.
+ The value <literal>txml</literal> is like <literal>iso2709</literal>
+ except that records are converted to TurboMARC instead of MARCXML.
</para>
<para>
- If pz:nativesyntax is not specified, pazpar2 will attempt to determine
- the value based on the response from the server.
+ The value <literal>xml</literal> is used if Pazpar2 retrieves
+ records that are already XML (no conversion takes place).
</para>
</listitem>
</varlistentry>
<term>pz:sru</term>
<listitem>
<para>
- This setting enables SRU/SRW support. It has three possible settings.
+ This setting enables
+ <ulink url="&url.sru;">SRU</ulink>/<ulink url="&url.solr;">SOLR</ulink>
+ support.
+ It has four possible settings.
'get', enables SRU access through GET requests. 'post' enables SRU/POST
support, less commonly supported, but useful if very large requests are
- to be submitted. 'srw' enables the SRW variation of the protocol.
+ to be submitted. 'srw' enables the SRW (SRU over SOAP) variation of
+ the protocol.
+ </para>
+ <para>
+ A value of 'solr' anables SOLR client support. This is supported
+ for Pazpar version 1.5.0 and later.
</para>
</listitem>
</varlistentry>
<para>
This allows SRU version to be specified. If unset Pazpar2
will the default of YAZ (currently 1.2). Should be set
- to 1.1 or 1.2.
+ to 1.1 or 1.2. For SOLR, the current supported/tested version is 1.4
</para>
</listitem>
</varlistentry>
<para>
Specifies a filter which allows Pazpar2 to only include
records that meet a certain criteria in a result. Unmatched records
- will be ignored. The filter takes the form name[~value] , which
+ will be ignored. The filter takes the form name, name~value, or name=value, which
will include only records with metadata element (name) that has the
- substring (value) given. If value is omitted all records with the
- metadata present will be included.
+ substring (~value) given, or matches exactly (=value). If value is omitted all records
+ with the named
+ metadata element present will be included.
</para>
</listitem>
</varlistentry>
+
+ <varlistentry>
+ <term>pz:termlist_term_count</term>
+ <listitem>
+ <para>
+ Specifies that the target should return up to n terms for each facets (where termlist="yes"). This implies
+ that the target can return facets on the search command. Requesting facets on targets that doesn't,
+ will return unpredictable or error result.
+ </para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term>pz:termlist_term_sort</term>
+ <listitem>
+ <para>
+ Specifies how the terms should be sorted. (Not yet implemented)
+ </para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term>pz:preferred</term>
+ <listitem>
+ <para>
+ Specifies that a target is preferred, e.g. possible local, faster target. Using block=pref on show command
+ will wait for all these targets to return records before releasing the block. If no target is preferred,
+ the block=pref will identical to block=1, which release when one target has returned records.
+ </para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term>pz:block_timeout</term>
+ <listitem>
+ <para>
+ (Not yet implemented). Specifies the time for which a block should be released anyway.
+ </para>
+ </listitem>
+ </varlistentry>
+
</variablelist>
</refsect2>
<?xml version="1.0" standalone="no"?>
-<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN"
- "http://www.oasis-open.org/docbook/xml/4.1/docbookx.dtd"
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.4//EN"
+ "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd"
[
<!ENTITY % local SYSTEM "local.ent">
%local;
<refentryinfo>
<productname>Pazpar2</productname>
<productnumber>&version;</productnumber>
+ <info><orgname>Index Data</orgname></info>
</refentryinfo>
<refmeta>
<refentrytitle>Pazpar2 protocol</refentrytitle>
<manvolnum>7</manvolnum>
+ <refmiscinfo class="manual">Conventions and miscellaneous</refmiscinfo>
</refmeta>
<refnamediv>
</para>
</listitem>
</varlistentry>
+ <varlistentry>
+ <term>num</term>
+ <listitem>
+ <para>
+ maximum number of entries to return - default is 15.
+ </para>
+ </listitem>
+ </varlistentry>
</variablelist>
</para>
<para>
version="1.0"
encoding="UTF-8"/>
+ <xsl:param name="medium" />
+
<xsl:template match="/record">
<pz:record>
+ <pz:metadata type="medium">
+ <xsl:value-of select="$medium" />
+ </pz:metadata>
<xsl:apply-templates/>
</pz:record>
</xsl:template>
<pz:metadata type="title">
<xsl:value-of select="."/>
</pz:metadata>
+ <pz:metadata type="title-complete">
+ <xsl:value-of select="." />
+ </pz:metadata>
</xsl:template>
<xsl:template match="author">
</pz:metadata>
</xsl:template>
+ <xsl:template match="isbn">
+ <pz:metadata type="isbn">
+ <xsl:value-of select="."/>
+ </pz:metadata>
+ </xsl:template>
+
+ <xsl:template match="issn">
+ <pz:metadata type="issn">
+ <xsl:value-of select="."/>
+ </pz:metadata>
+ </xsl:template>
+
+ <xsl:template match="journaltitle">
+ <pz:metadata type="journal-title">
+ <xsl:value-of select="."/>
+ </pz:metadata>
+ </xsl:template>
+
+ <xsl:template match="volume">
+ <pz:metadata type="volume">
+ <xsl:value-of select="."/>
+ </pz:metadata>
+ </xsl:template>
+
+ <xsl:template match="issue">
+ <pz:metadata type="issue">
+ <xsl:value-of select="."/>
+ </pz:metadata>
+ </xsl:template>
+
<xsl:template match="item">
<pz:metadata type="locallocation">
<xsl:choose>
--- /dev/null
+#!/bin/sh
+
+usage()
+{
+cat <<EOF
+usage: $0 options
+
+This script run the test1 or test2 over a machine.
+
+OPTIONS:
+ -h Show this message
+ -H host name or IP
+ -w Warning level
+ -c Critical level
+ -p port name
+EOF
+}
+
+
+MSG="OK";
+HOST=localhost
+PORT=8004
+
+while getopts "hH:w:c:p:" OPTION
+do
+ case $OPTION in
+ h) usage; exit 3;;
+ H)
+ HOST=$OPTARG
+ ;;
+ p)
+ PORT=$OPTARG
+ ;;
+ w)
+ WARN_LEVEL=$OPTARG
+ ;;
+ c)
+ CRIT_LEVEL=$OPTARG
+ ;;
+ esac
+done
+
+#echo $HOST $PORT $WARN_LEVEL $CRIT_LEVEL
+
+`wget -q "http://$HOST:$PORT/search.pz2?command=server-status" -O- | xsltproc /etc/pazpar2/server-status-nagios.xsl - 2> /dev/null`
+
+if [ $? -ne 0 ] ; then
+ MSG="FATAL failed to communicate with pazpar2"
+ exit 128
+fi
+
+if [ "$WARN_LEVEL" != "" ] ; then
+ if [ $SESSIONS -gt $WARN_LEVEL ]; then
+ MSG="WARNING "
+ rc=1;
+ fi
+fi
+
+if [ "$CRIT_LEVEL" != "" ] ; then
+ if [ $SESSIONS -gt $CRIT_LEVEL ]; then
+ MSG="CRITICAL "
+ rc=2;
+ fi
+fi
+
+echo "SESSIONS $MSG $SESSIONS ($CLIENTS) | $SESSIONS;$WARN_LEVEL;$CRIT_LEVEL "
+exit $rc
+
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<xsl:stylesheet version="1.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:pz="http://www.indexdata.com/pazpar2/1.0"
+ xmlns:zs="http://www.loc.gov/zing/srw/"
+ xmlns:tmarc="http://www.indexdata.com/turbomarc">
+
+ <xsl:output indent="yes" method="xml" version="1.0"
+ encoding="UTF-8" />
+ <xsl:param name="medium"/>
+
+ <!-- Extract metadata from MARC21/USMARC from streamlined marcxml format
+ http://www.loc.gov/marc/bibliographic/ecbdhome.html -->
+ <xsl:template name="record-hook" />
+
+
+ <xsl:template match="/">
+ <xsl:apply-templates />
+ </xsl:template>
+
+ <xsl:template match="zs:searchRetrieveResponse">
+ <xsl:apply-templates />
+ </xsl:template>
+
+ <xsl:template match="zs:records">
+ <collection>
+ <xsl:apply-templates />
+ </collection>
+ </xsl:template>
+
+ <xsl:template match="zs:record">
+ <xsl:apply-templates />
+ </xsl:template>
+
+ <xsl:template match="zs:recordData">
+ <xsl:apply-templates />
+ </xsl:template>
+
+ <xsl:template match="doc">
+ <collection>
+ <xsl:apply-templates />
+ </collection>
+ </xsl:template>
+
+ <xsl:template match="art">
+ <xsl:variable name="journal_title" select="journal/title" />
+ <xsl:variable name="journal_issn" select="journal/issn" />
+ <xsl:variable name="date" select="localInfo/cdate" />
+ <xsl:variable name="description" select="abstract/abstract" />
+
+ <xsl:variable name="vmedium">
+ <xsl:choose>
+ <xsl:when test="$journal_title">article</xsl:when>
+ <xsl:otherwise>
+ <xsl:text>other</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+
+ <pz:record>
+ <xsl:for-each select="author/name">
+ <pz:metadata type="author">
+ <xsl:value-of select="." />
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="article/title">
+ <pz:metadata type="title">
+ <xsl:value-of select="." />
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="journal/issn">
+ <pz:metadata type="issn">
+ <xsl:value-of select="." />
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="journal/title">
+ <pz:metadata type="journal-title">
+ <xsl:value-of select="." />
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="journal">
+ <pz:metadata type="journal-subpart">
+ <xsl:text>Vol. </xsl:text><xsl:value-of select="vol" />
+ <xsl:text> no. </xsl:text><xsl:value-of select="issue" />
+ <xsl:text>(</xsl:text><xsl:value-of select="month" /><xsl:text>-</xsl:text><xsl:value-of select="year" /><xsl:text>)</xsl:text>
+ <xsl:text> p. </xsl:text><xsl:value-of select="page" />
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="localInfo/systemno">
+ <pz:metadata type="system-control-nr">
+ <xsl:value-of select="."/>
+ </pz:metadata>
+ </xsl:for-each>
+
+ <pz:metadata type="description">
+ <xsl:value-of select="$description" />
+ </pz:metadata>
+
+ <xsl:for-each select="ctrlT/term">
+ <pz:metadata type="subject">
+ <xsl:value-of select="." />
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="tmarc:d773">
+ <pz:metadata type="citation">
+ <xsl:for-each select="*">
+ <xsl:value-of select="normalize-space(.)" />
+ <xsl:text> </xsl:text>
+ </xsl:for-each>
+ </pz:metadata>
+ </xsl:for-each>
+
+ <pz:metadata type="medium">
+ <xsl:value-of select="$vmedium" />
+ </pz:metadata>
+
+ <xsl:for-each select="article/fulltext">
+ <pz:metadata type="fulltext">
+ <xsl:value-of select="." />
+ </pz:metadata>
+ </xsl:for-each>
+
+ <!-- passthrough id data -->
+ <xsl:for-each select="pz:metadata">
+ <xsl:copy-of select="." />
+ </xsl:for-each>
+
+ <!-- other stylesheets importing this might want to define this -->
+ <xsl:call-template name="record-hook" />
+
+ </pz:record>
+
+
+ </xsl:template>
+
+ <xsl:template match="text()" />
+
+</xsl:stylesheet>
version="1.0"
encoding="UTF-8"/>
+ <xsl:param name="medium" />
+
<xsl:template match="/*">
<pz:record>
</pz:metadata>
</xsl:for-each>
+ <pz:metadata type="medium">
+ <xsl:value-of select="$medium" />
+ </pz:metadata>
+
</pz:record>
</xsl:template>
<?xml version="1.0" encoding="UTF-8"?>
<service xmlns="http://www.indexdata.com/pazpar2/1.0">
<timeout session="60" z3950_operation="30" z3950_session="180"/>
- <settings src="settings/edu.xml"/>
+ <settings src="settings/sru-test.xml"/>
<relevance>
<icu_chain id="relevance" locale="en">
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<service id="edu_turbo" xmlns="http://www.indexdata.com/pazpar2/1.0">
+ <timeout session="60" z3950_operation="30" z3950_session="180"/>
+ <settings src="settings/edu_turbo.xml"/>
+
+ <relevance>
+ <icu_chain id="relevance" locale="en">
+ <transform rule="[:Control:] Any-Remove"/>
+ <tokenize rule="l"/>
+ <transform rule="[[:WhiteSpace:][:Punctuation:]] Remove"/>
+ <casemap rule="l"/>
+ </icu_chain>
+ </relevance>
+
+ <sort>
+ <icu_chain id="sort" locale="en">
+ <transform rule="[[:Control:][:WhiteSpace:][:Punctuation:]] Remove"/>
+ <casemap rule="l"/>
+ </icu_chain>
+ </sort>
+
+ <mergekey>
+ <icu_chain id="mergekey" locale="en">
+ <tokenize rule="l"/>
+ <transform rule="[[:Control:][:WhiteSpace:][:Punctuation:]] Remove"/>
+ <casemap rule="l"/>
+ </icu_chain>
+ </mergekey>
+
+ <!-- we try to keep same order as in marc21.xsl -->
+ <metadata name="id" brief="yes"/>
+ <metadata name="lccn" merge="unique"/>
+ <metadata name="isbn"/>
+ <metadata name="issn"/>
+ <metadata name="tech-rep-nr"/>
+ <metadata name="author" brief="yes" termlist="yes" merge="unique"
+ rank="2" mergekey="optional"/>
+ <metadata name="author-title"/>
+ <metadata name="author-date"/>
+ <metadata name="corporate-name"/>
+ <metadata name="corporate-location"/>
+ <metadata name="corporate-date"/>
+ <metadata name="meeting-name"/>
+ <metadata name="meeting-location"/>
+ <metadata name="meeting-date"/>
+ <metadata name="date" brief="yes" sortkey="numeric" type="year"
+ merge="range" termlist="yes"/>
+ <metadata name="title" brief="yes" sortkey="skiparticle"
+ merge="longest" rank="6" mergekey="required"/>
+ <metadata name="title-remainder" brief="yes" merge="longest" rank="5"/>
+ <metadata name="title-responsibility" brief="yes" merge="longest"/>
+ <metadata name="title-dates" brief="yes" merge="longest"/>
+ <metadata name="title-medium" brief="yes" merge="longest"/>
+ <metadata name="title-number-section" brief="yes" merge="longest"/>
+ <metadata name="medium" brief="yes" merge="longest" mergekey="optional"/>
+ <metadata name="iii-id" brief="yes" merge="no"/>
+ <metadata name="edition"/>
+ <metadata name="publication-place"/>
+ <metadata name="publication-name"/>
+ <metadata name="publication-date"/>
+ <metadata name="physical-extent"/>
+ <metadata name="physical-format"/>
+ <metadata name="physical-dimensions"/>
+ <metadata name="physical-accomp"/>
+ <metadata name="physical-unittype"/>
+ <metadata name="physical-unitsize"/>
+ <metadata name="physical-specified"/>
+
+ <metadata name="series-title"/>
+
+ <metadata name="description" brief="yes" merge="unique" rank="3"/>
+ <metadata name="subject-long" rank="3"/>
+ <metadata name="subject" termlist="yes" rank="0"/>
+ <metadata name="snippet" brief="yes" merge="unique"/>
+ <metadata name="electronic-url" brief="yes" merge="no"/>
+ <metadata name="electronic-format-type" />
+ <metadata name="electronic-format-instruction" />
+ <metadata name="electronic-text" brief="yes" merge="no"/>
+ <metadata name="electronic-note"/>
+ <metadata name="citation"/>
+ <metadata name="holding"/>
+ <metadata name="fulltext"/>
+ <metadata name="locallocation" brief="yes"/>
+ <metadata name="callnumber" brief="yes"/>
+ <metadata name="publicnote" brief="yes"/>
+
+ <!-- journals -->
+ <metadata name="journal-title"/>
+ <metadata name="journal-subpart"/>
+ <metadata name="volume-number"/>
+ <metadata name="issue-date"/>
+ <metadata name="issue-number"/>
+
+ <metadata name="url_recipe" setting="postproc" brief="yes" merge="no"/>
+ <metadata name="open_url_resolver" setting="parameter" merge="no"/>
+ <metadata name="open-url" merge="longest"/>
+ <metadata name="use_url_proxy" setting="postproc" brief="yes" merge="no"/>
+
+ <metadata name="publisher"/>
+ <metadata name="available"/>
+ <metadata name="due"/>
+ <metadata name="thumburl" brief="yes" merge="unique"/>
+ <metadata name="score"/>
+</service>
+<!-- Keep this comment at the end of the file
+ Local variables:
+ mode: nxml
+ End:
+-->
+
</xsl:choose>
</xsl:variable>
+ <xsl:variable name="has_fulltext">
+ <xsl:choose>
+ <xsl:when test="marc:datafield[@tag='856']/marc:subfield[@code='q']">
+ <xsl:text>yes</xsl:text>
+ </xsl:when>
+ <xsl:when test="marc:datafield[@tag='856']/marc:subfield[@code='i']='TEXT*'">
+ <xsl:text>yes</xsl:text>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text>no</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+
<pz:record>
-
<xsl:for-each select="marc:controlfield[@tag='001']">
<pz:metadata type="id">
<xsl:value-of select="."/>
<xsl:for-each select="marc:datafield[@tag='035']">
<pz:metadata type="system-control-nr">
- <xsl:value-of select="marc:subfield[@code='a']"/>
+ <xsl:choose>
+ <xsl:when test="marc:subfield[@code='a']">
+ <xsl:value-of select="marc:subfield[@code='a']"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="marc:subfield[@code='b']"/>
+ </xsl:otherwise>
+ </xsl:choose>
</pz:metadata>
</xsl:for-each>
</pz:metadata>
</xsl:for-each>
+ <pz:metadata type="has-fulltext">
+ <xsl:value-of select="$has_fulltext"/>
+ </pz:metadata>
+
<xsl:for-each select="marc:datafield[@tag='773']">
<pz:metadata type="citation">
<xsl:for-each select="*">
<xsl:for-each select="/opacRecord/holdings/holding">
<pz:metadata type="locallocation">
<xsl:choose>
- <xsl:when test="localLocation">
- <xsl:value-of select="localLocation"/>
- </xsl:when>
- <xsl:otherwise>PAZPAR2_NULL_VALUE</xsl:otherwise>
- </xsl:choose>
+ <xsl:when test="localLocation">
+ <xsl:value-of select="localLocation"/>
+ </xsl:when>
+ <xsl:otherwise>PAZPAR2_NULL_VALUE</xsl:otherwise>
+ </xsl:choose>
</pz:metadata>
<pz:metadata type="callnumber">
<xsl:choose>
- <xsl:when test="callNumber">
- <xsl:value-of select="callNumber"/>
- </xsl:when>
- <xsl:otherwise>PAZPAR2_NULL_VALUE</xsl:otherwise>
- </xsl:choose>
+ <xsl:when test="callNumber">
+ <xsl:value-of select="callNumber"/>
+ </xsl:when>
+ <xsl:otherwise>PAZPAR2_NULL_VALUE</xsl:otherwise>
+ </xsl:choose>
</pz:metadata>
<pz:metadata type="publicnote">
<xsl:choose>
- <xsl:when test="publicNote">
- <xsl:value-of select="publicNote"/>
- </xsl:when>
- <xsl:otherwise>PAZPAR2_NULL_VALUE</xsl:otherwise>
- </xsl:choose>
+ <xsl:when test="publicNote">
+ <xsl:value-of select="publicNote"/>
+ </xsl:when>
+ <xsl:otherwise>PAZPAR2_NULL_VALUE</xsl:otherwise>
+ </xsl:choose>
+ </pz:metadata>
+ <pz:metadata type="available">
+ <xsl:choose>
+ <xsl:when test="circulations/circulation/availableNow/@value = '1'">
+ Available
+ </xsl:when>
+ <xsl:when test="circulations/circulation/availableNow/@value = '0'">
+ <xsl:choose>
+ <xsl:when test="circulations/circulation/availabiltyDate">
+ <xsl:value-of select="circulations/circulation/availabiltyDate"/>
+ </xsl:when>
+ <xsl:otherwise>PAZPAR2_NULL_VALUE</xsl:otherwise>
+ </xsl:choose>
+ </xsl:when>
+ <xsl:otherwise>PAZPAR2_NULL_VALUE</xsl:otherwise>
+ </xsl:choose>
</pz:metadata>
</xsl:for-each>
</xsl:template>
<xsl:template match="/">
- <xsl:apply-templates select="opacRecord/bibliographicRecord"/>
+ <xsl:choose>
+ <xsl:when test="opacRecord">
+ <xsl:apply-templates select="opacRecord/bibliographicRecord"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:apply-templates/>
+ </xsl:otherwise>
+ </xsl:choose>
</xsl:template>
</xsl:stylesheet>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<xsl:stylesheet
+ version="1.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:pz="http://www.indexdata.com/pazpar2/1.0"
+ xmlns:marc="http://www.indexdata.com/turbomarc">
+
+ <xsl:import href="tmarc.xsl"/>
+
+ <xsl:output indent="yes" method="xml" version="1.0" encoding="UTF-8"/>
+
+<!-- Extract metadata from OPAC records with embedded MAR records
+ http://www.loc.gov/marc/bibliographic/ecbdhome.html
+-->
+
+ <xsl:template name="record-hook">
+ <xsl:for-each select="/opacRecord/holdings/holding">
+ <pz:metadata type="locallocation">
+ <xsl:choose>
+ <xsl:when test="localLocation">
+ <xsl:value-of select="localLocation"/>
+ </xsl:when>
+ <xsl:otherwise>PAZPAR2_NULL_VALUE</xsl:otherwise>
+ </xsl:choose>
+ </pz:metadata>
+ <pz:metadata type="callnumber">
+ <xsl:choose>
+ <xsl:when test="callNumber">
+ <xsl:value-of select="callNumber"/>
+ </xsl:when>
+ <xsl:otherwise>PAZPAR2_NULL_VALUE</xsl:otherwise>
+ </xsl:choose>
+ </pz:metadata>
+ <pz:metadata type="publicnote">
+ <xsl:choose>
+ <xsl:when test="publicNote">
+ <xsl:value-of select="publicNote"/>
+ </xsl:when>
+ <xsl:otherwise>PAZPAR2_NULL_VALUE</xsl:otherwise>
+ </xsl:choose>
+ </pz:metadata>
+ <pz:metadata type="available">
+ <xsl:choose>
+ <xsl:when test="circulations/circulation/availableNow/@value = '1'">
+ Available
+ </xsl:when>
+ <xsl:when test="circulations/circulation/availableNow/@value = '0'">
+ <xsl:choose>
+ <xsl:when test="circulations/circulation/availabiltyDate">
+ <xsl:value-of select="circulations/circulation/availabiltyDate"/>
+ </xsl:when>
+ <xsl:otherwise>PAZPAR2_NULL_VALUE</xsl:otherwise>
+ </xsl:choose>
+ </xsl:when>
+ <xsl:otherwise>PAZPAR2_NULL_VALUE</xsl:otherwise>
+ </xsl:choose>
+ </pz:metadata>
+ </xsl:for-each>
+ </xsl:template>
+ <xsl:template match="/">
+ <xsl:choose>
+ <xsl:when test="opacRecord">
+ <xsl:apply-templates select="opacRecord/bibliographicRecord"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:apply-templates/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:template>
+
+</xsl:stylesheet>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<pazpar2 xmlns="http://www.indexdata.com/pazpar2/1.0">
+
+ <threads number="10"/>
+ <server id="metasearch_threaded">
+ <listen port="9005"/>
+ <include src="services/*.xml"/>
+ </server>
+
+</pazpar2>
+<!-- Keep this comment at the end of the file
+ Local variables:
+ mode: xml
+ End:
+-->
+
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+<xsl:output indent="yes" method="xml" version="1.0" encoding="UTF-8"/>
+<xsl:template match="/">
+ <searchresult>
+ <!-- TODO make query an xsl parameter -->
+ <query>water</query>
+ <xsl:for-each select="show/hit">
+ <document>
+ <xsl:attribute name="id">
+ <xsl:value-of select="recid" />
+ </xsl:attribute>
+ <title><xsl:value-of select="md-title" /></title>
+ <url><xsl:value-of select="location/md-electronic-url" /></url>
+ <snippet xml:space="preserve">
+ <xsl:for-each select="md-description">
+ <xsl:value-of select="." />
+ </xsl:for-each>
+ <xsl:value-of select="md-title-responsibility" />
+ </snippet>
+ </document>
+ </xsl:for-each>
+ </searchresult>
+</xsl:template>
+</xsl:stylesheet>
\ No newline at end of file
--- /dev/null
+<?xml version="1.0"?>
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:pz="http://www.indexdata.com/pazpar2/1.0" >
+ <xsl:template match="/">
+ <add>
+ <xsl:apply-templates></xsl:apply-templates>
+ </add>
+ </xsl:template>
+
+ <xsl:template match="pz:record">
+ <doc>
+ <xsl:apply-templates></xsl:apply-templates>
+ </doc>
+ </xsl:template>
+ <xsl:template match="pz:metadata">
+ <field>
+ <xsl:attribute name="name">
+ <xsl:value-of select="@type"/>
+ </xsl:attribute>
+ <xsl:value-of select="."/>
+ </field>
+ </xsl:template>
+</xsl:stylesheet>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<xsl:stylesheet version="1.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+
+ <xsl:output indent="no" method="text" version="1.0" encoding="UTF-8" />
+
+ <xsl:template match="/server-status">
+ <xsl:apply-templates />
+ </xsl:template>
+
+ <xsl:template match="sessions">
+ <xsl:text>export SESSIONS=</xsl:text><xsl:value-of select="." />
+ </xsl:template>
+
+ <xsl:template match="clients">
+ <xsl:text>export CLIENTS=</xsl:text><xsl:value-of select="." />
+ </xsl:template>
+
+ <xsl:template match="resultsets">
+ <xsl:text>export RESULTSETS=</xsl:text><xsl:value-of select="." />
+ </xsl:template>
+
+ <xsl:template match="*">
+ </xsl:template>
+
+</xsl:stylesheet>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<pazpar2 xmlns="http://www.indexdata.com/pazpar2/1.0">
+
+ <threads number="0"/> <!-- non-zero to enable threaded operation -->
+ <server>
+ <listen port="8004"/>
+
+ <!-- character set mapping.. This can be overriden in services -->
+ <relevance>
+ <icu_chain id="relevance" locale="en">
+ <transform rule="[:Control:] Any-Remove"/>
+ <tokenize rule="l"/>
+ <transform rule="[[:WhiteSpace:][:Punctuation:]] Remove"/>
+ <casemap rule="l"/>
+ </icu_chain>
+ </relevance>
+
+ <sort>
+ <icu_chain id="sort" locale="en">
+ <transform rule="[[:Control:][:WhiteSpace:][:Punctuation:]] Remove"/>
+ <casemap rule="l"/>
+ </icu_chain>
+ </sort>
+
+ <mergekey>
+ <icu_chain id="mergekey" locale="en">
+ <tokenize rule="l"/>
+ <transform rule="[[:Control:][:WhiteSpace:][:Punctuation:]] Remove"/>
+ <casemap rule="l"/>
+ </icu_chain>
+ </mergekey>
+
+ <include src="services-enabled/*.xml"/>
+
+ </server>
+
+</pazpar2>
+<!-- Keep this comment at the end of the file
+ Local variables:
+ mode: nxml
+ End:
+-->
+
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<service id="perf_t" xmlns="http://www.indexdata.com/pazpar2/1.0">
+ <timeout session="600" z3950_operation="30" z3950_session="900"/>
+ <settings target="*">
+ <set target="localhost:9999/db01" name="pz:name" value="db01"/>
+ <set target="localhost:9999/db02" name="pz:name" value="db02"/>
+ <set target="localhost:9999/db03" name="pz:name" value="db03"/>
+ <set target="localhost:9999/db04" name="pz:name" value="db04"/>
+ <set target="localhost:9999/db05" name="pz:name" value="db05"/>
+ <set target="localhost:9999/db06" name="pz:name" value="db06"/>
+ <set target="localhost:9999/db07" name="pz:name" value="db07"/>
+ <set target="localhost:9999/db08" name="pz:name" value="db08"/>
+ <set target="localhost:9999/db09" name="pz:name" value="db09"/>
+ <set target="localhost:9999/db10" name="pz:name" value="db10"/>
+
+ <set target="localhost:9999/db11" name="pz:name" value="db11"/>
+ <set target="localhost:9999/db12" name="pz:name" value="db12"/>
+ <set target="localhost:9999/db13" name="pz:name" value="db13"/>
+ <set target="localhost:9999/db14" name="pz:name" value="db14"/>
+ <set target="localhost:9999/db15" name="pz:name" value="db15"/>
+ <set target="localhost:9999/db16" name="pz:name" value="db16"/>
+ <set target="localhost:9999/db17" name="pz:name" value="db17"/>
+ <set target="localhost:9999/db18" name="pz:name" value="db18"/>
+
+ <!-- mapping for unqualified search -->
+ <set name="pz:cclmap:term" value="u=1016 t=l,r s=al"/>
+ <set name="pz:piggyback" value="1" />
+
+ <!-- field-specific mappings -->
+ <set name="pz:cclmap:au" value="u=1004 s=al"/>
+ <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"/>
+
+ <!-- Result normalization settings -->
+
+ <set name="pz:nativesyntax" value="txml"/>
+ <set name="pz:xslt" value="tmarc.xsl"/>
+ </settings>
+
+ <relevance>
+ <icu_chain id="relevance" locale="en">
+ <transform rule="[:Control:] Any-Remove"/>
+ <tokenize rule="l"/>
+ <transform rule="[[:WhiteSpace:][:Punctuation:]] Remove"/>
+ <casemap rule="l"/>
+ </icu_chain>
+ </relevance>
+
+ <sort>
+ <icu_chain id="sort" locale="en">
+ <transform rule="[[:Control:][:WhiteSpace:][:Punctuation:]] Remove"/>
+ <casemap rule="l"/>
+ </icu_chain>
+ </sort>
+
+ <mergekey>
+ <icu_chain id="mergekey" locale="en">
+ <tokenize rule="l"/>
+ <transform rule="[[:Control:][:WhiteSpace:][:Punctuation:]] Remove"/>
+ <casemap rule="l"/>
+ </icu_chain>
+ </mergekey>
+
+ <!-- we try to keep same order as in marc21.xsl -->
+ <metadata name="id" brief="yes"/>
+ <metadata name="lccn" merge="unique"/>
+ <metadata name="isbn"/>
+ <metadata name="issn"/>
+ <metadata name="tech-rep-nr"/>
+ <metadata name="author" brief="yes" termlist="yes" merge="unique"
+ rank="2" mergekey="optional"/>
+ <metadata name="author-title"/>
+ <metadata name="author-date"/>
+ <metadata name="corporate-name"/>
+ <metadata name="corporate-location"/>
+ <metadata name="corporate-date"/>
+ <metadata name="meeting-name"/>
+ <metadata name="meeting-location"/>
+ <metadata name="meeting-date"/>
+ <metadata name="date" brief="yes" sortkey="numeric" type="year"
+ merge="range" termlist="yes"/>
+ <metadata name="title" brief="yes" sortkey="skiparticle"
+ merge="longest" rank="6" mergekey="required"/>
+ <metadata name="title-remainder" brief="yes" merge="longest" rank="5"/>
+ <metadata name="title-responsibility" brief="yes" merge="longest"/>
+ <metadata name="title-dates" brief="yes" merge="longest"/>
+ <metadata name="title-medium" brief="yes" merge="longest"/>
+ <metadata name="title-number-section" brief="yes" merge="longest"/>
+ <metadata name="medium" brief="yes" merge="no" mergekey="optional"/>
+ <metadata name="iii-id" brief="yes" merge="no"/>
+ <metadata name="edition"/>
+ <metadata name="publication-place"/>
+ <metadata name="publication-name"/>
+ <metadata name="publication-date"/>
+ <metadata name="physical-extent"/>
+ <metadata name="physical-format"/>
+ <metadata name="physical-dimensions"/>
+ <metadata name="physical-accomp"/>
+ <metadata name="physical-unittype"/>
+ <metadata name="physical-unitsize"/>
+ <metadata name="physical-specified"/>
+
+ <metadata name="series-title"/>
+
+ <metadata name="description" brief="yes" merge="unique" rank="3"/>
+ <metadata name="subject-long" rank="3"/>
+ <metadata name="subject" termlist="yes" rank="0"/>
+ <metadata name="snippet" brief="yes" merge="unique"/>
+ <metadata name="electronic-url" brief="yes" merge="no"/>
+ <metadata name="electronic-format-type" />
+ <metadata name="electronic-format-instruction" />
+ <metadata name="electronic-url" brief="yes" merge="no"/>
+ <metadata name="electronic-text" brief="yes" merge="no"/>
+ <metadata name="electronic-note"/>
+ <metadata name="citation"/>
+ <metadata name="holding"/>
+ <metadata name="fulltext"/>
+ <metadata name="locallocation" brief="yes"/>
+ <metadata name="callnumber" brief="yes"/>
+ <metadata name="publicnote" brief="yes"/>
+
+ <!-- journals -->
+ <metadata name="journal-title"/>
+ <metadata name="journal-subpart"/>
+ <metadata name="volume-number"/>
+ <metadata name="issue-date"/>
+ <metadata name="issue-number"/>
+
+ <metadata name="url_recipe" setting="postproc" brief="yes" merge="no"/>
+ <metadata name="open_url_resolver" setting="parameter" merge="no"/>
+ <metadata name="open-url" merge="longest"/>
+ <metadata name="use_url_proxy" setting="postproc" brief="yes" merge="no"/>
+
+ <metadata name="publisher"/>
+ <metadata name="available"/>
+ <metadata name="due"/>
+ <metadata name="thumburl" brief="yes" merge="unique"/>
+ <metadata name="score"/>
+</service>
+<!-- Keep this comment at the end of the file
+ Local variables:
+ mode: nxml
+ End:
+-->
+
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<service id="perf" xmlns="http://www.indexdata.com/pazpar2/1.0">
+ <timeout session="20" z3950_operation="10" z3950_session="30"/>
+
+ <settings target="*">
+ <set target="localhost:9999/db01" name="pz:name" value="db01"/>
+ <set target="localhost:9999/db02" name="pz:name" value="db02"/>
+ <set target="localhost:9999/db03" name="pz:name" value="db03"/>
+ <set target="localhost:9999/db04" name="pz:name" value="db04"/>
+ <set target="localhost:9999/db05" name="pz:name" value="db05"/>
+ <set target="localhost:9999/db06" name="pz:name" value="db06"/>
+ <set target="localhost:9999/db07" name="pz:name" value="db07"/>
+ <set target="localhost:9999/db08" name="pz:name" value="db08"/>
+ <set target="localhost:9999/db09" name="pz:name" value="db09"/>
+ <set target="localhost:9999/db10" name="pz:name" value="db10"/>
+
+ <set target="localhost:9999/db11" name="pz:name" value="db11"/>
+ <set target="localhost:9999/db12" name="pz:name" value="db12"/>
+ <set target="localhost:9999/db13" name="pz:name" value="db13"/>
+ <set target="localhost:9999/db14" name="pz:name" value="db14"/>
+ <set target="localhost:9999/db15" name="pz:name" value="db15"/>
+ <set target="localhost:9999/db16" name="pz:name" value="db16"/>
+ <set target="localhost:9999/db17" name="pz:name" value="db17"/>
+ <set target="localhost:9999/db18" name="pz:name" value="db18"/>
+
+ <!-- mapping for unqualified search -->
+ <set name="pz:cclmap:term" value="u=1016 t=l,r s=al"/>
+ <set name="pz:piggyback" value="0" />
+
+ <!-- field-specific mappings -->
+ <set name="pz:cclmap:au" value="u=1004 s=al"/>
+ <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"/>
+
+ <!-- Result normalization settings -->
+
+ <set name="pz:nativesyntax" value="iso2709"/>
+ <set name="pz:xslt" value="marc21.xsl"/>
+ </settings>
+
+ <relevance>
+ <icu_chain id="relevance" locale="en">
+ <transform rule="[:Control:] Any-Remove"/>
+ <tokenize rule="l"/>
+ <transform rule="[[:WhiteSpace:][:Punctuation:]] Remove"/>
+ <casemap rule="l"/>
+ </icu_chain>
+ </relevance>
+
+ <sort>
+ <icu_chain id="sort" locale="en">
+ <transform rule="[[:Control:][:WhiteSpace:][:Punctuation:]] Remove"/>
+ <casemap rule="l"/>
+ </icu_chain>
+ </sort>
+
+ <mergekey>
+ <icu_chain id="mergekey" locale="en">
+ <tokenize rule="l"/>
+ <transform rule="[[:Control:][:WhiteSpace:][:Punctuation:]] Remove"/>
+ <casemap rule="l"/>
+ </icu_chain>
+ </mergekey>
+
+ <!-- we try to keep same order as in marc21.xsl -->
+ <metadata name="id" brief="yes"/>
+ <metadata name="lccn" merge="unique"/>
+ <metadata name="isbn"/>
+ <metadata name="issn"/>
+ <metadata name="tech-rep-nr"/>
+ <metadata name="author" brief="yes" termlist="yes" merge="unique"
+ rank="2" mergekey="optional"/>
+ <metadata name="author-title"/>
+ <metadata name="author-date"/>
+ <metadata name="corporate-name"/>
+ <metadata name="corporate-location"/>
+ <metadata name="corporate-date"/>
+ <metadata name="meeting-name"/>
+ <metadata name="meeting-location"/>
+ <metadata name="meeting-date"/>
+ <metadata name="date" brief="yes" sortkey="numeric" type="year"
+ merge="range" termlist="yes"/>
+ <metadata name="title" brief="yes" sortkey="skiparticle"
+ merge="longest" rank="6" mergekey="required"/>
+ <metadata name="title-remainder" brief="yes" merge="longest" rank="5"/>
+ <metadata name="title-responsibility" brief="yes" merge="longest"/>
+ <metadata name="title-dates" brief="yes" merge="longest"/>
+ <metadata name="title-medium" brief="yes" merge="longest"/>
+ <metadata name="title-number-section" brief="yes" merge="longest"/>
+ <metadata name="medium" brief="yes" merge="no" mergekey="optional"/>
+ <metadata name="iii-id" brief="yes" merge="no"/>
+ <metadata name="edition"/>
+ <metadata name="publication-place"/>
+ <metadata name="publication-name"/>
+ <metadata name="publication-date"/>
+ <metadata name="physical-extent"/>
+ <metadata name="physical-format"/>
+ <metadata name="physical-dimensions"/>
+ <metadata name="physical-accomp"/>
+ <metadata name="physical-unittype"/>
+ <metadata name="physical-unitsize"/>
+ <metadata name="physical-specified"/>
+
+ <metadata name="series-title"/>
+
+ <metadata name="description" brief="yes" merge="unique" rank="3"/>
+ <metadata name="subject-long" rank="3"/>
+ <metadata name="subject" termlist="yes" rank="0"/>
+ <metadata name="snippet" brief="yes" merge="unique"/>
+ <metadata name="electronic-url" brief="yes" merge="no"/>
+ <metadata name="electronic-format-type" />
+ <metadata name="electronic-format-instruction" />
+ <metadata name="electronic-url" brief="yes" merge="no"/>
+ <metadata name="electronic-text" brief="yes" merge="no"/>
+ <metadata name="electronic-note"/>
+ <metadata name="citation"/>
+ <metadata name="holding"/>
+ <metadata name="fulltext"/>
+ <metadata name="locallocation" brief="yes"/>
+ <metadata name="callnumber" brief="yes"/>
+ <metadata name="publicnote" brief="yes"/>
+
+ <!-- journals -->
+ <metadata name="journal-title"/>
+ <metadata name="journal-subpart"/>
+ <metadata name="volume-number"/>
+ <metadata name="issue-date"/>
+ <metadata name="issue-number"/>
+
+ <metadata name="url_recipe" setting="postproc" brief="yes" merge="no"/>
+ <metadata name="open_url_resolver" setting="parameter" merge="no"/>
+ <metadata name="open-url" merge="longest"/>
+ <metadata name="use_url_proxy" setting="postproc" brief="yes" merge="no"/>
+
+ <metadata name="publisher"/>
+ <metadata name="available"/>
+ <metadata name="due"/>
+ <metadata name="thumburl" brief="yes" merge="unique"/>
+ <metadata name="score"/>
+</service>
+<!-- Keep this comment at the end of the file
+ Local variables:
+ mode: nxml
+ End:
+-->
+
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<service id="perf_opac_t" xmlns="http://www.indexdata.com/pazpar2/1.0">
+ <timeout session="20" z3950_operation="10" z3950_session="30"/>
+
+ <settings target="*">
+ <set target="localhost:9999/db01" name="pz:name" value="db01"/>
+ <set target="localhost:9999/db02" name="pz:name" value="db02"/>
+ <set target="localhost:9999/db03" name="pz:name" value="db03"/>
+ <set target="localhost:9999/db04" name="pz:name" value="db04"/>
+ <set target="localhost:9999/db05" name="pz:name" value="db05"/>
+ <set target="localhost:9999/db06" name="pz:name" value="db06"/>
+ <set target="localhost:9999/db07" name="pz:name" value="db07"/>
+ <set target="localhost:9999/db08" name="pz:name" value="db08"/>
+ <set target="localhost:9999/db09" name="pz:name" value="db09"/>
+ <set target="localhost:9999/db10" name="pz:name" value="db10"/>
+
+ <set target="localhost:9999/db11" name="pz:name" value="db11"/>
+ <set target="localhost:9999/db12" name="pz:name" value="db12"/>
+ <set target="localhost:9999/db13" name="pz:name" value="db13"/>
+ <set target="localhost:9999/db14" name="pz:name" value="db14"/>
+ <set target="localhost:9999/db15" name="pz:name" value="db15"/>
+ <set target="localhost:9999/db16" name="pz:name" value="db16"/>
+ <set target="localhost:9999/db17" name="pz:name" value="db17"/>
+ <set target="localhost:9999/db18" name="pz:name" value="db18"/>
+
+ <!-- mapping for unqualified search -->
+ <set name="pz:cclmap:term" value="u=1016 t=l,r s=al"/>
+ <set name="pz:piggyback" value="1" />
+
+ <!-- field-specific mappings -->
+ <set name="pz:cclmap:au" value="u=1004 s=al"/>
+ <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="opac"/>
+ <set name="pz:elements" value="F"/>
+
+ <!-- Result normalization settings -->
+
+ <set name="pz:nativesyntax" value="txml"/>
+ <set name="pz:xslt" value="opac_turbomarc.xsl"/>
+ </settings>
+
+ <relevance>
+ <icu_chain id="relevance" locale="en">
+ <transform rule="[:Control:] Any-Remove"/>
+ <tokenize rule="l"/>
+ <transform rule="[[:WhiteSpace:][:Punctuation:]] Remove"/>
+ <casemap rule="l"/>
+ </icu_chain>
+ </relevance>
+
+ <sort>
+ <icu_chain id="sort" locale="en">
+ <transform rule="[[:Control:][:WhiteSpace:][:Punctuation:]] Remove"/>
+ <casemap rule="l"/>
+ </icu_chain>
+ </sort>
+
+ <mergekey>
+ <icu_chain id="mergekey" locale="en">
+ <tokenize rule="l"/>
+ <transform rule="[[:Control:][:WhiteSpace:][:Punctuation:]] Remove"/>
+ <casemap rule="l"/>
+ </icu_chain>
+ </mergekey>
+
+ <!-- we try to keep same order as in marc21.xsl -->
+ <metadata name="id" brief="yes"/>
+ <metadata name="lccn" merge="unique"/>
+ <metadata name="isbn"/>
+ <metadata name="issn"/>
+ <metadata name="tech-rep-nr"/>
+ <metadata name="author" brief="yes" termlist="yes" merge="unique"
+ rank="2" mergekey="optional"/>
+ <metadata name="author-title"/>
+ <metadata name="author-date"/>
+ <metadata name="corporate-name"/>
+ <metadata name="corporate-location"/>
+ <metadata name="corporate-date"/>
+ <metadata name="meeting-name"/>
+ <metadata name="meeting-location"/>
+ <metadata name="meeting-date"/>
+ <metadata name="date" brief="yes" sortkey="numeric" type="year"
+ merge="range" termlist="yes"/>
+ <metadata name="title" brief="yes" sortkey="skiparticle"
+ merge="longest" rank="6" mergekey="required"/>
+ <metadata name="title-remainder" brief="yes" merge="longest" rank="5"/>
+ <metadata name="title-responsibility" brief="yes" merge="longest"/>
+ <metadata name="title-dates" brief="yes" merge="longest"/>
+ <metadata name="title-medium" brief="yes" merge="longest"/>
+ <metadata name="title-number-section" brief="yes" merge="longest"/>
+ <metadata name="medium" brief="yes" merge="no" mergekey="optional"/>
+ <metadata name="iii-id" brief="yes" merge="no"/>
+ <metadata name="edition"/>
+ <metadata name="publication-place"/>
+ <metadata name="publication-name"/>
+ <metadata name="publication-date"/>
+ <metadata name="physical-extent"/>
+ <metadata name="physical-format"/>
+ <metadata name="physical-dimensions"/>
+ <metadata name="physical-accomp"/>
+ <metadata name="physical-unittype"/>
+ <metadata name="physical-unitsize"/>
+ <metadata name="physical-specified"/>
+
+ <metadata name="series-title"/>
+
+ <metadata name="description" brief="yes" merge="unique" rank="3"/>
+ <metadata name="subject-long" rank="3"/>
+ <metadata name="subject" termlist="yes" rank="0"/>
+ <metadata name="snippet" brief="yes" merge="unique"/>
+ <metadata name="electronic-url" brief="yes" merge="no"/>
+ <metadata name="electronic-format-type" />
+ <metadata name="electronic-format-instruction" />
+ <metadata name="electronic-url" brief="yes" merge="no"/>
+ <metadata name="electronic-text" brief="yes" merge="no"/>
+ <metadata name="electronic-note"/>
+ <metadata name="citation"/>
+ <metadata name="holding"/>
+ <metadata name="fulltext"/>
+ <metadata name="locallocation" brief="yes"/>
+ <metadata name="callnumber" brief="yes"/>
+ <metadata name="publicnote" brief="yes"/>
+
+ <!-- journals -->
+ <metadata name="journal-title"/>
+ <metadata name="journal-subpart"/>
+ <metadata name="volume-number"/>
+ <metadata name="issue-date"/>
+ <metadata name="issue-number"/>
+
+ <metadata name="url_recipe" setting="postproc" brief="yes" merge="no"/>
+ <metadata name="open_url_resolver" setting="parameter" merge="no"/>
+ <metadata name="open-url" merge="longest"/>
+ <metadata name="use_url_proxy" setting="postproc" brief="yes" merge="no"/>
+
+ <metadata name="publisher"/>
+ <metadata name="available"/>
+ <metadata name="due"/>
+ <metadata name="thumburl" brief="yes" merge="unique"/>
+ <metadata name="score"/>
+</service>
+<!-- Keep this comment at the end of the file
+ Local variables:
+ mode: nxml
+ End:
+-->
+
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<service id="perf_t" xmlns="http://www.indexdata.com/pazpar2/1.0">
+ <timeout session="20" z3950_operation="10" z3950_session="30"/>
+
+ <settings target="*">
+ <set target="localhost:9999/db01" name="pz:name" value="db01"/>
+ <set target="localhost:9999/db02" name="pz:name" value="db02"/>
+ <set target="localhost:9999/db03" name="pz:name" value="db03"/>
+ <set target="localhost:9999/db04" name="pz:name" value="db04"/>
+ <set target="localhost:9999/db05" name="pz:name" value="db05"/>
+ <set target="localhost:9999/db06" name="pz:name" value="db06"/>
+ <set target="localhost:9999/db07" name="pz:name" value="db07"/>
+ <set target="localhost:9999/db08" name="pz:name" value="db08"/>
+ <set target="localhost:9999/db09" name="pz:name" value="db09"/>
+ <set target="localhost:9999/db10" name="pz:name" value="db10"/>
+
+ <set target="localhost:9999/db11" name="pz:name" value="db11"/>
+ <set target="localhost:9999/db12" name="pz:name" value="db12"/>
+ <set target="localhost:9999/db13" name="pz:name" value="db13"/>
+ <set target="localhost:9999/db14" name="pz:name" value="db14"/>
+ <set target="localhost:9999/db15" name="pz:name" value="db15"/>
+ <set target="localhost:9999/db16" name="pz:name" value="db16"/>
+ <set target="localhost:9999/db17" name="pz:name" value="db17"/>
+ <set target="localhost:9999/db18" name="pz:name" value="db18"/>
+
+ <!-- mapping for unqualified search -->
+ <set name="pz:cclmap:term" value="u=1016 t=l,r s=al"/>
+ <set name="pz:piggyback" value="1" />
+
+ <!-- field-specific mappings -->
+ <set name="pz:cclmap:au" value="u=1004 s=al"/>
+ <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"/>
+
+ <!-- Result normalization settings -->
+
+ <set name="pz:nativesyntax" value="txml"/>
+ <set name="pz:xslt" value="tmarc.xsl"/>
+ </settings>
+
+ <relevance>
+ <icu_chain id="relevance" locale="en">
+ <transform rule="[:Control:] Any-Remove"/>
+ <tokenize rule="l"/>
+ <transform rule="[[:WhiteSpace:][:Punctuation:]] Remove"/>
+ <casemap rule="l"/>
+ </icu_chain>
+ </relevance>
+
+ <sort>
+ <icu_chain id="sort" locale="en">
+ <transform rule="[[:Control:][:WhiteSpace:][:Punctuation:]] Remove"/>
+ <casemap rule="l"/>
+ </icu_chain>
+ </sort>
+
+ <mergekey>
+ <icu_chain id="mergekey" locale="en">
+ <tokenize rule="l"/>
+ <transform rule="[[:Control:][:WhiteSpace:][:Punctuation:]] Remove"/>
+ <casemap rule="l"/>
+ </icu_chain>
+ </mergekey>
+
+ <!-- we try to keep same order as in marc21.xsl -->
+ <metadata name="id" brief="yes"/>
+ <metadata name="lccn" merge="unique"/>
+ <metadata name="isbn"/>
+ <metadata name="issn"/>
+ <metadata name="tech-rep-nr"/>
+ <metadata name="author" brief="yes" termlist="yes" merge="unique"
+ rank="2" mergekey="optional"/>
+ <metadata name="author-title"/>
+ <metadata name="author-date"/>
+ <metadata name="corporate-name"/>
+ <metadata name="corporate-location"/>
+ <metadata name="corporate-date"/>
+ <metadata name="meeting-name"/>
+ <metadata name="meeting-location"/>
+ <metadata name="meeting-date"/>
+ <metadata name="date" brief="yes" sortkey="numeric" type="year"
+ merge="range" termlist="yes"/>
+ <metadata name="title" brief="yes" sortkey="skiparticle"
+ merge="longest" rank="6" mergekey="required"/>
+ <metadata name="title-remainder" brief="yes" merge="longest" rank="5"/>
+ <metadata name="title-responsibility" brief="yes" merge="longest"/>
+ <metadata name="title-dates" brief="yes" merge="longest"/>
+ <metadata name="title-medium" brief="yes" merge="longest"/>
+ <metadata name="title-number-section" brief="yes" merge="longest"/>
+ <metadata name="medium" brief="yes" merge="no" mergekey="optional"/>
+ <metadata name="iii-id" brief="yes" merge="no"/>
+ <metadata name="edition"/>
+ <metadata name="publication-place"/>
+ <metadata name="publication-name"/>
+ <metadata name="publication-date"/>
+ <metadata name="physical-extent"/>
+ <metadata name="physical-format"/>
+ <metadata name="physical-dimensions"/>
+ <metadata name="physical-accomp"/>
+ <metadata name="physical-unittype"/>
+ <metadata name="physical-unitsize"/>
+ <metadata name="physical-specified"/>
+
+ <metadata name="series-title"/>
+
+ <metadata name="description" brief="yes" merge="unique" rank="3"/>
+ <metadata name="subject-long" rank="3"/>
+ <metadata name="subject" termlist="yes" rank="0"/>
+ <metadata name="snippet" brief="yes" merge="unique"/>
+ <metadata name="electronic-url" brief="yes" merge="no"/>
+ <metadata name="electronic-format-type" />
+ <metadata name="electronic-format-instruction" />
+ <metadata name="electronic-url" brief="yes" merge="no"/>
+ <metadata name="electronic-text" brief="yes" merge="no"/>
+ <metadata name="electronic-note"/>
+ <metadata name="citation"/>
+ <metadata name="holding"/>
+ <metadata name="fulltext"/>
+ <metadata name="locallocation" brief="yes"/>
+ <metadata name="callnumber" brief="yes"/>
+ <metadata name="publicnote" brief="yes"/>
+
+ <!-- journals -->
+ <metadata name="journal-title"/>
+ <metadata name="journal-subpart"/>
+ <metadata name="volume-number"/>
+ <metadata name="issue-date"/>
+ <metadata name="issue-number"/>
+
+ <metadata name="url_recipe" setting="postproc" brief="yes" merge="no"/>
+ <metadata name="open_url_resolver" setting="parameter" merge="no"/>
+ <metadata name="open-url" merge="longest"/>
+ <metadata name="use_url_proxy" setting="postproc" brief="yes" merge="no"/>
+
+ <metadata name="publisher"/>
+ <metadata name="available"/>
+ <metadata name="due"/>
+ <metadata name="thumburl" brief="yes" merge="unique"/>
+ <metadata name="score"/>
+</service>
+<!-- Keep this comment at the end of the file
+ Local variables:
+ mode: nxml
+ End:
+-->
+
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<service id="perf_ts" xmlns="http://www.indexdata.com/pazpar2/1.0">
+ <timeout session="30" z3950_operation="15" z3950_session="60"/>
+
+ <settings target="*">
+ <set target="localhost:9999/db01" name="pz:name" value="db01"/>
+ <set target="localhost:9999/db02" name="pz:name" value="db02"/>
+
+ <!-- mapping for unqualified search -->
+ <set name="pz:cclmap:term" value="u=1016 t=l,r s=al"/>
+
+ <!-- field-specific mappings -->
+ <set name="pz:cclmap:au" value="u=1004 s=al"/>
+ <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"/>
+
+ <!-- Termlist/facet settings -->
+ <set name="pz:termlist_term_count" value="0"/>
+ <set name="pz:termlist_term_sort" value="1"/>
+
+ <!-- Result normalization settings -->
+
+ <set name="pz:nativesyntax" value="txml"/>
+ <set name="pz:xslt" value="tmarc.xsl"/>
+ </settings>
+
+ <relevance>
+ <icu_chain id="relevance" locale="en">
+ <transform rule="[:Control:] Any-Remove"/>
+ <tokenize rule="l"/>
+ <transform rule="[[:WhiteSpace:][:Punctuation:]] Remove"/>
+ <casemap rule="l"/>
+ </icu_chain>
+ </relevance>
+
+ <sort>
+ <icu_chain id="sort" locale="en">
+ <transform rule="[[:Control:][:WhiteSpace:][:Punctuation:]] Remove"/>
+ <casemap rule="l"/>
+ </icu_chain>
+ </sort>
+
+ <mergekey>
+ <icu_chain id="mergekey" locale="en">
+ <tokenize rule="l"/>
+ <transform rule="[[:Control:][:WhiteSpace:][:Punctuation:]] Remove"/>
+ <casemap rule="l"/>
+ </icu_chain>
+ </mergekey>
+
+ <!-- we try to keep same order as in marc21.xsl -->
+ <metadata name="id" brief="yes"/>
+ <metadata name="lccn" merge="unique"/>
+ <metadata name="isbn"/>
+ <metadata name="issn"/>
+ <metadata name="tech-rep-nr"/>
+ <metadata name="author" brief="yes" termlist="yes" merge="unique"
+ rank="2" mergekey="optional"/>
+ <metadata name="author-title"/>
+ <metadata name="author-date"/>
+ <metadata name="corporate-name"/>
+ <metadata name="corporate-location"/>
+ <metadata name="corporate-date"/>
+ <metadata name="meeting-name"/>
+ <metadata name="meeting-location"/>
+ <metadata name="meeting-date"/>
+ <metadata name="date" brief="yes" sortkey="numeric" type="year"
+ merge="range" termlist="yes"/>
+ <metadata name="title" brief="yes" sortkey="skiparticle"
+ merge="longest" rank="6" mergekey="required"/>
+ <metadata name="title-remainder" brief="yes" merge="longest" rank="5"/>
+ <metadata name="title-responsibility" brief="yes" merge="longest"/>
+ <metadata name="title-dates" brief="yes" merge="longest"/>
+ <metadata name="title-medium" brief="yes" merge="longest"/>
+ <metadata name="title-number-section" brief="yes" merge="longest"/>
+ <metadata name="medium" brief="yes" merge="no" mergekey="optional"/>
+ <metadata name="iii-id" brief="yes" merge="no"/>
+ <metadata name="edition"/>
+ <metadata name="publication-place"/>
+ <metadata name="publication-name"/>
+ <metadata name="publication-date"/>
+ <metadata name="physical-extent"/>
+ <metadata name="physical-format"/>
+ <metadata name="physical-dimensions"/>
+ <metadata name="physical-accomp"/>
+ <metadata name="physical-unittype"/>
+ <metadata name="physical-unitsize"/>
+ <metadata name="physical-specified"/>
+
+ <metadata name="series-title"/>
+
+ <metadata name="description" brief="yes" merge="unique" rank="3"/>
+ <metadata name="subject-long" rank="3"/>
+ <metadata name="subject" termlist="yes" rank="0"/>
+ <metadata name="snippet" brief="yes" merge="unique"/>
+ <metadata name="electronic-url" brief="yes" merge="no"/>
+ <metadata name="electronic-format-type" />
+ <metadata name="electronic-format-instruction" />
+ <metadata name="electronic-url" brief="yes" merge="no"/>
+ <metadata name="electronic-text" brief="yes" merge="no"/>
+ <metadata name="electronic-note"/>
+ <metadata name="citation"/>
+ <metadata name="holding"/>
+ <metadata name="fulltext"/>
+ <metadata name="locallocation" brief="yes"/>
+ <metadata name="callnumber" brief="yes"/>
+ <metadata name="publicnote" brief="yes"/>
+
+ <!-- journals -->
+ <metadata name="journal-title"/>
+ <metadata name="journal-subpart"/>
+ <metadata name="volume-number"/>
+ <metadata name="issue-date"/>
+ <metadata name="issue-number"/>
+
+ <metadata name="url_recipe" setting="postproc" brief="yes" merge="no"/>
+ <metadata name="open_url_resolver" setting="parameter" merge="no"/>
+ <metadata name="open-url" merge="longest"/>
+ <metadata name="use_url_proxy" setting="postproc" brief="yes" merge="no"/>
+
+ <metadata name="publisher"/>
+ <metadata name="available"/>
+ <metadata name="due"/>
+ <metadata name="thumburl" brief="yes" merge="unique"/>
+ <metadata name="score"/>
+</service>
+<!-- Keep this comment at the end of the file
+ Local variables:
+ mode: nxml
+ End:
+-->
+
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<service id="solr" xmlns="http://www.indexdata.com/pazpar2/1.0">
+ <timeout session="30" z3950_operation="15" z3950_session="60"/>
+
+ <settings target="*">
+ <set target="donut:8983/solr/select" name="pz:name" value="solr1"/>
+ <set target="satay:8983/solr/select" name="pz:name" value="solr2"/>
+
+ <!-- mapping for unqualified search -->
+ <set name="pz:cclmap:term" value="1=title"/>
+
+ <!-- field-specific mappings -->
+ <set name="pz:cclmap:au" value="1=author" />
+ <set name="pz:cclmap:ti" value="1=title" />
+ <set name="pz:cclmap:su" value="1=subject"/>
+ <set name="pz:cclmap:isbn" value="1=isbn" />
+ <set name="pz:cclmap:issn" value="1=issn" />
+ <set name="pz:cclmap:date" value="1=date" />
+
+ <!-- Retrieval settings -->
+
+ <set name="pz:sru" value="solr"/>
+ <set name="pz:requestsyntax" value="tmarc"/>
+ <set name="pz:elements" value="F"/>
+
+ <!-- Termlist/facet settings -->
+ <set name="pz:termlist_term_count" value="0"/>
+ <set name="pz:termlist_term_sort" value="1"/>
+
+ <!-- Result normalization settings -->
+
+ <set name="pz:nativesyntax" value="txml"/>
+ <set name="pz:xslt" value="solr-ps2.xsl"/>
+ </settings>
+
+ <relevance>
+ <icu_chain id="relevance" locale="en">
+ <transform rule="[:Control:] Any-Remove"/>
+ <tokenize rule="l"/>
+ <transform rule="[[:WhiteSpace:][:Punctuation:]] Remove"/>
+ <casemap rule="l"/>
+ </icu_chain>
+ </relevance>
+
+ <sort>
+ <icu_chain id="sort" locale="en">
+ <transform rule="[[:Control:][:WhiteSpace:][:Punctuation:]] Remove"/>
+ <casemap rule="l"/>
+ </icu_chain>
+ </sort>
+
+ <mergekey>
+ <icu_chain id="mergekey" locale="en">
+ <tokenize rule="l"/>
+ <transform rule="[[:Control:][:WhiteSpace:][:Punctuation:]] Remove"/>
+ <casemap rule="l"/>
+ </icu_chain>
+ </mergekey>
+
+ <!-- we try to keep same order as in marc21.xsl -->
+ <metadata name="id" brief="yes"/>
+ <metadata name="lccn" merge="unique"/>
+ <metadata name="isbn"/>
+ <metadata name="issn"/>
+ <metadata name="tech-rep-nr"/>
+ <metadata name="author" brief="yes" termlist="yes" merge="unique"
+ rank="2" mergekey="optional"/>
+ <metadata name="author-title"/>
+ <metadata name="author-date"/>
+ <metadata name="corporate-name"/>
+ <metadata name="corporate-location"/>
+ <metadata name="corporate-date"/>
+ <metadata name="meeting-name"/>
+ <metadata name="meeting-location"/>
+ <metadata name="meeting-date"/>
+ <metadata name="date" brief="yes" sortkey="numeric" type="year"
+ merge="range" termlist="yes"/>
+ <metadata name="title" brief="yes" sortkey="skiparticle"
+ merge="longest" rank="6" mergekey="required"/>
+ <metadata name="title-remainder" brief="yes" merge="longest" rank="5"/>
+ <metadata name="title-responsibility" brief="yes" merge="longest"/>
+ <metadata name="title-dates" brief="yes" merge="longest"/>
+ <metadata name="title-medium" brief="yes" merge="longest"/>
+ <metadata name="title-number-section" brief="yes" merge="longest"/>
+ <metadata name="medium" brief="yes" merge="no" mergekey="optional"/>
+ <metadata name="iii-id" brief="yes" merge="no"/>
+ <metadata name="edition"/>
+ <metadata name="publication-place"/>
+ <metadata name="publication-name"/>
+ <metadata name="publication-date"/>
+ <metadata name="physical-extent"/>
+ <metadata name="physical-format"/>
+ <metadata name="physical-dimensions"/>
+ <metadata name="physical-accomp"/>
+ <metadata name="physical-unittype"/>
+ <metadata name="physical-unitsize"/>
+ <metadata name="physical-specified"/>
+
+ <metadata name="series-title"/>
+
+ <metadata name="description" brief="yes" merge="unique" rank="3"/>
+ <metadata name="subject-long" rank="3"/>
+ <metadata name="subject" termlist="yes" rank="0"/>
+ <metadata name="snippet" brief="yes" merge="unique"/>
+ <metadata name="electronic-url" brief="yes" merge="no"/>
+ <metadata name="electronic-format-type" />
+ <metadata name="electronic-format-instruction" />
+ <metadata name="electronic-url" brief="yes" merge="no"/>
+ <metadata name="electronic-text" brief="yes" merge="no"/>
+ <metadata name="electronic-note"/>
+ <metadata name="citation"/>
+ <metadata name="holding"/>
+ <metadata name="fulltext"/>
+ <metadata name="locallocation" brief="yes"/>
+ <metadata name="callnumber" brief="yes"/>
+ <metadata name="publicnote" brief="yes"/>
+
+ <!-- journals -->
+ <metadata name="journal-title"/>
+ <metadata name="journal-subpart"/>
+ <metadata name="volume-number"/>
+ <metadata name="issue-date"/>
+ <metadata name="issue-number"/>
+
+ <metadata name="url_recipe" setting="postproc" brief="yes" merge="no"/>
+ <metadata name="open_url_resolver" setting="parameter" merge="no"/>
+ <metadata name="open-url" merge="longest"/>
+ <metadata name="use_url_proxy" setting="postproc" brief="yes" merge="no"/>
+
+ <metadata name="publisher"/>
+ <metadata name="available"/>
+ <metadata name="due"/>
+ <metadata name="thumburl" brief="yes" merge="unique"/>
+ <metadata name="score"/>
+</service>
+<!-- Keep this comment at the end of the file
+ Local variables:
+ mode: nxml
+ End:
+-->
+
--- /dev/null
+<settings target="*">
+ <!-- based on edu.pz -->
+ <set target="acorn.library.vanderbilt.edu:2200/ACORN" name="pz:name" value="Vanderbilt U"/>
+ <set target="advance.biblio.polymtl.ca:210/ADVANCE" name="pz:name" value="Ecole Polytechnique Montreal"/>
+ <set target="albert.rit.edu:210/INNOPAC" name="pz:name" value="Rochester U of Tech"/>
+ <set target="atrium.bib.umontreal.ca:210/ADVANCE" name="pz:name" value="U of Montreal"/>
+ <set target="biblio.hec.ca:210/hec" name="pz:name" value="HEC Montreal"/>
+ <set target="books.luther.edu:210/innopac" name="pz:name" value="Luther College"/>
+ <set target="cat.cisti.nrc.ca:210/INNOPAC" name="pz:name" value="NRC Canada"/>
+ <set target="cat.lib.grin.edu:210/innopac" name="pz:name" value="Grinell College"/>
+ <set target="catalog.crl.edu:210/INNOPAC" name="pz:name" value="Center for Research Lib"/>
+ <set target="catalog.lib.jhu.edu:210/horizon" name="pz:name" value="Johns Hopkins U"/>
+ <set target="clavis.ucalgary.ca:2200/UNICORN" name="pz:name" value="U of Calgary"/>
+ <set target="cornelia.whoi.edu:7090/VOYAGER" name="pz:name" value="Woods Hole OI"/>
+ <set target="csulib.ctstateu.edu:210/INNOPAC" name="pz:name" value="CT State U"/>
+ <set target="info.library.mun.ca:2200/UNICORN" name="pz:name" value="Memorial U"/>
+ <set target="jasper.acadiau.ca:2200/UNICORN" name="pz:name" value="Acadia U"/>
+ <set target="ksclib.keene.edu:210/INNOPAC" name="pz:name" value="NH Keene State"/>
+ <set target="l1.uwaterloo.ca:7090/VOYAGER" name="pz:name" value="U of Waterloo"/>
+ <set target="lance.missouri.edu:210/INNOPAC" name="pz:name" value="U of Missouri"/>
+ <set target="library.daemen.edu:210/innopac" name="pz:name" value="Daemen C"/>
+ <set target="library.lbc.edu:7090/voyager" name="pz:name" value="Lancaster Bible C"/>
+ <set target="library.uh.edu:210/INNOPAC" name="pz:name" value="U of Houston"/>
+ <set target="lion.swem.wm.edu:2200/unicorn" name="pz:name" value="C of William and Mary"/>
+ <set target="lrpapp.cc.umanitoba.ca:2200/unicorn" name="pz:name" value="U of Manitoba"/>
+ <set target="malad2.mala.bc.ca:2200/UNICORN" name="pz:name" value="Malaspina U"/>
+ <set target="mercury.concordia.ca:210/Innopac" name="pz:name" value="Concordia U"/>
+ <set target="merlinweb.ville.montreal.qc.ca:2100/Z3950S" name="pz:name" value="U of Montreal"/>
+ <set target="ncsulib.lib.ncsu.edu:210/MARION" name="pz:name" value="North Carolina SU"/>
+ <set target="opac.utmem.edu:210/INNOPAC" name="pz:name" value="U of Tennessee"/>
+ <set target="prodorbis.library.yale.edu:7090/voyager" name="pz:name" value="Yale U"/>
+ <set target="quest.unb.ca:2200/unicorn" name="pz:name" value="U of New Brunswick"/>
+ <set target="rs6000.nshpl.library.ns.ca:210/AVR" name="pz:name" value="National Library Canada"/>
+ <set target="sabio.library.arizona.edu:210/innopac" name="pz:name" value="U of Arizona"/>
+ <set target="scotty.mhsl.uab.edu:7090/VOYAGER" name="pz:name" value="U of Alabama"/>
+ <set target="sundog.usask.ca:210/INNOPAC" name="pz:name" value="U of Saskatchewan"/>
+ <set target="titus.folger.edu:7090/VOYAGER" name="pz:name" value="Folger Shakespeare"/>
+ <set target="troy.lib.sfu.ca:210/INNOPAC" name="pz:name" value="Simon Fraser U"/>
+ <set target="voyager.tcs.tulane.edu:7090/VOYAGER" name="pz:name" value="Tulane U"/>
+ <set target="yulib001.mc.yu.edu:1111/DEFAULT" name="pz:name" value="Yeshiva U"/>
+ <set target="z3950.fcla.edu:210/CF" name="pz:name" value="Florida CLA"/>
+ <set target="z3950.library.wisc.edu:210/madison" name="pz:name" value="U of Wisconsin"/>
+ <set target="opencontent.indexdata.com:210/oca-all" name="pz:name" value="OCA American Libraries"/>
+ <set target="opencontent.indexdata.com:210/gutenberg" name="pz:name" value="Project Gutenberg"/>
+ <set target="z3950.loc.gov:7090/voyager" name="pz:name" value="Library of Congress"/>
+ <set target="melvyl.cdlib.org:210/CDL90" name="pz:name" value="University of California"/>
+ <set target="library.ox.ac.uk:210/ADVANCE" name="pz:name" value="Oxford University"/>
+
+ <!-- mapping for unqualified search -->
+ <set name="pz:cclmap:term" value="u=1016 t=l,r s=al"/>
+
+ <!-- field-specific mappings -->
+ <set name="pz:cclmap:au" value="u=1004 s=al"/>
+ <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"/>
+
+ <!-- Result normalization settings -->
+
+ <set name="pz:nativesyntax" value="txml"/>
+ <set name="pz:xslt" value="tmarc.xsl"/>
+
+
+ <set name="open_url_resolver" value="http://someresolver.com"/>
+</settings>
--- /dev/null
+<settings target="gso.gbv.de/sru/DB=2.1">
+
+ <!-- Simple test against a local SRU server (could be yaz-ztest) -->
+
+ <set name="pz:sru" value="get"/> <!-- must be get, post or soap -->
+ <set name="pz:sru_version" value="1.1"/>
+ <set name="pz:name" value="GBV.DE"/>
+
+<!--
+ <set name="pz:maxrecs" value="27"/>
+-->
+
+ <!-- mapping for unqualified search -->
+ <set name="pz:cclmap:term" value="u=cql.serverChoice t=l,r s=al"/>
+
+ <!-- field-specific mappings -->
+ <set name="pz:cclmap:ti" value="u=dc.title t=l,r s=al"/>
+ <set name="pz:cclmap:su" value="u=dc.subject s=al"/>
+ <set name="pz:cclmap:isbn" value="u=bath.isbn"/>
+ <set name="pz:cclmap:issn" value="u=bath.issn"/>
+ <set name="pz:cclmap:date" value="u=dc.date r=r"/>
+
+ <!-- Retrieval settings -->
+
+ <set name="pz:elements" value="dc"/>
+
+ <!-- Result normalization settings -->
+
+ <set name="pz:nativesyntax" value="xml"/>
+ <set name="pz:xslt" value="dc.xsl"/>
+
+</settings>
--- /dev/null
+<?xml version="1.0"?>
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:pz="http://www.indexdata.com/pazpar2/1.0" >
+
+ <xsl:param name="medium" />
+
+ <xsl:template match="/">
+ <xsl:apply-templates></xsl:apply-templates>
+ </xsl:template>
+
+ <xsl:template match="doc">
+ <pz:record>
+ <xsl:apply-templates></xsl:apply-templates>
+ </pz:record>
+ </xsl:template>
+
+ <xsl:template match="str[@name]">
+ <pz:metadata>
+ <xsl:attribute name="type">
+ <xsl:value-of select="@name"/>
+ </xsl:attribute>
+ <xsl:value-of select="."/>
+ </pz:metadata>
+ </xsl:template>
+
+ <xsl:template match="arr">
+ <xsl:for-each select="str">
+ <xsl:call-template name="string"/>
+ </xsl:for-each>
+ </xsl:template>
+
+ <xsl:template name="string">
+ <pz:metadata>
+ <xsl:attribute name="type">
+ <xsl:value-of select="../@name"/>
+ </xsl:attribute>
+ <xsl:choose>
+ <xsl:when test="../@name = 'medium' and string-length($medium) > 0">
+ <xsl:value-of select="$medium"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="."/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </pz:metadata>
+ </xsl:template>
+
+</xsl:stylesheet>
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:pz="http://www.indexdata.com/pazpar2/1.0"
- xmlns:tmarc="http://www.indexdata.com/turbomarc">
-
- <xsl:output indent="yes" method="xml" version="1.0"
- encoding="UTF-8" />
-
- <!-- Extract metadata from MARC21/USMARC from streamlined marcxml format
- http://www.loc.gov/marc/bibliographic/ecbdhome.html -->
- <xsl:template name="record-hook" />
-
-
- <xsl:template match="/">
- <xsl:apply-templates />
- </xsl:template>
-
- <xsl:template match="tmarc:r">
- <xsl:variable name="title_medium" select="tmarc:d245/tmarc:sh" />
- <xsl:variable name="journal_title" select="tmarc:d773/tmarc:st" />
- <xsl:variable name="electronic_location_url" select="tmarc:d856/tmarc:su" />
- <xsl:variable name="fulltext_a" select="tmarc:d900/tmarc:sa" />
- <xsl:variable name="fulltext_b" select="tmarc:d900/tmarc:sb" />
- <!-- Does not always hit the right substring. The field is not always fixed-width? -->
- <xsl:variable name="control_lang" select="substring(tmarc:c008, 36, 3)" />
- <xsl:variable name="contains110" select="tmarc:d110" />
- <xsl:variable name="hasAuthorFields" select="tmarc:d100 or tmarc:d111" />
-
- <xsl:variable name="medium">
- <xsl:choose>
- <xsl:when test="$title_medium">
- <xsl:value-of select="translate($title_medium, ' []/', '')" />
- </xsl:when>
- <xsl:when test="$fulltext_a">
- <xsl:text>electronic resource</xsl:text>
- </xsl:when>
- <xsl:when test="$fulltext_b">
- <xsl:text>electronic resource</xsl:text>
- </xsl:when>
- <xsl:when test="$journal_title">
- <xsl:text>article</xsl:text>
- </xsl:when>
- <xsl:otherwise>
- <xsl:text>book</xsl:text>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
-
- <pz:record>
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:pz="http://www.indexdata.com/pazpar2/1.0"
+ xmlns:tmarc="http://www.indexdata.com/turbomarc">
+
+ <xsl:output indent="yes" method="xml" version="1.0"
+ encoding="UTF-8" />
+ <xsl:param name="medium"/>
+
+ <!-- Extract metadata from MARC21/USMARC from streamlined marcxml format
+ http://www.loc.gov/marc/bibliographic/ecbdhome.html -->
+ <xsl:template name="record-hook" />
+
+
+ <xsl:template match="/">
+ <xsl:apply-templates />
+ </xsl:template>
+
+ <xsl:template match="tmarc:collection">
+ <collection>
+ <xsl:apply-templates />
+ </collection>
+ </xsl:template>
+
+ <xsl:template match="tmarc:r">
+ <xsl:variable name="title_medium" select="tmarc:d245/tmarc:sh" />
+ <xsl:variable name="journal_title" select="tmarc:d773/tmarc:st" />
+ <xsl:variable name="electronic_location_url" select="tmarc:d856/tmarc:su" />
+ <xsl:variable name="fulltext_a" select="tmarc:d900/tmarc:sa" />
+ <xsl:variable name="fulltext_b" select="tmarc:d900/tmarc:sb" />
+ <!-- Does not always hit the right substring. The field is not always fixed-width? -->
+ <xsl:variable name="control_lang" select="substring(tmarc:c008, 36, 3)" />
+ <xsl:variable name="contains110" select="tmarc:d110" />
+ <xsl:variable name="hasAuthorFields" select="tmarc:d100 or tmarc:d111" />
+ <xsl:variable name="typeofrec" select="substring(tmarc:l, 7, 1)"/>
+ <xsl:variable name="typeofvm" select="substring(tmarc:c008, 34, 1)"/>
+ <xsl:variable name="biblevel" select="substring(tmarc:l, 8, 1)"/>
+ <xsl:variable name="physdes" select="substring(tmarc:c007, 1, 1)"/>
+ <xsl:variable name="form1" select="substring(tmarc:c008, 24, 1)"/>
+ <xsl:variable name="form2" select="substring(tmarc:c008, 30, 1)"/>
+ <xsl:variable name="oclca" select="substring(tmarc:c007, 1, 1)"/>
+ <xsl:variable name="oclcb" select="substring(tmarc:c007, 2, 1)"/>
+ <xsl:variable name="oclcd" select="substring(tmarc:c007, 4, 1)"/>
+ <xsl:variable name="oclce" select="substring(tmarc:c007, 5, 1)"/>
+ <xsl:variable name="typeofserial" select="substring(tmarc:c008, 22, 1)"/>
+
+ <xsl:variable name="electronic">
+ <xsl:choose>
+ <xsl:when test="$form1='s' or $form1='q' or $form1='o' or
+ $form2='s' or $form2='q' or $form2='o'">
+ <xsl:text>yes</xsl:text>
+ </xsl:when>
+ <xsl:otherwise/>
+ </xsl:choose>
+ </xsl:variable>
+
+ <xsl:variable name="vmedium">
+ <xsl:choose>
+ <xsl:when test="string-length($medium)"><xsl:value-of select="$medium" /></xsl:when>
+ <xsl:when test="($typeofrec='a' or $typeofrec='t') and $biblevel='m'">book</xsl:when>
+ <xsl:when test="$typeofrec='j' or $typeofrec='i'">
+ <xsl:text>recording</xsl:text>
+ <xsl:choose>
+ <xsl:when test="$oclcb='d' and $oclcd='f'">-cd</xsl:when>
+ <xsl:when test="$oclcb='s'">-cassette</xsl:when>
+ <xsl:when test="$oclcb='d' and $oclcd='a' or $oclcd='b' or
+ $oclcd='c' or $oclcd='d' or $oclcd='e'">-vinyl</xsl:when>
+ </xsl:choose>
+ </xsl:when>
+ <xsl:when test="$typeofrec='g'">
+ <xsl:choose>
+ <xsl:when test="$typeofvm='m' or $typeofvm='v'">
+ <xsl:text>video</xsl:text>
+ <xsl:choose>
+ <xsl:when test="$oclca='v' and $oclcb='d' and $oclce='v'">-dvd</xsl:when>
+ <xsl:when test="$oclca='v' and $oclcb='d' and $oclce='s'">-blu-ray</xsl:when>
+ <xsl:when test="$oclca='v' and $oclcb='f' and $oclce='b'">-vhs</xsl:when>
+ </xsl:choose>
+ </xsl:when>
+ <xsl:otherwise>audio-visual</xsl:otherwise>
+ </xsl:choose>
+ </xsl:when>
+ <xsl:when test="$typeofrec='a' and $biblevel='s'">
+ <xsl:choose>
+ <xsl:when test="$typeofserial='n'">newspaper</xsl:when>
+ <xsl:otherwise>journal</xsl:otherwise>
+ </xsl:choose>
+ </xsl:when>
+ <xsl:when test="$typeofrec='e' or $typeofrec='f'">map</xsl:when>
+ <xsl:when test="$typeofrec='c' or $typeofrec='d'">music-score</xsl:when>
+ <xsl:when test="$form1='a' or $form1='b' or $form1='c'">microform</xsl:when>
+ <xsl:when test="$typeofrec='t'">thesis</xsl:when>
+ <!-- <xsl:when test="$journal_title">article</xsl:when> -->
+ <xsl:when test="$typeofrec='a' or $typeofrec='i' and
+ ($typeofserial='d' or $typeofserial='w')">web</xsl:when>
+ <xsl:when test="$typeofrec='a' and $biblevel='b'">article</xsl:when>
+ <xsl:when test="$typeofrec='m'">electronic</xsl:when>
+ <xsl:when test="$title_medium">
+ <xsl:value-of select="translate($title_medium, ' []/:', '')" />
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text>other</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+
+ <xsl:variable name="has_fulltext">
+ <xsl:choose>
+ <xsl:when test="tmarc:d856/tmarc:sq">
+ <xsl:text>yes</xsl:text>
+ </xsl:when>
+ <xsl:when test="tmarc:d856/tmarc:si='TEXT*'">
+ <xsl:text>yes</xsl:text>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text>no</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+
+ <xsl:variable name="oclc_number">
+ <xsl:choose>
+ <xsl:when test='contains(tmarc:c001,"ocn") or
+ contains(tmarc:c001,"ocm") or
+ contains(tmarc:c001,"OCoLC") '>
+ <xsl:value-of select="tmarc:c001"/>
+ </xsl:when>
+ <xsl:when test='contains(tmarc:d035/tmarc:sa,"ocn") or
+ contains(tmarc:d035/tmarc:sa,"ocm") or
+ contains(tmarc:d035/tmarc:sa,"OCoLC") '>
+ <xsl:value-of select="tmarc:d035/tmarc:sa"/>
+ </xsl:when>
+ </xsl:choose>
+ </xsl:variable>
+
+ <pz:record>
<!--
- <xsl:attribute name="mergekey">
- <xsl:text>title </xsl:text>
- <xsl:value-of select="tmarc:d245/tmarc:sa" />
- <xsl:text> author </xsl:text>
- <xsl:value-of select="tmarc:d100/tmarc:sa" />
- <xsl:text> medium </xsl:text>
- <xsl:value-of select="$medium" />
- </xsl:attribute>
+ <xsl:attribute name="mergekey">
+ <xsl:text>title </xsl:text>
+ <xsl:value-of select="tmarc:d245/tmarc:sa" />
+ <xsl:text> author </xsl:text>
+ <xsl:value-of select="tmarc:d100/tmarc:sa" />
+ <xsl:text> medium </xsl:text>
+ <xsl:value-of select="$medium" />
+ </xsl:attribute>
-->
- <xsl:for-each select="tmarc:c001">
- <pz:metadata type="id">
- <xsl:value-of select="." />
- </pz:metadata>
- </xsl:for-each>
-
- <xsl:for-each select="tmarc:d010">
- <pz:metadata type="lccn">
- <xsl:value-of select="tmarc:sa" />
- </pz:metadata>
- </xsl:for-each>
-
- <xsl:for-each select="tmarc:d020">
- <pz:metadata type="isbn">
- <xsl:value-of select="tmarc:sa" />
- </pz:metadata>
- </xsl:for-each>
-
- <xsl:for-each select="tmarc:d022">
- <pz:metadata type="issn">
- <xsl:value-of select="tmarc:sa" />
- </pz:metadata>
- </xsl:for-each>
-
- <xsl:for-each select="tmarc:d027">
- <pz:metadata type="tech-rep-nr">
- <xsl:value-of select="tmarc:sa" />
- </pz:metadata>
- </xsl:for-each>
-
- <xsl:for-each select="tmarc:d035">
- <pz:metadata type="system-control-nr">
- <xsl:value-of select="tmarc:sa" />
- </pz:metadata>
- </xsl:for-each>
-
- <xsl:for-each select="tmarc:d100">
- <pz:metadata type="author">
- <xsl:value-of select="tmarc:sa" />
- </pz:metadata>
- <pz:metadata type="author-title">
- <xsl:value-of select="tmarc:sc" />
- </pz:metadata>
- <pz:metadata type="author-date">
- <xsl:value-of select="tmarc:sd" />
- </pz:metadata>
- </xsl:for-each>
-
- <xsl:for-each select="tmarc:d110">
- <pz:metadata type="corporate-name">
- <xsl:value-of select="tmarc:sa" />
- </pz:metadata>
- <pz:metadata type="corporate-location">
- <xsl:value-of select="tmarc:sc" />
- </pz:metadata>
- <pz:metadata type="corporate-date">
- <xsl:value-of select="tmarc:sd" />
- </pz:metadata>
- </xsl:for-each>
-
- <xsl:for-each select="tmarc:d111">
- <pz:metadata type="meeting-name">
- <xsl:value-of select="tmarc:sa" />
- </pz:metadata>
- <pz:metadata type="meeting-location">
- <xsl:value-of select="tmarc:sc" />
- </pz:metadata>
- <pz:metadata type="meeting-date">
- <xsl:value-of select="tmarc:sd" />
- </pz:metadata>
- </xsl:for-each>
-
- <xsl:for-each select="tmarc:d260">
- <pz:metadata type="date">
- <xsl:value-of select="tmarc:sc" />
- </pz:metadata>
- </xsl:for-each>
-
- <xsl:for-each select="tmarc:d130">
- <pz:metadata type="title-uniform">
- <xsl:value-of select="tmarc:sa" />
- </pz:metadata>
- <pz:metadata type="title-uniform-media">
- <xsl:value-of select="tmarc:sm" />
- </pz:metadata>
- <pz:metadata type="title-uniform-parts">
- <xsl:value-of select="tmarc:sn" />
- </pz:metadata>
- <pz:metadata type="title-uniform-partname">
- <xsl:value-of select="tmarc:sp" />
- </pz:metadata>
- <pz:metadata type="title-uniform-key">
- <xsl:value-of select="tmarc:sr" />
- </pz:metadata>
- </xsl:for-each>
-
- <xsl:for-each select="tmarc:d245">
- <pz:metadata type="title">
- <xsl:value-of select="tmarc:sa" />
- </pz:metadata>
- <pz:metadata type="title-remainder">
- <xsl:value-of select="tmarc:sb" />
- </pz:metadata>
- <pz:metadata type="title-responsibility">
- <xsl:value-of select="tmarc:sc" />
- </pz:metadata>
- <pz:metadata type="title-dates">
- <xsl:value-of select="tmarc:sf" />
- </pz:metadata>
- <pz:metadata type="title-medium">
- <xsl:value-of select="tmarc:sh" />
- </pz:metadata>
- <pz:metadata type="title-number-section">
- <xsl:value-of select="tmarc:sn" />
- </pz:metadata>
- </xsl:for-each>
-
- <xsl:for-each select="tmarc:d250">
- <pz:metadata type="edition">
- <xsl:value-of select="tmarc:sa" />
- </pz:metadata>
- </xsl:for-each>
-
- <xsl:for-each select="tmarc:d260">
- <pz:metadata type="publication-place">
- <xsl:value-of select="tmarc:sa" />
- </pz:metadata>
- <pz:metadata type="publication-name">
- <xsl:value-of select="tmarc:sb" />
- </pz:metadata>
- <pz:metadata type="publication-date">
- <xsl:value-of select="tmarc:sc" />
- </pz:metadata>
- </xsl:for-each>
-
- <xsl:for-each select="tmarc:d300">
- <pz:metadata type="physical-extent">
- <xsl:value-of select="tmarc:sa" />
- </pz:metadata>
- <pz:metadata type="physical-format">
- <xsl:value-of select="tmarc:sb" />
- </pz:metadata>
- <pz:metadata type="physical-dimensions">
- <xsl:value-of select="tmarc:sc" />
- </pz:metadata>
- <pz:metadata type="physical-accomp">
- <xsl:value-of select="tmarc:se" />
- </pz:metadata>
- <pz:metadata type="physical-unittype">
- <xsl:value-of select="tmarc:sf" />
- </pz:metadata>
- <pz:metadata type="physical-unitsize">
- <xsl:value-of select="tmarc:sg" />
- </pz:metadata>
- <pz:metadata type="physical-specified">
- <xsl:value-of select="tmarc:s3" />
- </pz:metadata>
- </xsl:for-each>
-
- <xsl:for-each select="tmarc:d440">
- <pz:metadata type="series-title">
- <xsl:value-of select="tmarc:sa" />
- </pz:metadata>
- </xsl:for-each>
-
- <xsl:for-each select="tmarc:d500">
- <pz:metadata type="description">
- <xsl:for-each select="node()">
- <xsl:value-of select="text()" />
- </xsl:for-each>
- </pz:metadata>
- </xsl:for-each>
-
- <xsl:for-each select="tmarc:d505">
- <pz:metadata type="description">
- <xsl:for-each select="node()">
- <xsl:value-of select="text()" />
- </xsl:for-each>
- </pz:metadata>
- </xsl:for-each>
-
- <xsl:for-each select="tmarc:d518">
- <pz:metadata type="description">
- <xsl:for-each select="node()">
- <xsl:value-of select="text()" />
- </xsl:for-each>
- </pz:metadata>
- </xsl:for-each>
-
- <xsl:for-each select="tmarc:d520">
- <pz:metadata type="description">
- <xsl:for-each select="node()">
- <xsl:value-of select="text()" />
- </xsl:for-each>
- </pz:metadata>
- </xsl:for-each>
-
- <xsl:for-each select="tmarc:d522">
- <pz:metadata type="description">
- <xsl:for-each select="node()">
- <xsl:value-of select="text()" />
- </xsl:for-each>
- </pz:metadata>
- </xsl:for-each>
-
- <xsl:for-each select="tmarc:d600">
- <pz:metadata type="subject">
- <xsl:value-of select="tmarc:sa" />
- </pz:metadata>
- <pz:metadata type="subject-long">
- <xsl:for-each select="node()/text()">
- <xsl:if test="position() > 1">
- <xsl:text>, </xsl:text>
- </xsl:if>
- <xsl:value-of select="." />
- </xsl:for-each>
- </pz:metadata>
- </xsl:for-each>
-
- <xsl:for-each select="tmarc:d610">
- <pz:metadata type="subject">
- <xsl:value-of select="tmarc:sa" />
- </pz:metadata>
- <pz:metadata type="subject-long">
- <xsl:for-each select="node()/text()">
- <xsl:if test="position() > 1">
- <xsl:text>, </xsl:text>
- </xsl:if>
- <xsl:value-of select="." />
- </xsl:for-each>
- </pz:metadata>
- </xsl:for-each>
-
- <xsl:for-each select="tmarc:d611">
- <pz:metadata type="subject">
- <xsl:value-of select="tmarc:sa" />
- </pz:metadata>
- <pz:metadata type="subject-long">
- <xsl:for-each select="node()/text()">
- <xsl:if test="position() > 1">
- <xsl:text>, </xsl:text>
- </xsl:if>
- <xsl:value-of select="." />
- </xsl:for-each>
- </pz:metadata>
- </xsl:for-each>
-
- <xsl:for-each select="tmarc:d630">
- <pz:metadata type="subject">
- <xsl:value-of select="tmarc:sa" />
- </pz:metadata>
- <pz:metadata type="subject-long">
- <xsl:for-each select="node()/text()">
- <xsl:if test="position() > 1">
- <xsl:text>, </xsl:text>
- </xsl:if>
- <xsl:value-of select="." />
- </xsl:for-each>
- </pz:metadata>
- </xsl:for-each>
-
- <xsl:for-each select="tmarc:d648">
- <pz:metadata type="subject">
- <xsl:value-of select="tmarc:sa" />
- </pz:metadata>
- <pz:metadata type="subject-long">
- <xsl:for-each select="node()/text()">
- <xsl:if test="position() > 1">
- <xsl:text>, </xsl:text>
- </xsl:if>
- <xsl:value-of select="." />
- </xsl:for-each>
- </pz:metadata>
- </xsl:for-each>
-
- <xsl:for-each select="tmarc:d650">
- <pz:metadata type="subject">
- <xsl:value-of select="tmarc:sa" />
- </pz:metadata>
- <pz:metadata type="subject-long">
- <xsl:for-each select="node()/text()">
- <xsl:if test="position() > 1">
- <xsl:text>, </xsl:text>
- </xsl:if>
- <xsl:value-of select="." />
- </xsl:for-each>
- </pz:metadata>
- </xsl:for-each>
-
- <xsl:for-each select="tmarc:d651">
- <pz:metadata type="subject">
- <xsl:value-of select="tmarc:sa" />
- </pz:metadata>
- <pz:metadata type="subject-long">
- <xsl:for-each select="node()/text()">
- <xsl:if test="position() > 1">
- <xsl:text>, </xsl:text>
- </xsl:if>
- <xsl:value-of select="." />
- </xsl:for-each>
- </pz:metadata>
- </xsl:for-each>
-
- <xsl:for-each select="tmarc:d653">
- <pz:metadata type="subject">
- <xsl:value-of select="tmarc:sa" />
- </pz:metadata>
- <pz:metadata type="subject-long">
- <xsl:for-each select="node()/text()">
- <xsl:if test="position() > 1">
- <xsl:text>, </xsl:text>
- </xsl:if>
- <xsl:value-of select="." />
- </xsl:for-each>
- </pz:metadata>
- </xsl:for-each>
-
- <xsl:for-each select="tmarc:d654">
- <pz:metadata type="subject">
- <xsl:value-of select="tmarc:sa" />
- </pz:metadata>
- <pz:metadata type="subject-long">
- <xsl:for-each select="node()/text()">
- <xsl:if test="position() > 1">
- <xsl:text>, </xsl:text>
- </xsl:if>
- <xsl:value-of select="." />
- </xsl:for-each>
- </pz:metadata>
- </xsl:for-each>
-
- <xsl:for-each select="tmarc:d655">
- <pz:metadata type="subject">
- <xsl:value-of select="tmarc:sa" />
- </pz:metadata>
- <pz:metadata type="subject-long">
- <xsl:for-each select="node()/text()">
- <xsl:if test="position() > 1">
- <xsl:text>, </xsl:text>
- </xsl:if>
- <xsl:value-of select="." />
- </xsl:for-each>
- </pz:metadata>
- </xsl:for-each>
-
- <xsl:for-each select="tmarc:d656">
- <pz:metadata type="subject">
- <xsl:value-of select="tmarc:sa" />
- </pz:metadata>
- <pz:metadata type="subject-long">
- <xsl:for-each select="node()/text()">
- <xsl:if test="position() > 1">
- <xsl:text>, </xsl:text>
- </xsl:if>
- <xsl:value-of select="." />
- </xsl:for-each>
- </pz:metadata>
- </xsl:for-each>
-
- <xsl:for-each select="tmarc:d657">
- <pz:metadata type="subject">
- <xsl:value-of select="tmarc:sa" />
- </pz:metadata>
- <pz:metadata type="subject-long">
- <xsl:for-each select="node()/text()">
- <xsl:if test="position() > 1">
- <xsl:text>, </xsl:text>
- </xsl:if>
- <xsl:value-of select="." />
- </xsl:for-each>
- </pz:metadata>
- </xsl:for-each>
-
- <xsl:for-each select="tmarc:d658">
- <pz:metadata type="subject">
- <xsl:value-of select="tmarc:sa" />
- </pz:metadata>
- <pz:metadata type="subject-long">
- <xsl:for-each select="node()/text()">
- <xsl:if test="position() > 1">
- <xsl:text>, </xsl:text>
- </xsl:if>
- <xsl:value-of select="." />
- </xsl:for-each>
- </pz:metadata>
- </xsl:for-each>
-
- <xsl:for-each select="tmarc:d662">
- <pz:metadata type="subject">
- <xsl:value-of select="tmarc:sa" />
- </pz:metadata>
- <pz:metadata type="subject-long">
- <xsl:for-each select="node()/text()">
- <xsl:if test="position() > 1">
- <xsl:text>, </xsl:text>
- </xsl:if>
- <xsl:value-of select="." />
- </xsl:for-each>
- </pz:metadata>
- </xsl:for-each>
-
- <xsl:for-each select="tmarc:d69X">
- <pz:metadata type="subject">
- <xsl:value-of select="tmarc:sa" />
- </pz:metadata>
- <pz:metadata type="subject-long">
- <xsl:for-each select="node()/text()">
- <xsl:if test="position() > 1">
- <xsl:text>, </xsl:text>
- </xsl:if>
- <xsl:value-of select="." />
- </xsl:for-each>
- </pz:metadata>
- </xsl:for-each>
-
- <!-- or tmarc:d651 or tmarc:d653 or tmarc:d654 or tmarc:d655 or tmarc:d656
- or tmarc:d657 or tmarc:d658 or tmarc:d662 or tmarc:d69X"> -->
-
- <!-- <xsl:for-each select="tmarc:d600" > <pz:metadata type="subject">
- <xsl:value-of select="tmarc:sa"/> </pz:metadata> <pz:metadata type="subject-long">
- <xsl:for-each select="tmarc:sa tmarc:sb tmarc:sc tmarc:sd "> <xsl:if test="position()
- > 1"> <xsl:text>, </xsl:text> </xsl:if> <xsl:value-of select="."/> </xsl:for-each>
- </pz:metadata> </xsl:for-each> -->
-
- <xsl:for-each select="tmarc:d856">
- <pz:metadata type="electronic-url">
- <xsl:value-of select="tmarc:su" />
- </pz:metadata>
- <pz:metadata type="electronic-text">
- <xsl:if test="tmarc:sy">
- <xsl:value-of select="tmarc:sy/text()" />
- </xsl:if>
- <xsl:if test="tmarc:s3">
- <xsl:value-of select="tmarc:s3/text()" />
- </xsl:if>
- </pz:metadata>
- <pz:metadata type="electronic-note">
- <xsl:value-of select="tmarc:sz" />
- </pz:metadata>
- <pz:metadata type="electronic-format-instruction">
- <xsl:value-of select="tmarc:si" />
- </pz:metadata>
- <pz:metadata type="electronic-format-type">
- <xsl:value-of select="tmarc:sq" />
- </pz:metadata>
- </xsl:for-each>
-
- <xsl:for-each select="tmarc:d773">
- <pz:metadata type="citation">
- <xsl:for-each select="*">
- <xsl:value-of select="normalize-space(.)" />
- <xsl:text> </xsl:text>
- </xsl:for-each>
- </pz:metadata>
- </xsl:for-each>
-
- <xsl:for-each select="tmarc:d852">
- <xsl:if test="tmarc:sy">
- <pz:metadata type="publicnote">
- <xsl:value-of select="tmarc:sy" />
- </pz:metadata>
- </xsl:if>
- <xsl:if test="tmarc:sh">
- <pz:metadata type="callnumber">
- <xsl:value-of select="tmarc:sh" />
- </pz:metadata>
- </xsl:if>
- </xsl:for-each>
-
- <pz:metadata type="medium">
- <xsl:value-of select="$medium" />
- </pz:metadata>
-
- <xsl:for-each select="tmarc:d900/tmarc:sa">
- <pz:metadata type="fulltext">
- <xsl:value-of select="." />
- </pz:metadata>
- </xsl:for-each>
-
- <!-- <xsl:if test="$fulltext_a"> <pz:metadata type="fulltext"> <xsl:value-of
- select="$fulltext_a"/> </pz:metadata> </xsl:if> -->
-
- <xsl:for-each select="tmarc:d900/tmarc:sb">
- <pz:metadata type="fulltext">
- <xsl:value-of select="." />
- </pz:metadata>
- </xsl:for-each>
-
- <!-- <xsl:if test="$fulltext_b"> <pz:metadata type="fulltext"> <xsl:value-of
- select="$fulltext_b"/> </pz:metadata> </xsl:if> -->
-
- <xsl:for-each select="tmarc:d907">
- <!-- or tmarc:d901"> -->
- <pz:metadata type="iii-id">
- <xsl:value-of select="tmarc:sa" />
- </pz:metadata>
- </xsl:for-each>
-
- <xsl:for-each select="tmarc:d926">
- <pz:metadata type="holding">
- <xsl:for-each select="tmarc:s">
- <xsl:if test="position() > 1">
- <xsl:text> </xsl:text>
- </xsl:if>
- <xsl:value-of select="." />
- </xsl:for-each>
- </pz:metadata>
- </xsl:for-each>
-
- <xsl:for-each select="tmarc:d948">
- <pz:metadata type="holding">
- <xsl:for-each select="tmarc:s">
- <xsl:if test="position() > 1">
- <xsl:text> </xsl:text>
- </xsl:if>
- <xsl:value-of select="." />
- </xsl:for-each>
- </pz:metadata>
- </xsl:for-each>
-
- <xsl:for-each select="tmarc:d991">
- <pz:metadata type="holding">
- <xsl:for-each select="tmarc:s">
- <xsl:if test="position() > 1">
- <xsl:text> </xsl:text>
- </xsl:if>
- <xsl:value-of select="." />
- </xsl:for-each>
- </pz:metadata>
- </xsl:for-each>
-
- <pz:metadata tag="tag100">
- <xsl:call-template name="shortTitle">
- <xsl:with-param name="tag" select="100" />
- </xsl:call-template>
- </pz:metadata>
-
- <!-- passthrough id data -->
- <xsl:for-each select="pz:metadata">
- <xsl:copy-of select="." />
- </xsl:for-each>
-
- <!-- other stylesheets importing this might want to define this -->
- <xsl:call-template name="record-hook" />
-
- </pz:record>
- </xsl:template>
-
- <xsl:template match="text()" />
-
- <!-- TODO Does not work anymore -->
- <xsl:template name="shortTitle">
- <xsl:param name="tag" />
- <xsl:for-each select="tmarc:d">
- <xsl:value-of select="tmarc:sa" />
- <xsl:value-of select="tmarc:sm" />
- <xsl:value-of select="tmarc:sn" />
- <xsl:value-of select="tmarc:sp" />
- <xsl:value-of select="tmarc:sr" />
- </xsl:for-each>
- </xsl:template>
-
- <!-- No working as expected -->
- <xsl:template name="description">
- <xsl:param name="element" />
- <xsl:for-each select="$element">
- <pz:metadata type="description">
- <xsl:for-each select="node()">
- <xsl:value-of select="text()" />
- </xsl:for-each>
- </pz:metadata>
- </xsl:for-each>
- <xsl:apply-templates />
- </xsl:template>
-
- <!-- <xsl:for-each select="tmarc:d500"> <pz:metadata type="description">
- <xsl:for-each select="node()"> <xsl:value-of select="text()"/> </xsl:for-each>
- </pz:metadata> </xsl:for-each> -->
-
-
-
- <xsl:template name="subject">
- <xsl:param name="element" />
- <xsl:for-each select="$element">
- <pz:metadata type="subject">
- <xsl:value-of select="tmarc:sa" />
- </pz:metadata>
- <pz:metadata type="subject-long">
- <xsl:for-each select="node()/text()">
- <xsl:if test="position() > 1">
- <xsl:text>, </xsl:text>
- </xsl:if>
- <xsl:value-of select="." />
- </xsl:for-each>
- </pz:metadata>
- </xsl:for-each>
- </xsl:template>
+ <xsl:for-each select="tmarc:c001">
+ <pz:metadata type="id">
+ <xsl:value-of select="." />
+ </pz:metadata>
+ </xsl:for-each>
+
+ <pz:metadata type="oclc-number">
+ <xsl:value-of select="$oclc_number" />
+ </pz:metadata>
+
+ <xsl:for-each select="tmarc:d010">
+ <pz:metadata type="lccn">
+ <xsl:value-of select="tmarc:sa" />
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="tmarc:d020">
+ <pz:metadata type="isbn">
+ <xsl:value-of select="tmarc:sa" />
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="tmarc:d022">
+ <pz:metadata type="issn">
+ <xsl:value-of select="tmarc:sa" />
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="tmarc:d027">
+ <pz:metadata type="tech-rep-nr">
+ <xsl:value-of select="tmarc:sa" />
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="tmarc:d035">
+ <pz:metadata type="system-control-nr">
+ <xsl:choose>
+ <xsl:when test="tmarc:sa">
+ <xsl:value-of select="tmarc:sa"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="tmarc:sb"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="tmarc:d100">
+ <pz:metadata type="author">
+ <xsl:value-of select="tmarc:sa" />
+ </pz:metadata>
+ <pz:metadata type="author-title">
+ <xsl:value-of select="tmarc:sc" />
+ </pz:metadata>
+ <pz:metadata type="author-date">
+ <xsl:value-of select="tmarc:sd" />
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="tmarc:d110">
+ <pz:metadata type="corporate-name">
+ <xsl:value-of select="tmarc:sa" />
+ </pz:metadata>
+ <pz:metadata type="corporate-location">
+ <xsl:value-of select="tmarc:sc" />
+ </pz:metadata>
+ <pz:metadata type="corporate-date">
+ <xsl:value-of select="tmarc:sd" />
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="tmarc:d111">
+ <pz:metadata type="meeting-name">
+ <xsl:value-of select="tmarc:sa" />
+ </pz:metadata>
+ <pz:metadata type="meeting-location">
+ <xsl:value-of select="tmarc:sc" />
+ </pz:metadata>
+ <pz:metadata type="meeting-date">
+ <xsl:value-of select="tmarc:sd" />
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="tmarc:d260">
+ <pz:metadata type="date">
+ <xsl:value-of select="translate(tmarc:sc, 'cp[].', '')" />
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="tmarc:d130">
+ <pz:metadata type="title-uniform">
+ <xsl:value-of select="tmarc:sa" />
+ </pz:metadata>
+ <pz:metadata type="title-uniform-media">
+ <xsl:value-of select="tmarc:sm" />
+ </pz:metadata>
+ <pz:metadata type="title-uniform-parts">
+ <xsl:value-of select="tmarc:sn" />
+ </pz:metadata>
+ <pz:metadata type="title-uniform-partname">
+ <xsl:value-of select="tmarc:sp" />
+ </pz:metadata>
+ <pz:metadata type="title-uniform-key">
+ <xsl:value-of select="tmarc:sr" />
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="tmarc:d245">
+ <pz:metadata type="title">
+ <xsl:value-of select="tmarc:sa" />
+ </pz:metadata>
+ <pz:metadata type="title-remainder">
+ <xsl:value-of select="tmarc:sb" />
+ </pz:metadata>
+ <pz:metadata type="title-responsibility">
+ <xsl:value-of select="tmarc:sc" />
+ </pz:metadata>
+ <pz:metadata type="title-dates">
+ <xsl:value-of select="tmarc:sf" />
+ </pz:metadata>
+ <pz:metadata type="title-medium">
+ <xsl:value-of select="tmarc:sh" />
+ </pz:metadata>
+ <pz:metadata type="title-number-section">
+ <xsl:value-of select="tmarc:sn" />
+ </pz:metadata>
+ <pz:metadata type="title-complete">
+ <xsl:value-of select="tmarc:sa" />
+ <xsl:if test="tmarc:sb" ><xsl:value-of select="concat(' ', tmarc:sb)" /></xsl:if>
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="tmarc:d250">
+ <pz:metadata type="edition">
+ <xsl:value-of select="tmarc:sa" />
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="tmarc:d260">
+ <pz:metadata type="publication-place">
+ <xsl:value-of select="tmarc:sa" />
+ </pz:metadata>
+ <pz:metadata type="publication-name">
+ <xsl:value-of select="tmarc:sb" />
+ </pz:metadata>
+ <pz:metadata type="publication-date">
+ <xsl:value-of select="tmarc:sc" />
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="tmarc:d300">
+ <pz:metadata type="physical-extent">
+ <xsl:value-of select="tmarc:sa" />
+ </pz:metadata>
+ <pz:metadata type="physical-format">
+ <xsl:value-of select="tmarc:sb" />
+ </pz:metadata>
+ <pz:metadata type="physical-dimensions">
+ <xsl:value-of select="tmarc:sc" />
+ </pz:metadata>
+ <pz:metadata type="physical-accomp">
+ <xsl:value-of select="tmarc:se" />
+ </pz:metadata>
+ <pz:metadata type="physical-unittype">
+ <xsl:value-of select="tmarc:sf" />
+ </pz:metadata>
+ <pz:metadata type="physical-unitsize">
+ <xsl:value-of select="tmarc:sg" />
+ </pz:metadata>
+ <pz:metadata type="physical-specified">
+ <xsl:value-of select="tmarc:s3" />
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="tmarc:d440">
+ <pz:metadata type="series-title">
+ <xsl:value-of select="tmarc:sa" />
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="tmarc:d500">
+ <pz:metadata type="description">
+ <xsl:for-each select="node()">
+ <xsl:value-of select="text()" />
+ </xsl:for-each>
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="tmarc:d505">
+ <pz:metadata type="description">
+ <xsl:for-each select="node()">
+ <xsl:value-of select="text()" />
+ </xsl:for-each>
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="tmarc:d518">
+ <pz:metadata type="description">
+ <xsl:for-each select="node()">
+ <xsl:value-of select="text()" />
+ </xsl:for-each>
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="tmarc:d520">
+ <pz:metadata type="description">
+ <xsl:for-each select="node()">
+ <xsl:value-of select="text()" />
+ </xsl:for-each>
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="tmarc:d522">
+ <pz:metadata type="description">
+ <xsl:for-each select="node()">
+ <xsl:value-of select="text()" />
+ </xsl:for-each>
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="tmarc:d911">
+ <pz:metadata type="description">
+ <xsl:for-each select="node()">
+ <xsl:value-of select="text()" />
+ </xsl:for-each>
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="tmarc:d600">
+ <pz:metadata type="subject">
+ <xsl:value-of select="tmarc:sa" />
+ </pz:metadata>
+ <pz:metadata type="subject-long">
+ <xsl:for-each select="node()/text()">
+ <xsl:if test="position() > 1">
+ <xsl:text>, </xsl:text>
+ </xsl:if>
+ <xsl:value-of select="." />
+ </xsl:for-each>
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="tmarc:d610">
+ <pz:metadata type="subject">
+ <xsl:value-of select="tmarc:sa" />
+ </pz:metadata>
+ <pz:metadata type="subject-long">
+ <xsl:for-each select="node()/text()">
+ <xsl:if test="position() > 1">
+ <xsl:text>, </xsl:text>
+ </xsl:if>
+ <xsl:value-of select="." />
+ </xsl:for-each>
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="tmarc:d611">
+ <pz:metadata type="subject">
+ <xsl:value-of select="tmarc:sa" />
+ </pz:metadata>
+ <pz:metadata type="subject-long">
+ <xsl:for-each select="node()/text()">
+ <xsl:if test="position() > 1">
+ <xsl:text>, </xsl:text>
+ </xsl:if>
+ <xsl:value-of select="." />
+ </xsl:for-each>
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="tmarc:d630">
+ <pz:metadata type="subject">
+ <xsl:value-of select="tmarc:sa" />
+ </pz:metadata>
+ <pz:metadata type="subject-long">
+ <xsl:for-each select="node()/text()">
+ <xsl:if test="position() > 1">
+ <xsl:text>, </xsl:text>
+ </xsl:if>
+ <xsl:value-of select="." />
+ </xsl:for-each>
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="tmarc:d648">
+ <pz:metadata type="subject">
+ <xsl:value-of select="tmarc:sa" />
+ </pz:metadata>
+ <pz:metadata type="subject-long">
+ <xsl:for-each select="node()/text()">
+ <xsl:if test="position() > 1">
+ <xsl:text>, </xsl:text>
+ </xsl:if>
+ <xsl:value-of select="." />
+ </xsl:for-each>
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="tmarc:d650">
+ <pz:metadata type="subject">
+ <xsl:value-of select="tmarc:sa" />
+ </pz:metadata>
+ <pz:metadata type="subject-long">
+ <xsl:for-each select="node()/text()">
+ <xsl:if test="position() > 1">
+ <xsl:text>, </xsl:text>
+ </xsl:if>
+ <xsl:value-of select="." />
+ </xsl:for-each>
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="tmarc:d651">
+ <pz:metadata type="subject">
+ <xsl:value-of select="tmarc:sa" />
+ </pz:metadata>
+ <pz:metadata type="subject-long">
+ <xsl:for-each select="node()/text()">
+ <xsl:if test="position() > 1">
+ <xsl:text>, </xsl:text>
+ </xsl:if>
+ <xsl:value-of select="." />
+ </xsl:for-each>
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="tmarc:d653">
+ <pz:metadata type="subject">
+ <xsl:value-of select="tmarc:sa" />
+ </pz:metadata>
+ <pz:metadata type="subject-long">
+ <xsl:for-each select="node()/text()">
+ <xsl:if test="position() > 1">
+ <xsl:text>, </xsl:text>
+ </xsl:if>
+ <xsl:value-of select="." />
+ </xsl:for-each>
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="tmarc:d654">
+ <pz:metadata type="subject">
+ <xsl:value-of select="tmarc:sa" />
+ </pz:metadata>
+ <pz:metadata type="subject-long">
+ <xsl:for-each select="node()/text()">
+ <xsl:if test="position() > 1">
+ <xsl:text>, </xsl:text>
+ </xsl:if>
+ <xsl:value-of select="." />
+ </xsl:for-each>
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="tmarc:d655">
+ <pz:metadata type="subject">
+ <xsl:value-of select="tmarc:sa" />
+ </pz:metadata>
+ <pz:metadata type="subject-long">
+ <xsl:for-each select="node()/text()">
+ <xsl:if test="position() > 1">
+ <xsl:text>, </xsl:text>
+ </xsl:if>
+ <xsl:value-of select="." />
+ </xsl:for-each>
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="tmarc:d656">
+ <pz:metadata type="subject">
+ <xsl:value-of select="tmarc:sa" />
+ </pz:metadata>
+ <pz:metadata type="subject-long">
+ <xsl:for-each select="node()/text()">
+ <xsl:if test="position() > 1">
+ <xsl:text>, </xsl:text>
+ </xsl:if>
+ <xsl:value-of select="." />
+ </xsl:for-each>
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="tmarc:d657">
+ <pz:metadata type="subject">
+ <xsl:value-of select="tmarc:sa" />
+ </pz:metadata>
+ <pz:metadata type="subject-long">
+ <xsl:for-each select="node()/text()">
+ <xsl:if test="position() > 1">
+ <xsl:text>, </xsl:text>
+ </xsl:if>
+ <xsl:value-of select="." />
+ </xsl:for-each>
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="tmarc:d658">
+ <pz:metadata type="subject">
+ <xsl:value-of select="tmarc:sa" />
+ </pz:metadata>
+ <pz:metadata type="subject-long">
+ <xsl:for-each select="node()/text()">
+ <xsl:if test="position() > 1">
+ <xsl:text>, </xsl:text>
+ </xsl:if>
+ <xsl:value-of select="." />
+ </xsl:for-each>
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="tmarc:d662">
+ <pz:metadata type="subject">
+ <xsl:value-of select="tmarc:sa" />
+ </pz:metadata>
+ <pz:metadata type="subject-long">
+ <xsl:for-each select="node()/text()">
+ <xsl:if test="position() > 1">
+ <xsl:text>, </xsl:text>
+ </xsl:if>
+ <xsl:value-of select="." />
+ </xsl:for-each>
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="tmarc:d69X">
+ <pz:metadata type="subject">
+ <xsl:value-of select="tmarc:sa" />
+ </pz:metadata>
+ <pz:metadata type="subject-long">
+ <xsl:for-each select="node()/text()">
+ <xsl:if test="position() > 1">
+ <xsl:text>, </xsl:text>
+ </xsl:if>
+ <xsl:value-of select="." />
+ </xsl:for-each>
+ </pz:metadata>
+ </xsl:for-each>
+
+ <!-- or tmarc:d651 or tmarc:d653 or tmarc:d654 or tmarc:d655 or tmarc:d656
+ or tmarc:d657 or tmarc:d658 or tmarc:d662 or tmarc:d69X"> -->
+
+ <!-- <xsl:for-each select="tmarc:d600" > <pz:metadata type="subject">
+ <xsl:value-of select="tmarc:sa"/> </pz:metadata> <pz:metadata type="subject-long">
+ <xsl:for-each select="tmarc:sa tmarc:sb tmarc:sc tmarc:sd "> <xsl:if test="position()
+ > 1"> <xsl:text>, </xsl:text> </xsl:if> <xsl:value-of select="."/> </xsl:for-each>
+ </pz:metadata> </xsl:for-each> -->
+
+ <xsl:for-each select="tmarc:d856">
+ <pz:metadata type="electronic-url">
+ <xsl:value-of select="tmarc:su" />
+ </pz:metadata>
+ <pz:metadata type="electronic-text">
+ <xsl:choose>
+ <xsl:when test="tmarc:sy">
+ <xsl:value-of select="tmarc:sy/text()" />
+ </xsl:when>
+ <xsl:when test="tmarc:s3">
+ <xsl:value-of select="tmarc:s3/text()" />
+ </xsl:when>
+ <xsl:otherwise>Get resource</xsl:otherwise>
+ </xsl:choose>
+ </pz:metadata>
+ <pz:metadata type="electronic-note">
+ <xsl:value-of select="tmarc:sz" />
+ </pz:metadata>
+ <pz:metadata type="electronic-format-instruction">
+ <xsl:value-of select="tmarc:si" />
+ </pz:metadata>
+ <pz:metadata type="electronic-format-type">
+ <xsl:value-of select="tmarc:sq" />
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="tmarc:d773">
+ <pz:metadata type="citation">
+ <xsl:for-each select="*">
+ <xsl:value-of select="normalize-space(.)" />
+ <xsl:text> </xsl:text>
+ </xsl:for-each>
+ </pz:metadata>
+ <xsl:if test="tmarc:st">
+ <pz:metadata type="journal-title">
+ <xsl:value-of select="tmarc:st"/>
+ </pz:metadata>
+ </xsl:if>
+ <xsl:if test="tmarc:sg">
+ <pz:metadata type="journal-subpart">
+ <xsl:value-of select="tmarc:sg"/>
+ </pz:metadata>
+ </xsl:if>
+ <xsl:if test="tmarc:sp">
+ <pz:metadata type="journal-title-abbrev">
+ <xsl:value-of select="tmarc:sp"/>
+ </pz:metadata>
+ </xsl:if>
+ </xsl:for-each>
+
+ <xsl:for-each select="tmarc:d852">
+ <xsl:if test="tmarc:sy">
+ <pz:metadata type="publicnote">
+ <xsl:value-of select="tmarc:sy" />
+ </pz:metadata>
+ </xsl:if>
+ <xsl:if test="tmarc:sh">
+ <pz:metadata type="callnumber">
+ <xsl:value-of select="tmarc:sh" />
+ </pz:metadata>
+ </xsl:if>
+ </xsl:for-each>
+
+ <pz:metadata type="medium">
+ <xsl:value-of select="$vmedium" />
+ <xsl:if test="string-length($electronic) and $vmedium != 'electronic'">
+ <xsl:text> (electronic)</xsl:text>
+ </xsl:if>
+ </pz:metadata>
+
+ <xsl:for-each select="tmarc:d900/tmarc:sa">
+ <pz:metadata type="fulltext">
+ <xsl:value-of select="." />
+ </pz:metadata>
+ </xsl:for-each>
+
+ <!-- <xsl:if test="$fulltext_a"> <pz:metadata type="fulltext"> <xsl:value-of
+ select="$fulltext_a"/> </pz:metadata> </xsl:if> -->
+
+ <xsl:for-each select="tmarc:d900/tmarc:sb">
+ <pz:metadata type="fulltext">
+ <xsl:value-of select="." />
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="tmarc:d900/tmarc:se">
+ <pz:metadata type="fulltext">
+ <xsl:value-of select="." />
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="tmarc:d900/tmarc:sf">
+ <pz:metadata type="fulltext">
+ <xsl:value-of select="." />
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="tmarc:d900/tmarc:si">
+ <pz:metadata type="fulltext">
+ <xsl:value-of select="." />
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="tmarc:d900/tmarc:sk">
+ <pz:metadata type="fulltext">
+ <xsl:value-of select="." />
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="tmarc:d900/tmarc:sq">
+ <pz:metadata type="fulltext">
+ <xsl:value-of select="." />
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="tmarc:d900/tmarc:ss">
+ <pz:metadata type="fulltext">
+ <xsl:value-of select="." />
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="tmarc:d900/tmarc:su">
+ <pz:metadata type="fulltext">
+ <xsl:value-of select="." />
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="tmarc:d900/tmarc:sy">
+ <pz:metadata type="fulltext">
+ <xsl:value-of select="." />
+ </pz:metadata>
+ </xsl:for-each>
+
+
+ <!-- <xsl:if test="$fulltext_b"> <pz:metadata type="fulltext"> <xsl:value-of
+ select="$fulltext_b"/> </pz:metadata> </xsl:if> -->
+
+ <pz:metadata type="has-fulltext">
+ <xsl:value-of select="$has_fulltext"/>
+ </pz:metadata>
+
+ <xsl:for-each select="tmarc:d907">
+ <!-- or tmarc:d901"> -->
+ <pz:metadata type="iii-id">
+ <xsl:value-of select="tmarc:sa" />
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="tmarc:d926">
+ <pz:metadata type="locallocation">
+ <xsl:choose><xsl:when test="tmarc:sa">
+ <xsl:value-of select="tmarc:sa"/>
+ </xsl:when><xsl:otherwise>
+ <xsl:text>PAZPAR2_NULL_VALUE</xsl:text>
+ </xsl:otherwise></xsl:choose>
+ </pz:metadata>
+ <pz:metadata type="callnumber">
+ <xsl:choose><xsl:when test="tmarc:sc">
+ <xsl:value-of select="tmarc:sc"/>
+ </xsl:when><xsl:otherwise>
+ <xsl:text>PAZPAR2_NULL_VALUE</xsl:text>
+ </xsl:otherwise></xsl:choose>
+ </pz:metadata>
+ <pz:metadata type="available">
+ <xsl:choose><xsl:when test="tmarc:se">
+ <xsl:value-of select="tmarc:se"/>
+ </xsl:when><xsl:otherwise>
+ <xsl:text>PAZPAR2_NULL_VALUE</xsl:text>
+ </xsl:otherwise></xsl:choose>
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="tmarc:d948">
+ <pz:metadata type="holding">
+ <xsl:for-each select="tmarc:s">
+ <xsl:if test="position() > 1">
+ <xsl:text> </xsl:text>
+ </xsl:if>
+ <xsl:value-of select="." />
+ </xsl:for-each>
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="tmarc:d991">
+ <pz:metadata type="holding">
+ <xsl:for-each select="tmarc:s">
+ <xsl:if test="position() > 1">
+ <xsl:text> </xsl:text>
+ </xsl:if>
+ <xsl:value-of select="." />
+ </xsl:for-each>
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="tmarc:d999">
+ <pz:metadata type="localid">
+ <xsl:choose>
+ <xsl:when test="tmarc:sa">
+ <xsl:value-of select="tmarc:sa"/>
+ </xsl:when>
+ <xsl:when test="tmarc:sc">
+ <xsl:value-of select="tmarc:sc"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="tmarc:sd"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </pz:metadata>
+ </xsl:for-each>
+
+
+ <!-- passthrough id data -->
+ <xsl:for-each select="pz:metadata">
+ <xsl:copy-of select="." />
+ </xsl:for-each>
+
+ <!-- other stylesheets importing this might want to define this -->
+ <xsl:call-template name="record-hook" />
+
+ </pz:record>
+ </xsl:template>
+
+ <xsl:template match="text()" />
+
+ <!-- TODO Does not work anymore -->
+ <xsl:template name="shortTitle">
+ <xsl:param name="tag" />
+ <xsl:for-each select="tmarc:d">
+ <xsl:value-of select="tmarc:sa" />
+ <xsl:value-of select="tmarc:sm" />
+ <xsl:value-of select="tmarc:sn" />
+ <xsl:value-of select="tmarc:sp" />
+ <xsl:value-of select="tmarc:sr" />
+ </xsl:for-each>
+ </xsl:template>
+
+ <!-- No working as expected -->
+ <xsl:template name="description">
+ <xsl:param name="element" />
+ <xsl:for-each select="$element">
+ <pz:metadata type="description">
+ <xsl:for-each select="node()">
+ <xsl:value-of select="text()" />
+ </xsl:for-each>
+ </pz:metadata>
+ </xsl:for-each>
+ <xsl:apply-templates />
+ </xsl:template>
+
+ <!-- <xsl:for-each select="tmarc:d500"> <pz:metadata type="description">
+ <xsl:for-each select="node()"> <xsl:value-of select="text()"/> </xsl:for-each>
+ </pz:metadata> </xsl:for-each> -->
+
+
+
+ <xsl:template name="subject">
+ <xsl:param name="element" />
+ <xsl:for-each select="$element">
+ <pz:metadata type="subject">
+ <xsl:value-of select="tmarc:sa" />
+ </pz:metadata>
+ <pz:metadata type="subject-long">
+ <xsl:for-each select="node()/text()">
+ <xsl:if test="position() > 1">
+ <xsl:text>, </xsl:text>
+ </xsl:if>
+ <xsl:value-of select="." />
+ </xsl:for-each>
+ </pz:metadata>
+ </xsl:for-each>
+ </xsl:template>
</xsl:stylesheet>
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<xsl:stylesheet version="1.0"
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:pz="http://www.indexdata.com/pazpar2/1.0"
- xmlns:tmarc="http://www.indexdata.com/MARC21/turboxml">
-
- <xsl:output indent="yes" method="xml" version="1.0"
- encoding="UTF-8" />
-
- <!-- Extract metadata from MARC21/USMARC from streamlined marcxml format
- http://www.loc.gov/marc/bibliographic/ecbdhome.html -->
- <xsl:template name="record-hook" />
-
-
- <xsl:template match="/">
- <xsl:apply-templates />
- </xsl:template>
-
- <xsl:template match="tmarc:r">
- <xsl:variable name="title_medium" select="tmarc:d245/tmarc:sh" />
- <xsl:variable name="journal_title" select="tmarc:d773/tmarc:st" />
- <xsl:variable name="electronic_location_url" select="tmarc:d856/tmarc:su" />
- <xsl:variable name="fulltext_a" select="tmarc:d900/tmarc:sa" />
- <xsl:variable name="fulltext_b" select="tmarc:d900/tmarc:sb" />
- <!-- Does not always hit the right substring. The field is not always fixed-width? -->
- <xsl:variable name="control_lang" select="substring(tmarc:c008, 36, 3)" />
- <xsl:variable name="contains110" select="tmarc:d110" />
- <xsl:variable name="hasAuthorFields" select="tmarc:d100 or tmarc:d111" />
-
- <xsl:variable name="medium">
- <xsl:choose>
- <xsl:when test="$title_medium">
- <xsl:value-of select="translate($title_medium, ' []/', '')" />
- </xsl:when>
- <xsl:when test="$fulltext_a">
- <xsl:text>electronic resource</xsl:text>
- </xsl:when>
- <xsl:when test="$fulltext_b">
- <xsl:text>electronic resource</xsl:text>
- </xsl:when>
- <xsl:when test="$journal_title">
- <xsl:text>article</xsl:text>
- </xsl:when>
- <xsl:otherwise>
- <xsl:text>book</xsl:text>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
-
- <pz:record>
-<!--
- <xsl:attribute name="mergekey">
- <xsl:text>title </xsl:text>
- <xsl:value-of select="tmarc:d245/tmarc:sa" />
- <xsl:text> author </xsl:text>
- <xsl:value-of select="tmarc:d100/tmarc:sa" />
- <xsl:text> medium </xsl:text>
- <xsl:value-of select="$medium" />
- </xsl:attribute>
- -->
-
- <xsl:for-each select="tmarc:c001">
- <pz:metadata type="id">
- <xsl:value-of select="." />
- </pz:metadata>
- </xsl:for-each>
-
- <xsl:for-each select="tmarc:d010">
- <pz:metadata type="lccn">
- <xsl:value-of select="tmarc:sa" />
- </pz:metadata>
- </xsl:for-each>
-
- <xsl:for-each select="tmarc:d020">
- <pz:metadata type="isbn">
- <xsl:value-of select="tmarc:sa" />
- </pz:metadata>
- </xsl:for-each>
-
- <xsl:for-each select="tmarc:d022">
- <pz:metadata type="issn">
- <xsl:value-of select="tmarc:sa" />
- </pz:metadata>
- </xsl:for-each>
-
- <xsl:for-each select="tmarc:d027">
- <pz:metadata type="tech-rep-nr">
- <xsl:value-of select="tmarc:sa" />
- </pz:metadata>
- </xsl:for-each>
-
- <xsl:for-each select="tmarc:d035">
- <pz:metadata type="system-control-nr">
- <xsl:value-of select="tmarc:sa" />
- </pz:metadata>
- </xsl:for-each>
-
- <xsl:for-each select="tmarc:d100">
- <pz:metadata type="author">
- <xsl:value-of select="tmarc:sa" />
- </pz:metadata>
- <pz:metadata type="author-title">
- <xsl:value-of select="tmarc:sc" />
- </pz:metadata>
- <pz:metadata type="author-date">
- <xsl:value-of select="tmarc:sd" />
- </pz:metadata>
- </xsl:for-each>
-
- <xsl:for-each select="tmarc:d110">
- <pz:metadata type="corporate-name">
- <xsl:value-of select="tmarc:sa" />
- </pz:metadata>
- <pz:metadata type="corporate-location">
- <xsl:value-of select="tmarc:sc" />
- </pz:metadata>
- <pz:metadata type="corporate-date">
- <xsl:value-of select="tmarc:sd" />
- </pz:metadata>
- </xsl:for-each>
-
- <xsl:for-each select="tmarc:d111">
- <pz:metadata type="meeting-name">
- <xsl:value-of select="tmarc:sa" />
- </pz:metadata>
- <pz:metadata type="meeting-location">
- <xsl:value-of select="tmarc:sc" />
- </pz:metadata>
- <pz:metadata type="meeting-date">
- <xsl:value-of select="tmarc:sd" />
- </pz:metadata>
- </xsl:for-each>
-
- <xsl:for-each select="tmarc:d260">
- <pz:metadata type="date">
- <xsl:value-of select="tmarc:sc" />
- </pz:metadata>
- </xsl:for-each>
-
- <xsl:for-each select="tmarc:d130">
- <pz:metadata type="title-uniform">
- <xsl:value-of select="tmarc:sa" />
- </pz:metadata>
- <pz:metadata type="title-uniform-media">
- <xsl:value-of select="tmarc:sm" />
- </pz:metadata>
- <pz:metadata type="title-uniform-parts">
- <xsl:value-of select="tmarc:sn" />
- </pz:metadata>
- <pz:metadata type="title-uniform-partname">
- <xsl:value-of select="tmarc:sp" />
- </pz:metadata>
- <pz:metadata type="title-uniform-key">
- <xsl:value-of select="tmarc:sr" />
- </pz:metadata>
- </xsl:for-each>
-
- <xsl:for-each select="tmarc:d245">
- <pz:metadata type="title">
- <xsl:value-of select="tmarc:sa" />
- </pz:metadata>
- <pz:metadata type="title-remainder">
- <xsl:value-of select="tmarc:sb" />
- </pz:metadata>
- <pz:metadata type="title-responsibility">
- <xsl:value-of select="tmarc:sc" />
- </pz:metadata>
- <pz:metadata type="title-dates">
- <xsl:value-of select="tmarc:sf" />
- </pz:metadata>
- <pz:metadata type="title-medium">
- <xsl:value-of select="tmarc:sh" />
- </pz:metadata>
- <pz:metadata type="title-number-section">
- <xsl:value-of select="tmarc:sn" />
- </pz:metadata>
- </xsl:for-each>
-
- <xsl:for-each select="tmarc:d250">
- <pz:metadata type="edition">
- <xsl:value-of select="tmarc:sa" />
- </pz:metadata>
- </xsl:for-each>
-
- <xsl:for-each select="tmarc:d260">
- <pz:metadata type="publication-place">
- <xsl:value-of select="tmarc:sa" />
- </pz:metadata>
- <pz:metadata type="publication-name">
- <xsl:value-of select="tmarc:sb" />
- </pz:metadata>
- <pz:metadata type="publication-date">
- <xsl:value-of select="tmarc:sc" />
- </pz:metadata>
- </xsl:for-each>
-
- <xsl:for-each select="tmarc:d300">
- <pz:metadata type="physical-extent">
- <xsl:value-of select="tmarc:sa" />
- </pz:metadata>
- <pz:metadata type="physical-format">
- <xsl:value-of select="tmarc:sb" />
- </pz:metadata>
- <pz:metadata type="physical-dimensions">
- <xsl:value-of select="tmarc:sc" />
- </pz:metadata>
- <pz:metadata type="physical-accomp">
- <xsl:value-of select="tmarc:se" />
- </pz:metadata>
- <pz:metadata type="physical-unittype">
- <xsl:value-of select="tmarc:sf" />
- </pz:metadata>
- <pz:metadata type="physical-unitsize">
- <xsl:value-of select="tmarc:sg" />
- </pz:metadata>
- <pz:metadata type="physical-specified">
- <xsl:value-of select="tmarc:s3" />
- </pz:metadata>
- </xsl:for-each>
-
- <xsl:for-each select="tmarc:d440">
- <pz:metadata type="series-title">
- <xsl:value-of select="tmarc:sa" />
- </pz:metadata>
- </xsl:for-each>
-
- <xsl:for-each select="tmarc:d500">
- <pz:metadata type="description">
- <xsl:for-each select="node()">
- <xsl:value-of select="text()" />
- </xsl:for-each>
- </pz:metadata>
- </xsl:for-each>
-
- <xsl:for-each select="tmarc:d505">
- <pz:metadata type="description">
- <xsl:for-each select="node()">
- <xsl:value-of select="text()" />
- </xsl:for-each>
- </pz:metadata>
- </xsl:for-each>
-
- <xsl:for-each select="tmarc:d518">
- <pz:metadata type="description">
- <xsl:for-each select="node()">
- <xsl:value-of select="text()" />
- </xsl:for-each>
- </pz:metadata>
- </xsl:for-each>
-
- <xsl:for-each select="tmarc:d520">
- <pz:metadata type="description">
- <xsl:for-each select="node()">
- <xsl:value-of select="text()" />
- </xsl:for-each>
- </pz:metadata>
- </xsl:for-each>
-
- <xsl:for-each select="tmarc:d522">
- <pz:metadata type="description">
- <xsl:for-each select="node()">
- <xsl:value-of select="text()" />
- </xsl:for-each>
- </pz:metadata>
- </xsl:for-each>
-
- <xsl:for-each select="tmarc:d600">
- <pz:metadata type="subject">
- <xsl:value-of select="tmarc:sa" />
- </pz:metadata>
- <pz:metadata type="subject-long">
- <xsl:for-each select="node()/text()">
- <xsl:if test="position() > 1">
- <xsl:text>, </xsl:text>
- </xsl:if>
- <xsl:value-of select="." />
- </xsl:for-each>
- </pz:metadata>
- </xsl:for-each>
-
- <xsl:for-each select="tmarc:d610">
- <pz:metadata type="subject">
- <xsl:value-of select="tmarc:sa" />
- </pz:metadata>
- <pz:metadata type="subject-long">
- <xsl:for-each select="node()/text()">
- <xsl:if test="position() > 1">
- <xsl:text>, </xsl:text>
- </xsl:if>
- <xsl:value-of select="." />
- </xsl:for-each>
- </pz:metadata>
- </xsl:for-each>
-
- <xsl:for-each select="tmarc:d611">
- <pz:metadata type="subject">
- <xsl:value-of select="tmarc:sa" />
- </pz:metadata>
- <pz:metadata type="subject-long">
- <xsl:for-each select="node()/text()">
- <xsl:if test="position() > 1">
- <xsl:text>, </xsl:text>
- </xsl:if>
- <xsl:value-of select="." />
- </xsl:for-each>
- </pz:metadata>
- </xsl:for-each>
-
- <xsl:for-each select="tmarc:d630">
- <pz:metadata type="subject">
- <xsl:value-of select="tmarc:sa" />
- </pz:metadata>
- <pz:metadata type="subject-long">
- <xsl:for-each select="node()/text()">
- <xsl:if test="position() > 1">
- <xsl:text>, </xsl:text>
- </xsl:if>
- <xsl:value-of select="." />
- </xsl:for-each>
- </pz:metadata>
- </xsl:for-each>
-
- <xsl:for-each select="tmarc:d648">
- <pz:metadata type="subject">
- <xsl:value-of select="tmarc:sa" />
- </pz:metadata>
- <pz:metadata type="subject-long">
- <xsl:for-each select="node()/text()">
- <xsl:if test="position() > 1">
- <xsl:text>, </xsl:text>
- </xsl:if>
- <xsl:value-of select="." />
- </xsl:for-each>
- </pz:metadata>
- </xsl:for-each>
-
- <xsl:for-each select="tmarc:d650">
- <pz:metadata type="subject">
- <xsl:value-of select="tmarc:sa" />
- </pz:metadata>
- <pz:metadata type="subject-long">
- <xsl:for-each select="node()/text()">
- <xsl:if test="position() > 1">
- <xsl:text>, </xsl:text>
- </xsl:if>
- <xsl:value-of select="." />
- </xsl:for-each>
- </pz:metadata>
- </xsl:for-each>
-
- <xsl:for-each select="tmarc:d651">
- <pz:metadata type="subject">
- <xsl:value-of select="tmarc:sa" />
- </pz:metadata>
- <pz:metadata type="subject-long">
- <xsl:for-each select="node()/text()">
- <xsl:if test="position() > 1">
- <xsl:text>, </xsl:text>
- </xsl:if>
- <xsl:value-of select="." />
- </xsl:for-each>
- </pz:metadata>
- </xsl:for-each>
-
- <xsl:for-each select="tmarc:d653">
- <pz:metadata type="subject">
- <xsl:value-of select="tmarc:sa" />
- </pz:metadata>
- <pz:metadata type="subject-long">
- <xsl:for-each select="node()/text()">
- <xsl:if test="position() > 1">
- <xsl:text>, </xsl:text>
- </xsl:if>
- <xsl:value-of select="." />
- </xsl:for-each>
- </pz:metadata>
- </xsl:for-each>
-
- <xsl:for-each select="tmarc:d654">
- <pz:metadata type="subject">
- <xsl:value-of select="tmarc:sa" />
- </pz:metadata>
- <pz:metadata type="subject-long">
- <xsl:for-each select="node()/text()">
- <xsl:if test="position() > 1">
- <xsl:text>, </xsl:text>
- </xsl:if>
- <xsl:value-of select="." />
- </xsl:for-each>
- </pz:metadata>
- </xsl:for-each>
-
- <xsl:for-each select="tmarc:d655">
- <pz:metadata type="subject">
- <xsl:value-of select="tmarc:sa" />
- </pz:metadata>
- <pz:metadata type="subject-long">
- <xsl:for-each select="node()/text()">
- <xsl:if test="position() > 1">
- <xsl:text>, </xsl:text>
- </xsl:if>
- <xsl:value-of select="." />
- </xsl:for-each>
- </pz:metadata>
- </xsl:for-each>
-
- <xsl:for-each select="tmarc:d656">
- <pz:metadata type="subject">
- <xsl:value-of select="tmarc:sa" />
- </pz:metadata>
- <pz:metadata type="subject-long">
- <xsl:for-each select="node()/text()">
- <xsl:if test="position() > 1">
- <xsl:text>, </xsl:text>
- </xsl:if>
- <xsl:value-of select="." />
- </xsl:for-each>
- </pz:metadata>
- </xsl:for-each>
-
- <xsl:for-each select="tmarc:d657">
- <pz:metadata type="subject">
- <xsl:value-of select="tmarc:sa" />
- </pz:metadata>
- <pz:metadata type="subject-long">
- <xsl:for-each select="node()/text()">
- <xsl:if test="position() > 1">
- <xsl:text>, </xsl:text>
- </xsl:if>
- <xsl:value-of select="." />
- </xsl:for-each>
- </pz:metadata>
- </xsl:for-each>
-
- <xsl:for-each select="tmarc:d658">
- <pz:metadata type="subject">
- <xsl:value-of select="tmarc:sa" />
- </pz:metadata>
- <pz:metadata type="subject-long">
- <xsl:for-each select="node()/text()">
- <xsl:if test="position() > 1">
- <xsl:text>, </xsl:text>
- </xsl:if>
- <xsl:value-of select="." />
- </xsl:for-each>
- </pz:metadata>
- </xsl:for-each>
-
- <xsl:for-each select="tmarc:d662">
- <pz:metadata type="subject">
- <xsl:value-of select="tmarc:sa" />
- </pz:metadata>
- <pz:metadata type="subject-long">
- <xsl:for-each select="node()/text()">
- <xsl:if test="position() > 1">
- <xsl:text>, </xsl:text>
- </xsl:if>
- <xsl:value-of select="." />
- </xsl:for-each>
- </pz:metadata>
- </xsl:for-each>
-
- <xsl:for-each select="tmarc:d69X">
- <pz:metadata type="subject">
- <xsl:value-of select="tmarc:sa" />
- </pz:metadata>
- <pz:metadata type="subject-long">
- <xsl:for-each select="node()/text()">
- <xsl:if test="position() > 1">
- <xsl:text>, </xsl:text>
- </xsl:if>
- <xsl:value-of select="." />
- </xsl:for-each>
- </pz:metadata>
- </xsl:for-each>
-
- <!-- or tmarc:d651 or tmarc:d653 or tmarc:d654 or tmarc:d655 or tmarc:d656
- or tmarc:d657 or tmarc:d658 or tmarc:d662 or tmarc:d69X"> -->
-
- <!-- <xsl:for-each select="tmarc:d600" > <pz:metadata type="subject">
- <xsl:value-of select="tmarc:sa"/> </pz:metadata> <pz:metadata type="subject-long">
- <xsl:for-each select="tmarc:sa tmarc:sb tmarc:sc tmarc:sd "> <xsl:if test="position()
- > 1"> <xsl:text>, </xsl:text> </xsl:if> <xsl:value-of select="."/> </xsl:for-each>
- </pz:metadata> </xsl:for-each> -->
-
- <xsl:for-each select="tmarc:d856">
- <pz:metadata type="electronic-url">
- <xsl:value-of select="tmarc:su" />
- </pz:metadata>
- <pz:metadata type="electronic-text">
- <xsl:if test="tmarc:sy">
- <xsl:value-of select="tmarc:sy/text()" />
- </xsl:if>
- <xsl:if test="tmarc:s3">
- <xsl:value-of select="tmarc:s3/text()" />
- </xsl:if>
- </pz:metadata>
- <pz:metadata type="electronic-note">
- <xsl:value-of select="tmarc:sz" />
- </pz:metadata>
- <pz:metadata type="electronic-format-instruction">
- <xsl:value-of select="tmarc:si" />
- </pz:metadata>
- <pz:metadata type="electronic-format-type">
- <xsl:value-of select="tmarc:sq" />
- </pz:metadata>
- </xsl:for-each>
-
- <xsl:for-each select="tmarc:d773">
- <pz:metadata type="citation">
- <xsl:for-each select="*">
- <xsl:value-of select="normalize-space(.)" />
- <xsl:text> </xsl:text>
- </xsl:for-each>
- </pz:metadata>
- </xsl:for-each>
-
- <xsl:for-each select="tmarc:d852">
- <xsl:if test="tmarc:sy">
- <pz:metadata type="publicnote">
- <xsl:value-of select="tmarc:sy" />
- </pz:metadata>
- </xsl:if>
- <xsl:if test="tmarc:sh">
- <pz:metadata type="callnumber">
- <xsl:value-of select="tmarc:sh" />
- </pz:metadata>
- </xsl:if>
- </xsl:for-each>
-
- <pz:metadata type="medium">
- <xsl:value-of select="$medium" />
- </pz:metadata>
-
- <xsl:for-each select="tmarc:d900/tmarc:sa">
- <pz:metadata type="fulltext">
- <xsl:value-of select="." />
- </pz:metadata>
- </xsl:for-each>
-
- <!-- <xsl:if test="$fulltext_a"> <pz:metadata type="fulltext"> <xsl:value-of
- select="$fulltext_a"/> </pz:metadata> </xsl:if> -->
-
- <xsl:for-each select="tmarc:d900/tmarc:sb">
- <pz:metadata type="fulltext">
- <xsl:value-of select="." />
- </pz:metadata>
- </xsl:for-each>
-
- <!-- <xsl:if test="$fulltext_b"> <pz:metadata type="fulltext"> <xsl:value-of
- select="$fulltext_b"/> </pz:metadata> </xsl:if> -->
-
- <xsl:for-each select="tmarc:d907">
- <!-- or tmarc:d901"> -->
- <pz:metadata type="iii-id">
- <xsl:value-of select="tmarc:sa" />
- </pz:metadata>
- </xsl:for-each>
-
- <xsl:for-each select="tmarc:d926">
- <pz:metadata type="holding">
- <xsl:for-each select="tmarc:s">
- <xsl:if test="position() > 1">
- <xsl:text> </xsl:text>
- </xsl:if>
- <xsl:value-of select="." />
- </xsl:for-each>
- </pz:metadata>
- </xsl:for-each>
-
- <xsl:for-each select="tmarc:d948">
- <pz:metadata type="holding">
- <xsl:for-each select="tmarc:s">
- <xsl:if test="position() > 1">
- <xsl:text> </xsl:text>
- </xsl:if>
- <xsl:value-of select="." />
- </xsl:for-each>
- </pz:metadata>
- </xsl:for-each>
-
- <xsl:for-each select="tmarc:d991">
- <pz:metadata type="holding">
- <xsl:for-each select="tmarc:s">
- <xsl:if test="position() > 1">
- <xsl:text> </xsl:text>
- </xsl:if>
- <xsl:value-of select="." />
- </xsl:for-each>
- </pz:metadata>
- </xsl:for-each>
-
- <pz:metadata tag="tag100">
- <xsl:call-template name="shortTitle">
- <xsl:with-param name="tag" select="100" />
- </xsl:call-template>
- </pz:metadata>
-
- <!-- Stuff for FRBR workset key -->
- <xsl:variable name="title130">
- <xsl:for-each select="tmarc:d130">
- <xsl:value-of select="tmarc:sa" />
- <xsl:value-of select="tmarc:sm" />
- <xsl:value-of select="tmarc:sn" />
- <xsl:value-of select="tmarc:sp" />
- <xsl:value-of select="tmarc:sr" />
- </xsl:for-each>
- </xsl:variable>
-
- <xsl:variable name="title240">
- <xsl:for-each select="tmarc:d240">
- <xsl:value-of select="tmarc:sa" />
- <xsl:value-of select="tmarc:sm" />
- <xsl:value-of select="tmarc:sn" />
- <xsl:value-of select="tmarc:sp" />
- <xsl:value-of select="tmarc:sr" />
- </xsl:for-each>
- </xsl:variable>
- <xsl:variable name="title242">
- <xsl:for-each select="tmarc:d242">
- <xsl:value-of select="tmarc:sa" />
- <xsl:if test="$contains110 and not($hasAuthorFields)">
- <xsl:value-of select="tmarc:sb" />
- <xsl:value-of select="tmarc:sf" />
- <xsl:value-of select="tmarc:sg" />
- <xsl:value-of select="tmarc:sn" />
- <xsl:value-of select="tmarc:sp" />
- </xsl:if>
- </xsl:for-each>
- </xsl:variable>
- <xsl:variable name="title242-full">
- <xsl:for-each select="tmarc:d242">
- <xsl:value-of select="tmarc:sa" />
- <xsl:value-of select="tmarc:sb" />
- <xsl:value-of select="tmarc:sf" />
- <xsl:value-of select="tmarc:sg" />
- <xsl:value-of select="tmarc:sn" />
- <xsl:value-of select="tmarc:sp" />
- </xsl:for-each>
- </xsl:variable>
-
- <xsl:variable name="title245">
- <xsl:for-each select="tmarc:d245">
- <xsl:value-of select="tmarc:sa" />
- <xsl:if test="$contains110 and not($hasAuthorFields)">
- <xsl:value-of select="tmarc:sb" />
- <xsl:value-of select="tmarc:sf" />
- <xsl:value-of select="tmarc:sg" />
- <xsl:value-of select="tmarc:sn" />
- <xsl:value-of select="tmarc:sp" />
- </xsl:if>
- </xsl:for-each>
- </xsl:variable>
- <xsl:variable name="title245-full">
- <xsl:for-each select="tmarc:d245">
- <xsl:value-of select="tmarc:sa" />
- <xsl:value-of select="tmarc:sb" />
- <xsl:value-of select="tmarc:sf" />
- <xsl:value-of select="tmarc:sg" />
- <xsl:value-of select="tmarc:sn" />
- <xsl:value-of select="tmarc:sp" />
- </xsl:for-each>
- </xsl:variable>
-
- <xsl:variable name="title246">
- <xsl:for-each select="tmarc:d246">
- <xsl:value-of select="tmarc:sa" />
- <xsl:if test="$contains110 and not($hasAuthorFields)">
- <xsl:value-of select="tmarc:sb" />
- <xsl:value-of select="tmarc:sf" />
- <xsl:value-of select="tmarc:sg" />
- <xsl:value-of select="tmarc:sn" />
- <xsl:value-of select="tmarc:sp" />
- </xsl:if>
- </xsl:for-each>
- </xsl:variable>
- <xsl:variable name="title246-full">
- <xsl:for-each select="tmarc:d246">
- <xsl:value-of select="tmarc:sa" />
- <xsl:value-of select="tmarc:sb" />
- <xsl:value-of select="tmarc:sf" />
- <xsl:value-of select="tmarc:sg" />
- <xsl:value-of select="tmarc:sn" />
- <xsl:value-of select="tmarc:sp" />
- </xsl:for-each>
- </xsl:variable>
-
- <xsl:variable name="title247">
- <xsl:for-each select="tmarc:d247">
- <xsl:value-of select="tmarc:sa" />
- <xsl:if test="$contains110 and not($hasAuthorFields)">
- <xsl:value-of select="tmarc:sb" />
- <xsl:value-of select="tmarc:sf" />
- <xsl:value-of select="tmarc:sg" />
- <xsl:value-of select="tmarc:sn" />
- <xsl:value-of select="tmarc:sp" />
- </xsl:if>
- </xsl:for-each>
- </xsl:variable>
- <xsl:variable name="title247-full">
- <xsl:for-each select="tmarc:d247">
- <xsl:value-of select="tmarc:sa" />
- <xsl:value-of select="tmarc:sb" />
- <xsl:value-of select="tmarc:sf" />
- <xsl:value-of select="tmarc:sg" />
- <xsl:value-of select="tmarc:sn" />
- <xsl:value-of select="tmarc:sp" />
- </xsl:for-each>
- </xsl:variable>
-
- <xsl:for-each select="tmarc:c008">
- <pz:metadata type="meta-marc-cf008">
- <xsl:value-of select="." />
- </pz:metadata>
- </xsl:for-each>
-
- <pz:metadata type="meta-frbr-short-title">
- <xsl:choose>
- <xsl:when test="$title130!=''">
- <xsl:value-of select="$title130" />
- </xsl:when>
- <xsl:when test="$title130='' and $title240!=''">
- <xsl:value-of select="$title240" />
- </xsl:when>
- <!-- Missing the prioritization of 246 on non-english records -->
- <xsl:when test="$title130='' and $title240='' and $title242!=''">
- <xsl:value-of select="$title242" />
- </xsl:when>
- <xsl:when
- test="$title130='' and $title240='' and $title242='' and $title245!=''">
- <xsl:value-of select="$title245" />
- </xsl:when>
- <xsl:when
- test="$title130='' and $title240='' and $title242='' and $title246!=''">
- <xsl:value-of select="$title246" />
- </xsl:when>
- <xsl:when
- test="$title130='' and $title240='' and $title242='' and $title246='' and $title247!=''">
- <xsl:value-of select="$title247" />
- </xsl:when>
- </xsl:choose>
- </pz:metadata>
-
- <pz:metadata type="meta-frbr-full-title">
- <xsl:choose>
- <xsl:when test="$title130!=''">
- <xsl:value-of select="$title130" />
- </xsl:when>
- <xsl:when test="$title130='' and $title240!=''">
- <xsl:value-of select="$title240" />
- </xsl:when>
- <!-- Missing the prioritization of 246 on non-english records -->
- <xsl:when test="$title130='' and $title240='' and $title242!=''">
- <xsl:value-of select="$title242-full" />
- </xsl:when>
- <xsl:when
- test="$title130='' and $title240='' and $title242='' and $title245!=''">
- <xsl:value-of select="$title245-full" />
- </xsl:when>
- <xsl:when
- test="$title130='' and $title240='' and $title242='' and $title246!=''">
- <xsl:value-of select="$title246-full" />
- </xsl:when>
- <xsl:when
- test="$title130='' and $title240='' and $title242='' and $title246='' and $title247!=''">
- <xsl:value-of select="$title247-full" />
- </xsl:when>
- </xsl:choose>
- </pz:metadata>
-
-
- <pz:metadata type="meta-frbr-lang">
- <xsl:value-of select="$control_lang" />
- </pz:metadata>
-
-
- <!-- passthrough id data -->
- <xsl:for-each select="pz:metadata">
- <xsl:copy-of select="." />
- </xsl:for-each>
-
- <!-- other stylesheets importing this might want to define this -->
- <xsl:call-template name="record-hook" />
-
- </pz:record>
- </xsl:template>
-
- <xsl:template match="text()" />
-
- <!-- TODO Does not work anymore -->
- <xsl:template name="shortTitle">
- <xsl:param name="tag" />
- <xsl:for-each select="tmarc:d">
- <xsl:value-of select="tmarc:sa" />
- <xsl:value-of select="tmarc:sm" />
- <xsl:value-of select="tmarc:sn" />
- <xsl:value-of select="tmarc:sp" />
- <xsl:value-of select="tmarc:sr" />
- </xsl:for-each>
- </xsl:template>
-
- <!-- No working as expected -->
- <xsl:template name="description">
- <xsl:param name="element" />
- <xsl:for-each select="$element">
- <pz:metadata type="description">
- <xsl:for-each select="node()">
- <xsl:value-of select="text()" />
- </xsl:for-each>
- </pz:metadata>
- </xsl:for-each>
- <xsl:apply-templates />
- </xsl:template>
-
- <!-- <xsl:for-each select="tmarc:d500"> <pz:metadata type="description">
- <xsl:for-each select="node()"> <xsl:value-of select="text()"/> </xsl:for-each>
- </pz:metadata> </xsl:for-each> -->
-
-
-
- <xsl:template name="subject">
- <xsl:param name="element" />
- <xsl:for-each select="$element">
- <pz:metadata type="subject">
- <xsl:value-of select="tmarc:sa" />
- </pz:metadata>
- <pz:metadata type="subject-long">
- <xsl:for-each select="node()/text()">
- <xsl:if test="position() > 1">
- <xsl:text>, </xsl:text>
- </xsl:if>
- <xsl:value-of select="." />
- </xsl:for-each>
- </pz:metadata>
- </xsl:for-each>
- </xsl:template>
-
-
-</xsl:stylesheet>
--- /dev/null
+if [ "$1" == "" ] ; then
+ COUNT=10
+else
+ COUNT=$1
+fi
+for d in `seq $COUNT` ; do
+ jinx run src/pazpar2 -X -f ~/etc/pazpar2/server-threaded.xml -l pazpar2.log -v log,warn,fatal
+done
\ No newline at end of file
--- /dev/null
+alert('IMPORTANT: Remove this line from json2.js before deployment.');
+/*
+ http://www.JSON.org/json2.js
+ 2010-03-20
+
+ Public Domain.
+
+ NO WARRANTY EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK.
+
+ See http://www.JSON.org/js.html
+
+
+ This code should be minified before deployment.
+ See http://javascript.crockford.com/jsmin.html
+
+ USE YOUR OWN COPY. IT IS EXTREMELY UNWISE TO LOAD CODE FROM SERVERS YOU DO
+ NOT CONTROL.
+
+
+ This file creates a global JSON object containing two methods: stringify
+ and parse.
+
+ JSON.stringify(value, replacer, space)
+ value any JavaScript value, usually an object or array.
+
+ replacer an optional parameter that determines how object
+ values are stringified for objects. It can be a
+ function or an array of strings.
+
+ space an optional parameter that specifies the indentation
+ of nested structures. If it is omitted, the text will
+ be packed without extra whitespace. If it is a number,
+ it will specify the number of spaces to indent at each
+ level. If it is a string (such as '\t' or ' '),
+ it contains the characters used to indent at each level.
+
+ This method produces a JSON text from a JavaScript value.
+
+ When an object value is found, if the object contains a toJSON
+ method, its toJSON method will be called and the result will be
+ stringified. A toJSON method does not serialize: it returns the
+ value represented by the name/value pair that should be serialized,
+ or undefined if nothing should be serialized. The toJSON method
+ will be passed the key associated with the value, and this will be
+ bound to the value
+
+ For example, this would serialize Dates as ISO strings.
+
+ Date.prototype.toJSON = function (key) {
+ function f(n) {
+ // Format integers to have at least two digits.
+ return n < 10 ? '0' + n : n;
+ }
+
+ return this.getUTCFullYear() + '-' +
+ f(this.getUTCMonth() + 1) + '-' +
+ f(this.getUTCDate()) + 'T' +
+ f(this.getUTCHours()) + ':' +
+ f(this.getUTCMinutes()) + ':' +
+ f(this.getUTCSeconds()) + 'Z';
+ };
+
+ You can provide an optional replacer method. It will be passed the
+ key and value of each member, with this bound to the containing
+ object. The value that is returned from your method will be
+ serialized. If your method returns undefined, then the member will
+ be excluded from the serialization.
+
+ If the replacer parameter is an array of strings, then it will be
+ used to select the members to be serialized. It filters the results
+ such that only members with keys listed in the replacer array are
+ stringified.
+
+ Values that do not have JSON representations, such as undefined or
+ functions, will not be serialized. Such values in objects will be
+ dropped; in arrays they will be replaced with null. You can use
+ a replacer function to replace those with JSON values.
+ JSON.stringify(undefined) returns undefined.
+
+ The optional space parameter produces a stringification of the
+ value that is filled with line breaks and indentation to make it
+ easier to read.
+
+ If the space parameter is a non-empty string, then that string will
+ be used for indentation. If the space parameter is a number, then
+ the indentation will be that many spaces.
+
+ Example:
+
+ text = JSON.stringify(['e', {pluribus: 'unum'}]);
+ // text is '["e",{"pluribus":"unum"}]'
+
+
+ text = JSON.stringify(['e', {pluribus: 'unum'}], null, '\t');
+ // text is '[\n\t"e",\n\t{\n\t\t"pluribus": "unum"\n\t}\n]'
+
+ text = JSON.stringify([new Date()], function (key, value) {
+ return this[key] instanceof Date ?
+ 'Date(' + this[key] + ')' : value;
+ });
+ // text is '["Date(---current time---)"]'
+
+
+ JSON.parse(text, reviver)
+ This method parses a JSON text to produce an object or array.
+ It can throw a SyntaxError exception.
+
+ The optional reviver parameter is a function that can filter and
+ transform the results. It receives each of the keys and values,
+ and its return value is used instead of the original value.
+ If it returns what it received, then the structure is not modified.
+ If it returns undefined then the member is deleted.
+
+ Example:
+
+ // Parse the text. Values that look like ISO date strings will
+ // be converted to Date objects.
+
+ myData = JSON.parse(text, function (key, value) {
+ var a;
+ if (typeof value === 'string') {
+ a =
+/^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2}(?:\.\d*)?)Z$/.exec(value);
+ if (a) {
+ return new Date(Date.UTC(+a[1], +a[2] - 1, +a[3], +a[4],
+ +a[5], +a[6]));
+ }
+ }
+ return value;
+ });
+
+ myData = JSON.parse('["Date(09/09/2001)"]', function (key, value) {
+ var d;
+ if (typeof value === 'string' &&
+ value.slice(0, 5) === 'Date(' &&
+ value.slice(-1) === ')') {
+ d = new Date(value.slice(5, -1));
+ if (d) {
+ return d;
+ }
+ }
+ return value;
+ });
+
+
+ This is a reference implementation. You are free to copy, modify, or
+ redistribute.
+*/
+
+/*jslint evil: true, strict: false */
+
+/*members "", "\b", "\t", "\n", "\f", "\r", "\"", JSON, "\\", apply,
+ call, charCodeAt, getUTCDate, getUTCFullYear, getUTCHours,
+ getUTCMinutes, getUTCMonth, getUTCSeconds, hasOwnProperty, join,
+ lastIndex, length, parse, prototype, push, replace, slice, stringify,
+ test, toJSON, toString, valueOf
+*/
+
+// Create a stand-alone object (not sure it will work
+this.JSON2 = {};
+
+// Create a JSON object only if one does not already exist. We create the
+// methods in a closure to avoid creating global variables.
+
+if (!this.JSON) {
+ this.JSON = {};
+}
+
+(function () {
+
+ function f(n) {
+ // Format integers to have at least two digits.
+ return n < 10 ? '0' + n : n;
+ }
+
+ if (typeof Date.prototype.toJSON !== 'function') {
+
+ Date.prototype.toJSON = function (key) {
+
+ return isFinite(this.valueOf()) ?
+ this.getUTCFullYear() + '-' +
+ f(this.getUTCMonth() + 1) + '-' +
+ f(this.getUTCDate()) + 'T' +
+ f(this.getUTCHours()) + ':' +
+ f(this.getUTCMinutes()) + ':' +
+ f(this.getUTCSeconds()) + 'Z' : null;
+ };
+
+ String.prototype.toJSON =
+ Number.prototype.toJSON =
+ Boolean.prototype.toJSON = function (key) {
+ return this.valueOf();
+ };
+ }
+
+ var cx = /[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,
+ escapable = /[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,
+ gap,
+ indent,
+ meta = { // table of character substitutions
+ '\b': '\\b',
+ '\t': '\\t',
+ '\n': '\\n',
+ '\f': '\\f',
+ '\r': '\\r',
+ '"' : '\\"',
+ '\\': '\\\\'
+ },
+ rep;
+
+
+ function quote(string) {
+
+// If the string contains no control characters, no quote characters, and no
+// backslash characters, then we can safely slap some quotes around it.
+// Otherwise we must also replace the offending characters with safe escape
+// sequences.
+
+ escapable.lastIndex = 0;
+ return escapable.test(string) ?
+ '"' + string.replace(escapable, function (a) {
+ var c = meta[a];
+ return typeof c === 'string' ? c :
+ '\\u' + ('0000' + a.charCodeAt(0).toString(16)).slice(-4);
+ }) + '"' :
+ '"' + string + '"';
+ }
+
+
+ function str(key, holder) {
+
+// Produce a string from holder[key].
+
+ var i, // The loop counter.
+ k, // The member key.
+ v, // The member value.
+ length,
+ mind = gap,
+ partial,
+ value = holder[key];
+
+// If the value has a toJSON method, call it to obtain a replacement value.
+
+ if (value && typeof value === 'object' &&
+ typeof value.toJSON === 'function') {
+ value = value.toJSON(key);
+ }
+
+// If we were called with a replacer function, then call the replacer to
+// obtain a replacement value.
+
+ if (typeof rep === 'function') {
+ value = rep.call(holder, key, value);
+ }
+
+// What happens next depends on the value's type.
+
+ switch (typeof value) {
+ case 'string':
+ return quote(value);
+
+ case 'number':
+
+// JSON numbers must be finite. Encode non-finite numbers as null.
+
+ return isFinite(value) ? String(value) : 'null';
+
+ case 'boolean':
+ case 'null':
+
+// If the value is a boolean or null, convert it to a string. Note:
+// typeof null does not produce 'null'. The case is included here in
+// the remote chance that this gets fixed someday.
+
+ return String(value);
+
+// If the type is 'object', we might be dealing with an object or an array or
+// null.
+
+ case 'object':
+
+// Due to a specification blunder in ECMAScript, typeof null is 'object',
+// so watch out for that case.
+
+ if (!value) {
+ return 'null';
+ }
+
+// Make an array to hold the partial results of stringifying this object value.
+
+ gap += indent;
+ partial = [];
+
+// Is the value an array?
+
+ if (Object.prototype.toString.apply(value) === '[object Array]') {
+
+// The value is an array. Stringify every element. Use null as a placeholder
+// for non-JSON values.
+
+ length = value.length;
+ for (i = 0; i < length; i += 1) {
+ partial[i] = str(i, value) || 'null';
+ }
+
+// Join all of the elements together, separated with commas, and wrap them in
+// brackets.
+
+ v = partial.length === 0 ? '[]' :
+ gap ? '[\n' + gap +
+ partial.join(',\n' + gap) + '\n' +
+ mind + ']' :
+ '[' + partial.join(',') + ']';
+ gap = mind;
+ return v;
+ }
+
+// If the replacer is an array, use it to select the members to be stringified.
+
+ if (rep && typeof rep === 'object') {
+ length = rep.length;
+ for (i = 0; i < length; i += 1) {
+ k = rep[i];
+ if (typeof k === 'string') {
+ v = str(k, value);
+ if (v) {
+ partial.push(quote(k) + (gap ? ': ' : ':') + v);
+ }
+ }
+ }
+ } else {
+
+// Otherwise, iterate through all of the keys in the object.
+
+ for (k in value) {
+ if (Object.hasOwnProperty.call(value, k)) {
+ v = str(k, value);
+ if (v) {
+ partial.push(quote(k) + (gap ? ': ' : ':') + v);
+ }
+ }
+ }
+ }
+
+// Join all of the member texts together, separated with commas,
+// and wrap them in braces.
+
+ v = partial.length === 0 ? '{}' :
+ gap ? '{\n' + gap + partial.join(',\n' + gap) + '\n' +
+ mind + '}' : '{' + partial.join(',') + '}';
+ gap = mind;
+ return v;
+ }
+ }
+
+// If the JSON object does not yet have a stringify method, give it one.
+
+ if (typeof JSON.stringify !== 'function') {
+ JSON.stringify = function (value, replacer, space) {
+
+// The stringify method takes a value and an optional replacer, and an optional
+// space parameter, and returns a JSON text. The replacer can be a function
+// that can replace values, or an array of strings that will select the keys.
+// A default replacer method can be provided. Use of the space parameter can
+// produce text that is more easily readable.
+
+ var i;
+ gap = '';
+ indent = '';
+
+// If the space parameter is a number, make an indent string containing that
+// many spaces.
+
+ if (typeof space === 'number') {
+ for (i = 0; i < space; i += 1) {
+ indent += ' ';
+ }
+
+// If the space parameter is a string, it will be used as the indent string.
+
+ } else if (typeof space === 'string') {
+ indent = space;
+ }
+
+// If there is a replacer, it must be a function or an array.
+// Otherwise, throw an error.
+
+ rep = replacer;
+ if (replacer && typeof replacer !== 'function' &&
+ (typeof replacer !== 'object' ||
+ typeof replacer.length !== 'number')) {
+ throw new Error('JSON.stringify');
+ }
+
+// Make a fake root object containing our value under the key of ''.
+// Return the result of stringifying the value.
+
+ return str('', {'': value});
+ };
+ }
+
+
+// If the JSON object does not yet have a parse method, give it one.
+
+ if (typeof JSON.parse !== 'function') {
+ JSON.parse = function (text, reviver) {
+
+// The parse method takes a text and an optional reviver function, and returns
+// a JavaScript value if the text is a valid JSON text.
+
+ var j;
+
+ function walk(holder, key) {
+
+// The walk method is used to recursively walk the resulting structure so
+// that modifications can be made.
+
+ var k, v, value = holder[key];
+ if (value && typeof value === 'object') {
+ for (k in value) {
+ if (Object.hasOwnProperty.call(value, k)) {
+ v = walk(value, k);
+ if (v !== undefined) {
+ value[k] = v;
+ } else {
+ delete value[k];
+ }
+ }
+ }
+ }
+ return reviver.call(holder, key, value);
+ }
+
+
+// Parsing happens in four stages. In the first stage, we replace certain
+// Unicode characters with escape sequences. JavaScript handles many characters
+// incorrectly, either silently deleting them, or treating them as line endings.
+
+ text = String(text);
+ cx.lastIndex = 0;
+ if (cx.test(text)) {
+ text = text.replace(cx, function (a) {
+ return '\\u' +
+ ('0000' + a.charCodeAt(0).toString(16)).slice(-4);
+ });
+ }
+
+// In the second stage, we run the text against regular expressions that look
+// for non-JSON patterns. We are especially concerned with '()' and 'new'
+// because they can cause invocation, and '=' because it can cause mutation.
+// But just to be safe, we want to reject all unexpected forms.
+
+// We split the second stage into 4 regexp operations in order to work around
+// crippling inefficiencies in IE's and Safari's regexp engines. First we
+// replace the JSON backslash pairs with '@' (a non-JSON character). Second, we
+// replace all simple value tokens with ']' characters. Third, we delete all
+// open brackets that follow a colon or comma or that begin the text. Finally,
+// we look to see that the remaining characters are only whitespace or ']' or
+// ',' or ':' or '{' or '}'. If that is so, then the text is safe for eval.
+
+ if (/^[\],:{}\s]*$/.
+test(text.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g, '@').
+replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g, ']').
+replace(/(?:^|:|,)(?:\s*\[)+/g, ''))) {
+
+// In the third stage we use the eval function to compile the text into a
+// JavaScript structure. The '{' operator is subject to a syntactic ambiguity
+// in JavaScript: it can begin a block or an object literal. We wrap the text
+// in parens to eliminate the ambiguity.
+
+ j = eval('(' + text + ')');
+
+// In the optional fourth stage, we recursively walk the new structure, passing
+// each name/value pair to a reviver function for possible transformation.
+
+ return typeof reviver === 'function' ?
+ walk({'': j}, '') : j;
+ }
+
+// If the text is not JSON parseable, then a SyntaxError is thrown.
+
+ throw new SyntaxError('JSON.parse');
+ };
+ }
+}());
this.keepAlive = paramArray.keepAlive;
this.sessionID = null;
+ this.serviceId = paramArray.serviceId || null;
this.initStatusOK = false;
this.pingStatusOK = false;
this.searchStatusOK = false;
}
// else, auto init session or wait for a user init?
if (this.useSessions && paramArray.autoInit !== false) {
- this.init();
+ this.init(this.sessionId, this.serviceId);
}
};
this.resetCallback();
},
- init: function ( sessionId )
+ init: function (sessionId, serviceId)
{
this.reset();
// session id as a param
- if ( sessionId != undefined && this.useSessions ) {
+ if (sessionId && this.useSessions ) {
this.initStatusOK = true;
this.sessionID = sessionId;
this.ping();
} else if (this.useSessions) {
var context = this;
var request = new pzHttpRequest(this.pz2String, this.errorHandler);
+ var opts = {'command' : 'init'};
+ if (serviceId) opts.service = serviceId;
request.safeGet(
- { "command": "init" },
+ opts,
function(data) {
if ( data.getElementsByTagName("status")[0]
.childNodes[0].nodeValue == "OK" ) {
bytarget[i][nodeName] = nodeText;
}
}
+ if (bytarget[i]["state"]=="Client_Disconnected") {
+ bytarget[i]["hits"] = "Error";
+ } else if (bytarget[i]["state"]=="Client_Error") {
+ bytarget[i]["hits"] = "Error";
+ } else if (bytarget[i]["state"]=="Client_Working") {
+ bytarget[i]["hits"] = "...";
+ }
+ if (bytarget[i].diagnostic == "1") {
+ bytarget[i].diagnostic = "Permanent system error";
+ } else if (bytarget[i].diagnostic == "2") {
+ bytarget[i].diagnostic = "Temporary system error";
+ }
}
context.bytargetCounter++;
}
};
+
pzHttpRequest.prototype =
{
safeGet: function ( params, callback )
this.request.responseXML == null) {
if (this.request.responseText != null) {
//assume JSON
- var json = eval("(" + this.request.responseText + ")");
- this.callback(json, "json");
+
+ var json = null;
+ var text = this.request.responseText;
+ if (typeof window.JSON == "undefined")
+ json = eval("(" + text + ")");
+ else {
+ try {
+ json = JSON.parse(text);
+ }
+ catch (e) {
+ // Safari: eval will fail as well. Considering trying JSON2 (non-native implementation) instead
+ /* DEBUG only works in mk2-mobile
+ if (document.getElementById("log"))
+ document.getElementById("log").innerHTML = "" + e + " " + length + ": " + text;
+ */
+ try {
+ json = eval("(" + text + ")");
+ }
+ catch (e) {
+ /* DEBUG only works in mk2-mobile
+ if (document.getElementById("log"))
+ document.getElementById("log").innerHTML = "" + e + " " + length + ": " + text;
+ */
+ }
+ }
+ }
+ this.callback(json, "json");
} else {
var err = new Error("XML response is empty but no error " +
"for " + savedUrlForErrorReporting);
-Subproject commit a68af871a42a363953e3ff78feff378787ad6ddd
+Subproject commit f7d7eb4b44b7fdad1942e32856d6afc2e6dcabda
--- /dev/null
+Summary: Metasearcher
+Name: pazpar2
+Version: 1.5.3
+Release: 1
+License: GPL
+Group: Applications/Internet
+Vendor: Index Data ApS <info@indexdata.dk>
+Source: pazpar2-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
+BuildRequires: libyaz4-devel
+Packager: Adam Dickmeiss <adam@indexdata.dk>
+URL: http://www.indexdata.com/pazpar2
+
+%description
+Pazpar2 is a high-performance, user interface-independent, data
+model-independent metasearching middleware featuring merging, relevance
+ranking, record sorting, and faceted results.
+
+Summary: pazpar2 daemon
+Requires: libyaz4
+
+%package -n pazpar2-js
+Summary: pazpar2 JS
+Group: Data
+Requires: pazpar2
+
+%post
+if [ $1 = 1 ]; then
+ /sbin/chkconfig --add pazpar2
+ /sbin/service pazpar2 start > /dev/null 2>&1
+else
+ /sbin/service pazpar2 restart > /dev/null 2>&1
+fi
+%preun
+if [ $1 = 0 ]; then
+ /sbin/service pazpar2 stop > /dev/null 2>&1
+ /sbin/chkconfig --del pazpar2
+fi
+
+%description -n pazpar2-js
+This package includes the Java Script library pz2.js. It also adds an
+Alias for Apache2 so that this library and other demo portals are
+available.
+
+%posttrans -n pazpar2-js
+if [ -d /etc/httpd/conf.d ]; then
+ ln -sf /etc/pazpar2/ap2pazpar2-js.cfg /etc/httpd/conf.d/pazpar2-js.conf
+fi
+%preun -n pazpar2-js
+if [ $1 = 0 ]; then
+ if [ -L /etc/httpd/conf.d/pazpar2-js.conf ]; then
+ rm /etc/httpd/conf.d/pazpar2-js.conf
+ fi
+fi
+%package -n pazpar2-doc
+Summary: pazpar2 documentation
+Group: Data
+
+%description -n pazpar2-doc
+This package includes documentation for Pazpar2 - the metasearcher.
+
+%prep
+%setup
+
+%build
+
+CFLAGS="$RPM_OPT_FLAGS" \
+ ./configure --prefix=%{_prefix} --libdir=%{_libdir} --mandir=%{_mandir} \
+ --with-yaz=/usr/bin
+make CFLAGS="$RPM_OPT_FLAGS"
+
+%install
+rm -fr ${RPM_BUILD_ROOT}
+make prefix=${RPM_BUILD_ROOT}/%{_prefix} mandir=${RPM_BUILD_ROOT}/%{_mandir} \
+ libdir=${RPM_BUILD_ROOT}/%{_libdir} install
+mkdir -p ${RPM_BUILD_ROOT}/etc/pazpar2
+mkdir -p ${RPM_BUILD_ROOT}/etc/pazpar2/settings
+mkdir -p ${RPM_BUILD_ROOT}/etc/pazpar2/services-enabled
+mkdir -p ${RPM_BUILD_ROOT}/etc/pazpar2/services-available
+cp etc/server.xml ${RPM_BUILD_ROOT}/etc/pazpar2/
+cp etc/default.xml ${RPM_BUILD_ROOT}/etc/pazpar2/services-available/
+cp etc/services/*.xml ${RPM_BUILD_ROOT}/etc/pazpar2/services-available/
+cp etc/settings/*.xml ${RPM_BUILD_ROOT}/etc/pazpar2/settings/
+cp etc/*.xsl ${RPM_BUILD_ROOT}/etc/pazpar2/
+mkdir -p ${RPM_BUILD_ROOT}/etc/rc.d/init.d
+install -m755 src/pazpar2.rpm.init ${RPM_BUILD_ROOT}/etc/rc.d/init.d/pazpar2
+echo "Alias /pazpar2 /usr/share/pazpar2" >${RPM_BUILD_ROOT}/etc/pazpar2/ap2pazpar2-js.cfg
+mkdir -p ${RPM_BUILD_ROOT}/etc/logrotate.d
+install -m644 src/pazpar2.rpm.logrotate ${RPM_BUILD_ROOT}/etc/logrotate.d/pazpar2
+
+%clean
+rm -fr ${RPM_BUILD_ROOT}
+
+%files
+%defattr(-,root,root)
+%doc README LICENSE NEWS
+%{_sbindir}/pazpar2
+%dir %{_sysconfdir}/pazpar2
+%dir %{_sysconfdir}/pazpar2/settings
+%dir %{_sysconfdir}/pazpar2/services-enabled
+%dir %{_sysconfdir}/pazpar2/services-available
+%config %{_sysconfdir}/pazpar2/*.xml
+%config %{_sysconfdir}/pazpar2/*.xsl
+%config %{_sysconfdir}/pazpar2/settings/*.xml
+%config %{_sysconfdir}/pazpar2/services-available/*.xml
+%config %{_sysconfdir}/rc.d/init.d/pazpar2
+%config(noreplace) /etc/logrotate.d/pazpar2
+%{_mandir}/man5/pazpar2*
+%{_mandir}/man7/pazpar2*
+%{_mandir}/man8/pazpar2*
+
+%files -n pazpar2-js
+%defattr(-,root,root)
+%{_datadir}/pazpar2/js/pz2.js
+%config %{_sysconfdir}/pazpar2/ap2pazpar2-js.cfg
+
+%files -n pazpar2-doc
+%defattr(-,root,root)
+%{_defaultdocdir}/pazpar2
*.log
*.xml
+*.time
+run*
if test -z "$PORT"; then
PORT=9004
fi
-
-
+SERVICE=$3
+if test -z "$SERVICE"; then
+ SERVICE=perf
+fi
+SETTINGS=$4
+WHAT=water
H="http://localhost:${PORT}/search.pz2"
-wget -q -O $OF.init.xml "$H/?command=init&service=perf&extra=$OF"
+wget -q -O $OF.init.xml "$H/?command=init&service=${SERVICE}&extra=$OF"
S=`xsltproc get_session.xsl $OF.init.xml`
-wget -q -O $OF.search.xml "$H?command=search&query=100&session=$S"
+if [ "$SETTINGS" != "" ] ; then
+ wget -q -O $OF.settings.xml "$H?command=settings&session=$S&$SETTINGS"
+fi
+wget -q -O $OF.search.xml "$H?command=search&query=$WHAT&session=$S"
sleep 1
-wget -q -O $OF.show.xml "$H?command=show&session=$S&num=100&block=1"
+wget -q -O $OF.show.xml "$H?command=show&session=$S&sort=relevance&start=0&num=100&block=1"
--- /dev/null
+#!/bin/bash
+OF=$1
+if test -z "$OF"; then
+ OF=1
+fi
+
+PORT=$2
+if test -z "$PORT"; then
+ PORT=9004
+fi
+SERVICE=$3
+if test -z "$SERVICE"; then
+ SERVICE=perf
+fi
+SETTINGS=$4
+WHAT=water
+H="http://localhost:${PORT}/search.pz2"
+wget -q -O $OF.init.xml "$H/?command=init&service=${SERVICE}&extra=$OF"
+S=`xsltproc get_session.xsl $OF.init.xml`
+if [ "$SETTINGS" != "" ] ; then
+ wget -q -O $OF.settings.xml "$H?command=settings&session=$S&$SETTINGS"
+fi
+wget -q -O $OF.search.xml "$H?command=search&query=$WHAT&session=$S"
+sleep 1
+#wget -q -O $OF.show.xml "$H?command=termlist&session=$S&sort=relevance&start=0&num=100&block=1"
+wget -q -O $OF.termlist.xml "$H?command=termlist&name=xtargets%2Csubject%2Cauthor&session=$S"
PORT=9004
fi
+SERVICE=$3
+if test -z "$SERVICE"; then
+ SERVICE=perf_t
+fi
+
+RECORDS=40
QUERY=100
-SERVICE=perf_t
+NUM=20
+H="http://127.0.0.1:${PORT}/search.pz2"
-H="http://localhost:${PORT}/search.pz2"
+declare -i MAX_WAIT=2
+/usr/bin/time --format "$OF, init, %e" wget -q -O ${TMP_DIR}$OF.init.xml "$H/?command=init&service=${SERVICE}&extra=$OF" 2> ${TMP_DIR}$OF.init.time
+S=`xsltproc get_session.xsl ${TMP_DIR}$OF.init.xml`
+/usr/bin/time --format "$OF, search, %e" wget -q -O ${TMP_DIR}$OF.search.xml "$H?command=search&query=${QUERY}&session=$S" 2> ${TMP_DIR}$OF.search.time
-/usr/bin/time --format "$OF, init, %e" wget -q -O $OF.init.xml "$H/?command=init&service=${SERVICE}&extra=$OF" 2> $OF.init.time
-S=`xsltproc get_session.xsl $OF.init.xml`
-/usr/bin/time --format "$OF, search, %e" wget -q -O $OF.search.xml "$H?command=search&query=${QUERY}&session=$S" 2> $OF.search.time
-sleep 1
-# First show
-/usr/bin/time --format "$OF, show, %e" wget -q -O $OF.show.xml "$H?command=show&session=$S" 2> $OF.show.time
-AC=`xsltproc get_activeclients.xsl ${OF}.show.xml`
-echo "Active clients: $AC "
-if [ "${AC}" != "0" ] ; then
- echo "Active clients: ${AC}"
- /usr/bin/time --format "$OF, show2, %e" wget -q -O $OF.show.xml "$H?command=show&session=$S" 2>> $OF.show.time
- AC=`xsltproc get_session.xsl $OF.show.xml`
-fi
+let r=0
+DO_DISPLAY=true
+while [ ${DO_DISPLAY} ] ; do
+ SLEEP=$[ ($RANDOM % $MAX_WAIT ) ]
+ echo "show in $SLEEP"
+ sleep $SLEEP
+ /usr/bin/time --format "$OF, show2, %e" wget -q -O ${TMP_DIR}$OF.show.$r.xml "$H?command=show&session=$S&start=$r&num=${NUM}&block=1" 2>> ${TMP_DIR}$OF.show.time
+ AC=`xsltproc get_activeclients.xsl ${TMP_DIR}${OF}.show.$r.xml`
+ if [ "$AC" != "0" ] ; then
+ echo "Active clients: ${AC}"
+# else
+# DO_DISPLAY=false
+# break
+ fi
+ let r=$r+$NUM
+ if [ $r -ge $RECORDS ] ; then
+ DO_DISPLAY=false
+ break;
+ fi
+done
+/usr/bin/time --format "$OF, termlist, %e" wget -q -O ${TMP_DIR}$OF.termlist.$r.xml "$H?command=termlist&session=$S&name=xtargets%2Csubject%2Cauthor" 2>> ${TMP_DIR}$OF.termlist.time
--- /dev/null
+#!/bin/bash
+PORT=$1
+if test -z "$PORT"; then
+ PORT=9004
+fi
+
+
+H="http://localhost:${PORT}/search.pz2"
+wget -q -O $OF.show.xml "$H?command=exit"
--- /dev/null
+while true ; do sh range.sh 1 25 9005 perf_t ; done
--- /dev/null
+
+if [ "$1" != "" ] ; then
+ echo "set terminal $1" > range.gnuplot
+ echo "set terminal $1" > init.gnuplot
+ echo "set terminal $1" > search.gnuplot
+ echo "set terminal $1" > show.gnuplot
+else
+ echo "" > range.gnuplot
+ echo "" > init.gnuplot
+ echo "" > search.gnuplot
+ echo "" > show.gnuplot
+fi
+
+echo "plot 'range.stat' using 1:2 title 'init', 'range.stat'using 1:3 title 'search', 'range.stat'using 1:4 title 'show'" >> range.gnuplot
+echo "plot 'init.stat' using 1:2 title 'init'" >> init.gnuplot
+echo "plot 'search.stat' using 1:2 title 'Search'" >> search.gnuplot
+echo "plot 'search.stat' using 1:2 title 'Show'" >> show.gnuplot
+
+if [ "$1" != "" ] ; then
+ gnuplot < range.gnuplot > range.$1
+ gnuplot < init.gnuplot > init.$1
+ gnuplot < search.gnuplot > search.$1
+ gnuplot < show.gnuplot > show.$1
+else
+ gnuplot < range.gnuplot
+ gnuplot < init.gnuplot
+ gnuplot < search.gnuplot
+ gnuplot < show.gnuplot
+fi
+
+cat range.gnuplot init.gnuplot search.gnuplot show.gnuplot > all.gnuplot
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<xsl:stylesheet version="1.0"
+ xmlns:marc="http://www.loc.gov/MARC21/slim"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ >
+ <xsl:output method="text"/>
+ <xsl:strip-space elements="*"/>
+
+ <xsl:template match="activeclients">
+ <xsl:value-of select="."/>
+ </xsl:template>
+ <xsl:template match="text()"/>
+</xsl:stylesheet>
--- /dev/null
+DELAY=0.0001
+WAIT=5
+NUMBER=10
+ROUNDS=2
+PORT=9005
+#SERVICE=perf_t
+SHUTDOWN=0
+SETTINGS="use_url_proxy%5Bcatalog.library.cornell.edu%3A7090%2Fvoyager%5D=0\
+&pz%3Acclmap%3Asu%5Bcatalog.library.cornell.edu%3A7090%2Fvoyager%5D=1%3D21+s%3Dal\
+&secondary_request_syntax%5Bcatalog.library.cornell.edu%3A7090%2Fvoyager%5D=OPAC\
+&pz%3Arequestsyntax%5Bcatalog.library.cornell.edu%3A7090%2Fvoyager%5D=OPAC\
+&pz%3Acclmap%3Adate%5Bcatalog.library.cornell.edu%3A7090%2Fvoyager%5D=1%3D30+r%3Dr\
+&pz%3Anativesyntax%5Bcatalog.library.cornell.edu%3A7090%2Fvoyager%5D=txml\
+&category%5Bcatalog.library.cornell.edu%3A7090%2Fvoyager%5D=JA%2Cid_subscription\
+&pz%3Aname%5Bcatalog.library.cornell.edu%3A7090%2Fvoyager%5D=Cornell+University+Library\
+&pz%3Aelements%5Bcatalog.library.cornell.edu%3A7090%2Fvoyager%5D=F\
+&pz%3Acclmap%3Ati%5Bcatalog.library.cornell.edu%3A7090%2Fvoyager%5D=1%3D4+s%3Dal\
+&pz%3Acclmap%3Aau%5Bcatalog.library.cornell.edu%3A7090%2Fvoyager%5D=1%3D1004+s%3Dal\
+&pz%3Axslt%5Bcatalog.library.cornell.edu%3A7090%2Fvoyager%5D=opac_turbomarc.xsl\
+&pz%3Acclmap%3Aterm%5Bcatalog.library.cornell.edu%3A7090%2Fvoyager%5D=1%3D1016+t%3Dl%2Cr+s%3Dal\
+&pz%3Acclmap%3Aisbn%5Bcatalog.library.cornell.edu%3A7090%2Fvoyager%5D=1%3D7\
+&pz%3Aqueryencoding%5Bcatalog.library.cornell.edu%3A7090%2Fvoyager%5D=UTF-8\
+&url_recipe%5Bcatalog.library.cornell.edu%3A7090%2Fvoyager%5D=http%3A%2F%2Fcatalog.library.cornell.edu%2Fcgi-bin%2FPwebrecon.cgi%3FDB%3Dlocal%26v1%3D1%26BBRecID%3D%24%7Bmd-id%7D"
\ No newline at end of file
--- /dev/null
+DELAY=0.0001
+WAIT=5
+NUMBER=10
+ROUNDS=100
+PORT=9005
+SERVICE=long
+SHUTDOWN=0
+SETTINGS="use_url_proxy%5Bcatalog.library.cornell.edu%3A7090%2Fvoyager%5D=0\
+&pz%3Acclmap%3Asu%5Bcatalog.library.cornell.edu%3A7090%2Fvoyager%5D=1%3D21+s%3Dal\
+&secondary_request_syntax%5Bcatalog.library.cornell.edu%3A7090%2Fvoyager%5D=OPAC\
+&pz%3Arequestsyntax%5Bcatalog.library.cornell.edu%3A7090%2Fvoyager%5D=OPAC\
+&pz%3Acclmap%3Adate%5Bcatalog.library.cornell.edu%3A7090%2Fvoyager%5D=1%3D30+r%3Dr\
+&pz%3Anativesyntax%5Bcatalog.library.cornell.edu%3A7090%2Fvoyager%5D=txml\
+&category%5Bcatalog.library.cornell.edu%3A7090%2Fvoyager%5D=JA%2Cid_subscription\
+&pz%3Aname%5Bcatalog.library.cornell.edu%3A7090%2Fvoyager%5D=Cornell+University+Library\
+&pz%3Aelements%5Bcatalog.library.cornell.edu%3A7090%2Fvoyager%5D=F\
+&pz%3Acclmap%3Ati%5Bcatalog.library.cornell.edu%3A7090%2Fvoyager%5D=1%3D4+s%3Dal\
+&pz%3Acclmap%3Aau%5Bcatalog.library.cornell.edu%3A7090%2Fvoyager%5D=1%3D1004+s%3Dal\
+&pz%3Axslt%5Bcatalog.library.cornell.edu%3A7090%2Fvoyager%5D=opac_turbomarc.xsl\
+&pz%3Acclmap%3Aterm%5Bcatalog.library.cornell.edu%3A7090%2Fvoyager%5D=1%3D1016+t%3Dl%2Cr+s%3Dal\
+&pz%3Acclmap%3Aisbn%5Bcatalog.library.cornell.edu%3A7090%2Fvoyager%5D=1%3D7\
+&pz%3Aqueryencoding%5Bcatalog.library.cornell.edu%3A7090%2Fvoyager%5D=UTF-8\
+&url_recipe%5Bcatalog.library.cornell.edu%3A7090%2Fvoyager%5D=http%3A%2F%2Fcatalog.library.cornell.edu%2Fcgi-bin%2FPwebrecon.cgi%3FDB%3Dlocal%26v1%3D1%26BBRecID%3D%24%7Bmd-id%7D"
\ No newline at end of file
#!/bin/bash
DELAY=0.001
WAIT=5
-NUMBER=40
+NUMBER=5
ROUNDS=5
+PORT=9004
+SERVICE=perf_t
+SHUTDOWN=1
+HOST=127.0.0.1
if test -n "$1"; then
. $1
fi
let r=0
+if [ "$SETTINGS" != "" ] ; then
+ SETTINGS_OPT="--settings=\"$SETTINGS\" "
+ echo $SETTINGS_OPT
+else
+ unset SETTINGS_OPT
+fi
+
while test $r -lt $ROUNDS; do
echo "$r"
let i=0
while test $i -lt $NUMBER; do
- ./client.sh $r.$i >$r.$i.log 2>&1 &
- sleep $DELAY
- let i=$i+1
+ ./pp2client.sh --outfile=$r.$i --prefix=http://$HOST:${PORT}/search.pz2 --service=$SERVICE $SETTINGS_OPT >$r.$i.log 2>&1 &
+ sleep $DELAY
+ let i=$i+1
done
sleep $WAIT
let r=$r+1
done
wait
-wget -O x 'http://localhost:9004/?command=exit'
+if [ "$SHUTDOWN" == "1" ] ; then
+ wget -O x "http://localhost:${PORT}/search.pz2?command=exit"
+fi
NUMBER=20
fi
-DELAY=0.001
-WAIT=1
-#NUMBER=100
-ROUNDS=2
+MAX_DELAY=1
+CLIENT_WAIT=2
+ROUNDS=10
let r=0
-PORT=9005
+PORT=$2
+SERVICE=$3
CLIENT_SCRIPT="client_timed.sh"
+rm -f *.time
+export TMP_DIR=run_`date +"%Y%m%d_%H%M%S"`/
+mkdir ${TMP_DIR}
+rm -f latest
+ln -s ${TMP_DIR} latest
while test $r -lt $ROUNDS; do
- echo "$r"
- i=0
- while test $i -lt $NUMBER; do
- ./${CLIENT_SCRIPT} $r.$i $PORT >$r.$i.log 2>&1 &
- CLIENTS=`ps -ef |grep -c ${CLIENT_SCRIPT}`
- while test $CLIENTS -ge $NUMBER ; do
- sleep $WAIT
- CLIENTS=`ps -ef |grep -c ${CLIENT_SCRIPT}`
- echo "Active $CLIENTS"
- done
- let i=$i+1
+ echo "$r"
+ i=0
+ while test $i -lt $NUMBER; do
+ ./${CLIENT_SCRIPT} $r.$i $PORT $SERVICE >$r.$i.log 2>&1 &
+ SLEEP=$[ ( $RANDOM % $MAX_DELAY ) ]
+ sleep $SLEEP
+ CLIENTS=`ps -ef |grep ${CLIENT_SCRIPT} | grep -cv grep`
+ while test $CLIENTS -ge $NUMBER ; do
+ sleep $CLIENT_WAIT
+ CLIENTS=`ps -ef |grep ${CLIENT_SCRIPT} |grep -cv grep `
+ echo "Active $CLIENTS"
done
- let r=$r+1
+ let i=$i+1
+ done
+ let r=$r+1
done
wait
-cat *.time > timed.$NUMBER.log
+cat ${TMP_DIR}*.time >> ${TMP_DIR}timed.$SERVICE.$NUMBER.log
#wget --tries=1 -O x "http://localhost:${PORT}/?command=exit"
-sleep 5
\ No newline at end of file
+
--- /dev/null
+
+if [ "$2" == "" ] ; then
+ echo "Missing range"
+ exit 1
+fi
+
+LOOP=$3
+if [ "$3" == "" ] ; then
+ LOOP=1
+fi
+
+for e in `seq $LOOP` ; do
+ for d in `seq $1 $2` ; do
+ sh ./par_fixed_clients.sh $d 9005 perf_t ; sleep 120 ;
+ done
+done
--- /dev/null
+while true; do
+ sh par.sh par.config.dennis
+done
\ No newline at end of file
--- /dev/null
+while true ; do sh par_fixed_clients.sh 20 9005 perf_t ; done
--- /dev/null
+echo set terminal pdf
+echo set output \"combined_init.pdf\"
+echo "plot '../run_20100511_150215/range.stat' using 1:2 title 'init(marcxml)', '../run_20100511_152140/range.stat' using 1:2 title 'init(turbomarc)' "
+echo set output \"combined_search.pdf\"
+echo "plot '../run_20100511_150215/range.stat' using 1:3 title 'search(marcxml)', '../run_20100511_152140/range.stat' using 1:3 title 'search(turbomarc)' "
+echo set output \"combined_show.pdf\"
+echo "plot '../run_20100511_150215/range.stat' using 1:4 title 'show(marcxml)', '../run_20100511_152140/range.stat' using 1:4 title 'show(turbomarc)' "
--- /dev/null
+#!/bin/sh
+
+usage()
+{
+ cat <<EOF
+Usage: pp2client.sh [OPTIONS]
+Options: Default values
+ [--prefix=URLPREFIX] http://localhost:9004/search.pz2
+ [--query=QUERY] water
+ [--service=SERVICE]
+ [--settings=SETTINGS]
+ [--outfile=OUTFILE] 1
+EOF
+ exit 1
+}
+H=http://localhost:9004/search.pz2
+SERVICE=""
+SETTINGS=""
+QUERY=water
+OF=1
+while test $# -gt 0; do
+ case "$1" in
+ -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
+ *) optarg= ;;
+ esac
+ case $1 in
+ --prefix=*)
+ H=$optarg
+ ;;
+ --query=*)
+ QUERY=$optarg
+ ;;
+ --service=*)
+ SERVICE="&service=$optarg"
+ ;;
+ --settings=*)
+ SETTINGS="$optarg"
+ ;;
+ --outfile=*)
+ OF=$optarg
+ ;;
+ -*)
+ usage
+ ;;
+ esac
+ shift
+done
+wget -q -O $OF.init.xml "$H/?command=init${SERVICE}"
+R="$?"
+if [ "$R" != 0 ]; then
+ if [ "$R" = "4" ]; then
+ echo "wget returned network error. Maybe Pazpar2 is not running at"
+ echo "$H"
+ exit 4
+ fi
+ echo "wget failed. Exit code $R"
+ exit 1
+fi
+S=`xsltproc get_session.xsl $OF.init.xml`
+if [ -n "$SETTINGS" ] ; then
+ wget -q -O $OF.settings.xml "$H?command=settings&session=$S&${SETTINGS}"
+fi
+wget -q -O $OF.search.xml "$H?command=search&query=$QUERY&session=$S"
+sleep 1
+wget -q -O $OF.show.xml "$H?command=show&session=$S&sort=relevance&start=0&num=100&block=1"
+exit 0
+
+# Local Variables:
+# mode:shell-script
+# sh-indentation: 2
+# sh-basic-offset: 4
+# End:
--- /dev/null
+
+r=$1
+MAX=$2
+PORT=$3
+SERVICE=$4
+RANGE=range
+rm -f init.stat search.stat show.stat $RANGE.stat
+while test $r -le $MAX ; do
+ sh par_fixed_clients.sh $r $PORT $SERVICE
+ sh stat_file.sh $r $SERVICE >> $RANGE.stat
+ let r=$r+1
+done
+
+DIR=run_`date +"%Y%m%d_%H%M%S"`
+mkdir $DIR
+mv *.stat *.log *.time $DIR
+
+#mv init.stat $PID.init.stat
+#mv search.stat $PID.search.stat
+#mv show.stat $PID.show.stat
+#mv $RANGE.stat $PID.show.stat
--- /dev/null
+
+if [ "$2" != "" ] ; then
+ echo "set terminal $2"
+fi
+
+if [ "$1" != "" ] ; then
+ RANGE=$1
+else
+ RANGE=range
+fi
+
+echo "plot '$RANGE.stat' using 1:2 title 'init', '$RANGE.stat'using 1:3 title 'search', '$RANGE.stat'using 1:4 title 'show' "
--- /dev/null
+set terminal png
+plot 'show.stat' using 1:2 title 'Show'
+
-FILE=timed.$1.log
-TEMP=${FILE/timed./}
-USERS=${TEMP/.log/}
-#echo $USERS $FILE
stat_word () {
WORD=$1
echo "$AVG"
}
-INIT=`stat_word "init" `
-SEARCH=`stat_word "search"`
-SHOW=`stat_word "show"`
-echo "$USERS $INIT $SEARCH $SHOW"
+SERVICE=perf_t
+if [ "$2" != "" ] ; then
+ SERVICE=$2
+fi
+FILE=timed.$SERVICE.$1.log
+USERS=$1
+if [ -f $FILE ] ; then
+ INIT=`stat_word "init" `
+ grep init $FILE | sed -e "s/^.*,/$USERS /" >> init.stat
+ SEARCH=`stat_word "search"`
+ grep search $FILE | sed -e "s/^.*,/$USERS /" >> search.stat
+ SHOW=`stat_word "show"`
+ grep show $FILE | sed -e "s/^.*,/$USERS /" >> show.stat
+
+ echo "$1 $INIT $SEARCH $SHOW"
+else
+ echo "# no such file $FILE"
+fi
+
--- /dev/null
+index.log
+part*.dat.gz.*
+data
\ No newline at end of file
--- /dev/null
+#!/bin/bash
+LOG=index.log
+MARCDUMP="yaz-marcdump"
+
+if [ "$SOLR_URL" == "" ] ; then
+ DEF_HOST=-Durl="http://localhost:8983/solr/update"
+else
+ DEF_HOST=-Durl="$SOLR_URL"
+fi
+
+if [ -d "./data" ] ; then
+ LOCDATA="./data"
+else
+ LOCDATA=/extra/heikki/locdata
+fi
+
+if [ ! -d "$LOCDATA" ] ; then
+ echo "$LOCDATA not a directory"
+ exit 1
+fi
+
+if [ "$1" == "" ] ; then
+ FILES="$LOCDATA/part*"
+else
+ FILES="$*"
+fi
+#echo $FILES
+
+rm -f $LOG
+
+function convert()
+{
+ FILE=$2
+ echo "zcat $1 > $FILE.mrc"
+ zcat $1 > $FILE.mrc
+ $MARCDUMP -f marc8 -t utf-8 -o turbomarc $FILE.mrc > $FILE.xml
+ xsltproc ../test/tmarc.xsl $FILE.xml > $FILE.pz
+ xsltproc ../etc/pz2-solr.xsl $FILE.pz > $FILE.solr
+ ls -l $FILE.* >> $LOG
+}
+
+if [ "$TWO_PASS" == "1" ] ; then
+ for d in ${FILES} ; do
+ date "+%c converting $d" >>$LOG
+ FILE=`basename $1`
+ convert $d $FILE
+ done
+fi
+
+for d in ${FILES} ; do
+ date "+%c converting $d" >>$LOG
+ BASE=`basename $d`
+ FILE=$BASE.solr
+ if [ ! -f "$FILE" ] ; then
+ convert $d $BASE
+ fi
+ date "+%c indexing $d" >>$LOG
+ java $DEF_HOST -jar post.jar $FILE
+ date "+%c indexing $d ended" >>$LOG
+ #rm tmp.*
+done
+date "+%c All done" >>$LOG
+exit 0
--- /dev/null
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<!--
+ This is the Solr schema file. This file should be named "schema.xml" and
+ should be in the conf directory under the solr home
+ (i.e. ./solr/conf/schema.xml by default)
+ or located where the classloader for the Solr webapp can find it.
+
+ This example schema is the recommended starting point for users.
+ It should be kept correct and concise, usable out-of-the-box.
+
+ For more information, on how to customize this file, please see
+ http://wiki.apache.org/solr/SchemaXml
+
+ PERFORMANCE NOTE: this schema includes many optional features and should not
+ be used for benchmarking. To improve performance one could
+ - set stored="false" for all fields possible (esp large fields) when you
+ only need to search on the field but don't need to return the original
+ value.
+ - set indexed="false" if you don't need to search on the field, but only
+ return the field as a result of searching on other indexed fields.
+ - remove all unneeded copyField statements
+ - for best index size and searching performance, set "index" to false
+ for all general text fields, use copyField to copy them to the
+ catchall "text" field, and use that for searching.
+ - For maximum indexing performance, use the StreamingUpdateSolrServer
+ java client.
+ - Remember to run the JVM in server mode, and use a higher logging level
+ that avoids logging every request
+-->
+
+<schema name="example" version="1.2">
+ <!-- attribute "name" is the name of this schema and is only used for display purposes.
+ Applications should change this to reflect the nature of the search collection.
+ version="1.2" is Solr's version number for the schema syntax and semantics. It should
+ not normally be changed by applications.
+ 1.0: multiValued attribute did not exist, all fields are multiValued by nature
+ 1.1: multiValued attribute introduced, false by default
+ 1.2: omitTermFreqAndPositions attribute introduced, true by default except for text fields.
+ -->
+
+ <types>
+ <!-- field type definitions. The "name" attribute is
+ just a label to be used by field definitions. The "class"
+ attribute and any other attributes determine the real
+ behavior of the fieldType.
+ Class names starting with "solr" refer to java classes in the
+ org.apache.solr.analysis package.
+ -->
+
+ <!-- The StrField type is not analyzed, but indexed/stored verbatim.
+ - StrField and TextField support an optional compressThreshold which
+ limits compression (if enabled in the derived fields) to values which
+ exceed a certain size (in characters).
+ -->
+ <fieldType name="string" class="solr.StrField" sortMissingLast="true" omitNorms="true"/>
+
+ <!-- boolean type: "true" or "false" -->
+ <fieldType name="boolean" class="solr.BoolField" sortMissingLast="true" omitNorms="true"/>
+ <!--Binary data type. The data should be sent/retrieved in as Base64 encoded Strings -->
+ <fieldtype name="binary" class="solr.BinaryField"/>
+
+ <!-- The optional sortMissingLast and sortMissingFirst attributes are
+ currently supported on types that are sorted internally as strings.
+ This includes "string","boolean","sint","slong","sfloat","sdouble","pdate"
+ - If sortMissingLast="true", then a sort on this field will cause documents
+ without the field to come after documents with the field,
+ regardless of the requested sort order (asc or desc).
+ - If sortMissingFirst="true", then a sort on this field will cause documents
+ without the field to come before documents with the field,
+ regardless of the requested sort order.
+ - If sortMissingLast="false" and sortMissingFirst="false" (the default),
+ then default lucene sorting will be used which places docs without the
+ field first in an ascending sort and last in a descending sort.
+ -->
+
+ <!--
+ Default numeric field types. For faster range queries, consider the tint/tfloat/tlong/tdouble types.
+ -->
+ <fieldType name="int" class="solr.TrieIntField" precisionStep="0" omitNorms="true" positionIncrementGap="0"/>
+ <fieldType name="float" class="solr.TrieFloatField" precisionStep="0" omitNorms="true" positionIncrementGap="0"/>
+ <fieldType name="long" class="solr.TrieLongField" precisionStep="0" omitNorms="true" positionIncrementGap="0"/>
+ <fieldType name="double" class="solr.TrieDoubleField" precisionStep="0" omitNorms="true" positionIncrementGap="0"/>
+
+ <!--
+ Numeric field types that index each value at various levels of precision
+ to accelerate range queries when the number of values between the range
+ endpoints is large. See the javadoc for NumericRangeQuery for internal
+ implementation details.
+
+ Smaller precisionStep values (specified in bits) will lead to more tokens
+ indexed per value, slightly larger index size, and faster range queries.
+ A precisionStep of 0 disables indexing at different precision levels.
+ -->
+ <fieldType name="tint" class="solr.TrieIntField" precisionStep="8" omitNorms="true" positionIncrementGap="0"/>
+ <fieldType name="tfloat" class="solr.TrieFloatField" precisionStep="8" omitNorms="true" positionIncrementGap="0"/>
+ <fieldType name="tlong" class="solr.TrieLongField" precisionStep="8" omitNorms="true" positionIncrementGap="0"/>
+ <fieldType name="tdouble" class="solr.TrieDoubleField" precisionStep="8" omitNorms="true" positionIncrementGap="0"/>
+
+ <!-- The format for this date field is of the form 1995-12-31T23:59:59Z, and
+ is a more restricted form of the canonical representation of dateTime
+ http://www.w3.org/TR/xmlschema-2/#dateTime
+ The trailing "Z" designates UTC time and is mandatory.
+ Optional fractional seconds are allowed: 1995-12-31T23:59:59.999Z
+ All other components are mandatory.
+
+ Expressions can also be used to denote calculations that should be
+ performed relative to "NOW" to determine the value, ie...
+
+ NOW/HOUR
+ ... Round to the start of the current hour
+ NOW-1DAY
+ ... Exactly 1 day prior to now
+ NOW/DAY+6MONTHS+3DAYS
+ ... 6 months and 3 days in the future from the start of
+ the current day
+
+ Consult the DateField javadocs for more information.
+
+ Note: For faster range queries, consider the tdate type
+ -->
+ <fieldType name="date" class="solr.TrieDateField" omitNorms="true" precisionStep="0" positionIncrementGap="0"/>
+
+ <!-- A Trie based date field for faster date range queries and date faceting. -->
+ <fieldType name="tdate" class="solr.TrieDateField" omitNorms="true" precisionStep="6" positionIncrementGap="0"/>
+
+
+ <!--
+ Note:
+ These should only be used for compatibility with existing indexes (created with older Solr versions)
+ or if "sortMissingFirst" or "sortMissingLast" functionality is needed. Use Trie based fields instead.
+
+ Plain numeric field types that store and index the text
+ value verbatim (and hence don't support range queries, since the
+ lexicographic ordering isn't equal to the numeric ordering)
+ -->
+ <fieldType name="pint" class="solr.IntField" omitNorms="true"/>
+ <fieldType name="plong" class="solr.LongField" omitNorms="true"/>
+ <fieldType name="pfloat" class="solr.FloatField" omitNorms="true"/>
+ <fieldType name="pdouble" class="solr.DoubleField" omitNorms="true"/>
+ <fieldType name="pdate" class="solr.DateField" sortMissingLast="true" omitNorms="true"/>
+
+
+ <!--
+ Note:
+ These should only be used for compatibility with existing indexes (created with older Solr versions)
+ or if "sortMissingFirst" or "sortMissingLast" functionality is needed. Use Trie based fields instead.
+
+ Numeric field types that manipulate the value into
+ a string value that isn't human-readable in its internal form,
+ but with a lexicographic ordering the same as the numeric ordering,
+ so that range queries work correctly.
+ -->
+ <fieldType name="sint" class="solr.SortableIntField" sortMissingLast="true" omitNorms="true"/>
+ <fieldType name="slong" class="solr.SortableLongField" sortMissingLast="true" omitNorms="true"/>
+ <fieldType name="sfloat" class="solr.SortableFloatField" sortMissingLast="true" omitNorms="true"/>
+ <fieldType name="sdouble" class="solr.SortableDoubleField" sortMissingLast="true" omitNorms="true"/>
+
+
+ <!-- The "RandomSortField" is not used to store or search any
+ data. You can declare fields of this type it in your schema
+ to generate pseudo-random orderings of your docs for sorting
+ purposes. The ordering is generated based on the field name
+ and the version of the index, As long as the index version
+ remains unchanged, and the same field name is reused,
+ the ordering of the docs will be consistent.
+ If you want different psuedo-random orderings of documents,
+ for the same version of the index, use a dynamicField and
+ change the name
+ -->
+ <fieldType name="random" class="solr.RandomSortField" indexed="true" />
+
+ <!-- solr.TextField allows the specification of custom text analyzers
+ specified as a tokenizer and a list of token filters. Different
+ analyzers may be specified for indexing and querying.
+
+ The optional positionIncrementGap puts space between multiple fields of
+ this type on the same document, with the purpose of preventing false phrase
+ matching across fields.
+
+ For more info on customizing your analyzer chain, please see
+ http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters
+ -->
+
+ <!-- One can also specify an existing Analyzer class that has a
+ default constructor via the class attribute on the analyzer element
+ <fieldType name="text_greek" class="solr.TextField">
+ <analyzer class="org.apache.lucene.analysis.el.GreekAnalyzer"/>
+ </fieldType>
+ -->
+
+ <!-- A text field that only splits on whitespace for exact matching of words -->
+ <fieldType name="text_ws" class="solr.TextField" positionIncrementGap="100">
+ <analyzer>
+ <tokenizer class="solr.WhitespaceTokenizerFactory"/>
+ </analyzer>
+ </fieldType>
+
+ <!-- A text field that uses WordDelimiterFilter to enable splitting and matching of
+ words on case-change, alpha numeric boundaries, and non-alphanumeric chars,
+ so that a query of "wifi" or "wi fi" could match a document containing "Wi-Fi".
+ Synonyms and stopwords are customized by external files, and stemming is enabled.
+ -->
+ <fieldType name="text" class="solr.TextField" positionIncrementGap="100">
+ <analyzer type="index">
+ <tokenizer class="solr.WhitespaceTokenizerFactory"/>
+ <!-- in this example, we will only use synonyms at query time
+ <filter class="solr.SynonymFilterFactory" synonyms="index_synonyms.txt" ignoreCase="true" expand="false"/>
+ -->
+ <!-- Case insensitive stop word removal.
+ add enablePositionIncrements=true in both the index and query
+ analyzers to leave a 'gap' for more accurate phrase queries.
+ -->
+ <filter class="solr.StopFilterFactory"
+ ignoreCase="true"
+ words="stopwords.txt"
+ enablePositionIncrements="true"
+ />
+ <filter class="solr.WordDelimiterFilterFactory" generateWordParts="1" generateNumberParts="1" catenateWords="1" catenateNumbers="1" catenateAll="0" splitOnCaseChange="1"/>
+ <filter class="solr.LowerCaseFilterFactory"/>
+ <filter class="solr.SnowballPorterFilterFactory" language="English" protected="protwords.txt"/>
+ </analyzer>
+ <analyzer type="query">
+ <tokenizer class="solr.WhitespaceTokenizerFactory"/>
+ <filter class="solr.SynonymFilterFactory" synonyms="synonyms.txt" ignoreCase="true" expand="true"/>
+ <filter class="solr.StopFilterFactory"
+ ignoreCase="true"
+ words="stopwords.txt"
+ enablePositionIncrements="true"
+ />
+ <filter class="solr.WordDelimiterFilterFactory" generateWordParts="1" generateNumberParts="1" catenateWords="0" catenateNumbers="0" catenateAll="0" splitOnCaseChange="1"/>
+ <filter class="solr.LowerCaseFilterFactory"/>
+ <filter class="solr.SnowballPorterFilterFactory" language="English" protected="protwords.txt"/>
+ </analyzer>
+ </fieldType>
+
+
+ <!-- Less flexible matching, but less false matches. Probably not ideal for product names,
+ but may be good for SKUs. Can insert dashes in the wrong place and still match. -->
+ <fieldType name="textTight" class="solr.TextField" positionIncrementGap="100" >
+ <analyzer>
+ <tokenizer class="solr.WhitespaceTokenizerFactory"/>
+ <filter class="solr.SynonymFilterFactory" synonyms="synonyms.txt" ignoreCase="true" expand="false"/>
+ <filter class="solr.StopFilterFactory" ignoreCase="true" words="stopwords.txt"/>
+ <filter class="solr.WordDelimiterFilterFactory" generateWordParts="0" generateNumberParts="0" catenateWords="1" catenateNumbers="1" catenateAll="0"/>
+ <filter class="solr.LowerCaseFilterFactory"/>
+ <filter class="solr.SnowballPorterFilterFactory" language="English" protected="protwords.txt"/>
+ <!-- this filter can remove any duplicate tokens that appear at the same position - sometimes
+ possible with WordDelimiterFilter in conjuncton with stemming. -->
+ <filter class="solr.RemoveDuplicatesTokenFilterFactory"/>
+ </analyzer>
+ </fieldType>
+
+
+ <!-- A general unstemmed text field - good if one does not know the language of the field -->
+ <fieldType name="textgen" class="solr.TextField" positionIncrementGap="100">
+ <analyzer type="index">
+ <tokenizer class="solr.WhitespaceTokenizerFactory"/>
+ <filter class="solr.StopFilterFactory" ignoreCase="true" words="stopwords.txt" enablePositionIncrements="true" />
+ <filter class="solr.WordDelimiterFilterFactory" generateWordParts="1" generateNumberParts="1" catenateWords="1" catenateNumbers="1" catenateAll="0" splitOnCaseChange="0"/>
+ <filter class="solr.LowerCaseFilterFactory"/>
+ </analyzer>
+ <analyzer type="query">
+ <tokenizer class="solr.WhitespaceTokenizerFactory"/>
+ <filter class="solr.SynonymFilterFactory" synonyms="synonyms.txt" ignoreCase="true" expand="true"/>
+ <filter class="solr.StopFilterFactory"
+ ignoreCase="true"
+ words="stopwords.txt"
+ enablePositionIncrements="true"
+ />
+ <filter class="solr.WordDelimiterFilterFactory" generateWordParts="1" generateNumberParts="1" catenateWords="0" catenateNumbers="0" catenateAll="0" splitOnCaseChange="0"/>
+ <filter class="solr.LowerCaseFilterFactory"/>
+ </analyzer>
+ </fieldType>
+
+
+ <!-- A general unstemmed text field that indexes tokens normally and also
+ reversed (via ReversedWildcardFilterFactory), to enable more efficient
+ leading wildcard queries. -->
+ <fieldType name="text_rev" class="solr.TextField" positionIncrementGap="100">
+ <analyzer type="index">
+ <tokenizer class="solr.WhitespaceTokenizerFactory"/>
+ <filter class="solr.StopFilterFactory" ignoreCase="true" words="stopwords.txt" enablePositionIncrements="true" />
+ <filter class="solr.WordDelimiterFilterFactory" generateWordParts="1" generateNumberParts="1" catenateWords="1" catenateNumbers="1" catenateAll="0" splitOnCaseChange="0"/>
+ <filter class="solr.LowerCaseFilterFactory"/>
+ <filter class="solr.ReversedWildcardFilterFactory" withOriginal="true"
+ maxPosAsterisk="3" maxPosQuestion="2" maxFractionAsterisk="0.33"/>
+ </analyzer>
+ <analyzer type="query">
+ <tokenizer class="solr.WhitespaceTokenizerFactory"/>
+ <filter class="solr.SynonymFilterFactory" synonyms="synonyms.txt" ignoreCase="true" expand="true"/>
+ <filter class="solr.StopFilterFactory"
+ ignoreCase="true"
+ words="stopwords.txt"
+ enablePositionIncrements="true"
+ />
+ <filter class="solr.WordDelimiterFilterFactory" generateWordParts="1" generateNumberParts="1" catenateWords="0" catenateNumbers="0" catenateAll="0" splitOnCaseChange="0"/>
+ <filter class="solr.LowerCaseFilterFactory"/>
+ </analyzer>
+ </fieldType>
+
+ <!-- charFilter + WhitespaceTokenizer -->
+ <!--
+ <fieldType name="textCharNorm" class="solr.TextField" positionIncrementGap="100" >
+ <analyzer>
+ <charFilter class="solr.MappingCharFilterFactory" mapping="mapping-ISOLatin1Accent.txt"/>
+ <tokenizer class="solr.WhitespaceTokenizerFactory"/>
+ </analyzer>
+ </fieldType>
+ -->
+
+ <!-- This is an example of using the KeywordTokenizer along
+ With various TokenFilterFactories to produce a sortable field
+ that does not include some properties of the source text
+ -->
+ <fieldType name="alphaOnlySort" class="solr.TextField" sortMissingLast="true" omitNorms="true">
+ <analyzer>
+ <!-- KeywordTokenizer does no actual tokenizing, so the entire
+ input string is preserved as a single token
+ -->
+ <tokenizer class="solr.KeywordTokenizerFactory"/>
+ <!-- The LowerCase TokenFilter does what you expect, which can be
+ when you want your sorting to be case insensitive
+ -->
+ <filter class="solr.LowerCaseFilterFactory" />
+ <!-- The TrimFilter removes any leading or trailing whitespace -->
+ <filter class="solr.TrimFilterFactory" />
+ <!-- The PatternReplaceFilter gives you the flexibility to use
+ Java Regular expression to replace any sequence of characters
+ matching a pattern with an arbitrary replacement string,
+ which may include back references to portions of the original
+ string matched by the pattern.
+
+ See the Java Regular Expression documentation for more
+ information on pattern and replacement string syntax.
+
+ http://java.sun.com/j2se/1.5.0/docs/api/java/util/regex/package-summary.html
+ -->
+ <filter class="solr.PatternReplaceFilterFactory"
+ pattern="([^a-z])" replacement="" replace="all"
+ />
+ </analyzer>
+ </fieldType>
+
+ <fieldtype name="phonetic" stored="false" indexed="true" class="solr.TextField" >
+ <analyzer>
+ <tokenizer class="solr.StandardTokenizerFactory"/>
+ <filter class="solr.DoubleMetaphoneFilterFactory" inject="false"/>
+ </analyzer>
+ </fieldtype>
+
+ <fieldtype name="payloads" stored="false" indexed="true" class="solr.TextField" >
+ <analyzer>
+ <tokenizer class="solr.WhitespaceTokenizerFactory"/>
+ <!--
+ The DelimitedPayloadTokenFilter can put payloads on tokens... for example,
+ a token of "foo|1.4" would be indexed as "foo" with a payload of 1.4f
+ Attributes of the DelimitedPayloadTokenFilterFactory :
+ "delimiter" - a one character delimiter. Default is | (pipe)
+ "encoder" - how to encode the following value into a playload
+ float -> org.apache.lucene.analysis.payloads.FloatEncoder,
+ integer -> o.a.l.a.p.IntegerEncoder
+ identity -> o.a.l.a.p.IdentityEncoder
+ Fully Qualified class name implementing PayloadEncoder, Encoder must have a no arg constructor.
+ -->
+ <filter class="solr.DelimitedPayloadTokenFilterFactory" encoder="float"/>
+ </analyzer>
+ </fieldtype>
+
+ <!-- lowercases the entire field value, keeping it as a single token. -->
+ <fieldType name="lowercase" class="solr.TextField" positionIncrementGap="100">
+ <analyzer>
+ <tokenizer class="solr.KeywordTokenizerFactory"/>
+ <filter class="solr.LowerCaseFilterFactory" />
+ </analyzer>
+ </fieldType>
+
+
+ <!-- since fields of this type are by default not stored or indexed,
+ any data added to them will be ignored outright. -->
+ <fieldtype name="ignored" stored="false" indexed="false" multiValued="true" class="solr.StrField" />
+
+ </types>
+
+
+ <fields>
+ <!-- Valid attributes for fields:
+ name: mandatory - the name for the field
+ type: mandatory - the name of a previously defined type from the
+ <types> section
+ indexed: true if this field should be indexed (searchable or sortable)
+ stored: true if this field should be retrievable
+ compressed: [false] if this field should be stored using gzip compression
+ (this will only apply if the field type is compressable; among
+ the standard field types, only TextField and StrField are)
+ multiValued: true if this field may contain multiple values per document
+ omitNorms: (expert) set to true to omit the norms associated with
+ this field (this disables length normalization and index-time
+ boosting for the field, and saves some memory). Only full-text
+ fields or fields that need an index-time boost need norms.
+ termVectors: [false] set to true to store the term vector for a
+ given field.
+ When using MoreLikeThis, fields used for similarity should be
+ stored for best performance.
+ termPositions: Store position information with the term vector.
+ This will increase storage costs.
+ termOffsets: Store offset information with the term vector. This
+ will increase storage costs.
+ default: a value that should be used if no value is specified
+ when adding a document.
+ -->
+
+<!--
+-->
+ <field name="id" type="string" indexed="true" stored="true" required="true" />
+
+ <field name="author" type="text" indexed="true" stored="true" compressed="true" omitNorms="true"/>
+ <field name="author_exact" type="string" indexed="true" stored="true" compressed="true" omitNorms="true"/>
+ <field name="author-date" type="text" indexed="true" stored="true" omitNorms="true"/>
+ <field name="author-title" type="text" indexed="true" stored="true" omitNorms="true"/>
+
+ <field name="corporate-date" type="text" indexed="true" stored="true" omitNorms="true"/>
+ <field name="corporate-location" type="text" indexed="true" stored="true" omitNorms="true"/>
+ <field name="corporate-name" type="text" indexed="true" stored="true" omitNorms="true"/>
+
+ <field name="callnumber" type="text" indexed="true" stored="true" multiValued="true" omitNorms="true"/>
+ <field name="citation" type="text" indexed="true" stored="true" multiValued="true" compressed="true" omitNorms="true"/>
+
+ <field name="date" type="text" indexed="true" stored="true" multiValued="true" omitNorms="true"/>
+ <field name="description" type="text_ws" indexed="true" stored="true" multiValued="true" compressed="true" omitNorms="true"/>
+
+ <field name="edition" type="text" indexed="true" stored="true" multiValued="true" omitNorms="true"/>
+
+ <field name="electronic-format-instruction" type="text" indexed="true" stored="true" multiValued="true" omitNorms="true"/>
+ <field name="electronic-format-type" type="text" indexed="true" stored="true" multiValued="true" omitNorms="true"/>
+ <field name="electronic-note" type="text" indexed="true" stored="true" multiValued="true" compressed="true" omitNorms="true"/>
+ <field name="electronic-text" type="text" indexed="true" stored="true" multiValued="true" compressed="true" omitNorms="true"/>
+ <field name="electronic-url" type="text" indexed="true" stored="true" multiValued="true" omitNorms="true"/>
+
+ <field name="isbn" type="text" indexed="true" stored="true" multiValued="true" omitNorms="true"/>
+ <field name="issn" type="text" indexed="true" stored="true" multiValued="true" omitNorms="true"/>
+ <field name="lccn" type="text" indexed="true" stored="true" multiValued="true" omitNorms="true"/>
+
+ <field name="medium" type="text" indexed="true" stored="true" multiValued="true" omitNorms="true"/>
+
+ <field name="meeting-date" type="text" indexed="true" stored="true" omitNorms="true"/>
+ <field name="meeting-location" type="text" indexed="true" stored="true" omitNorms="true"/>
+ <field name="meeting-name" type="text" indexed="true" stored="true" omitNorms="true"/>
+
+ <field name="series-title" type="text" indexed="true" stored="true" multiValued="true" omitNorms="true"/>
+
+ <field name="subject" type="text_ws" indexed="true" stored="true" multiValued="true" omitNorms="true" />
+ <field name="subject_exact" type="string" indexed="true" stored="true" multiValued="true" omitNorms="true" />
+
+ <field name="subject-long" type="text_ws" indexed="true" stored="true" multiValued="true" omitNorms="true"/>
+ <field name="system-control-nr" type="text" indexed="true" stored="true" multiValued="true" omitNorms="true"/>
+
+ <field name="tech-rep-nr" type="text" indexed="true" multiValued="true" stored="true"/>
+
+ <field name="title" type="text" indexed="true" compressed="true" stored="true"/>
+ <field name="title_exact" type="string" indexed="true" compressed="true" stored="true"/>
+ <field name="title-complete" type="text" indexed="true" compressed="true" stored="true"/>
+ <field name="title-dates" type="text" indexed="true" stored="true"/>
+ <field name="title-medium" type="text" indexed="true" stored="true"/>
+ <field name="title-number-section" type="text" indexed="true" stored="true"/>
+ <field name="title-remainder" type="text" indexed="true" stored="true"/>
+ <field name="title-responsibility" type="text" indexed="true" stored="true"/>
+ <field name="title-uniform" type="text" indexed="true" stored="true"/>
+ <field name="title-uniform-key" type="text" indexed="true" stored="true"/>
+ <field name="title-uniform-media" type="text" indexed="true" stored="true"/>
+ <field name="title-uniform-partname" type="text" indexed="true" stored="true"/>
+ <field name="title-uniform-parts" type="text" indexed="true" stored="true"/>
+
+ <field name="physical-accomp" type="text" indexed="true" stored="true" multiValued="true" />
+ <field name="physical-dimensions" type="text" indexed="true" stored="true" multiValued="true" />
+ <field name="physical-extent" type="text" indexed="true" stored="true" multiValued="true" />
+ <field name="physical-format" type="text" indexed="true" stored="true" multiValued="true" />
+ <field name="physical-specified" type="text" indexed="true" stored="true" multiValued="true" />
+ <field name="physical-unitsize" type="text" indexed="true" stored="true" multiValued="true" />
+ <field name="physical-unittype" type="text" indexed="true" stored="true" multiValued="true" />
+
+ <field name="publication-date" type="text" indexed="true" stored="true" multiValued="true" />
+ <field name="publication-name" type="text" indexed="true" stored="true" multiValued="true" />
+ <field name="publication-place" type="text" indexed="true" stored="true" multiValued="true" />
+
+
+ <!-- Common metadata fields, named specifically to match up with
+ SolrCell metadata when parsing rich documents such as Word, PDF.
+ Some fields are multiValued only because Tika currently may return
+ multiple values for them.
+ -->
+<!--
+ <field name="title" type="text" indexed="true" stored="true" multiValued="true"/>
+ <field name="subject" type="text" indexed="true" stored="true"/>
+ <field name="description" type="text" indexed="true" stored="true" multiValued="true"/>
+ <field name="comments" type="text" indexed="true" stored="true"/>
+ <field name="author" type="textgen" indexed="true" stored="true"/>
+ <field name="keywords" type="textgen" indexed="true" stored="true"/>
+ <field name="category" type="textgen" indexed="true" stored="true"/>
+ <field name="content_type" type="string" indexed="true" stored="true" multiValued="true"/>
+ <field name="last_modified" type="date" indexed="true" stored="true"/>
+ <field name="links" type="string" indexed="true" stored="true" multiValued="true"/>
+-->
+
+ <!-- catchall field, containing all other searchable text fields (implemented
+ via copyField further on in this schema -->
+ <field name="text" type="text" indexed="true" stored="false" multiValued="true"/>
+
+ <!-- catchall text field that indexes tokens both normally and in reverse for efficient
+ leading wildcard queries. -->
+ <field name="text_rev" type="text_rev" indexed="true" stored="false" multiValued="true"/>
+
+ <!-- non-tokenized version of manufacturer to make it easier to sort or group
+ results by manufacturer. copied from "manu" via copyField -->
+ <field name="manu_exact" type="string" indexed="true" stored="false"/>
+
+ <field name="payloads" type="payloads" indexed="true" stored="true"/>
+
+ <!-- Uncommenting the following will create a "timestamp" field using
+ a default value of "NOW" to indicate when each document was indexed.
+ -->
+ <!--
+ <field name="timestamp" type="date" indexed="true" stored="true" default="NOW" multiValued="false"/>
+ -->
+
+
+ <!-- Dynamic field definitions. If a field name is not found, dynamicFields
+ will be used if the name matches any of the patterns.
+ RESTRICTION: the glob-like pattern in the name attribute must have
+ a "*" only at the start or the end.
+ EXAMPLE: name="*_i" will match any field ending in _i (like myid_i, z_i)
+ Longer patterns will be matched first. if equal size patterns
+ both match, the first appearing in the schema will be used. -->
+ <dynamicField name="*_i" type="int" indexed="true" stored="true"/>
+ <dynamicField name="*_s" type="string" indexed="true" stored="true"/>
+ <dynamicField name="*_l" type="long" indexed="true" stored="true"/>
+ <dynamicField name="*_t" type="text" indexed="true" stored="true"/>
+ <dynamicField name="*_b" type="boolean" indexed="true" stored="true"/>
+ <dynamicField name="*_f" type="float" indexed="true" stored="true"/>
+ <dynamicField name="*_d" type="double" indexed="true" stored="true"/>
+ <dynamicField name="*_dt" type="date" indexed="true" stored="true"/>
+
+ <!-- some trie-coded dynamic fields for faster range queries -->
+ <dynamicField name="*_ti" type="tint" indexed="true" stored="true"/>
+ <dynamicField name="*_tl" type="tlong" indexed="true" stored="true"/>
+ <dynamicField name="*_tf" type="tfloat" indexed="true" stored="true"/>
+ <dynamicField name="*_td" type="tdouble" indexed="true" stored="true"/>
+ <dynamicField name="*_tdt" type="tdate" indexed="true" stored="true"/>
+
+ <dynamicField name="*_pi" type="pint" indexed="true" stored="true"/>
+
+ <dynamicField name="ignored_*" type="ignored" multiValued="true"/>
+ <dynamicField name="attr_*" type="textgen" indexed="true" stored="true" multiValued="true"/>
+
+ <dynamicField name="random_*" type="random" />
+
+ <!-- uncomment the following to ignore any fields that don't already match an existing
+ field name or dynamic field, rather than reporting them as an error.
+ alternately, change the type="ignored" to some other type e.g. "text" if you want
+ unknown fields indexed and/or stored by default -->
+ <!--dynamicField name="*" type="ignored" multiValued="true" /-->
+
+ </fields>
+
+ <!-- Field to use to determine and enforce document uniqueness.
+ Unless this field is marked with required="false", it will be a required field
+ -->
+ <uniqueKey>id</uniqueKey>
+
+ <!-- field for the QueryParser to use when an explicit fieldname is absent -->
+ <defaultSearchField>text</defaultSearchField>
+
+ <!-- SolrQueryParser configuration: defaultOperator="AND|OR" -->
+ <solrQueryParser defaultOperator="OR"/>
+
+ <!-- copyField commands copy one field to another at the time a document
+ is added to the index. It's used either to index the same field differently,
+ or to add multiple fields to the same field for easier/faster searching. -->
+
+<!--
+ <copyField source="cat" dest="text"/>
+ <copyField source="name" dest="text"/>
+ <copyField source="manu" dest="text"/>
+ <copyField source="features" dest="text"/>
+ <copyField source="includes" dest="text"/>
+-->
+ <copyField source="title" dest="title_exact"/>
+ <copyField source="author" dest="author_exact"/>
+ <copyField source="subject" dest="subject_exact"/>
+
+ <!-- Above, multiple source fields are copied to the [text] field.
+ Another way to map multiple source fields to the same
+ destination field is to use the dynamic field syntax.
+ copyField also supports a maxChars to copy setting. -->
+
+ <!-- <copyField source="*_t" dest="text" maxChars="3000"/> -->
+
+ <!-- copy name to alphaNameSort, a field designed for sorting by name -->
+ <!-- <copyField source="name" dest="alphaNameSort"/> -->
+
+
+ <!-- Similarity is the scoring routine for each document vs. a query.
+ A custom similarity may be specified here, but the default is fine
+ for most applications. -->
+ <!-- <similarity class="org.apache.lucene.search.DefaultSimilarity"/> -->
+ <!-- ... OR ...
+ Specify a SimilarityFactory class name implementation
+ allowing parameters to be used.
+ -->
+ <!--
+ <similarity class="com.example.solr.CustomSimilarityFactory">
+ <str name="paramkey">param value</str>
+ </similarity>
+ -->
+
+
+</schema>
sbin_PROGRAMS = pazpar2
+EXTRA_DIST = pazpar2.rpm.init pazpar2.rpm.logrotate
+
check_PROGRAMS = \
test_sel_thread \
test_normalize
noinst_LIBRARIES = libpazpar2.a
-MAINTAINERCLEANFILES = Makefile.in cconfig.h
-
CONFIG_CLEAN_FILES=*.log
AM_CFLAGS = $(YAZINC)
/* This file is part of Pazpar2.
- Copyright (C) 2006-2010 Index Data
+ Copyright (C) 2006-2011 Index Data
Pazpar2 is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
#endif
};
+static const char *pp2_relevance_token_null(pp2_relevance_token_t prt);
static const char *pp2_relevance_token_a_to_z(pp2_relevance_token_t prt);
static const char *pp2_get_sort_ascii(pp2_relevance_token_t prt);
(pct->ref_count)++;
}
-pp2_charset_t pp2_charset_create(struct icu_chain * icu_chn)
+pp2_charset_t pp2_charset_create_a_to_z(void)
+{
+ pp2_charset_t pct = pp2_charset_create(0);
+ pct->token_next_handler = pp2_relevance_token_a_to_z;
+ return pct;
+}
+
+pp2_charset_t pp2_charset_create(struct icu_chain *icu_chn)
{
pp2_charset_t pct = xmalloc(sizeof(*pct));
- pct->token_next_handler = pp2_relevance_token_a_to_z;
+ pct->token_next_handler = pp2_relevance_token_null;
pct->get_sort_handler = pp2_get_sort_ascii;
pct->ref_count = 1;
#if YAZ_HAVE_ICU
}
}
+static const char *pp2_relevance_token_null(pp2_relevance_token_t prt)
+{
+ const char *cp = prt->cp;
+
+ prt->last_cp = *cp ? cp : 0;
+ while (*cp)
+ cp++;
+ prt->cp = cp;
+ return prt->last_cp;
+}
#if YAZ_HAVE_ICU
static const char *pp2_relevance_token_icu(pp2_relevance_token_t prt)
/* This file is part of Pazpar2.
- Copyright (C) 2006-2010 Index Data
+ Copyright (C) 2006-2011 Index Data
Pazpar2 is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
pp2_charset_t pp2_charset_create_xml(xmlNode *xml_node);
pp2_charset_t pp2_charset_create(struct icu_chain * icu_chn);
+pp2_charset_t pp2_charset_create_a_to_z(void);
+
void pp2_charset_destroy(pp2_charset_t pct);
void pp2_charset_incref(pp2_charset_t pct);
/* This file is part of Pazpar2.
- Copyright (C) 2006-2010 Index Data
+ Copyright (C) 2006-2011 Index Data
Pazpar2 is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
#if HAVE_CONFIG_H
#include <config.h>
#endif
-#include <pthread.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <yaz/diagbib1.h>
#include <yaz/snprintf.h>
#include <yaz/rpn2cql.h>
+#include <yaz/rpn2solr.h>
#define USE_TIMING 0
#if USE_TIMING
#include "relevance.h"
#include "incref.h"
-/* client counting (1) , disable client counting (0) */
-#if 1
static YAZ_MUTEX g_mutex = 0;
static int no_clients = 0;
-static void client_use(int delta)
+static int client_use(int delta)
{
+ int clients;
if (!g_mutex)
yaz_mutex_create(&g_mutex);
yaz_mutex_enter(g_mutex);
no_clients += delta;
+ clients = no_clients;
yaz_mutex_leave(g_mutex);
- yaz_log(YLOG_LOG, "%s clients=%d", delta > 0 ? "INC" : "DEC", no_clients);
+ yaz_log(YLOG_DEBUG, "%s clients=%d", delta == 0 ? "" : (delta > 0 ? "INC" : "DEC"), clients);
+ return clients;
}
-#else
-#define client_use(x)
-#endif
+
+int clients_count(void) {
+ return client_use(0);
+}
+
/** \brief Represents client state for a connection to one search target */
struct client {
int maxrecs;
int startrecs;
int diagnostic;
+ int preferred;
enum client_state state;
struct show_raw *show_raw;
ZOOM_resultset resultset;
YAZ_MUTEX mutex;
int ref_count;
+ /* copy of database->url */
+ char *url;
};
struct show_raw {
void client_set_state(struct client *cl, enum client_state st)
{
+ int was_active = 0;
+ if (client_is_active(cl))
+ was_active = 1;
cl->state = st;
- /* no need to check for all client being non-active if this one
- already is. Note that session_active_clients also LOCKS session */
-#if 0
- if (!client_is_active(cl) && cl->session)
+ /* If client is going from being active to inactive and all clients
+ are now idle we fire a watch for the session . The assumption is
+ that session is not mutex locked if client is already active */
+ if (was_active && !client_is_active(cl) && cl->session)
{
+
int no_active = session_active_clients(cl->session);
- if (no_active == 0)
+ yaz_log(YLOG_DEBUG, "%s: releasing watches on zero active: %d", client_get_url(cl), no_active);
+ if (no_active == 0) {
session_alert_watch(cl->session, SESSION_WATCH_SHOW);
+ session_alert_watch(cl->session, SESSION_WATCH_SHOW_PREF);
+ }
}
-#endif
}
static void client_show_raw_error(struct client *cl, const char *addinfo);
}
}
+/**
+ * TODO Consider thread safety!!!
+ *
+ */
+int client_report_facets(struct client *cl, ZOOM_resultset rs) {
+ int facet_idx;
+ ZOOM_facet_field *facets = ZOOM_resultset_facets(rs);
+ int facet_num;
+ struct session *se = client_get_session(cl);
+ facet_num = ZOOM_resultset_facets_size(rs);
+ yaz_log(YLOG_DEBUG, "client_report_facets: %d", facet_num);
+
+ for (facet_idx = 0; facet_idx < facet_num; facet_idx++) {
+ const char *name = ZOOM_facet_field_name(facets[facet_idx]);
+ size_t term_idx;
+ size_t term_num = ZOOM_facet_field_term_count(facets[facet_idx]);
+ for (term_idx = 0; term_idx < term_num; term_idx++ ) {
+ int freq;
+ const char *term = ZOOM_facet_field_get_term(facets[facet_idx], term_idx, &freq);
+ if (term)
+ add_facet(se, name, term, freq);
+ }
+ }
+
+ return 0;
+}
+
static void ingest_raw_record(struct client *cl, ZOOM_record rec)
{
const char *buf;
client_show_raw_dequeue(cl);
}
+void client_check_preferred_watch(struct client *cl)
+{
+ struct session *se = cl->session;
+ yaz_log(YLOG_DEBUG, "client_check_preferred_watch: %s ", client_get_url(cl));
+ if (se)
+ {
+ client_unlock(cl);
+ if (session_is_preferred_clients_ready(se)) {
+ session_alert_watch(se, SESSION_WATCH_SHOW_PREF);
+ }
+ else
+ yaz_log(YLOG_DEBUG, "client_check_preferred_watch: Still locked on preferred targets.");
+
+ client_lock(cl);
+ }
+ else
+ yaz_log(YLOG_WARN, "client_check_preferred_watch: %s. No session!", client_get_url(cl));
+
+}
+
void client_search_response(struct client *cl)
{
struct connection *co = cl->connection;
struct session *se = cl->session;
ZOOM_connection link = connection_get_link(co);
ZOOM_resultset resultset = cl->resultset;
+
const char *error, *addinfo = 0;
if (ZOOM_connection_error(link, &error, &addinfo))
}
else
{
+ yaz_log(YLOG_DEBUG, "client_search_response: hits "
+ ODR_INT_PRINTF, cl->hits);
+ client_report_facets(cl, resultset);
cl->record_offset = cl->startrecs;
cl->hits = ZOOM_resultset_size(resultset);
- if (se)
+ if (se) {
se->total_hits += cl->hits;
+ yaz_log(YLOG_DEBUG, "client_search_response: total hits "
+ ODR_INT_PRINTF, se->total_hits);
+ }
}
}
}
}
+static int client_set_facets_request(struct client *cl, ZOOM_connection link)
+{
+ struct session_database *sdb = client_get_database(cl);
+ const char *opt_facet_term_sort = session_setting_oneval(sdb, PZ_TERMLIST_TERM_SORT);
+ const char *opt_facet_term_count = session_setting_oneval(sdb, PZ_TERMLIST_TERM_COUNT);
+
+ /* Future record filtering on target */
+ /* const char *opt_facet_record_filter = session_setting_oneval(sdb, PZ_RECORDFILTER); */
+
+ /* Disable when no count is set */
+ /* TODO Verify: Do we need to reset the ZOOM facets if a ZOOM Connection is being reused??? */
+ if (opt_facet_term_count && *opt_facet_term_count)
+ {
+ int index = 0;
+ struct session *session = client_get_session(cl);
+ struct conf_service *service = session->service;
+ int num = service->num_metadata;
+ WRBUF wrbuf = wrbuf_alloc();
+ yaz_log(YLOG_DEBUG, "Facet settings, sort: %s count: %s",
+ opt_facet_term_sort, opt_facet_term_count);
+ for (index = 0; index < num; index++)
+ {
+ struct conf_metadata *conf_meta = &service->metadata[index];
+ if (conf_meta->termlist)
+ {
+ if (wrbuf_len(wrbuf))
+ wrbuf_puts(wrbuf, ", ");
+ wrbuf_printf(wrbuf, "@attr 1=%s", conf_meta->name);
+
+ if (opt_facet_term_sort && *opt_facet_term_sort)
+ wrbuf_printf(wrbuf, " @attr 2=%s", opt_facet_term_sort);
+ wrbuf_printf(wrbuf, " @attr 3=%s", opt_facet_term_count);
+ }
+ }
+ if (wrbuf_len(wrbuf))
+ {
+ yaz_log(YLOG_LOG, "Setting ZOOM facets option: %s", wrbuf_cstr(wrbuf));
+ ZOOM_connection_option_set(link, "facets", wrbuf_cstr(wrbuf));
+ return 1;
+ }
+ }
+ return 0;
+}
+
+int client_has_facet(struct client *cl, const char *name) {
+ ZOOM_facet_field facet_field;
+ if (!cl || !cl->resultset || !name) {
+ return 0;
+ }
+ facet_field = ZOOM_resultset_get_facet_field(cl->resultset, name);
+ if (facet_field) {
+ return 1;
+ }
+ return 0;
+}
+
+
void client_start_search(struct client *cl)
{
struct session_database *sdb = client_get_database(cl);
ZOOM_connection link = connection_get_link(co);
ZOOM_resultset rs;
char *databaseName = sdb->database->databases[0];
- const char *opt_piggyback = session_setting_oneval(sdb, PZ_PIGGYBACK);
- const char *opt_queryenc = session_setting_oneval(sdb, PZ_QUERYENCODING);
- const char *opt_elements = session_setting_oneval(sdb, PZ_ELEMENTS);
- const char *opt_requestsyn = session_setting_oneval(sdb, PZ_REQUESTSYNTAX);
- const char *opt_maxrecs = session_setting_oneval(sdb, PZ_MAXRECS);
- const char *opt_sru = session_setting_oneval(sdb, PZ_SRU);
- const char *opt_sort = session_setting_oneval(sdb, PZ_SORT);
+ const char *opt_piggyback = session_setting_oneval(sdb, PZ_PIGGYBACK);
+ const char *opt_queryenc = session_setting_oneval(sdb, PZ_QUERYENCODING);
+ const char *opt_elements = session_setting_oneval(sdb, PZ_ELEMENTS);
+ const char *opt_requestsyn = session_setting_oneval(sdb, PZ_REQUESTSYNTAX);
+ const char *opt_maxrecs = session_setting_oneval(sdb, PZ_MAXRECS);
+ const char *opt_sru = session_setting_oneval(sdb, PZ_SRU);
+ const char *opt_sort = session_setting_oneval(sdb, PZ_SORT);
+ const char *opt_preferred = session_setting_oneval(sdb, PZ_PREFERRED);
+ const char *extra_args = session_setting_oneval(sdb, PZ_EXTRA_ARGS);
char maxrecs_str[24], startrecs_str[24];
assert(link);
cl->hits = -1;
cl->record_offset = 0;
cl->diagnostic = 0;
+
+ if (extra_args && *extra_args)
+ ZOOM_connection_option_set(link, "extraArgs", extra_args);
+
+ if (opt_preferred) {
+ cl->preferred = atoi(opt_preferred);
+ if (cl->preferred)
+ yaz_log(YLOG_LOG, "Target %s has preferred status: %d", sdb->database->url, cl->preferred);
+ }
client_set_state(cl, Client_Working);
if (*opt_piggyback)
if (*opt_requestsyn)
ZOOM_connection_option_set(link, "preferredRecordSyntax", opt_requestsyn);
- if (!*opt_maxrecs)
+ if (opt_maxrecs && *opt_maxrecs)
{
- sprintf(maxrecs_str, "%d", cl->maxrecs);
- opt_maxrecs = maxrecs_str;
+ cl->maxrecs = atoi(opt_maxrecs);
}
- ZOOM_connection_option_set(link, "count", opt_maxrecs);
+ /* convert back to string representation used in ZOOM API */
+ sprintf(maxrecs_str, "%d", cl->maxrecs);
+ ZOOM_connection_option_set(link, "count", maxrecs_str);
- if (atoi(opt_maxrecs) > 20)
+ if (cl->maxrecs > 20)
ZOOM_connection_option_set(link, "presentChunk", "20");
else
- ZOOM_connection_option_set(link, "presentChunk", opt_maxrecs);
+ ZOOM_connection_option_set(link, "presentChunk", maxrecs_str);
sprintf(startrecs_str, "%d", cl->startrecs);
ZOOM_connection_option_set(link, "start", startrecs_str);
if (databaseName)
ZOOM_connection_option_set(link, "databaseName", databaseName);
+ /* TODO Verify does it break something for CQL targets(non-SOLR) ? */
+ /* facets definition is in PQF */
+ client_set_facets_request(cl, link);
+
if (cl->cqlquery)
{
ZOOM_query q = ZOOM_query_create();
yaz_log(YLOG_LOG, "Search %s CQL: %s", sdb->database->url, cl->cqlquery);
ZOOM_query_cql(q, cl->cqlquery);
- if (*opt_sort)
- ZOOM_query_sortby(q, opt_sort);
+ if (*opt_sort)
+ ZOOM_query_sortby(q, opt_sort);
rs = ZOOM_connection_search(link, q);
ZOOM_query_destroy(q);
}
struct client *client_create(void)
{
- struct client *r = xmalloc(sizeof(*r));
- r->maxrecs = 100;
- r->startrecs = 0;
- r->pquery = 0;
- r->cqlquery = 0;
- r->database = 0;
- r->connection = 0;
- r->session = 0;
- r->hits = 0;
- r->record_offset = 0;
- r->diagnostic = 0;
- r->state = Client_Disconnected;
- r->show_raw = 0;
- r->resultset = 0;
- r->mutex = 0;
- pazpar2_mutex_create(&r->mutex, "client");
-
- r->ref_count = 1;
+ struct client *cl = xmalloc(sizeof(*cl));
+ cl->maxrecs = 100;
+ cl->startrecs = 0;
+ cl->pquery = 0;
+ cl->cqlquery = 0;
+ cl->database = 0;
+ cl->connection = 0;
+ cl->session = 0;
+ cl->hits = 0;
+ cl->record_offset = 0;
+ cl->diagnostic = 0;
+ cl->state = Client_Disconnected;
+ cl->show_raw = 0;
+ cl->resultset = 0;
+ cl->mutex = 0;
+ pazpar2_mutex_create(&cl->mutex, "client");
+ cl->preferred = 0;
+ cl->ref_count = 1;
+ cl->url = 0;
client_use(1);
- return r;
+ return cl;
}
void client_lock(struct client *c)
void client_incref(struct client *c)
{
pazpar2_incref(&c->ref_count, c->mutex);
- yaz_log(YLOG_LOG, "client_incref c=%p %s cnt=%d",
+ yaz_log(YLOG_DEBUG, "client_incref c=%p %s cnt=%d",
c, client_get_url(c), c->ref_count);
}
{
if (c)
{
- yaz_log(YLOG_LOG, "client_destroy c=%p %s cnt=%d",
+ yaz_log(YLOG_DEBUG, "client_destroy c=%p %s cnt=%d",
c, client_get_url(c), c->ref_count);
if (!pazpar2_decref(&c->ref_count, c->mutex))
{
c->pquery = 0;
xfree(c->cqlquery);
c->cqlquery = 0;
+ xfree(c->url);
assert(!c->connection);
- assert(!c->resultset);
-
+
+ if (c->resultset)
+ {
+ ZOOM_resultset_destroy(c->resultset);
+ }
yaz_mutex_destroy(&c->mutex);
xfree(c);
client_use(-1);
void client_set_connection(struct client *cl, struct connection *con)
{
if (cl->resultset)
- {
- ZOOM_resultset_destroy(cl->resultset);
- cl->resultset = 0;
- }
+ ZOOM_resultset_release(cl->resultset);
if (con)
{
assert(cl->connection == 0);
return r;
}
+// returns a xmalloced SOLR query corresponding to the pquery in client
+// TODO Could prob. be merge with the similar make_cqlquery
+static char *make_solrquery(struct client *cl)
+{
+ solr_transform_t sqlt = solr_transform_create();
+ Z_RPNQuery *zquery;
+ char *r;
+ WRBUF wrb = wrbuf_alloc();
+ int status;
+ ODR odr_out = odr_createmem(ODR_ENCODE);
+
+ zquery = p_query_rpn(odr_out, cl->pquery);
+ yaz_log(YLOG_LOG, "PQF: %s", cl->pquery);
+ if ((status = solr_transform_rpn2solr_wrbuf(sqlt, wrb, zquery)))
+ {
+ yaz_log(YLOG_WARN, "Failed to generate SOLR query, code=%d", status);
+ r = 0;
+ }
+ else
+ {
+ r = xstrdup(wrbuf_cstr(wrb));
+ }
+ wrbuf_destroy(wrb);
+ odr_destroy(odr_out);
+ solr_transform_close(sqlt);
+ return r;
+}
+
// Parse the query given the settings specific to this client
int client_parse_query(struct client *cl, const char *query)
{
const char *sru = session_setting_oneval(sdb, PZ_SRU);
const char *pqf_prefix = session_setting_oneval(sdb, PZ_PQF_PREFIX);
const char *pqf_strftime = session_setting_oneval(sdb, PZ_PQF_STRFTIME);
-
+ const char *query_syntax = session_setting_oneval(sdb, PZ_QUERY_SYNTAX);
if (!ccl_map)
return -1;
if (!cn)
{
client_set_state(cl, Client_Error);
- yaz_log(YLOG_WARN, "Failed to parse CCL query %s for %s",
+ session_log(se, YLOG_WARN, "Failed to parse CCL query '%s' for %s",
query,
client_get_database(cl)->database->url);
return -1;
cl->pquery = xstrdup(wrbuf_cstr(se->wrbuf));
xfree(cl->cqlquery);
- if (*sru)
+
+ /* Support for PQF on SRU targets.
+ * TODO Refactor */
+ yaz_log(YLOG_DEBUG, "Query syntax: %s", query_syntax);
+ if (strcmp(query_syntax, "pqf") != 0 && *sru)
{
- if (!(cl->cqlquery = make_cqlquery(cl)))
- return -1;
+ if (!strcmp(sru, "solr")) {
+ if (!(cl->cqlquery = make_solrquery(cl)))
+ return -1;
+ }
+ else {
+ if (!(cl->cqlquery = make_cqlquery(cl)))
+ return -1;
+ }
}
else
cl->cqlquery = 0;
+ /* TODO FIX Not thread safe */
if (!se->relevance)
{
// Initialize relevance structure with query terms
return 0;
}
+int client_is_active_preferred(struct client *cl)
+{
+ /* only count if this is a preferred target. */
+ if (!cl->preferred)
+ return 0;
+ /* TODO No sure this the condition that Seb wants */
+ if (cl->connection && (cl->state == Client_Connecting ||
+ cl->state == Client_Working))
+ return 1;
+ return 0;
+}
+
+
Odr_int client_get_hits(struct client *cl)
{
return cl->hits;
void client_set_database(struct client *cl, struct session_database *db)
{
cl->database = db;
+ /* Copy the URL for safe logging even after session is gone */
+ if (db) {
+ cl->url = xstrdup(db->database->url);
+ }
}
struct host *client_get_host(struct client *cl)
const char *client_get_url(struct client *cl)
{
- if (cl->database)
- return client_get_database(cl)->database->url;
+ if (cl->url)
+ return cl->url;
else
+ /* This must not happen anymore, as the url is present until destruction of client */
return "NOURL";
}
cl->maxrecs = v;
}
+int client_get_maxrecs(struct client *cl)
+{
+ return cl->maxrecs;
+}
+
void client_set_startrecs(struct client *cl, int v)
{
cl->startrecs = v;
}
+void client_set_preferred(struct client *cl, int v)
+{
+ cl->preferred = v;
+}
+
+
/*
* Local variables:
* c-basic-offset: 4
/* This file is part of Pazpar2.
- Copyright (C) 2006-2010 Index Data
+ Copyright (C) 2006-2011 Index Data
Pazpar2 is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
int client_prep_connection(struct client *cl,
int operation_timeout, int session_timeout,
iochan_man_t iochan,
- const struct timespec *abstime);
+ const struct timeval *abstime);
void client_start_search(struct client *cl);
void client_set_session(struct client *cl, struct session *se);
int client_is_active(struct client *cl);
+int client_is_active_preferred(struct client *cl);
struct client *client_next_in_session(struct client *cl);
int client_parse_query(struct client *cl, const char *query);
struct host *client_get_host(struct client *cl);
const char *client_get_url(struct client *cl);
void client_set_maxrecs(struct client *cl, int v);
+int client_get_maxrecs(struct client *cl);
void client_set_startrecs(struct client *cl, int v);
void client_remove_from_session(struct client *c);
void client_incref(struct client *c);
void client_got_records(struct client *c);
void client_lock(struct client *c);
void client_unlock(struct client *c);
+
+int client_has_facet(struct client *cl, const char *name);
+void client_check_preferred_watch(struct client *cl);
+
#endif
/*
/* This file is part of Pazpar2.
- Copyright (C) 2006-2010 Index Data
+ Copyright (C) 2006-2011 Index Data
Pazpar2 is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
enum {
Conn_Resolving,
Conn_Connecting,
- Conn_Open
+ Conn_Open,
+ Conn_Dead
} state;
int operation_timeout;
int session_timeout;
ZOOM_connection_destroy(co->link);
iochan_destroy(co->iochan);
}
- yaz_log(YLOG_DEBUG, "Connection destroy %s", co->host->hostport);
+ yaz_log(YLOG_DEBUG, "%p Connection destroy %s", co, co->host->hostport);
if (co->client)
{
client_disconnect(co->client);
}
- remove_connection_from_host(co);
xfree(co->zproxy);
xfree(co);
connection_use(-1);
continue;
ev = ZOOM_connection_last_event(link);
-#if 0
- yaz_log(YLOG_LOG, "ZOOM_EVENT_%s", ZOOM_get_event_str(ev));
+#if 1
+ yaz_log(YLOG_DEBUG, "%p Connection ZOOM_EVENT_%s", co, ZOOM_get_event_str(ev));
#endif
switch (ev)
{
case ZOOM_EVENT_END:
{
const char *error, *addinfo;
- int err;
+ int err;
if ((err = ZOOM_connection_error(link, &error, &addinfo)))
{
yaz_log(YLOG_LOG, "Error %s from %s",
error, client_get_url(cl));
+ client_set_diagnostic(cl, err);
+ client_set_state(cl, Client_Error);
+ }
+ else
+ {
+ iochan_settimeout(iochan, co->session_timeout);
+ client_set_state(cl, Client_Idle);
}
- iochan_settimeout(iochan, co->session_timeout);
- client_set_diagnostic(cl, err);
- client_set_state(cl, Client_Idle);
yaz_cond_broadcast(co->host->cond_ready);
}
break;
struct client *cl = co->client;
if (cl)
{
+ client_check_preferred_watch(cl);
client_got_records(cl);
}
}
a closed connection from the target.. Or, perhaps, an unexpected
package.. We will just close the connection */
yaz_log(YLOG_LOG, "timeout connection %p event=%d", co, event);
- connection_destroy(co);
+ remove_connection_from_host(co);
yaz_mutex_leave(host->mutex);
+ connection_destroy(co);
}
else if (event & EVENT_TIMEOUT)
{
if (co->state == Conn_Connecting)
{
- yaz_log(YLOG_WARN, "connect timeout %s", client_get_url(cl));
+ yaz_log(YLOG_WARN, "%p connect timeout %s", co, client_get_url(cl));
client_set_state(cl, Client_Error);
- connection_destroy(co);
- }
- else if (client_get_state(co->client) == Client_Idle)
- {
- yaz_log(YLOG_LOG, "idle timeout %s", client_get_url(cl));
+ remove_connection_from_host(co);
+ yaz_mutex_leave(host->mutex);
connection_destroy(co);
}
else
{
- yaz_log(YLOG_LOG, "ignore timeout %s", client_get_url(cl));
+ yaz_log(YLOG_LOG, "%p Connection idle timeout %s", co, client_get_url(cl));
+ remove_connection_from_host(co);
+ yaz_mutex_leave(host->mutex);
+ connection_destroy(co);
}
- yaz_mutex_leave(host->mutex);
}
else
{
{
if (!host->ipport) /* unresolved */
{
+ remove_connection_from_host(con);
yaz_mutex_leave(host->mutex);
connection_destroy(con);
goto start;
}
else if (!con->client)
{
+ remove_connection_from_host(con);
yaz_mutex_leave(host->mutex);
connection_destroy(con);
/* start all over .. at some point it will be NULL */
if ((sru_version = session_setting_oneval(sdb, PZ_SRU_VERSION))
&& *sru_version)
ZOOM_options_set(zoptions, "sru_version", sru_version);
-
if (!(link = ZOOM_connection_create(zoptions)))
{
yaz_log(YLOG_FATAL|YLOG_ERRNO, "Failed to create ZOOM Connection");
strcat(http_hostport, host->hostport);
ZOOM_connection_connect(link, http_hostport, 0);
}
+ else if (zproxy && *zproxy)
+ ZOOM_connection_connect(link, host->hostport, 0);
else
ZOOM_connection_connect(link, host->ipport, 0);
con->link = link;
- con->iochan = iochan_create(0, connection_handler, 0, "connection_socket");
+ con->iochan = iochan_create(-1, connection_handler, 0, "connection_socket");
con->state = Conn_Connecting;
iochan_settimeout(con->iochan, con->operation_timeout);
iochan_setdata(con->iochan, con);
int client_prep_connection(struct client *cl,
int operation_timeout, int session_timeout,
iochan_man_t iochan_man,
- const struct timespec *abstime)
+ const struct timeval *abstime)
{
struct connection *co;
struct host *host = client_get_host(cl);
if (!co)
{
- int max_connections = 30;
+ int max_connections = 0;
+ int reuse_connections = 1;
const char *v = session_setting_oneval(client_get_database(cl),
PZ_MAX_CONNECTIONS);
if (v && *v)
max_connections = atoi(v);
-
+
+ v = session_setting_oneval(client_get_database(cl),
+ PZ_REUSE_CONNECTIONS);
+ if (v && *v)
+ reuse_connections = atoi(v);
+
// See if someone else has an idle connection
// We should look at timestamps here to select the longest-idle connection
yaz_mutex_enter(host->mutex);
int num_connections = 0;
for (co = host->connections; co; co = co->next)
num_connections++;
- for (co = host->connections; co; co = co->next)
- {
- if (connection_is_idle(co) &&
- (!co->client || client_get_state(co->client) == Client_Idle) &&
- !strcmp(ZOOM_connection_option_get(co->link, "user"),
- session_setting_oneval(client_get_database(cl),
- PZ_AUTHENTICATION)))
+ if (reuse_connections) {
+ for (co = host->connections; co; co = co->next)
{
- if (zproxy == 0 && co->zproxy == 0)
- break;
- if (zproxy && co->zproxy && !strcmp(zproxy, co->zproxy))
- break;
+ if (connection_is_idle(co) &&
+ (!co->client || client_get_state(co->client) == Client_Idle) &&
+ !strcmp(ZOOM_connection_option_get(co->link, "user"),
+ session_setting_oneval(client_get_database(cl),
+ PZ_AUTHENTICATION)))
+ {
+ if (zproxy == 0 && co->zproxy == 0)
+ break;
+ if (zproxy && co->zproxy && !strcmp(zproxy, co->zproxy))
+ break;
+ }
+ }
+ if (co)
+ {
+ yaz_log(YLOG_LOG, "num_connections = %d (reusing)", num_connections);
+ break;
}
}
- if (co)
- {
- yaz_log(YLOG_LOG, "num_connections = %d (reusing)",
- num_connections);
- break;
- }
- if (num_connections < max_connections)
+ if (max_connections <= 0 || num_connections < max_connections)
{
yaz_log(YLOG_LOG, "num_connections = %d (new); max = %d",
num_connections, max_connections);
}
if (co)
{
+ yaz_log(YLOG_LOG, "%p Connection reuse. state: %d", co, co->state);
connection_release(co);
client_set_connection(cl, co);
co->client = cl;
/* This file is part of Pazpar2.
- Copyright (C) 2006-2010 Index Data
+ Copyright (C) 2006-2011 Index Data
Pazpar2 is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
/* This file is part of Pazpar2.
- Copyright (C) 2006-2010 Index Data
+ Copyright (C) 2006-2011 Index Data
Pazpar2 is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
struct database *db;
char hostport[256];
char *dbname;
+ char *db_comment;
struct setting *idset;
if (strlen(id) > 255)
*(dbname++) = '\0';
else
dbname = "";
+ db_comment = strchr(dbname, '#');
+ if (db_comment)
+ *db_comment = '\0';
db = nmem_malloc(nmem, sizeof(*db));
memset(db, 0, sizeof(*db));
db->host = 0;
/* This file is part of Pazpar2.
- Copyright (C) 2006-2010 Index Data
+ Copyright (C) 2006-2011 Index Data
Pazpar2 is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
/* This file is part of Pazpar2.
- Copyright (C) 2006-2010 Index Data
+ Copyright (C) 2006-2011 Index Data
-Pazpar2 is free software; you can redistribute it and/or modify it under
-the terms of the GNU General Public License as published by the Free
-Software Foundation; either version 2, or (at your option) any later
-version.
+ Pazpar2 is free software; you can redistribute it and/or modify it under
+ the terms of the GNU General Public License as published by the Free
+ Software Foundation; either version 2, or (at your option) any later
+ version.
-Pazpar2 is distributed in the hope that it will be useful, but WITHOUT ANY
-WARRANTY; without even the implied warranty of MERCHANTABILITY or
-FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
-for more details.
+ Pazpar2 is distributed in the hope that it will be useful, but WITHOUT ANY
+ WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+ for more details.
-You should have received a copy of the GNU General Public License
-along with this program; if not, write to the Free Software
-Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-*/
+ */
/*
* Based on ParaZ - a simple tool for harvesting performance data for
* parallel operations using Z39.50.
- * Copyright (C) 2006-2010 Index Data ApS
+ * Copyright (C) 2006-2011 Index Data ApS
* See LICENSE file for details.
*/
#include <yaz/log.h>
#include <yaz/comstack.h>
#include <yaz/xmalloc.h>
+#include <yaz/mutex.h>
+#include <yaz/poll.h>
#include "eventl.h"
#include "sel_thread.h"
int sel_fd;
int no_threads;
int log_level;
+ YAZ_MUTEX iochan_mutex;
};
-iochan_man_t iochan_man_create(int no_threads)
-{
+iochan_man_t iochan_man_create(int no_threads) {
iochan_man_t man = xmalloc(sizeof(*man));
man->channel_list = 0;
man->sel_thread = 0; /* can't create sel_thread yet because we may fork */
man->sel_fd = -1;
man->no_threads = no_threads;
man->log_level = yaz_log_module_level("iochan");
-
+ man->iochan_mutex = 0;
+ yaz_mutex_create(&man->iochan_mutex);
return man;
}
-void iochan_man_destroy(iochan_man_t *mp)
-{
- if (*mp)
- {
+void iochan_man_destroy(iochan_man_t *mp) {
+ if (*mp) {
IOCHAN c;
if ((*mp)->sel_thread)
sel_thread_destroy((*mp)->sel_thread);
-
+
+ yaz_mutex_enter((*mp)->iochan_mutex);
c = (*mp)->channel_list;
- while (c)
- {
+ (*mp)->channel_list = NULL;
+ yaz_mutex_leave((*mp)->iochan_mutex);
+ while (c) {
IOCHAN c_next = c->next;
xfree(c->name);
xfree(c);
c = c_next;
}
+ yaz_mutex_destroy(&(*mp)->iochan_mutex);
xfree(*mp);
*mp = 0;
}
}
-void iochan_add(iochan_man_t man, IOCHAN chan)
-{
+void iochan_add(iochan_man_t man, IOCHAN chan) {
chan->man = man;
+ yaz_mutex_enter(man->iochan_mutex);
+ yaz_log(man->log_level, "iochan_add : chan=%p channel list=%p", chan,
+ man->channel_list);
chan->next = man->channel_list;
man->channel_list = chan;
+ yaz_mutex_leave(man->iochan_mutex);
}
-IOCHAN iochan_create(int fd, IOC_CALLBACK cb, int flags,
- const char *name)
-{
+IOCHAN iochan_create(int fd, IOC_CALLBACK cb, int flags, const char *name) {
IOCHAN new_iochan;
- if (!(new_iochan = (IOCHAN)xmalloc(sizeof(*new_iochan))))
- return 0;
+ if (!(new_iochan = (IOCHAN) xmalloc(sizeof(*new_iochan))))
+ return 0;
new_iochan->destroyed = 0;
new_iochan->fd = fd;
new_iochan->flags = flags;
return new_iochan;
}
-static void work_handler(void *work_data)
-{
+static void work_handler(void *work_data) {
IOCHAN p = work_data;
yaz_log(p->man->log_level, "eventl: work begin chan=%p name=%s event=%d",
p, p->name ? p->name : "", p->this_event);
-
+
if (!p->destroyed && (p->this_event & EVENT_TIMEOUT))
(*p->fun)(p, EVENT_TIMEOUT);
if (!p->destroyed && (p->this_event & EVENT_INPUT))
if (!p->destroyed && (p->this_event & EVENT_EXCEPT))
(*p->fun)(p, EVENT_EXCEPT);
- yaz_log(p->man->log_level, "eventl: work end chan=%p name=%s event=%d",
- p, p->name ? p->name : "", p->this_event);
+ yaz_log(p->man->log_level, "eventl: work end chan=%p name=%s event=%d", p,
+ p->name ? p->name : "", p->this_event);
}
-static void run_fun(iochan_man_t man, IOCHAN p)
-{
- if (p->this_event)
- {
- if (man->sel_thread)
- {
- yaz_log(man->log_level, "eventl: work add chan=%p name=%s event=%d",
- p, p->name ? p->name : "", p->this_event);
+static void run_fun(iochan_man_t man, IOCHAN p) {
+ if (p->this_event) {
+ if (man->sel_thread) {
+ yaz_log(man->log_level,
+ "eventl: work add chan=%p name=%s event=%d", p,
+ p->name ? p->name : "", p->this_event);
p->thread_users++;
sel_thread_add(man->sel_thread, p);
- }
- else
+ } else
work_handler(p);
}
}
-static int event_loop(iochan_man_t man, IOCHAN *iochans)
-{
+static int event_loop(iochan_man_t man, IOCHAN *iochans) {
do /* loop as long as there are active associations to process */
{
- IOCHAN p, *nextp;
- fd_set in, out, except;
- int res, max;
- static struct timeval to;
- struct timeval *timeout;
-
- FD_ZERO(&in);
- FD_ZERO(&out);
- FD_ZERO(&except);
- timeout = &to; /* hang on select */
- to.tv_sec = 300;
- to.tv_usec = 0;
- max = 0;
- for (p = *iochans; p; p = p->next)
- {
+ IOCHAN p, *nextp;
+ IOCHAN start;
+ IOCHAN inv_start;
+ fd_set in, out, except;
+ int res, max;
+ static struct timeval to;
+ struct timeval *timeout;
+
+// struct yaz_poll_fd *fds;
+ int no_fds = 0;
+ FD_ZERO(&in);
+ FD_ZERO(&out);
+ FD_ZERO(&except);
+ timeout = &to; /* hang on select */
+ to.tv_sec = 300;
+ to.tv_usec = 0;
+
+ // INV: start must no change through the loop
+
+ yaz_mutex_enter(man->iochan_mutex);
+ start = man->channel_list;
+ yaz_mutex_leave(man->iochan_mutex);
+ inv_start = start;
+ for (p = start; p; p = p->next) {
+ no_fds++;
+ }
+// fds = (struct yaz_poll_fd *) xmalloc(no_fds * sizeof(*fds));
+
+ max = 0;
+ for (p = start; p; p = p->next) {
if (p->thread_users > 0)
continue;
if (p->max_idle && p->max_idle < to.tv_sec)
to.tv_sec = p->max_idle;
if (p->fd < 0)
continue;
- if (p->flags & EVENT_INPUT)
- FD_SET(p->fd, &in);
- if (p->flags & EVENT_OUTPUT)
- FD_SET(p->fd, &out);
- if (p->flags & EVENT_EXCEPT)
- FD_SET(p->fd, &except);
- if (p->fd > max)
- max = p->fd;
- }
- if (man->sel_fd != -1)
- {
+ if (p->flags & EVENT_INPUT)
+ FD_SET(p->fd, &in);
+ if (p->flags & EVENT_OUTPUT)
+ FD_SET(p->fd, &out);
+ if (p->flags & EVENT_EXCEPT)
+ FD_SET(p->fd, &except);
+ if (p->fd > max)
+ max = p->fd;
+ }
+ yaz_log(man->log_level, "max=%d sel_fd=%d", max, man->sel_fd);
+
+ if (man->sel_fd != -1) {
if (man->sel_fd > max)
max = man->sel_fd;
FD_SET(man->sel_fd, &in);
yaz_log(man->log_level, "select begin nofds=%d", max);
res = select(max + 1, &in, &out, &except, timeout);
yaz_log(man->log_level, "select returned res=%d", res);
- if (res < 0)
- {
- if (errno == EINTR)
- continue;
- else
- {
- yaz_log(YLOG_ERRNO|YLOG_WARN, "select");
+ if (res < 0) {
+ if (errno == EINTR)
+ continue;
+ else {
+ yaz_log(YLOG_ERRNO | YLOG_WARN, "select");
return 0;
}
- }
- if (man->sel_fd != -1)
- {
- if (FD_ISSET(man->sel_fd, &in))
- {
+ }
+ if (man->sel_fd != -1) {
+ if (FD_ISSET(man->sel_fd, &in)) {
IOCHAN chan;
yaz_log(man->log_level, "eventl: sel input on sel_fd=%d",
man->sel_fd);
- while ((chan = sel_thread_result(man->sel_thread)))
- {
- yaz_log(man->log_level, "eventl: got thread result chan=%p name=%s",
- chan, chan->name ? chan->name : "");
+ while ((chan = sel_thread_result(man->sel_thread))) {
+ yaz_log(man->log_level,
+ "eventl: got thread result chan=%p name=%s", chan,
+ chan->name ? chan->name : "");
chan->thread_users--;
}
}
}
- if (man->log_level)
- {
+ if (man->log_level) {
int no = 0;
- for (p = *iochans; p; p = p->next)
+ for (p = start; p; p = p->next) {
no++;
+ }
yaz_log(man->log_level, "%d channels", no);
}
- for (p = *iochans; p; p = p->next)
- {
+ for (p = start; p; p = p->next) {
time_t now = time(0);
-
- if (p->destroyed)
- {
- yaz_log(man->log_level, "eventl: skip destroyed chan=%p name=%s", p, p->name ? p->name : "");
+
+ if (p->destroyed) {
+ yaz_log(man->log_level,
+ "eventl: skip destroyed chan=%p name=%s", p,
+ p->name ? p->name : "");
continue;
}
- if (p->thread_users > 0)
- {
- yaz_log(man->log_level, "eventl: skip chan=%p name=%s users=%d", p, p->name ? p->name : "", p->thread_users);
+ if (p->thread_users > 0) {
+ yaz_log(man->log_level,
+ "eventl: skip chan=%p name=%s users=%d", p,
+ p->name ? p->name : "", p->thread_users);
continue;
}
p->this_event = 0;
- if (p->max_idle && now - p->last_event > p->max_idle)
- {
+ if (p->max_idle && now - p->last_event > p->max_idle) {
p->last_event = now;
p->this_event |= EVENT_TIMEOUT;
}
- if (p->fd >= 0)
- {
- if (FD_ISSET(p->fd, &in))
- {
+ if (p->fd >= 0) {
+ if (FD_ISSET(p->fd, &in)) {
p->last_event = now;
p->this_event |= EVENT_INPUT;
}
- if (FD_ISSET(p->fd, &out))
- {
+ if (FD_ISSET(p->fd, &out)) {
p->last_event = now;
p->this_event |= EVENT_OUTPUT;
}
- if (FD_ISSET(p->fd, &except))
- {
+ if (FD_ISSET(p->fd, &except)) {
p->last_event = now;
p->this_event |= EVENT_EXCEPT;
}
}
run_fun(man, p);
- }
- for (nextp = iochans; *nextp; )
- {
+ }
+ assert(inv_start == start);
+ yaz_mutex_enter(man->iochan_mutex);
+ for (nextp = iochans; *nextp;) {
IOCHAN p = *nextp;
- if (p->destroyed && p->thread_users == 0)
- {
+ if (p->destroyed && p->thread_users == 0) {
*nextp = p->next;
xfree(p->name);
xfree(p);
- }
- else
+ } else
nextp = &p->next;
}
- }
- while (*iochans);
+ yaz_mutex_leave(man->iochan_mutex);
+ } while (*iochans);
return 0;
}
-void iochan_man_events(iochan_man_t man)
-{
- if (man->no_threads > 0 && !man->sel_thread)
- {
- man->sel_thread = sel_thread_create(
- work_handler, 0 /*work_destroy */, &man->sel_fd, man->no_threads);
+void iochan_man_events(iochan_man_t man) {
+ if (man->no_threads > 0 && !man->sel_thread) {
+ man->sel_thread = sel_thread_create(work_handler, 0 /*work_destroy */,
+ &man->sel_fd, man->no_threads);
yaz_log(man->log_level, "iochan_man_events. Using %d threads",
man->no_threads);
}
event_loop(man, &man->channel_list);
}
-void pazpar2_sleep(double d)
-{
+void pazpar2_sleep(double d) {
#ifdef WIN32
Sleep( (DWORD) (d * 1000));
#else
/* This file is part of Pazpar2.
- Copyright (C) 2006-2010 Index Data
+ Copyright (C) 2006-2011 Index Data
Pazpar2 is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
/* This file is part of Pazpar2.
- Copyright (C) 2006-2010 Index Data
+ Copyright (C) 2006-2011 Index Data
Pazpar2 is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
/* This file is part of Pazpar2.
- Copyright (C) 2006-2010 Index Data
+ Copyright (C) 2006-2011 Index Data
Pazpar2 is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
/* This file is part of Pazpar2.
- Copyright (C) 2006-2010 Index Data
+ Copyright (C) 2006-2011 Index Data
Pazpar2 is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
struct http_server
{
struct http_buf *http_buf_freelist;
+ int http_buf_freelist_count;
+ int http_buf_freelist_max;
+
struct http_channel *http_channel_freelist;
+ int http_channel_freelist_count;
+ int http_channel_freelist_max;
YAZ_MUTEX mutex;
int listener_socket;
int ref_count;
{
r = hs->http_buf_freelist;
hs->http_buf_freelist = hs->http_buf_freelist->next;
+ hs->http_buf_freelist_count--;
}
yaz_mutex_leave(hs->mutex);
if (!r)
static void http_buf_destroy(http_server_t hs, struct http_buf *b)
{
yaz_mutex_enter(hs->mutex);
- b->next = hs->http_buf_freelist;
- hs->http_buf_freelist = b;
+ if (hs->http_buf_freelist_max > 0 && hs->http_buf_freelist_count >= hs->http_buf_freelist_max) {
+ xfree(b);
+ while ((b = hs->http_buf_freelist)) {
+ xfree(b);
+ hs->http_buf_freelist = hs->http_buf_freelist->next;
+ }
+ hs->http_buf_freelist_count = 0;
+ }
+ else {
+ b->next = hs->http_buf_freelist;
+ hs->http_buf_freelist = b;
+ hs->http_buf_freelist_count++;
+#if 0
+ yaz_log(YLOG_DEBUG, "Free %d http buffers on server.", hs->http_buf_freelist_count);
+#endif
+ }
yaz_mutex_leave(hs->mutex);
}
http_server = s->http_server; /* save it for destroy (decref) */
yaz_mutex_enter(s->http_server->mutex);
- s->next = s->http_server->http_channel_freelist;
- s->http_server->http_channel_freelist = s;
+ if (s->http_server->http_channel_freelist_max > 0 && s->http_server->http_channel_freelist_count >= s->http_server->http_channel_freelist_max) {
+ while ((s->next = s->http_server->http_channel_freelist)) {
+ nmem_destroy(s->next->nmem);
+ wrbuf_destroy(s->next->wrbuf);
+ xfree(s->next);
+ s->http_server->http_channel_freelist = s->http_server->http_channel_freelist->next;
+ }
+ s->http_server->http_channel_freelist_count = 0;
+ }
+ else {
+ s->next = s->http_server->http_channel_freelist;
+ s->http_server->http_channel_freelist = s;
+ s->http_server->http_channel_freelist_count++;
+ yaz_log(YLOG_DEBUG, "Free %d channels on server.", s->http_server->http_channel_freelist_count);
+ }
yaz_mutex_leave(s->http_server->mutex);
http_server_destroy(http_server);
yaz_mutex_enter(hs->mutex);
r = hs->http_channel_freelist;
- if (r)
+ if (r) {
hs->http_channel_freelist = r->next;
+ hs->http_channel_freelist_count--;
+ }
yaz_mutex_leave(hs->mutex);
if (r)
hs->mutex = 0;
hs->proxy_addr = 0;
hs->ref_count = 1;
- hs->http_buf_freelist = 0;
- hs->http_channel_freelist = 0;
hs->http_sessions = 0;
+
+ hs->http_channel_freelist = 0;
+ hs->http_channel_freelist_count = 0;
+ /* Disable max check */
+ hs->http_channel_freelist_max = 0;
+
+ hs->http_buf_freelist = 0;
+ hs->http_buf_freelist_count = 0;
+ /* Disable max check */
+ hs->http_buf_freelist_max = 0;
return hs;
}
/* This file is part of Pazpar2.
- Copyright (C) 2006-2010 Index Data
+ Copyright (C) 2006-2011 Index Data
Pazpar2 is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
/* This file is part of Pazpar2.
- Copyright (C) 2006-2010 Index Data
+ Copyright (C) 2006-2011 Index Data
Pazpar2 is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
struct http_sessions {
struct http_session *session_list;
YAZ_MUTEX mutex;
+ int log_level;
};
+static YAZ_MUTEX g_http_session_mutex = 0;
+static int g_http_sessions = 0;
+
+int http_session_use(int delta)
+{
+ int sessions;
+ if (!g_http_session_mutex)
+ yaz_mutex_create(&g_http_session_mutex);
+ yaz_mutex_enter(g_http_session_mutex);
+ g_http_sessions += delta;
+ sessions = g_http_sessions;
+ yaz_mutex_leave(g_http_session_mutex);
+ yaz_log(YLOG_DEBUG, "%s sesions=%d", delta == 0 ? "" : (delta > 0 ? "INC" : "DEC"), sessions);
+ return sessions;
+
+}
+
http_sessions_t http_sessions_create(void)
{
http_sessions_t hs = xmalloc(sizeof(*hs));
hs->session_list = 0;
hs->mutex = 0;
pazpar2_mutex_create(&hs->mutex, "http_sessions");
+ hs->log_level = yaz_log_module_level("HTTP");
return hs;
}
char tmp_str[50];
sprintf(tmp_str, "session#%u", sesid);
- r->psession = new_session(nmem, service, tmp_str);
+ r->psession = new_session(nmem, service, sesid);
r->session_id = sesid;
r->timestamp = 0;
r->nmem = nmem;
r->timeout_iochan = iochan_create(-1, session_timeout, 0, "http_session_timeout");
iochan_setdata(r->timeout_iochan, r);
- yaz_log(YLOG_LOG, "timeout=%d", service->session_timeout);
+ yaz_log(http_sessions->log_level, "%p Session %u created. timeout chan=%p timeout=%d", r, sesid, r->timeout_iochan, service->session_timeout);
iochan_settimeout(r->timeout_iochan, service->session_timeout);
iochan_add(service->server->iochan_man, r->timeout_iochan);
+ http_session_use(1);
return r;
}
void http_session_destroy(struct http_session *s)
{
- int must_destroy = 1;
+ int must_destroy = 0;
http_sessions_t http_sessions = s->http_sessions;
- yaz_log(YLOG_LOG, "http_session_destroy %u", s->session_id);
+ yaz_log(http_sessions->log_level, "%p HTTP Session %u destroyed", s, s->session_id);
yaz_mutex_enter(http_sessions->mutex);
-
- /* only if http_session destroy was already called, we will allow it
- to be destroyed */
- if (s->destroy_counter != s->activity_counter)
- must_destroy = 0;
-
- s->destroy_counter = s->activity_counter = 0;
- if (must_destroy)
- {
+ /* only if http_session has no active http sessions on it can be destroyed */
+ if (s->destroy_counter == s->activity_counter) {
struct http_session **p = 0;
+ must_destroy = 1;
for (p = &http_sessions->session_list; *p; p = &(*p)->next)
if (*p == s)
{
yaz_mutex_leave(http_sessions->mutex);
if (must_destroy)
{ /* destroying for real */
- yaz_log(YLOG_LOG, "Destroying session %u", s->session_id);
+ yaz_log(http_sessions->log_level, "%p HTTP Session %u destroyed", s, s->session_id);
iochan_destroy(s->timeout_iochan);
destroy_session(s->psession);
+ http_session_use(-1);
nmem_destroy(s->nmem);
}
else {
- yaz_log(YLOG_LOG, "Active clients on session %u. Waiting for new timeout.", s->session_id);
+ yaz_log(http_sessions->log_level, "%p HTTP Session %u destroyed delayed. Active clients (%d-%d). Waiting for new timeout.",
+ s, s->session_id, s->activity_counter, s->destroy_counter);
}
}
return p;
}
+// Call after use of locate_session, in order to increment the destroy_counter
+static void release_session(struct http_channel *c, struct http_session *session) {
+ http_sessions_t http_sessions = c->http_sessions;
+ yaz_mutex_enter(http_sessions->mutex);
+ if (session)
+ session->destroy_counter++;
+ yaz_mutex_leave(http_sessions->mutex);
+}
+
// Decode settings parameters and apply to session
// Syntax: setting[target]=value
static int process_settings(struct session *se, struct http_request *rq,
sesid = make_sessionid();
s = http_session_create(service, c->http_sessions, sesid);
- yaz_log(YLOG_DEBUG, "HTTP Session init");
+ yaz_log(c->http_sessions->log_level, "%p Session init %u ", s, sesid);
if (!clear || *clear == '0')
session_init_databases(s->psession);
else
- yaz_log(YLOG_LOG, "No databases preloaded");
+ yaz_log(YLOG_LOG, "HTTP Session %u init: No databases preloaded", sesid);
if (process_settings(s->psession, c->request, c->response) < 0)
return;
xmlFreeDoc(doc);
}
- if (process_settings(s->psession, rq, rs) < 0)
+ if (process_settings(s->psession, rq, rs) < 0) {
+ release_session(c,s);
return;
+ }
rs->payload = HTTP_COMMAND_RESPONSE_PREFIX "<settings><status>OK</status></settings>";
http_send_response(c);
+ release_session(c,s);
}
// Compares two hitsbytarget nodes by hitcount
}
// This implements functionality somewhat similar to 'bytarget', but in a termlist form
-static void targets_termlist(WRBUF wrbuf, struct session *se, int num,
+static int targets_termlist(WRBUF wrbuf, struct session *se, int num,
NMEM nmem)
{
struct hitsbytarget *ht;
ht[i].diagnostic);
wrbuf_puts(wrbuf, "</term>\n");
}
+ return count;
}
static void cmd_termlist(struct http_channel *c)
const char *nums = http_argbyname(rq, "num");
int num = 15;
int status;
+ WRBUF debug_log = wrbuf_alloc();
if (!s)
return;
tp = name + strlen(name);
strncpy(tname, name, tp - name);
tname[tp - name] = '\0';
-
wrbuf_puts(c->wrbuf, "<list name=\"");
wrbuf_xmlputs(c->wrbuf, tname);
wrbuf_puts(c->wrbuf, "\">\n");
- if (!strcmp(tname, "xtargets"))
- targets_termlist(c->wrbuf, s->psession, num, c->nmem);
+ if (!strcmp(tname, "xtargets")) {
+ int targets = targets_termlist(c->wrbuf, s->psession, num, c->nmem);
+ wrbuf_printf(debug_log, " xtargets: %d", targets);
+ }
else
{
p = termlist(s->psession, tname, &len);
- if (p)
+ if (p && len)
+ wrbuf_printf(debug_log, " %s: %d", tname, len);
+ if (p) {
for (i = 0; i < len && i < num; i++){
// prevnt sending empty term elements
if (!p[i]->term || !p[i]->term[0])
p[i]->frequency);
wrbuf_puts(c->wrbuf, "</term>\n");
}
+ }
}
wrbuf_puts(c->wrbuf, "</list>\n");
name = tp;
name++;
}
wrbuf_puts(c->wrbuf, "</termlist>\n");
+ yaz_log(YLOG_DEBUG, "termlist response: %s ", wrbuf_cstr(debug_log));
+ wrbuf_destroy(debug_log);
rs->payload = nmem_strdup(rq->channel->nmem, wrbuf_cstr(c->wrbuf));
http_send_response(c);
+ release_session(c,s);
+}
+
+size_t session_get_memory_status(struct session *session);
+
+static void session_status(struct http_channel *c, struct http_session *s)
+{
+ size_t session_nmem;
+ wrbuf_printf(c->wrbuf, "<http_count>%u</http_count>\n", s->activity_counter);
+ wrbuf_printf(c->wrbuf, "<http_nmem>%zu</http_nmem>\n", nmem_total(s->nmem) );
+ session_nmem = session_get_memory_status(s->psession);
+ wrbuf_printf(c->wrbuf, "<session_nmem>%zu</session_nmem>\n", session_nmem);
+}
+
+static void cmd_session_status(struct http_channel *c) {
+ struct http_response *rs = c->response;
+ struct http_session *s = locate_session(c);
+ if (!s)
+ return;
+
+ wrbuf_rewind(c->wrbuf);
+ wrbuf_puts(c->wrbuf, HTTP_COMMAND_RESPONSE_PREFIX "<sessionstatus><status>OK</status>\n");
+ session_status(c, s);
+ wrbuf_puts(c->wrbuf, "</sessionstatus>\n");
+ rs->payload = nmem_strdup(c->nmem, wrbuf_cstr(c->wrbuf));
+ http_send_response(c);
+ release_session(c,s);
+
+}
+
+int sessions_count(void);
+int clients_count(void);
+#ifdef HAVE_RESULTSETS_COUNT
+int resultsets_count(void);
+#else
+#define resultsets_count() 0
+#endif
+
+static void cmd_server_status(struct http_channel *c)
+{
+ struct http_response *rs = c->response;
+ int sessions = sessions_count();
+ int clients = clients_count();
+ int resultsets = resultsets_count();
+ wrbuf_rewind(c->wrbuf);
+ wrbuf_puts(c->wrbuf, HTTP_COMMAND_RESPONSE_PREFIX "<server-status>\n");
+ wrbuf_printf(c->wrbuf, " <sessions>%u</sessions>\n", sessions);
+ wrbuf_printf(c->wrbuf, " <clients>%u</clients>\n", clients);
+ /* Only works if yaz has been compiled with enabling of this */
+ wrbuf_printf(c->wrbuf, " <resultsets>%u</resultsets>\n",resultsets);
+
+/* TODO add all sessions status */
+/* http_sessions_t http_sessions = c->http_sessions; */
+/* struct http_session *p; */
+/*
+ yaz_mutex_enter(http_sessions->mutex);
+ for (p = http_sessions->session_list; p; p = p->next) {
+ p->activity_counter++;
+ wrbuf_puts(c->wrbuf, "<session-status>\n");
+ wrbuf_printf(c->wrbuf, "<id>%s</id>\n", p->session_id);
+ yaz_mutex_leave(http_sessions->mutex);
+ session_status(c, p);
+ wrbuf_puts(c->wrbuf, "</session-status>\n");
+ yaz_mutex_enter(http_sessions->mutex);
+ p->activity_counter--;
+ }
+ yaz_mutex_leave(http_sessions->mutex);
+*/
+ wrbuf_puts(c->wrbuf, "</server-status>\n");
+ rs->payload = nmem_strdup(c->nmem, wrbuf_cstr(c->wrbuf));
+ http_send_response(c);
+ xmalloc_trav(0);
}
wrbuf_puts(c->wrbuf, "</bytarget>");
rs->payload = nmem_strdup(c->nmem, wrbuf_cstr(c->wrbuf));
http_send_response(c);
+ release_session(c,s);
}
static void write_metadata(WRBUF w, struct conf_service *service,
{
error(rs, PAZPAR2_RECORD_MISSING, idstr);
}
+ release_session(c, s);
return;
}
if (offsetstr)
http_send_response(c);
}
show_single_stop(s->psession, rec);
+ release_session(c, s);
}
static void cmd_record_ready(void *data)
if (!(sp = reclist_parse_sortparms(c->nmem, sort, s->psession->service)))
{
error(rs, PAZPAR2_MALFORMED_PARAMETER_VALUE, "sort");
+ release_session(c, s);
return;
}
wrbuf_puts(c->wrbuf, "</show>\n");
rs->payload = nmem_strdup(c->nmem, wrbuf_cstr(c->wrbuf));
http_send_response(c);
+ release_session(c, s);
}
static void show_records_ready(void *data)
if (block)
{
- if (status && reclist_get_num_records(s->psession->reclist) == 0)
+ if (!strcmp(block, "preferred") && !session_is_preferred_clients_ready(s->psession) && reclist_get_num_records(s->psession->reclist) == 0) {
+ // if there is already a watch/block. we do not block this one
+ if (session_set_watch(s->psession, SESSION_WATCH_SHOW_PREF,
+ show_records_ready, c, c) != 0)
+ {
+ yaz_log(c->http_sessions->log_level,
+ "%p Session %u: Blocking on cmd_show. Waiting for preferred targets", s, s->session_id);
+ }
+ release_session(c,s);
+ return;
+
+ }
+ else if (status && reclist_get_num_records(s->psession->reclist) == 0)
{
// if there is already a watch/block. we do not block this one
if (session_set_watch(s->psession, SESSION_WATCH_SHOW,
show_records_ready, c, c) != 0)
{
- yaz_log(YLOG_DEBUG, "Blocking on cmd_show");
+ yaz_log(c->http_sessions->log_level, "%p Session %u: Blocking on cmd_show", s, s->session_id);
}
+ release_session(c,s);
return;
}
}
-
show_records(c, status);
+ release_session(c,s);
}
static void cmd_ping(struct http_channel *c)
return;
rs->payload = HTTP_COMMAND_RESPONSE_PREFIX "<ping><status>OK</status></ping>";
http_send_response(c);
+ release_session(c, s);
}
static int utf_8_valid(const char *str)
if (!query)
{
error(rs, PAZPAR2_MISSING_PARAMETER, "query");
+ release_session(c,s);
return;
}
if (!utf_8_valid(query))
{
error(rs, PAZPAR2_MALFORMED_PARAMETER_ENCODING, "query");
+ release_session(c,s);
return;
}
code = search(s->psession, query, startrecs, maxrecs, filter, &addinfo);
if (code)
{
error(rs, code, addinfo);
+ release_session(c,s);
return;
}
rs->payload = HTTP_COMMAND_RESPONSE_PREFIX "<search><status>OK</status></search>";
http_send_response(c);
+ release_session(c,s);
}
wrbuf_puts(c->wrbuf, "</stat>");
rs->payload = nmem_strdup(c->nmem, wrbuf_cstr(c->wrbuf));
http_send_response(c);
+ release_session(c,s);
}
static void cmd_info(struct http_channel *c)
wrbuf_rewind(c->wrbuf);
wrbuf_puts(c->wrbuf, HTTP_COMMAND_RESPONSE_PREFIX "<info>\n");
wrbuf_puts(c->wrbuf, " <version>\n");
- wrbuf_puts(c->wrbuf, "<pazpar2");
+ wrbuf_puts(c->wrbuf, " <pazpar2");
#ifdef PAZPAR2_VERSION_SHA1
wrbuf_printf(c->wrbuf, " sha1=\"%s\"", PAZPAR2_VERSION_SHA1);
#endif
wrbuf_puts(c->wrbuf, " </version>\n");
+ info_services(c->server, c->wrbuf);
+
wrbuf_puts(c->wrbuf, "</info>");
rs->payload = nmem_strdup(c->nmem, wrbuf_cstr(c->wrbuf));
http_send_response(c);
{ "search", cmd_search },
{ "termlist", cmd_termlist },
{ "exit", cmd_exit },
+ { "session-status", cmd_session_status },
+ { "server-status", cmd_server_status },
{ "ping", cmd_ping },
{ "record", cmd_record },
{ "info", cmd_info },
/* This file is part of Pazpar2.
- Copyright (C) 2006-2010 Index Data
+ Copyright (C) 2006-2011 Index Data
Pazpar2 is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
/* This file is part of Pazpar2.
- Copyright (C) 2006-2010 Index Data
+ Copyright (C) 2006-2011 Index Data
Pazpar2 is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
/* This file is part of Pazpar2.
- Copyright (C) 2006-2010 Index Data
+ Copyright (C) 2006-2011 Index Data
Pazpar2 is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
/* This file is part of Pazpar2.
- Copyright (C) 2006-2010 Index Data
+ Copyright (C) 2006-2011 Index Data
Pazpar2 is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
/* This file is part of Pazpar2.
- Copyright (C) 2006-2010 Index Data
+ Copyright (C) 2006-2011 Index Data
Pazpar2 is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
/* This file is part of Pazpar2.
- Copyright (C) 2006-2010 Index Data
+ Copyright (C) 2006-2011 Index Data
Pazpar2 is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
/* This file is part of Pazpar2.
- Copyright (C) 2006-2010 Index Data
+ Copyright (C) 2006-2011 Index Data
Pazpar2 is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
/* This file is part of Pazpar2.
- Copyright (C) 2006-2010 Index Data
+ Copyright (C) 2006-2011 Index Data
Pazpar2 is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
/* This file is part of Pazpar2.
- Copyright (C) 2006-2010 Index Data
+ Copyright (C) 2006-2011 Index Data
Pazpar2 is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
/* This file is part of Pazpar2.
- Copyright (C) 2006-2010 Index Data
+ Copyright (C) 2006-2011 Index Data
Pazpar2 is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
/* This file is part of Pazpar2.
- Copyright (C) 2006-2010 Index Data
+ Copyright (C) 2006-2011 Index Data
Pazpar2 is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
/* This file is part of Pazpar2.
- Copyright (C) 2006-2010 Index Data
+ Copyright (C) 2006-2011 Index Data
Pazpar2 is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
/* This file is part of Pazpar2.
- Copyright (C) 2006-2010 Index Data
+ Copyright (C) 2006-2011 Index Data
Pazpar2 is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
}
int normalize_record_transform(normalize_record_t nt, xmlDoc **doc,
- const char **parms)
+ const char **parms)
{
- struct normalize_step *m;
- if (nt) {
+ if (nt)
+ {
+ struct normalize_step *m;
for (m = nt->steps; m; m = m->next)
{
xmlNodePtr root = 0;
- xmlDoc *new;
+ xmlDoc *ndoc;
if (m->stylesheet)
- {
- new = xsltApplyStylesheet(m->stylesheet, *doc, parms);
- }
+ ndoc = xsltApplyStylesheet(m->stylesheet, *doc, parms);
else if (m->marcmap)
- {
- new = marcmap_apply(m->marcmap, *doc);
- }
-
- root = xmlDocGetRootElement(new);
-
+ ndoc = marcmap_apply(m->marcmap, *doc);
+ else
+ ndoc = 0;
xmlFreeDoc(*doc);
- if (!new || !root || !root->children)
+ *doc = 0;
+
+ if (ndoc)
+ root = xmlDocGetRootElement(ndoc);
+
+ if (ndoc && root && root->children)
+ *doc = ndoc;
+ else
{
- if (new)
- xmlFreeDoc(new);
- *doc = 0;
+ if (ndoc)
+ xmlFreeDoc(ndoc);
return -1;
}
- *doc = new;
}
}
return 0;
/* This file is part of Pazpar2.
- Copyright (C) 2006-2010 Index Data
+ Copyright (C) 2006-2011 Index Data
Pazpar2 is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
/* This file is part of Pazpar2.
- Copyright (C) 2006-2010 Index Data
+ Copyright (C) 2006-2011 Index Data
Pazpar2 is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
/* This file is part of Pazpar2.
- Copyright (C) 2006-2010 Index Data
+ Copyright (C) 2006-2011 Index Data
Pazpar2 is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
--- /dev/null
+#!/bin/bash
+#
+# pazpar2 Startup script for Pazpar2
+#
+# chkconfig: - 85 15
+# description: Pazpar2 Metasearcher
+# processname: pazpar2
+# config: /etc/pazpar2/server.xml
+# config: /etc/sysconfig/pazpar2
+# pidfile: /var/run/pazpar2.pid
+
+# Source function library.
+OPTIONS="-l /var/log/pazpar2.log -f /etc/pazpar2/server.xml"
+. /etc/rc.d/init.d/functions
+
+if [ -f /etc/sysconfig/pazpar2 ]; then
+ . /etc/sysconfig/pazpar2
+fi
+
+# Path to the apachectl script, server binary, and short-form for messages.
+DAEMON=${DAEMON-/usr/sbin/pazpar2}
+prog=pazpar2
+pidfile=${PIDFILE-/var/run/pazpar2.pid}
+lockfile=${LOCKFILE-/var/lock/subsys/pazpar2}
+RETVAL=0
+
+start() {
+ echo -n $"Starting $prog: "
+ daemon --pidfile=${pidfile} $DAEMON $OPTIONS -D -p ${pidfile}
+ RETVAL=$?
+ echo
+ [ $RETVAL = 0 ] && touch ${lockfile}
+ return $RETVAL
+}
+
+stop() {
+ echo -n $"Stopping $prog: "
+ killproc -p ${pidfile} -d 10 $DAEMON
+ RETVAL=$?
+ echo
+ [ $RETVAL = 0 ] && rm -f ${lockfile} ${pidfile}
+}
+reload() {
+ stop
+ start
+}
+
+# See how we were called.
+case "$1" in
+ start)
+ start
+ ;;
+ stop)
+ stop
+ ;;
+ status)
+ status -p ${pidfile} $DAEMON
+ RETVAL=$?
+ ;;
+ restart)
+ stop
+ start
+ ;;
+ condrestart)
+ if [ -f ${pidfile} ] ; then
+ stop
+ start
+ fi
+ ;;
+ reload)
+ reload
+ ;;
+ configtest)
+ $DAEMON $OPTIONS -t
+ RETVAL=$?
+ ;;
+ *)
+ echo $"Usage: $prog {start|stop|restart|help|configtest}"
+ exit 1
+esac
+
+exit $RETVAL
--- /dev/null
+/var/log/pazpar2.log {
+ weekly
+ missingok
+ rotate 4
+ compress
+ delaycompress
+ notifempty
+ postrotate
+ if [ -f /var/run/pazpar2.pid ]; then
+ /sbin/service pazpar2 restart > /dev/null
+ fi
+ endscript
+}
/* This file is part of Pazpar2.
- Copyright (C) 2006-2010 Index Data
+ Copyright (C) 2006-2011 Index Data
Pazpar2 is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
service->relevance_pct = 0;
service->sort_pct = 0;
service->mergekey_pct = 0;
+ service->facet_pct = 0;
service->id = service_id ? nmem_strdup(nmem, service_id) : 0;
service->num_metadata = num_metadata;
pp2_charset_destroy(service->relevance_pct);
pp2_charset_destroy(service->sort_pct);
pp2_charset_destroy(service->mergekey_pct);
+ pp2_charset_destroy(service->facet_pct);
yaz_mutex_destroy(&service->mutex);
nmem_destroy(service->nmem);
}
return 0;
}
}
+ else if (!strcmp((const char *) n->name, "facet"))
+ {
+ if (service->mergekey_pct)
+ {
+ yaz_log(YLOG_LOG, "facety may not repeat in service");
+ return 0;
+ }
+ else
+ {
+ service->facet_pct = pp2_charset_create_xml(n);
+ if (!service->mergekey_pct)
+ return 0;
+ }
+ }
else if (!strcmp((const char *) n->name, (const char *) "metadata"))
{
if (parse_metadata(service, n, &md_node, &sk_node))
}
}
- /* use relevance/sort/mergekey from server if not defined
+ /* use relevance/sort/mergekey/facet from server if not defined
for this service.. */
if (!s->relevance_pct)
{
pp2_charset_incref(s->relevance_pct);
}
else
- s->relevance_pct = pp2_charset_create(0);
+ s->relevance_pct = pp2_charset_create_a_to_z();
}
if (!s->sort_pct)
pp2_charset_incref(s->sort_pct);
}
else
- s->sort_pct = pp2_charset_create(0);
+ s->sort_pct = pp2_charset_create_a_to_z();
}
if (!s->mergekey_pct)
pp2_charset_incref(s->mergekey_pct);
}
else
- s->mergekey_pct = pp2_charset_create(0);
+ s->mergekey_pct = pp2_charset_create_a_to_z();
+ }
+
+ if (!s->facet_pct)
+ {
+ if (server->facet_pct)
+ {
+ s->facet_pct = server->facet_pct;
+ pp2_charset_incref(s->facet_pct);
+ }
+ else
+ s->facet_pct = pp2_charset_create(0);
}
}
server->relevance_pct = 0;
server->sort_pct = 0;
server->mergekey_pct = 0;
+ server->facet_pct = 0;
server->server_settings = 0;
server->http_server = 0;
server->iochan_man = 0;
if (!server->mergekey_pct)
return 0;
}
+ else if (!strcmp((const char *) n->name, "facet"))
+ {
+ server->facet_pct = pp2_charset_create_xml(n);
+ if (!server->facet_pct)
+ return 0;
+ }
else if (!strcmp((const char *) n->name, "service"))
{
char *service_id = (char *)
return s;
}
+void info_services(struct conf_server *server, WRBUF w)
+{
+ struct conf_service *s = server->service;
+ wrbuf_puts(w, " <services>\n");
+ for (; s; s = s->next)
+ {
+ wrbuf_puts(w, " <service");
+ if (s->id)
+ {
+ wrbuf_puts(w, " id=\"");
+ wrbuf_xmlputs(w, s->id);
+ wrbuf_puts(w, "\"");
+ }
+ wrbuf_puts(w, "/>");
+
+ wrbuf_puts(w, "\n");
+ }
+ wrbuf_puts(w, " </services>\n");
+}
static int parse_config(struct conf_config *config, xmlNode *root)
{
pp2_charset_destroy(server->relevance_pct);
pp2_charset_destroy(server->sort_pct);
pp2_charset_destroy(server->mergekey_pct);
+ pp2_charset_destroy(server->facet_pct);
yaz_log(YLOG_LOG, "server_destroy server=%p", server);
http_server_destroy(server->http_server);
}
/* This file is part of Pazpar2.
- Copyright (C) 2006-2010 Index Data
+ Copyright (C) 2006-2011 Index Data
Pazpar2 is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
pp2_charset_t relevance_pct;
pp2_charset_t sort_pct;
pp2_charset_t mergekey_pct;
+ pp2_charset_t facet_pct;
struct database *databases;
struct conf_targetprofiles *targetprofiles;
pp2_charset_t relevance_pct;
pp2_charset_t sort_pct;
pp2_charset_t mergekey_pct;
+ pp2_charset_t facet_pct;
+
struct conf_service *service;
struct conf_server *next;
struct conf_config *config;
struct conf_config *config_create(const char *fname, int verbose);
void config_destroy(struct conf_config *config);
void config_process_events(struct conf_config *config);
+void info_services(struct conf_server *server, WRBUF w);
struct conf_service *locate_service(struct conf_server *server,
const char *service_id);
/* This file is part of Pazpar2.
- Copyright (C) 2006-2010 Index Data
+ Copyright (C) 2006-2011 Index Data
Pazpar2 is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
/* This file is part of Pazpar2.
- Copyright (C) 2006-2010 Index Data
+ Copyright (C) 2006-2011 Index Data
Pazpar2 is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
/* This file is part of Pazpar2.
- Copyright (C) 2006-2010 Index Data
+ Copyright (C) 2006-2011 Index Data
Pazpar2 is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
/* This file is part of Pazpar2.
- Copyright (C) 2006-2010 Index Data
+ Copyright (C) 2006-2011 Index Data
Pazpar2 is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
/* This file is part of Pazpar2.
- Copyright (C) 2006-2010 Index Data
+ Copyright (C) 2006-2011 Index Data
Pazpar2 is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
/* This file is part of Pazpar2.
- Copyright (C) 2006-2010 Index Data
+ Copyright (C) 2006-2011 Index Data
Pazpar2 is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
/* This file is part of Pazpar2.
- Copyright (C) 2006-2010 Index Data
+ Copyright (C) 2006-2011 Index Data
Pazpar2 is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
/* This file is part of Pazpar2.
- Copyright (C) 2006-2010 Index Data
+ Copyright (C) 2006-2011 Index Data
Pazpar2 is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
/* This file is part of Pazpar2.
- Copyright (C) 2006-2010 Index Data
+ Copyright (C) 2006-2011 Index Data
Pazpar2 is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
#include "sel_thread.h"
#include <yaz/log.h>
#include <yaz/nmem.h>
+#if HAVE_UNISTD_H
#include <unistd.h>
+#endif
+#ifdef WIN32
+#include <winsock2.h>
+#endif
#include <stdlib.h>
-#include <pthread.h>
+#include <yaz/thread_create.h>
+#include <yaz/mutex.h>
+#include <yaz/spipe.h>
#include <assert.h>
struct work_item {
}
struct sel_thread {
- int fd[2];
+ int write_fd;
+ int read_fd;
+ yaz_spipe_t spipe;
NMEM nmem;
- pthread_t *thread_id;
- pthread_mutex_t mutex;
- pthread_cond_t input_data;
+ yaz_thread_t *thread_id;
+ YAZ_MUTEX mutex;
+ YAZ_COND input_data;
int stop_flag;
int no_threads;
struct work_item *input_queue;
void (*work_destroy)(void *work_data);
};
+static int input_queue_length = 0;
+
static void *sel_thread_handler(void *vp)
{
sel_thread_t p = (sel_thread_t) vp;
{
struct work_item *work_this = 0;
/* wait for some work */
- pthread_mutex_lock(&p->mutex);
+ yaz_mutex_enter(p->mutex);
while (!p->stop_flag && !p->input_queue)
- pthread_cond_wait(&p->input_data, &p->mutex);
+ yaz_cond_wait(p->input_data, p->mutex, 0);
/* see if we were waken up because we're shutting down */
if (p->stop_flag)
break;
assert(p->input_queue);
work_this = queue_remove_last(&p->input_queue);
+ input_queue_length--;
+#if 0
+ yaz_log(YLOG_DEBUG, "input queue length after pop: %d", input_queue_length);
+#endif
assert(work_this);
- pthread_mutex_unlock(&p->mutex);
+ yaz_mutex_leave(p->mutex);
/* work on this item */
p->work_handler(work_this->data);
/* put it back into output queue */
- pthread_mutex_lock(&p->mutex);
+ yaz_mutex_enter(p->mutex);
work_this->next = p->output_queue;
p->output_queue = work_this;
- pthread_mutex_unlock(&p->mutex);
+ yaz_mutex_leave(p->mutex);
/* wake up select/poll with a single byte */
- (void) write(p->fd[1], "", 1);
+#ifdef WIN32
+ (void) send(p->write_fd, "", 1, 0);
+#else
+ (void) write(p->write_fd, "", 1);
+#endif
}
- pthread_mutex_unlock(&p->mutex);
+ yaz_mutex_leave(p->mutex);
return 0;
}
assert(no_of_threads >= 1);
p->nmem = nmem;
- if (pipe(p->fd))
+
+#ifdef WIN32
+ /* use port 12119 temporarily on Windos and hope for the best */
+ p->spipe = yaz_spipe_create(12119, 0);
+#else
+ p->spipe = yaz_spipe_create(0, 0);
+#endif
+ if (!p->spipe)
{
nmem_destroy(nmem);
return 0;
- }
- *read_fd = p->fd[0];
+ }
+
+ *read_fd = p->read_fd = yaz_spipe_get_read_fd(p->spipe);
+ p->write_fd = yaz_spipe_get_write_fd(p->spipe);
+
p->input_queue = 0;
p->output_queue = 0;
p->free_queue = 0;
p->work_handler = work_handler;
p->work_destroy = work_destroy;
-
+ p->no_threads = 0; /* we if need to destroy */
p->stop_flag = 0;
- p->no_threads = no_of_threads;
- pthread_mutex_init(&p->mutex, 0);
- pthread_cond_init(&p->input_data, 0);
+ p->mutex = 0;
+ yaz_mutex_create(&p->mutex);
+ yaz_cond_create(&p->input_data);
+ if (p->input_data == 0) /* condition variable could not be created? */
+ {
+ sel_thread_destroy(p);
+ return 0;
+ }
+ p->no_threads = no_of_threads;
p->thread_id = nmem_malloc(nmem, sizeof(*p->thread_id) * p->no_threads);
for (i = 0; i < p->no_threads; i++)
- pthread_create(p->thread_id + i, 0, sel_thread_handler, p);
+ p->thread_id[i] = yaz_thread_create(sel_thread_handler, p);
return p;
}
void sel_thread_destroy(sel_thread_t p)
{
int i;
- pthread_mutex_lock(&p->mutex);
+ yaz_mutex_enter(p->mutex);
p->stop_flag = 1;
- pthread_cond_broadcast(&p->input_data);
- pthread_mutex_unlock(&p->mutex);
+ yaz_cond_broadcast(p->input_data);
+ yaz_mutex_leave(p->mutex);
for (i = 0; i< p->no_threads; i++)
- pthread_join(p->thread_id[i], 0);
+ yaz_thread_join(&p->thread_id[i], 0);
if (p->work_destroy)
{
queue_trav(p->output_queue, p->work_destroy);
}
- close(p->fd[0]);
- close(p->fd[1]);
- pthread_cond_destroy(&p->input_data);
- pthread_mutex_destroy(&p->mutex);
+ yaz_spipe_destroy(p->spipe);
+ yaz_cond_destroy(&p->input_data);
+ yaz_mutex_destroy(&p->mutex);
nmem_destroy(p->nmem);
}
{
struct work_item *work_p;
- pthread_mutex_lock(&p->mutex);
+ yaz_mutex_enter(p->mutex);
if (p->free_queue)
{
work_p->data = data;
work_p->next = p->input_queue;
p->input_queue = work_p;
-
- pthread_cond_signal(&p->input_data);
- pthread_mutex_unlock(&p->mutex);
+ input_queue_length++;
+#if 0
+ yaz_log(YLOG_DEBUG, "sel_thread_add: Input queue length after push: %d", input_queue_length);
+#endif
+ yaz_cond_signal(p->input_data);
+ yaz_mutex_leave(p->mutex);
}
void *sel_thread_result(sel_thread_t p)
void *data = 0;
char read_buf[1];
- pthread_mutex_lock(&p->mutex);
+ yaz_mutex_enter(p->mutex);
/* got something. Take the last one out of output_queue */
work_this = queue_remove_last(&p->output_queue);
p->free_queue = work_this;
data = work_this->data;
- (void) read(p->fd[0], read_buf, 1);
+#ifdef WIN32
+ (void) recv(p->read_fd, read_buf, 1, 0);
+#else
+ (void) read(p->read_fd, read_buf, 1);
+#endif
}
- pthread_mutex_unlock(&p->mutex);
+ yaz_mutex_leave(p->mutex);
return data;
}
/* This file is part of Pazpar2.
- Copyright (C) 2006-2010 Index Data
+ Copyright (C) 2006-2011 Index Data
Pazpar2 is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
/* This file is part of Pazpar2.
- Copyright (C) 2006-2010 Index Data
+ Copyright (C) 2006-2011 Index Data
Pazpar2 is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
#if HAVE_UNISTD_H
#include <unistd.h>
#endif
+#ifdef WIN32
+#include <windows.h>
+#endif
#include <signal.h>
#include <ctype.h>
#include <assert.h>
+#include <math.h>
#include <yaz/marcdisp.h>
#include <yaz/comstack.h>
#include <yaz/querytowrbuf.h>
#include <yaz/oid_db.h>
#include <yaz/snprintf.h>
+#include <yaz/gettimeofday.h>
#define USE_TIMING 0
#if USE_TIMING
#define MAX_CHUNK 15
+#define MAX(a,b) ((a)>(b)?(a):(b))
+
// Note: Some things in this structure will eventually move to configuration
struct parameters global_parameters =
{
struct client_list *next;
};
+/* session counting (1) , disable client counting (0) */
+static YAZ_MUTEX g_session_mutex = 0;
+static int no_sessions = 0;
+
+static int session_use(int delta)
+{
+ int sessions;
+ if (!g_session_mutex)
+ yaz_mutex_create(&g_session_mutex);
+ yaz_mutex_enter(g_session_mutex);
+ no_sessions += delta;
+ sessions = no_sessions;
+ yaz_mutex_leave(g_session_mutex);
+ yaz_log(YLOG_DEBUG, "%s sesions=%d", delta == 0 ? "" : (delta > 0 ? "INC" : "DEC"), no_sessions);
+ return sessions;
+}
+
+int sessions_count(void) {
+ return session_use(0);
+}
+
static void log_xml_doc(xmlDoc *doc)
{
FILE *lf = yaz_log_file();
}
-static void add_facet(struct session *s, const char *type, const char *value)
+void add_facet(struct session *s, const char *type, const char *value, int count)
{
- int i;
-
- if (!*value)
- return;
- for (i = 0; i < s->num_termlists; i++)
- if (!strcmp(s->termlists[i].name, type))
- break;
- if (i == s->num_termlists)
+ struct conf_service *service = s->service;
+ pp2_relevance_token_t prt;
+ const char *facet_component;
+ WRBUF facet_wrbuf = wrbuf_alloc();
+ prt = pp2_relevance_tokenize(service->facet_pct);
+
+ pp2_relevance_first(prt, value, 0);
+ while ((facet_component = pp2_relevance_token_next(prt)))
{
- if (i == SESSION_MAX_TERMLISTS)
+ if (*facet_component)
{
- yaz_log(YLOG_FATAL, "Too many termlists");
- return;
+ if (wrbuf_len(facet_wrbuf))
+ wrbuf_puts(facet_wrbuf, " ");
+ wrbuf_puts(facet_wrbuf, facet_component);
}
-
- s->termlists[i].name = nmem_strdup(s->nmem, type);
- s->termlists[i].termlist
- = termlist_create(s->nmem, TERMLIST_HIGH_SCORE);
- s->num_termlists = i + 1;
}
- termlist_insert(s->termlists[i].termlist, value);
+ pp2_relevance_token_destroy(prt);
+
+ if (wrbuf_len(facet_wrbuf))
+ {
+ int i;
+ for (i = 0; i < s->num_termlists; i++)
+ if (!strcmp(s->termlists[i].name, type))
+ break;
+ if (i == s->num_termlists)
+ {
+ if (i == SESSION_MAX_TERMLISTS)
+ {
+ session_log(s, YLOG_FATAL, "Too many termlists");
+ wrbuf_destroy(facet_wrbuf);
+ return;
+ }
+
+ s->termlists[i].name = nmem_strdup(s->nmem, type);
+ s->termlists[i].termlist
+ = termlist_create(s->nmem, TERMLIST_HIGH_SCORE);
+ s->num_termlists = i + 1;
+ }
+
+#if 0
+ session_log(s, YLOG_DEBUG, "Facets for %s: %s norm:%s (%d)", type, value, wrbuf_cstr(facet_wrbuf), count);
+#endif
+ termlist_insert(s->termlists[i].termlist, wrbuf_cstr(facet_wrbuf),
+ count);
+ }
+ wrbuf_destroy(facet_wrbuf);
}
-static xmlDoc *record_to_xml(struct session_database *sdb, const char *rec)
+static xmlDoc *record_to_xml(struct session *se,
+ struct session_database *sdb, const char *rec)
{
struct database *db = sdb->database;
xmlDoc *rdoc = 0;
if (!rdoc)
{
- yaz_log(YLOG_FATAL, "Non-wellformed XML received from %s",
- db->url);
+ session_log(se, YLOG_FATAL, "Non-wellformed XML received from %s",
+ db->url);
return 0;
}
if (global_parameters.dump_records)
{
- yaz_log(YLOG_LOG, "Un-normalized record from %s", db->url);
+ session_log(se, YLOG_LOG, "Un-normalized record from %s", db->url);
log_xml_doc(rdoc);
}
}
}
-static xmlDoc *normalize_record(struct session_database *sdb,
+static xmlDoc *normalize_record(struct session *se,
+ struct session_database *sdb,
struct conf_service *service,
const char *rec, NMEM nmem)
{
- xmlDoc *rdoc = record_to_xml(sdb, rec);
+ xmlDoc *rdoc = record_to_xml(se, sdb, rec);
if (rdoc)
{
if (normalize_record_transform(sdb->map, &rdoc, (const char **)parms))
{
- yaz_log(YLOG_WARN, "Normalize failed from %s", sdb->database->url);
+ session_log(se, YLOG_WARN, "Normalize failed from %s",
+ sdb->database->url);
}
else
{
if (global_parameters.dump_records)
{
- yaz_log(YLOG_LOG, "Normalized record from %s",
- sdb->database->url);
+ session_log(se, YLOG_LOG, "Normalized record from %s",
+ sdb->database->url);
log_xml_doc(rdoc);
}
}
if (!sdb->settings)
{
- yaz_log(YLOG_WARN, "No settings on %s", sdb->database->url);
+ session_log(se, YLOG_WARN, "No settings on %s", sdb->database->url);
return -1;
}
if ((s = session_setting_oneval(sdb, PZ_XSLT)))
}
else
{
- yaz_log(YLOG_WARN, "No pz:requestsyntax for auto stylesheet");
+ session_log(se, YLOG_WARN,
+ "No pz:requestsyntax for auto stylesheet");
}
}
sdb->map = normalize_cache_get(se->normalize_cache,
{
if (!sdb->settings)
{
- yaz_log(YLOG_WARN,
+ session_log(se, YLOG_WARN,
"No settings associated with %s", sdb->database->url);
return -1;
}
session_watchfun fun;
http_remove_observer(s->watchlist[what].obs);
- fun = s->watchlist[what].fun;
+ fun = s->watchlist[what].fun;
data = s->watchlist[what].data;
/* reset watch before fun is invoked - in case fun wants to set
s->watchlist[what].obs = 0;
session_leave(s);
+ session_log(s, YLOG_DEBUG,
+ "Alert Watch: %d calling function: %p", what, fun);
fun(data);
}
else
client_set_database(cl, db);
client_set_session(cl, se);
+
l = xmalloc(sizeof(*l));
l->client = cl;
l->next = se->clients;
return res;
}
+int session_is_preferred_clients_ready(struct session *s)
+{
+ struct client_list *l;
+ int res = 0;
+
+ for (l = s->clients; l; l = l->next)
+ if (client_is_active_preferred(l->client))
+ res++;
+ session_log(s, YLOG_DEBUG, "Has %d active preferred clients.", res);
+ return res == 0;
+}
+
+
enum pazpar2_error_code search(struct session *se,
const char *query,
int no_working = 0;
int no_failed = 0;
struct client_list *l;
- struct timespec abstime;
struct timeval tval;
- yaz_log(YLOG_DEBUG, "Search");
+ session_log(se, YLOG_DEBUG, "Search");
*addinfo = 0;
}
se->reclist = reclist_create(se->nmem);
- gettimeofday(&tval, 0);
+ yaz_gettimeofday(&tval);
- abstime.tv_sec = tval.tv_sec + 5;
- abstime.tv_nsec = tval.tv_usec * 1000;
+ tval.tv_sec += 5;
for (l = se->clients; l; l = l->next)
{
if (client_prep_connection(cl, se->service->z3950_operation_timeout,
se->service->z3950_session_timeout,
se->service->server->iochan_man,
- &abstime))
+ &tval))
client_start_search(cl);
}
}
}
}
-void destroy_session(struct session *s)
+void destroy_session(struct session *se)
{
struct session_database *sdb;
+ session_log(se, YLOG_DEBUG, "Destroying");
+ session_use(-1);
+ session_remove_clients(se);
- session_remove_clients(s);
-
- for (sdb = s->databases; sdb; sdb = sdb->next)
+ for (sdb = se->databases; sdb; sdb = sdb->next)
session_database_destroy(sdb);
- normalize_cache_destroy(s->normalize_cache);
- relevance_destroy(&s->relevance);
- reclist_destroy(s->reclist);
- nmem_destroy(s->nmem);
- service_destroy(s->service);
- yaz_mutex_destroy(&s->session_mutex);
- wrbuf_destroy(s->wrbuf);
+ normalize_cache_destroy(se->normalize_cache);
+ relevance_destroy(&se->relevance);
+ reclist_destroy(se->reclist);
+ nmem_destroy(se->nmem);
+ service_destroy(se->service);
+ yaz_mutex_destroy(&se->session_mutex);
+ wrbuf_destroy(se->wrbuf);
+}
+
+size_t session_get_memory_status(struct session *session) {
+ size_t session_nmem;
+ if (session == 0)
+ return 0;
+ session_enter(session);
+ session_nmem = nmem_total(session->nmem);
+ session_leave(session);
+ return session_nmem;
}
+
struct session *new_session(NMEM nmem, struct conf_service *service,
- const char *name)
+ unsigned session_id)
{
int i;
struct session *session = nmem_malloc(nmem, sizeof(*session));
- yaz_log(YLOG_DEBUG, "New Pazpar2 session");
+ char tmp_str[50];
+
+ sprintf(tmp_str, "session#%u", session_id);
+ session->session_id = session_id;
+ session_log(session, YLOG_DEBUG, "New");
session->service = service;
session->relevance = 0;
session->total_hits = 0;
}
session->normalize_cache = normalize_cache_create();
session->session_mutex = 0;
- pazpar2_mutex_create(&session->session_mutex, name);
-
+ pazpar2_mutex_create(&session->session_mutex, tmp_str);
+ session_use(1);
return session;
}
return res;
}
-struct termlist_score **termlist(struct session *s, const char *name, int *num)
+struct termlist_score **termlist(struct session *se, const char *name, int *num)
{
int i;
struct termlist_score **tl = 0;
- session_enter(s);
- for (i = 0; i < s->num_termlists; i++)
- if (!strcmp((const char *) s->termlists[i].name, name))
+ session_enter(se);
+ for (i = 0; i < se->num_termlists; i++)
+ if (!strcmp((const char *) se->termlists[i].name, name))
{
- tl = termlist_highscore(s->termlists[i].termlist, num);
+ tl = termlist_highscore(se->termlists[i].termlist, num);
break;
}
- session_leave(s);
+ session_leave(se);
return tl;
}
}
#endif
-struct record_cluster *show_single_start(struct session *s, const char *id,
+struct record_cluster *show_single_start(struct session *se, const char *id,
struct record_cluster **prev_r,
struct record_cluster **next_r)
{
- struct record_cluster *r;
+ struct record_cluster *r = 0;
- session_enter(s);
- reclist_enter(s->reclist);
+ session_enter(se);
*prev_r = 0;
*next_r = 0;
- while ((r = reclist_read_record(s->reclist)))
+ if (se->reclist)
{
- if (!strcmp(r->recid, id))
+ reclist_enter(se->reclist);
+ while ((r = reclist_read_record(se->reclist)))
{
- *next_r = reclist_read_record(s->reclist);
- break;
+ if (!strcmp(r->recid, id))
+ {
+ *next_r = reclist_read_record(se->reclist);
+ break;
+ }
+ *prev_r = r;
}
- *prev_r = r;
+ reclist_leave(se->reclist);
}
- reclist_leave(s->reclist);
if (!r)
- session_leave(s);
+ session_leave(se);
return r;
}
-void show_single_stop(struct session *s, struct record_cluster *rec)
+void show_single_stop(struct session *se, struct record_cluster *rec)
{
- session_leave(s);
+ session_leave(se);
}
-struct record_cluster **show_range_start(struct session *s,
+struct record_cluster **show_range_start(struct session *se,
struct reclist_sortparms *sp,
int start, int *num, int *total, Odr_int *sumhits)
{
- struct record_cluster **recs = nmem_malloc(s->nmem, *num
- * sizeof(struct record_cluster *));
+ struct record_cluster **recs;
struct reclist_sortparms *spp;
int i;
#if USE_TIMING
yaz_timing_t t = yaz_timing_create();
#endif
-
- session_enter(s);
- if (!s->relevance)
+ session_enter(se);
+ recs = nmem_malloc(se->nmem, *num * sizeof(struct record_cluster *));
+ if (!se->relevance)
{
*num = 0;
*total = 0;
for (spp = sp; spp; spp = spp->next)
if (spp->type == Metadata_sortkey_relevance)
{
- relevance_prepare_read(s->relevance, s->reclist);
+ relevance_prepare_read(se->relevance, se->reclist);
break;
}
- reclist_sort(s->reclist, sp);
+ reclist_sort(se->reclist, sp);
- reclist_enter(s->reclist);
- *total = reclist_get_num_records(s->reclist);
- *sumhits = s->total_hits;
+ reclist_enter(se->reclist);
+ *total = reclist_get_num_records(se->reclist);
+ *sumhits = se->total_hits;
for (i = 0; i < start; i++)
- if (!reclist_read_record(s->reclist))
+ if (!reclist_read_record(se->reclist))
{
*num = 0;
recs = 0;
for (i = 0; i < *num; i++)
{
- struct record_cluster *r = reclist_read_record(s->reclist);
+ struct record_cluster *r = reclist_read_record(se->reclist);
if (!r)
{
*num = i;
}
recs[i] = r;
}
- reclist_leave(s->reclist);
+ reclist_leave(se->reclist);
}
#if USE_TIMING
yaz_timing_stop(t);
return recs;
}
-void show_range_stop(struct session *s, struct record_cluster **recs)
+void show_range_stop(struct session *se, struct record_cluster **recs)
{
- session_leave(s);
+ session_leave(se);
}
void statistics(struct session *se, struct statistics *stat)
if (!strcmp((const char *) n->name, "metadata"))
{
xmlChar *type = xmlGetProp(n, (xmlChar *) "type");
- if (!strcmp(name, (const char *) type))
+ if (type == NULL) {
+ yaz_log(YLOG_FATAL, "Missing type attribute on metadata element. Skipping!");
+ }
+ else if (!strcmp(name, (const char *) type))
{
xmlChar *value = xmlNodeListGetString(doc, n->children, 1);
if (value)
if (type)
{
size_t len;
- const char *eq = strchr(s, '~');
- if (eq)
- len = eq - s;
+ int substring;
+ const char *eq;
+
+ if ((eq = strchr(s, '=')))
+ substring = 0;
+ else if ((eq = strchr(s, '~')))
+ substring = 1;
+ if (eq)
+ len = eq - s;
else
len = strlen(s);
if (len == strlen((const char *)type) &&
xmlChar *value = xmlNodeGetContent(n);
if (value && *value)
{
- if (!eq || strstr((const char *) value, eq+1))
+ if (!eq ||
+ (substring && strstr((const char *) value, eq+1)) ||
+ (!substring && !strcmp((const char *) value, eq + 1)))
match = 1;
}
xmlFree(value);
\param cl client holds the result set for record
\param rec record buffer (0 terminated)
\param record_no record position (1, 2, ..)
+ \param nmem working NMEM
\retval 0 OK
\retval -1 failure
*/
int ret = 0;
struct session_database *sdb = client_get_database(cl);
struct conf_service *service = se->service;
- xmlDoc *xdoc = normalize_record(sdb, service, rec, nmem);
+ xmlDoc *xdoc = normalize_record(se, sdb, service, rec, nmem);
xmlNode *root;
const char *mergekey_norm;
if (!check_record_filter(root, sdb))
{
- yaz_log(YLOG_WARN, "Filtered out record no %d from %s", record_no,
- sdb->database->url);
+ session_log(se, YLOG_WARN, "Filtered out record no %d from %s",
+ record_no, sdb->database->url);
xmlFreeDoc(xdoc);
return -1;
}
mergekey_norm = get_mergekey(xdoc, cl, record_no, service, nmem);
if (!mergekey_norm)
{
- yaz_log(YLOG_WARN, "Got no mergekey");
+ session_log(se, YLOG_WARN, "Got no mergekey");
xmlFreeDoc(xdoc);
return -1;
}
- client_unlock(cl);
session_enter(se);
- client_lock(cl);
if (client_get_session(cl) == se)
ret = ingest_to_cluster(cl, xdoc, root, record_no, mergekey_norm);
- client_unlock(cl);
session_leave(se);
- client_lock(cl);
xmlFreeDoc(xdoc);
return ret;
record,
mergekey_norm,
&se->total_merged);
+
+ const char *use_term_factor_str = session_setting_oneval(sdb, PZ_TERMLIST_TERM_FACTOR);
+ int use_term_factor = 0;
+ int term_factor = 1;
+ if (use_term_factor_str && use_term_factor_str[0] != 0)
+ use_term_factor = atoi(use_term_factor_str);
+ if (use_term_factor) {
+ int maxrecs = client_get_maxrecs(cl);
+ int hits = (int) client_get_hits(cl);
+ term_factor = MAX(hits, maxrecs) / MAX(1, maxrecs);
+ assert(term_factor >= 1);
+ yaz_log(YLOG_DEBUG, "Using term factor: %d (%d / %d)", term_factor, MAX(hits, maxrecs), MAX(1, maxrecs));
+ }
+
if (!cluster)
return -1;
if (global_parameters.dump_records)
- yaz_log(YLOG_LOG, "Cluster id %s from %s (#%d)", cluster->recid,
- sdb->database->url, record_no);
+ session_log(se, YLOG_LOG, "Cluster id %s from %s (#%d)", cluster->recid,
+ sdb->database->url, record_no);
relevance_newrec(se->relevance, cluster);
// now parsing XML record and adding data to cluster or record metadata
{
if (se->number_of_warnings_unknown_metadata == 0)
{
- yaz_log(YLOG_WARN,
+ session_log(se, YLOG_WARN,
"Ignoring unknown metadata element: %s", type);
}
se->number_of_warnings_unknown_metadata++;
ser_md->type, n->properties);
if (!rec_md)
{
- yaz_log(YLOG_WARN, "bad metadata data '%s' for element '%s'",
- value, type);
+ session_log(se, YLOG_WARN, "bad metadata data '%s' "
+ "for element '%s'", value, type);
continue;
}
wheretoput = &record->metadata[md_field_id];
if (!sort_str)
{
sort_str = rec_md->data.text.disp;
- yaz_log(YLOG_WARN,
+ session_log(se, YLOG_WARN,
"Could not make sortkey. Bug #1858");
}
cluster->sortkeys[sk_field_id]->text.sort =
nmem_strdup(se->nmem, sort_str);
-#if 0
- yaz_log(YLOG_LOG, "text disp=%s",
- cluster->sortkeys[sk_field_id]->text.disp);
- yaz_log(YLOG_LOG, "text sort=%s",
- cluster->sortkeys[sk_field_id]->text.sort);
-#endif
pp2_relevance_token_destroy(prt);
}
}
(char *) value, ser_md->rank,
ser_md->name);
- // construct facets ...
- if (ser_md->termlist)
+ // construct facets ... unless the client already has reported them
+ if (ser_md->termlist && !client_has_facet(cl, (char *) type))
{
+
if (ser_md->type == Metadata_type_year)
{
char year[64];
sprintf(year, "%d", rec_md->data.number.max);
- add_facet(se, (char *) type, year);
+
+ add_facet(se, (char *) type, year, term_factor);
if (rec_md->data.number.max != rec_md->data.number.min)
{
sprintf(year, "%d", rec_md->data.number.min);
- add_facet(se, (char *) type, year);
+ add_facet(se, (char *) type, year, term_factor);
}
}
else
- add_facet(se, (char *) type, (char *) value);
+ add_facet(se, (char *) type, (char *) value, term_factor);
}
// cleaning up
else
{
if (se->number_of_warnings_unknown_elements == 0)
- yaz_log(YLOG_WARN,
+ session_log(se, YLOG_WARN,
"Unexpected element in internal record: %s", n->name);
se->number_of_warnings_unknown_elements++;
}
return 0;
}
+void session_log(struct session *s, int level, const char *fmt, ...)
+{
+ char buf[1024];
+ va_list ap;
+ va_start(ap, fmt);
+
+ yaz_vsnprintf(buf, sizeof(buf)-30, fmt, ap);
+ yaz_log(level, "Session (%u): %s", s->session_id, buf);
+
+ va_end(ap);
+}
+
/*
* Local variables:
* c-basic-offset: 4
/* This file is part of Pazpar2.
- Copyright (C) 2006-2010 Index Data
+ Copyright (C) 2006-2011 Index Data
Pazpar2 is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
#define SESSION_WATCH_SHOW 0
#define SESSION_WATCH_RECORD 1
-#define SESSION_WATCH_MAX 1
+#define SESSION_WATCH_SHOW_PREF 2
+#define SESSION_WATCH_MAX 2
#define SESSION_MAX_TERMLISTS 10
int number_of_warnings_unknown_metadata;
normalize_cache_t normalize_cache;
YAZ_MUTEX session_mutex;
+ unsigned session_id;
};
struct statistics {
struct hitsbytarget *hitsbytarget(struct session *s, int *count, NMEM nmem);
struct session *new_session(NMEM nmem, struct conf_service *service,
- const char *name);
+ unsigned session_id);
void destroy_session(struct session *s);
void session_init_databases(struct session *s);
int load_targets(struct session *s, const char *fn);
struct termlist_score **termlist(struct session *s, const char *name, int *num);
int session_set_watch(struct session *s, int what, session_watchfun fun, void *data, struct http_channel *c);
int session_active_clients(struct session *s);
+int session_is_preferred_clients_ready(struct session *s);
void session_apply_setting(struct session *se, char *dbname, char *setting, char *value);
const char *session_setting_oneval(struct session_database *db, int offset);
void session_alert_watch(struct session *s, int what);
void pull_terms(NMEM nmem, struct ccl_rpn_node *n, char **termlist, int *num);
+void add_facet(struct session *s, const char *type, const char *value, int count);
+void session_log(struct session *s, int level, const char *fmt, ...)
+#ifdef __GNUC__
+ __attribute__ ((format (printf, 3, 4)))
+#endif
+ ;
#endif
/*
/* This file is part of Pazpar2.
- Copyright (C) 2006-2010 Index Data
+ Copyright (C) 2006-2011 Index Data
Pazpar2 is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
"pz:pqf_strftime",
"pz:negotiation_charset",
"pz:max_connections",
+ "pz:reuse_connections", /* PZ_REUSE_CONNECTION */
+ "pz:termlist_term_sort", /* PZ_TERMLIST_TERM_SORT */
+ "pz:termlist_term_count", /* PZ_TERMLIST_TERM_COUNT */
+ "pz:termlist_term_factor", /* PZ_TERMLIST_TERM_FACTOR*/
+ "pz:preferred", /* PZ_PREFERRED */
+ "pz:extra_args", /* PZ_EXTRA_ARGS */
+ "pz:query_syntax", /* PZ_QUERY_SYNTAX */
0
};
/* This file is part of Pazpar2.
- Copyright (C) 2006-2010 Index Data
+ Copyright (C) 2006-2011 Index Data
Pazpar2 is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
#define PZ_SRU 15
#define PZ_SRU_VERSION 16
#define PZ_PQF_PREFIX 17
-#define PZ_SORT 18
+#define PZ_SORT 18
#define PZ_RECORDFILTER 19
#define PZ_PQF_STRFTIME 20
#define PZ_NEGOTIATION_CHARSET 21
-#define PZ_MAX_CONNECTIONS 22
-#define PZ_MAX_EOF 23
+#define PZ_MAX_CONNECTIONS 22
+#define PZ_REUSE_CONNECTIONS 23
+#define PZ_TERMLIST_TERM_SORT 24
+#define PZ_TERMLIST_TERM_COUNT 25
+#define PZ_TERMLIST_TERM_FACTOR 26
+#define PZ_PREFERRED 27
+#define PZ_EXTRA_ARGS 28
+#define PZ_QUERY_SYNTAX 29
+#define PZ_MAX_EOF 30
struct setting
{
/* This file is part of Pazpar2.
- Copyright (C) 2006-2010 Index Data
+ Copyright (C) 2006-2011 Index Data
Pazpar2 is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
}
}
-void termlist_insert(struct termlist *tl, const char *term)
+void termlist_insert(struct termlist *tl, const char *term, int freq)
{
unsigned int bucket;
struct termlist_bucket **p;
{
if (!strcmp(buf, (*p)->term.term))
{
- (*p)->term.frequency++;
+ (*p)->term.frequency += freq;
update_highscore(tl, &((*p)->term));
break;
}
struct termlist_bucket *new = nmem_malloc(tl->nmem,
sizeof(struct termlist_bucket));
new->term.term = nmem_strdup(tl->nmem, buf);
- new->term.frequency = 1;
+ new->term.frequency = freq;
new->next = 0;
*p = new;
update_highscore(tl, &new->term);
/* This file is part of Pazpar2.
- Copyright (C) 2006-2010 Index Data
+ Copyright (C) 2006-2011 Index Data
Pazpar2 is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
struct termlist;
struct termlist *termlist_create(NMEM nmem, int highscore_size);
-void termlist_insert(struct termlist *tl, const char *term);
+void termlist_insert(struct termlist *tl, const char *term, int freq);
struct termlist_score **termlist_highscore(struct termlist *tl, int *len);
#endif
/* This file is part of Pazpar2.
- Copyright (C) 2006-2010 Index Data
+ Copyright (C) 2006-2011 Index Data
Pazpar2 is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
/* This file is part of Pazpar2.
- Copyright (C) 2006-2010 Index Data
+ Copyright (C) 2006-2011 Index Data
Pazpar2 is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
/* This file is part of Pazpar2.
- Copyright (C) 2006-2010 Index Data
+ Copyright (C) 2006-2011 Index Data
Pazpar2 is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
/* This file is part of Pazpar2.
- Copyright (C) 2006-2010 Index Data
+ Copyright (C) 2006-2011 Index Data
Pazpar2 is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
# This file is part of Pazpar2.
-check_SCRIPTS = test_http.sh test_icu.sh test_post.sh test_settings.sh
+check_SCRIPTS = test_http.sh test_icu.sh test_post.sh test_settings.sh test_turbomarcxml.sh test_facets.sh
+# Need newer yaz: test_solr.sh
-EXTRA_DIST = run_pazpar2.sh marc21_test.xsl z3950_indexdata_com_marc.xml \
+EXTRA_DIST = run_pazpar2.sh marc21_test.xsl tmarc.xsl \
+ z3950_indexdata_com_marc.xml \
gils_service.xml marc_service.xml marc21.mmap \
- test_http.cfg test_http_urls \
- test_icu.cfg test_icu_urls \
- test_post.cfg test_post_urls \
- test_settings.cfg test_settings_urls \
+ test_http.cfg test_http.urls \
+ test_icu.cfg test_icu.urls \
+ test_post.cfg test_post.urls \
+ test_settings.cfg test_settings.urls \
+ test_turbomarcxml.cfg test_turbomarcxml.urls \
+ test_facets.cfg test_facets.urls \
$(check_SCRIPTS)
TESTS = $(check_SCRIPTS)
CONFIG_CLEAN_FILES=*.log *.dif
dist-hook:
- cp ${srcdir}/test_http_*.res $(distdir)
- cp ${srcdir}/test_icu_*.res $(distdir)
- cp ${srcdir}/test_post_*.res $(distdir)
- cp ${srcdir}/test_settings_*.res $(distdir)
+ cp ${srcdir}/test_*.res $(distdir)
mkdir $(distdir)/set2
cp ${srcdir}/set2/*.xml $(distdir)/set2
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ This stylesheet expects Connector Frameworks records
+-->
+<xsl:stylesheet
+ version="1.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:pz="http://www.indexdata.com/pazpar2/1.0"
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:siebel="http://loc.gov/siebel/elements/1.0/" >
+
+ <xsl:output indent="yes"
+ method="xml"
+ version="1.0"
+ encoding="UTF-8"/>
+
+ <xsl:param name="medium" />
+
+ <xsl:template match="/record">
+ <pz:record>
+ <pz:metadata type="medium">
+ <xsl:value-of select="$medium" />
+ </pz:metadata>
+ <xsl:apply-templates/>
+ </pz:record>
+ </xsl:template>
+
+ <!--
+ The elements mapped in the following clauses should be kept more
+ or less in sync with those named in builder/templates/search.cft
+ in the "cf" git module.
+ -->
+
+ <xsl:template match="date">
+ <pz:metadata type="publication-date">
+ <xsl:value-of select="."/>
+ </pz:metadata>
+ <pz:metadata type="date">
+ <xsl:value-of select="."/>
+ </pz:metadata>
+ </xsl:template>
+
+ <xsl:template match="url">
+ <pz:metadata type="electronic-url">
+ <xsl:value-of select="."/>
+ </pz:metadata>
+ </xsl:template>
+
+ <xsl:template match="title">
+ <pz:metadata type="title">
+ <xsl:value-of select="."/>
+ </pz:metadata>
+ <pz:metadata type="title-complete">
+ <xsl:value-of select="." />
+ </pz:metadata>
+ </xsl:template>
+
+ <xsl:template match="author">
+ <pz:metadata type="author">
+ <xsl:value-of select="."/>
+ </pz:metadata>
+ </xsl:template>
+
+ <xsl:template match="description">
+ <pz:metadata type="description">
+ <xsl:value-of select="."/>
+ </pz:metadata>
+ </xsl:template>
+
+ <xsl:template match="publisher">
+ <pz:metadata type="publisher">
+ <xsl:value-of select="."/>
+ </pz:metadata>
+ </xsl:template>
+
+ <xsl:template match="subject">
+ <pz:metadata type="subject">
+ <xsl:value-of select="."/>
+ </pz:metadata>
+ </xsl:template>
+
+ <xsl:template match="item">
+ <pz:metadata type="locallocation">
+ <xsl:choose>
+ <xsl:when test="string-length(location)">
+ <xsl:value-of select="location"/>
+ </xsl:when>
+ <xsl:otherwise>PAZPAR2_NULL_VALUE</xsl:otherwise>
+ </xsl:choose>
+ </pz:metadata>
+ <pz:metadata type="callnumber">
+ <xsl:choose>
+ <xsl:when test="string-length(callno)">
+ <xsl:value-of select="callno"/>
+ </xsl:when>
+ <xsl:otherwise>PAZPAR2_NULL_VALUE</xsl:otherwise>
+ </xsl:choose>
+ </pz:metadata>
+ <pz:metadata type="available">
+ <xsl:choose>
+ <xsl:when test="string-length(available)">
+ <xsl:value-of select="available"/>
+ </xsl:when>
+ <xsl:otherwise>PAZPAR2_NULL_VALUE</xsl:otherwise>
+ </xsl:choose>
+ </pz:metadata>
+ <pz:metadata type="publicnote">
+ <xsl:choose>
+ <xsl:when test="string-length(publicnote)">
+ <xsl:value-of select="publicnote"/>
+ </xsl:when>
+ <xsl:otherwise>PAZPAR2_NULL_VALUE</xsl:otherwise>
+ </xsl:choose>
+ </pz:metadata>
+ </xsl:template>
+
+ <xsl:template match="due">
+ <pz:metadata type="due">
+ <xsl:value-of select="."/>
+ </pz:metadata>
+ </xsl:template>
+
+ <xsl:template match="location">
+ <pz:metadata type="locallocation">
+ <xsl:value-of select="."/>
+ </pz:metadata>
+ </xsl:template>
+
+ <xsl:template match="callno">
+ <pz:metadata type="callnumber">
+ <xsl:value-of select="."/>
+ </pz:metadata>
+ </xsl:template>
+
+ <xsl:template match="thumburl">
+ <pz:metadata type="thumburl">
+ <xsl:value-of select="."/>
+ </pz:metadata>
+ </xsl:template>
+
+ <xsl:template match="score">
+ <pz:metadata type="score">
+ <xsl:value-of select="."/>
+ </pz:metadata>
+ </xsl:template>
+
+ <xsl:template match="text()"/>
+
+</xsl:stylesheet>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<xsl:stylesheet version="1.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:pz="http://www.indexdata.com/pazpar2/1.0"
+ xmlns:zs="http://www.loc.gov/zing/srw/"
+ xmlns:tmarc="http://www.indexdata.com/turbomarc">
+
+ <xsl:output indent="yes" method="xml" version="1.0"
+ encoding="UTF-8" />
+ <xsl:param name="medium"/>
+
+ <!-- Extract metadata from MARC21/USMARC from streamlined marcxml format
+ http://www.loc.gov/marc/bibliographic/ecbdhome.html -->
+ <xsl:template name="record-hook" />
+
+
+ <xsl:template match="/">
+ <xsl:apply-templates />
+ </xsl:template>
+
+ <xsl:template match="zs:searchRetrieveResponse">
+ <xsl:apply-templates />
+ </xsl:template>
+
+ <xsl:template match="zs:records">
+ <collection>
+ <xsl:apply-templates />
+ </collection>
+ </xsl:template>
+
+ <xsl:template match="zs:record">
+ <xsl:apply-templates />
+ </xsl:template>
+
+ <xsl:template match="zs:recordData">
+ <xsl:apply-templates />
+ </xsl:template>
+
+ <xsl:template match="doc">
+ <collection>
+ <xsl:apply-templates />
+ </collection>
+ </xsl:template>
+
+ <xsl:template match="art">
+ <xsl:variable name="journal_title" select="journal/title" />
+ <xsl:variable name="journal_issn" select="journal/issn" />
+ <xsl:variable name="date" select="localInfo/cdate" />
+ <xsl:variable name="description" select="abstract/abstract" />
+
+ <xsl:variable name="vmedium">
+ <xsl:choose>
+ <xsl:when test="$journal_title">article</xsl:when>
+ <xsl:otherwise>
+ <xsl:text>other</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+
+ <pz:record>
+ <xsl:for-each select="author/name">
+ <pz:metadata type="author">
+ <xsl:value-of select="." />
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="article/title">
+ <pz:metadata type="title">
+ <xsl:value-of select="." />
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="journal/issn">
+ <pz:metadata type="issn">
+ <xsl:value-of select="." />
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="journal/title">
+ <pz:metadata type="journal-title">
+ <xsl:value-of select="." />
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="journal">
+ <pz:metadata type="journal-subpart">
+ <xsl:text>Vol. </xsl:text><xsl:value-of select="vol" />
+ <xsl:text> no. </xsl:text><xsl:value-of select="issue" />
+ <xsl:text>(</xsl:text><xsl:value-of select="month" /><xsl:text>-</xsl:text><xsl:value-of select="year" /><xsl:text>)</xsl:text>
+ <xsl:text> p. </xsl:text><xsl:value-of select="page" />
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="localInfo/systemno">
+ <pz:metadata type="system-control-nr">
+ <xsl:value-of select="."/>
+ </pz:metadata>
+ </xsl:for-each>
+
+ <pz:metadata type="description">
+ <xsl:value-of select="$description" />
+ </pz:metadata>
+
+ <xsl:for-each select="ctrlT/term">
+ <pz:metadata type="subject">
+ <xsl:value-of select="." />
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="tmarc:d773">
+ <pz:metadata type="citation">
+ <xsl:for-each select="*">
+ <xsl:value-of select="normalize-space(.)" />
+ <xsl:text> </xsl:text>
+ </xsl:for-each>
+ </pz:metadata>
+ </xsl:for-each>
+
+ <pz:metadata type="medium">
+ <xsl:value-of select="$vmedium" />
+ </pz:metadata>
+
+ <xsl:for-each select="article/fulltext">
+ <pz:metadata type="fulltext">
+ <xsl:value-of select="." />
+ </pz:metadata>
+ </xsl:for-each>
+
+ <!-- passthrough id data -->
+ <xsl:for-each select="pz:metadata">
+ <xsl:copy-of select="." />
+ </xsl:for-each>
+
+ <!-- other stylesheets importing this might want to define this -->
+ <xsl:call-template name="record-hook" />
+
+ </pz:record>
+
+
+ </xsl:template>
+
+ <xsl:template match="text()" />
+
+</xsl:stylesheet>
--- /dev/null
+<settings target="kb.dadsthirdnode.cvt.dk/sru-proxy">
+
+ <!-- Simple test against a local SRU server (could be yaz-ztest) -->
+
+ <set name="pz:sru" value="get"/> <!-- must be get, post or soap -->
+ <set name="pz:sru_version" value="1.1"/>
+ <set name="pz:name" value="sru-proxy"/>
+
+
+ <set name="pz:maxrecs" value="50"/>
+
+ <!-- mapping for unqualified search -->
+
+ <set name="pz:extra_args" value="%26x-facet_def%3Ddtic_test%26x-noxsl%3D1" />
+ <set name="pz:query_syntax" value="pqf" />
+
+ <!-- Retrieval settings -->
+
+ <set name="pz:elements" value="dc"/>
+
+ <!-- Result normalization settings -->
+
+ <set name="pz:nativesyntax" value="xml"/>
+ <set name="pz:xslt" value="dc.xsl"/>
+
+</settings>
--- /dev/null
+<settings target="localhost:9997/sru/DB=2.1">\r
+<!-- \r
+ GBV SRU Server mit MARC Format\r
+ Benötigt eigenes XSL, da die GBV-Daten \r
+ den Namespace marc: in den Tagnamen auslassen.\r
+-->\r
+\r
+ <set name="pz:name" value="GBV SRU MARC"/>\r
+\r
+ <!-- 2010-08-25: GBV unterstützt nur get und post in Version 1.1 -->\r
+ <set name="pz:sru" value="get"/> \r
+ <set name="pz:sru_version" value="1.1"/>\r
+\r
+\r
+ <!-- mapping for unqualified search -->\r
+ <set name="pz:cclmap:term" value="u=cql.serverChoice t=l,r s=al"/>\r
+\r
+\r
+ <!-- SRU schema. Eg. "dc" or "marcxml" -->\r
+ <set name="pz:elements" value="marc21"/>\r
+\r
+\r
+ <!-- Result normalization settings -->\r
+ <set name="pz:nativesyntax" value="xml"/>\r
+ <set name="pz:xslt" value="marc21-gbv.xsl"/>\r
+ <set name="pz:maxrecs" value="50"/>\r
+\r
+</settings>\r
<!-- Result normalization settings -->
<set name="pz:nativesyntax" value="iso2709"/>
<set name="pz:xslt" value="marc21_test.xsl"/>
-
<set name="pz:apdulog" value="1"/>
-
+
+ <set name="pz:maxrecs" value="3" />
</settings>
<metadata name="url" merge="unique"/>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>\r
+<xsl:stylesheet\r
+ version="1.0"\r
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"\r
+ xmlns:pz="http://www.indexdata.com/pazpar2/1.0"\r
+ xmlns:marc="http://www.loc.gov/MARC21/slim">\r
+ \r
+ <xsl:output indent="yes" method="xml" version="1.0" encoding="UTF-8"/>\r
+\r
+<!-- Extract metadata from MARC21/USMARC \r
+ http://www.loc.gov/marc/bibliographic/ecbdhome.html\r
+--> \r
+<!-- <xsl:template match="*"/> -->\r
+\r
+ <xsl:template name="record-hook"/>\r
+\r
+ <xsl:template match="/">\r
+ <xsl:apply-templates/>\r
+ </xsl:template>\r
+\r
+ <xsl:template match="record">\r
+ <xsl:variable name="title_medium" select="datafield[@tag='245']/subfield[@code='h']"/>\r
+ <xsl:variable name="journal_title" select="datafield[@tag='773']/subfield[@code='t']"/>\r
+ <xsl:variable name="electronic_location_url" select="datafield[@tag='856']/subfield[@code='u']"/>\r
+ <xsl:variable name="fulltext_a" select="datafield[@tag='900']/subfield[@code='a']"/>\r
+ <xsl:variable name="fulltext_b" select="datafield[@tag='900']/subfield[@code='b']"/>\r
+ <xsl:variable name="medium">\r
+ <xsl:choose>\r
+ <xsl:when test="$title_medium">\r
+ <xsl:value-of select="translate($title_medium, ' []/', '')"/>\r
+ </xsl:when>\r
+ <xsl:when test="$fulltext_a">\r
+ <xsl:text>electronic resource</xsl:text>\r
+ </xsl:when>\r
+ <xsl:when test="$fulltext_b">\r
+ <xsl:text>electronic resource</xsl:text>\r
+ </xsl:when>\r
+ <xsl:when test="$journal_title">\r
+ <xsl:text>article</xsl:text>\r
+ </xsl:when>\r
+ <xsl:otherwise>\r
+ <xsl:text>book</xsl:text>\r
+ </xsl:otherwise>\r
+ </xsl:choose>\r
+ </xsl:variable>\r
+\r
+ <pz:record>\r
+ \r
+ <xsl:for-each select="controlfield[@tag='001']">\r
+ <pz:metadata type="id">\r
+ <xsl:value-of select="."/>\r
+ </pz:metadata>\r
+ </xsl:for-each>\r
+\r
+ <xsl:for-each select="datafield[@tag='010']">\r
+ <pz:metadata type="lccn">\r
+ <xsl:value-of select="subfield[@code='a']"/>\r
+ </pz:metadata>\r
+ </xsl:for-each>\r
+\r
+ <xsl:for-each select="datafield[@tag='020']">\r
+ <pz:metadata type="isbn">\r
+ <xsl:value-of select="subfield[@code='a']"/>\r
+ </pz:metadata>\r
+ </xsl:for-each>\r
+\r
+ <xsl:for-each select="datafield[@tag='022']">\r
+ <pz:metadata type="issn">\r
+ <xsl:value-of select="subfield[@code='a']"/>\r
+ </pz:metadata>\r
+ </xsl:for-each>\r
+\r
+ <xsl:for-each select="datafield[@tag='027']">\r
+ <pz:metadata type="tech-rep-nr">\r
+ <xsl:value-of select="subfield[@code='a']"/>\r
+ </pz:metadata>\r
+ </xsl:for-each>\r
+\r
+ <xsl:for-each select="datafield[@tag='035']">\r
+ <pz:metadata type="system-control-nr">\r
+ <xsl:choose>\r
+ <xsl:when test="subfield[@code='a']">\r
+ <xsl:value-of select="subfield[@code='a']"/>\r
+ </xsl:when>\r
+ <xsl:otherwise>\r
+ <xsl:value-of select="subfield[@code='b']"/>\r
+ </xsl:otherwise>\r
+ </xsl:choose>\r
+ </pz:metadata>\r
+ </xsl:for-each>\r
+\r
+ <xsl:for-each select="datafield[@tag='100']">\r
+ <pz:metadata type="author">\r
+ <xsl:value-of select="subfield[@code='a']"/>\r
+ </pz:metadata>\r
+ <pz:metadata type="author-title">\r
+ <xsl:value-of select="subfield[@code='c']"/>\r
+ </pz:metadata>\r
+ <pz:metadata type="author-date">\r
+ <xsl:value-of select="subfield[@code='d']"/>\r
+ </pz:metadata>\r
+ </xsl:for-each>\r
+\r
+ <xsl:for-each select="datafield[@tag='110']">\r
+ <pz:metadata type="corporate-name">\r
+ <xsl:value-of select="subfield[@code='a']"/>\r
+ </pz:metadata>\r
+ <pz:metadata type="corporate-location">\r
+ <xsl:value-of select="subfield[@code='c']"/>\r
+ </pz:metadata>\r
+ <pz:metadata type="corporate-date">\r
+ <xsl:value-of select="subfield[@code='d']"/>\r
+ </pz:metadata>\r
+ </xsl:for-each>\r
+\r
+ <xsl:for-each select="datafield[@tag='111']">\r
+ <pz:metadata type="meeting-name">\r
+ <xsl:value-of select="subfield[@code='a']"/>\r
+ </pz:metadata>\r
+ <pz:metadata type="meeting-location">\r
+ <xsl:value-of select="subfield[@code='c']"/>\r
+ </pz:metadata>\r
+ <pz:metadata type="meeting-date">\r
+ <xsl:value-of select="subfield[@code='d']"/>\r
+ </pz:metadata>\r
+ </xsl:for-each>\r
+\r
+ <xsl:for-each select="datafield[@tag='260']">\r
+ <pz:metadata type="date">\r
+ <xsl:value-of select="subfield[@code='c']"/>\r
+ </pz:metadata>\r
+ </xsl:for-each>\r
+\r
+ <xsl:for-each select="datafield[@tag='245']">\r
+ <pz:metadata type="title">\r
+ <xsl:value-of select="subfield[@code='a']"/>\r
+ </pz:metadata>\r
+ <pz:metadata type="title-remainder">\r
+ <xsl:value-of select="subfield[@code='b']"/>\r
+ </pz:metadata>\r
+ <pz:metadata type="title-responsibility">\r
+ <xsl:value-of select="subfield[@code='c']"/>\r
+ </pz:metadata>\r
+ <pz:metadata type="title-dates">\r
+ <xsl:value-of select="subfield[@code='f']"/>\r
+ </pz:metadata>\r
+ <pz:metadata type="title-medium">\r
+ <xsl:value-of select="subfield[@code='h']"/>\r
+ </pz:metadata>\r
+ <pz:metadata type="title-number-section">\r
+ <xsl:value-of select="subfield[@code='n']"/>\r
+ </pz:metadata>\r
+ </xsl:for-each>\r
+\r
+ <xsl:for-each select="datafield[@tag='250']">\r
+ <pz:metadata type="edition">\r
+ <xsl:value-of select="subfield[@code='a']"/>\r
+ </pz:metadata>\r
+ </xsl:for-each>\r
+\r
+ <xsl:for-each select="datafield[@tag='260']">\r
+ <pz:metadata type="publication-place">\r
+ <xsl:value-of select="subfield[@code='a']"/>\r
+ </pz:metadata>\r
+ <pz:metadata type="publication-name">\r
+ <xsl:value-of select="subfield[@code='b']"/>\r
+ </pz:metadata>\r
+ <pz:metadata type="publication-date">\r
+ <xsl:value-of select="subfield[@code='c']"/>\r
+ </pz:metadata>\r
+ </xsl:for-each>\r
+\r
+ <xsl:for-each select="datafield[@tag='300']">\r
+ <pz:metadata type="physical-extent">\r
+ <xsl:value-of select="subfield[@code='a']"/>\r
+ </pz:metadata>\r
+ <pz:metadata type="physical-format">\r
+ <xsl:value-of select="subfield[@code='b']"/>\r
+ </pz:metadata>\r
+ <pz:metadata type="physical-dimensions">\r
+ <xsl:value-of select="subfield[@code='c']"/>\r
+ </pz:metadata>\r
+ <pz:metadata type="physical-accomp">\r
+ <xsl:value-of select="subfield[@code='e']"/>\r
+ </pz:metadata>\r
+ <pz:metadata type="physical-unittype">\r
+ <xsl:value-of select="subfield[@code='f']"/>\r
+ </pz:metadata>\r
+ <pz:metadata type="physical-unitsize">\r
+ <xsl:value-of select="subfield[@code='g']"/>\r
+ </pz:metadata>\r
+ <pz:metadata type="physical-specified">\r
+ <xsl:value-of select="subfield[@code='3']"/>\r
+ </pz:metadata>\r
+ </xsl:for-each>\r
+\r
+ <xsl:for-each select="datafield[@tag='440']">\r
+ <pz:metadata type="series-title">\r
+ <xsl:value-of select="subfield[@code='a']"/>\r
+ </pz:metadata>\r
+ </xsl:for-each>\r
+\r
+ <xsl:for-each select="datafield[@tag = '500' or @tag = '505' or\r
+ @tag = '518' or @tag = '520' or @tag = '522']">\r
+ <pz:metadata type="description">\r
+ <xsl:value-of select="*/text()"/>\r
+ </pz:metadata>\r
+ </xsl:for-each>\r
+ \r
+ <xsl:for-each select="datafield[@tag='600' or @tag='610' or @tag='611' or @tag='630' or @tag='648' or @tag='650' or @tag='651' or @tag='653' or @tag='654' or @tag='655' or @tag='656' or @tag='657' or @tag='658' or @tag='662' or @tag='69X']">\r
+ <pz:metadata type="subject">\r
+ <xsl:value-of select="subfield[@code='a']"/>\r
+ </pz:metadata>\r
+ <pz:metadata type="subject-long">\r
+ <xsl:for-each select="subfield">\r
+ <xsl:if test="position() > 1">\r
+ <xsl:text>, </xsl:text>\r
+ </xsl:if>\r
+ <xsl:value-of select="."/>\r
+ </xsl:for-each>\r
+ </pz:metadata>\r
+ </xsl:for-each>\r
+\r
+ <xsl:for-each select="datafield[@tag='856']">\r
+ <pz:metadata type="electronic-url">\r
+ <xsl:value-of select="subfield[@code='u']"/>\r
+ </pz:metadata>\r
+ <pz:metadata type="electronic-text">\r
+ <xsl:value-of select="subfield[@code='y' or @code='3']"/>\r
+ </pz:metadata>\r
+ <pz:metadata type="electronic-note">\r
+ <xsl:value-of select="subfield[@code='z']"/>\r
+ </pz:metadata>\r
+ <pz:metadata type="electronic-format-instruction">\r
+ <xsl:value-of select="subfield[@code='i']"/>\r
+ </pz:metadata>\r
+ <pz:metadata type="electronic-format-type">\r
+ <xsl:value-of select="subfield[@code='q']"/>\r
+ </pz:metadata>\r
+ </xsl:for-each>\r
+\r
+ <xsl:for-each select="datafield[@tag='773']">\r
+ <pz:metadata type="citation">\r
+ <xsl:for-each select="*">\r
+ <xsl:value-of select="normalize-space(.)"/>\r
+ <xsl:text> </xsl:text>\r
+ </xsl:for-each>\r
+ </pz:metadata>\r
+ <xsl:if test="subfield[@code='t']">\r
+ <pz:metadata type="journal-title">\r
+ <xsl:value-of select="subfield[@code='t']"/>\r
+ </pz:metadata> \r
+ </xsl:if>\r
+ <xsl:if test="subfield[@code='g']">\r
+ <pz:metadata type="journal-subpart">\r
+ <xsl:value-of select="subfield[@code='g']"/>\r
+ </pz:metadata> \r
+ </xsl:if>\r
+ </xsl:for-each>\r
+\r
+ <xsl:for-each select="datafield[@tag='852']">\r
+ <xsl:if test="subfield[@code='y']">\r
+ <pz:metadata type="publicnote">\r
+ <xsl:value-of select="subfield[@code='y']"/>\r
+ </pz:metadata>\r
+ </xsl:if>\r
+ <xsl:if test="subfield[@code='h']">\r
+ <pz:metadata type="callnumber">\r
+ <xsl:value-of select="subfield[@code='h']"/>\r
+ </pz:metadata>\r
+ </xsl:if>\r
+ </xsl:for-each>\r
+\r
+ <pz:metadata type="medium">\r
+ <xsl:value-of select="$medium"/>\r
+ </pz:metadata>\r
+ \r
+ <xsl:for-each select="datafield[@tag='900']/subfield[@code='a']">\r
+ <pz:metadata type="fulltext">\r
+ <xsl:value-of select="."/>\r
+ </pz:metadata>\r
+ </xsl:for-each>\r
+\r
+ <!-- <xsl:if test="$fulltext_a">\r
+ <pz:metadata type="fulltext">\r
+ <xsl:value-of select="$fulltext_a"/>\r
+ </pz:metadata>\r
+ </xsl:if> -->\r
+\r
+ <xsl:for-each select="datafield[@tag='900']/subfield[@code='b']">\r
+ <pz:metadata type="fulltext">\r
+ <xsl:value-of select="."/>\r
+ </pz:metadata>\r
+ </xsl:for-each>\r
+\r
+ <!-- <xsl:if test="$fulltext_b">\r
+ <pz:metadata type="fulltext">\r
+ <xsl:value-of select="$fulltext_b"/>\r
+ </pz:metadata>\r
+ </xsl:if> -->\r
+\r
+ <xsl:for-each select="datafield[@tag='907' or @tag='901']">\r
+ <pz:metadata type="iii-id">\r
+ <xsl:value-of select="subfield[@code='a']"/>\r
+ </pz:metadata>\r
+ </xsl:for-each>\r
+\r
+ <xsl:for-each select="datafield[@tag='926']">\r
+ <pz:metadata type="holding">\r
+ <xsl:for-each select="subfield">\r
+ <xsl:if test="position() > 1">\r
+ <xsl:text> </xsl:text>\r
+ </xsl:if>\r
+ <xsl:value-of select="."/>\r
+ </xsl:for-each>\r
+ </pz:metadata>\r
+ </xsl:for-each>\r
+\r
+ <xsl:for-each select="datafield[@tag='948']">\r
+ <pz:metadata type="holding">\r
+ <xsl:for-each select="subfield">\r
+ <xsl:if test="position() > 1">\r
+ <xsl:text> </xsl:text>\r
+ </xsl:if>\r
+ <xsl:value-of select="."/>\r
+ </xsl:for-each>\r
+ </pz:metadata>\r
+ </xsl:for-each>\r
+\r
+ <xsl:for-each select="datafield[@tag='991']">\r
+ <pz:metadata type="holding">\r
+ <xsl:for-each select="subfield">\r
+ <xsl:if test="position() > 1">\r
+ <xsl:text> </xsl:text>\r
+ </xsl:if>\r
+ <xsl:value-of select="."/>\r
+ </xsl:for-each>\r
+ </pz:metadata>\r
+ </xsl:for-each>\r
+\r
+ <!-- passthrough id data -->\r
+ <xsl:for-each select="pz:metadata">\r
+ <xsl:copy-of select="."/>\r
+ </xsl:for-each>\r
+\r
+ <!-- other stylesheets importing this might want to define this -->\r
+ <xsl:call-template name="record-hook"/>\r
+\r
+ </pz:record> \r
+ </xsl:template>\r
+ \r
+ <xsl:template match="text()"/>\r
+\r
+</xsl:stylesheet>\r
# srcdir might be set by make
srcdir=${srcdir:-"."}
+# terminate pazpar2 if test takes more than this (in seconds)
+WAIT=120
+
+kill_pazpar2()
+{
+ if test -n "$PP2PID"; then
+ kill $PP2PID
+ fi
+ if test -n "$SLEEP_PID"; then
+ kill $SLEEP_PID
+ SLEEP_PID=""
+ fi
+}
+
# look for curl in PATH
oIFS=$IFS
IFS=:
fi
CFG=${PREFIX}.cfg
-URLS=${PREFIX}_urls
+URLS=${PREFIX}.urls
VALGRINDLOG=${PREFIX}_valgrind.log
if test -n "$PAZPAR2_USE_VALGRIND"; then
elif test -n "$SKIP_PAZPAR2"; then
echo "Skipping pazpar2. Must already be running with correct config!!! "
else
- YAZ_LOG=zoom,zoomdetails,debug,log,fatal ../src/pazpar2 -d -X -l pazpar2.log -f ${srcdir}/${CFG} >extra_pazpar2.log 2>&1 &
+ YAZ_LOG=zoom,zoomdetails,debug,log,fatal ../src/pazpar2 -v all -d -X -l pazpar2.log -f ${srcdir}/${CFG} >extra_pazpar2.log 2>&1 &
fi
-
PP2PID=$!
-# Give it a chance to start properly..
-sleep 3
-
-# Set to success by default.. Will be set to non-zero in case of failure
-code=0
-
if [ -z "$SKIP_PAZPAR2" ] ; then
if ps -p $PP2PID >/dev/null 2>&1; then
- :
+ (sleep $WAIT; kill_pazpar2 >/dev/null) &
+ SLEEP_PID=$!
+ trap kill_pazpar2 INT
+ trap kill_pazpar2 HUP
+ sleep 3
else
- code=1
- PP2PID=""
echo "pazpar2 failed to start"
+ exit 1
fi
fi
-# We can start test for real
+# Set to success by default.. Will be set to non-zero in case of failure
+code=0
+# We can start test for real
testno=1
for f in `cat ${srcdir}/${URLS}`; do
if echo $f | grep '^http' >/dev/null; then
OUT2=${PREFIX}_${testno}.log
DIFF=${PREFIX}_${testno}.dif
rm -f $OUT2 $DIFF
+ if [ -n "$DEBUG" ] ; then
+ echo "test $testno: $f"
+ fi
if test -n "${postfile}"; then
eval $POST
else
testno=`expr $testno + 1`
postfile=
elif echo $f | grep '^[0-9]' >/dev/null; then
+ if [ -n "$DEBUG" ] ; then
+ echo "Sleeping $f"
+ fi
sleep $f
else
- if test -f $f; then
- postfile=$f
+ if test -f $srcdir/$f; then
+ postfile=$srcdir/$f
else
echo "File $f does not exist"
code=1
:
else
IFS="$oIFS"
- echo "Test $testno: pazpar2 died"
+ if test -n "$SLEEP_PID"; then
+ echo "Test $testno: pazpar2 terminated (timeout, probably)"
+ else
+ echo "Test $testno: pazpar2 died"
+ fi
exit 1
fi
fi
# Kill programs
if [ -z "$SKIP_PAZPAR2" ] ; then
- if test -n "$PP2PID"; then
- kill $PP2PID
- sleep 2
- fi
+ kill_pazpar2
+ sleep 2
fi
exit $code
--- /dev/null
+<?xml version="1.0"?>
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:pz="http://www.indexdata.com/pazpar2/1.0" >
+ <xsl:template match="/">
+ <xsl:apply-templates></xsl:apply-templates>
+ </xsl:template>
+
+ <xsl:template match="doc">
+ <pz:record>
+ <xsl:apply-templates></xsl:apply-templates>
+ </pz:record>
+ </xsl:template>
+ <xsl:template match="str[@name]">
+ <pz:metadata>
+ <xsl:attribute name="type">
+ <xsl:value-of select="@name"/>
+ </xsl:attribute>
+ <xsl:value-of select="."/>
+ </pz:metadata>
+ </xsl:template>
+
+ <xsl:template match="arr">
+ <xsl:for-each select="str">
+ <xsl:call-template name="string"/>
+ </xsl:for-each>
+ </xsl:template>
+
+ <xsl:template name="string">
+ <pz:metadata>
+ <xsl:attribute name="type">
+ <xsl:value-of select="../@name"/>
+ </xsl:attribute>
+ <xsl:value-of select="."/>
+ </pz:metadata>
+ </xsl:template>
+
+</xsl:stylesheet>
--- /dev/null
+<settings target="gso.gbv.de/sru/DB=2.1">
+
+ <!-- Simple test against a local SRU server (could be yaz-ztest) -->
+
+ <set name="pz:sru" value="get"/> <!-- must be get, post or soap -->
+ <set name="pz:sru_version" value="1.1"/>
+ <set name="pz:name" value="GBV.DE"/>
+
+
+ <set name="pz:maxrecs" value="50"/>
+
+ <!-- mapping for unqualified search -->
+ <set name="pz:cclmap:term" value="u=cql.serverChoice t=l,r s=al"/>
+
+ <!-- field-specific mappings -->
+ <set name="pz:cclmap:ti" value="u=dc.title t=l,r s=al"/>
+ <set name="pz:cclmap:su" value="u=dc.subject s=al"/>
+ <set name="pz:cclmap:isbn" value="u=bath.isbn"/>
+ <set name="pz:cclmap:issn" value="u=bath.issn"/>
+ <set name="pz:cclmap:date" value="u=dc.date r=r"/>
+
+ <!-- Retrieval settings -->
+
+ <set name="pz:elements" value="dc"/>
+
+ <!-- Result normalization settings -->
+
+ <set name="pz:nativesyntax" value="xml"/>
+ <set name="pz:xslt" value="dc.xsl"/>
+
+</settings>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<pazpar2 xmlns="http://www.indexdata.com/pazpar2/1.0">
+ <!-- Used by test_http.sh -->
+ <server>
+ <listen port="9763"/>
+ <proxy host="localhost"/>
+
+ <service>
+ <include src="z3950_indexdata_com_marc.xml"/>
+ <targetprofiles type="local" src="../zeerex/records/"/>
+ <metadata name="url" merge="unique"/>
+ <metadata name="title" brief="yes" sortkey="skiparticle" merge="longest" rank="6" mergekey="required" />
+ <metadata name="title-remainder" brief="yes" merge="longest" rank="5"/>
+ <metadata name="isbn"/>
+ <metadata name="date" brief="yes" sortkey="numeric" type="year" merge="range"
+ termlist="yes"/>
+ <metadata name="author" brief="yes" termlist="yes" merge="longest" rank="2" mergekey="optional" />
+ <metadata name="subject" merge="unique" termlist="yes" rank="3"/>
+ <metadata name="id"/>
+ <metadata name="lccn" merge="unique"/>
+ <metadata name="description" brief="yes" merge="longest" rank="3"/>
+
+ <metadata name="test-usersetting" brief="yes" setting="postproc"/>
+ <metadata name="test" setting="parameter"/>
+ <metadata name="test-usersetting-2" brief="yes"/>
+ </service>
+
+ <include src="*_service.xml"/>
+ <include src="no_such_service.xml"/>
+
+ </server>
+
+
+</pazpar2>
+<!-- Keep this comment at the end of the file
+ Local variables:
+ mode: nxml
+ End:
+-->
--- /dev/null
+#!/bin/sh
+
+# srcdir might be set by make
+srcdir=${srcdir:-"."}
+
+# look for yaz-ztest in PATH
+oIFS=$IFS
+IFS=:
+F=''
+for p in $PATH; do
+ if test -x $p/yaz-ztest -a -x $p/yaz-config; then
+ VERSION=`$p/yaz-config -V|awk 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'`
+ if test $VERSION -ge 4000012; then
+ F=$p/yaz-ztest
+ break
+ fi
+ fi
+done
+IFS=$oIFS
+
+if test -z "$F"; then
+ echo "yaz-ztest not found that supports facets"
+ exit 0
+fi
+
+rm -f ztest.pid
+$F -l ztest.log -p ztest.pid -D tcp:localhost:9999
+sleep 1
+if test ! -f ztest.pid; then
+ echo "yaz-ztest could not be started"
+ exit 0
+fi
+
+${srcdir}/run_pazpar2.sh test_facets
+E=$?
+
+kill `cat ztest.pid`
+rm ztest.pid
+exit $E
+
+# Local Variables:
+# mode:shell-script
+# sh-indentation: 2
+# sh-basic-offset: 4
+# End:
--- /dev/null
+http://localhost:9763/search.pz2?command=init&clear=1
+http://localhost:9763/search.pz2?session=1&command=settings&pz:name%5Blocalhost:9999%2Fdb1%5D=db1&pz:requestsyntax%5Blocalhost:9999%2Fdb1%5D=usmarc&pz:nativesyntax%5Blocalhost:9999%2Fdb1%5D=txml&pz:xslt%5Blocalhost:9999%2Fdb1%5D=tmarc.xsl&pz:termlist_term_count%5Blocalhost:9999%2Fdb1%5D=0
+http://localhost:9763/search.pz2?session=1&command=search&query=7+and+computer
+http://localhost:9763/search.pz2?session=1&command=show&block=1
+http://localhost:9763/search.pz2?session=1&command=bytarget
+4 http://localhost:9763/search.pz2?session=1&command=termlist&name=xtargets%2Cauthor%2Csubject%2Cdate%2Cmedium
+http://localhost:9763/search.pz2?session=1&command=settings&pz:name%5Blocalhost:9999%2Fdb1%5D=db1&pz:requestsyntax%5Blocalhost:9999%2Fdb1%5D=usmarc&pz:nativesyntax%5Blocalhost:9999%2Fdb1%5D=txml&pz:xslt%5Blocalhost:9999%2Fdb1%5D=tmarc.xsl&pz:termlist_term_count%5Blocalhost:9999%2Fdb1%5D=5&pz:maxrecs%5Blocalhost:9999%2Fdb1%5D=2
+http://localhost:9763/search.pz2?session=1&command=search&query=4+and+computer
+http://localhost:9763/search.pz2?session=1&command=show&block=1
+http://localhost:9763/search.pz2?session=1&command=bytarget
+http://localhost:9763/search.pz2?session=1&command=termlist&name=xtargets%2Cauthor%2Csubject%2Cdate%2Cmedium
+http://localhost:9763/search.pz2?session=1&command=search&query=8+and+computer
+http://localhost:9763/search.pz2?session=1&command=show&block=1
+http://localhost:9763/search.pz2?session=1&command=termlist&name=xtargets%2Cauthor%2Csubject%2Cdate%2Cmedium
+http://localhost:9763/search.pz2?session=1&command=search&query=6+and+computer
+http://localhost:9763/search.pz2?session=1&command=show
+http://localhost:9763/search.pz2?session=1&command=termlist&name=xtargets%2Cauthor%2Csubject%2Cdate%2Cmedium
+10 http://localhost:9763/search.pz2?session=1&command=termlist&name=xtargets%2Cauthor%2Csubject%2Cdate%2Cmedium
+http://localhost:9763/search.pz2?session=1&command=bytarget
+http://localhost:9763/search.pz2?command=init
+http://localhost:9763/search.pz2?session=2&command=settings&pz:name%5Blocalhost:9999%2Fdb1%5D=db1&pz:requestsyntax%5Blocalhost:9999%2Fdb1%5D=usmarc&pz:nativesyntax%5Blocalhost:9999%2Fdb1%5D=txml&pz:xslt%5Blocalhost:9999%2Fdb1%5D=tmarc.xsl&pz:apdulog%5Blocalhost:9999%2Fdb1%5D=1
+http://localhost:9763/search.pz2?session=2&command=search&query=9+and+computer
+2 http://localhost:9763/search.pz2?session=2&command=show&block=1
+http://localhost:9763/search.pz2?session=2&command=termlist&name=xtargets%2Cauthor%2Csubject%2Cdate%2Cmedium
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<init><status>OK</status><session>1</session><protocol>1</protocol></init>
\ No newline at end of file
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<bytarget><status>OK</status>
+<target><id>localhost:9999/db1</id>
+<name>db1</name>
+<hits>4</hits>
+<diagnostic>0</diagnostic>
+<records>2</records>
+<state>Client_Idle</state>
+</target></bytarget>
\ No newline at end of file
--- /dev/null
+<termlist>
+<activeclients>0</activeclients>
+<list name="xtargets">
+<term>
+<id>localhost:9999/db1</id>
+<name>db1</name>
+<frequency>4</frequency>
+<state>Client_Idle</state>
+<diagnostic>0</diagnostic>
+</term>
+</list>
+<list name="author">
+<term><name>author0</name><frequency>100</frequency></term>
+<term><name>author1</name><frequency>90</frequency></term>
+<term><name>author2</name><frequency>80</frequency></term>
+<term><name>author3</name><frequency>70</frequency></term>
+<term><name>author4</name><frequency>60</frequency></term>
+</list>
+<list name="subject">
+<term><name>subject0</name><frequency>100</frequency></term>
+<term><name>subject1</name><frequency>90</frequency></term>
+<term><name>subject2</name><frequency>80</frequency></term>
+<term><name>subject3</name><frequency>70</frequency></term>
+<term><name>subject4</name><frequency>60</frequency></term>
+</list>
+<list name="date">
+<term><name>date0</name><frequency>100</frequency></term>
+<term><name>date1</name><frequency>90</frequency></term>
+<term><name>date2</name><frequency>80</frequency></term>
+<term><name>date3</name><frequency>70</frequency></term>
+<term><name>date4</name><frequency>60</frequency></term>
+</list>
+<list name="medium">
+</list>
+</termlist>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<search><status>OK</status></search>
\ No newline at end of file
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<show>
+<status>OK</status>
+<activeclients>0</activeclients>
+<merged>1</merged>
+<total>8</total>
+<start>0</start>
+<num>1</num>
+<hit>
+
+<md-title>How to program a computer</md-title>
+<md-author>Jack Collins</md-author><location id="localhost:9999/db1" name="db1">
+<md-title>How to program a computer</md-title>
+<md-author>Jack Collins</md-author></location>
+<location id="localhost:9999/db1" name="db1">
+<md-title>How to program a computer</md-title>
+<md-author>Jack Collins</md-author></location>
+<count>2</count>
+<relevance>240000</relevance>
+<recid>title how to program a computer author jack collins</recid>
+</hit>
+</show>
--- /dev/null
+<termlist>
+<activeclients>0</activeclients>
+<list name="xtargets">
+<term>
+<id>localhost:9999/db1</id>
+<name>db1</name>
+<frequency>8</frequency>
+<state>Client_Idle</state>
+<diagnostic>0</diagnostic>
+</term>
+</list>
+<list name="author">
+<term><name>author0</name><frequency>100</frequency></term>
+<term><name>author1</name><frequency>90</frequency></term>
+<term><name>author2</name><frequency>80</frequency></term>
+<term><name>author3</name><frequency>70</frequency></term>
+<term><name>author4</name><frequency>60</frequency></term>
+</list>
+<list name="subject">
+<term><name>subject0</name><frequency>100</frequency></term>
+<term><name>subject1</name><frequency>90</frequency></term>
+<term><name>subject2</name><frequency>80</frequency></term>
+<term><name>subject3</name><frequency>70</frequency></term>
+<term><name>subject4</name><frequency>60</frequency></term>
+</list>
+<list name="date">
+<term><name>date0</name><frequency>100</frequency></term>
+<term><name>date1</name><frequency>90</frequency></term>
+<term><name>date2</name><frequency>80</frequency></term>
+<term><name>date3</name><frequency>70</frequency></term>
+<term><name>date4</name><frequency>60</frequency></term>
+</list>
+<list name="medium">
+</list>
+</termlist>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<search><status>OK</status></search>
\ No newline at end of file
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<show>
+<status>OK</status>
+<activeclients>0</activeclients>
+<merged>1</merged>
+<total>6</total>
+<start>0</start>
+<num>1</num>
+<hit>
+
+<md-title>How to program a computer</md-title>
+<md-author>Jack Collins</md-author><location id="localhost:9999/db1" name="db1">
+<md-title>How to program a computer</md-title>
+<md-author>Jack Collins</md-author></location>
+<location id="localhost:9999/db1" name="db1">
+<md-title>How to program a computer</md-title>
+<md-author>Jack Collins</md-author></location>
+<count>2</count>
+<relevance>240000</relevance>
+<recid>title how to program a computer author jack collins</recid>
+</hit>
+</show>
--- /dev/null
+<termlist>
+<activeclients>0</activeclients>
+<list name="xtargets">
+<term>
+<id>localhost:9999/db1</id>
+<name>db1</name>
+<frequency>6</frequency>
+<state>Client_Idle</state>
+<diagnostic>0</diagnostic>
+</term>
+</list>
+<list name="author">
+<term><name>author0</name><frequency>100</frequency></term>
+<term><name>author1</name><frequency>90</frequency></term>
+<term><name>author2</name><frequency>80</frequency></term>
+<term><name>author3</name><frequency>70</frequency></term>
+<term><name>author4</name><frequency>60</frequency></term>
+</list>
+<list name="subject">
+<term><name>subject0</name><frequency>100</frequency></term>
+<term><name>subject1</name><frequency>90</frequency></term>
+<term><name>subject2</name><frequency>80</frequency></term>
+<term><name>subject3</name><frequency>70</frequency></term>
+<term><name>subject4</name><frequency>60</frequency></term>
+</list>
+<list name="date">
+<term><name>date0</name><frequency>100</frequency></term>
+<term><name>date1</name><frequency>90</frequency></term>
+<term><name>date2</name><frequency>80</frequency></term>
+<term><name>date3</name><frequency>70</frequency></term>
+<term><name>date4</name><frequency>60</frequency></term>
+</list>
+<list name="medium">
+</list>
+</termlist>
--- /dev/null
+<termlist>
+<activeclients>0</activeclients>
+<list name="xtargets">
+<term>
+<id>localhost:9999/db1</id>
+<name>db1</name>
+<frequency>6</frequency>
+<state>Client_Idle</state>
+<diagnostic>0</diagnostic>
+</term>
+</list>
+<list name="author">
+<term><name>author0</name><frequency>100</frequency></term>
+<term><name>author1</name><frequency>90</frequency></term>
+<term><name>author2</name><frequency>80</frequency></term>
+<term><name>author3</name><frequency>70</frequency></term>
+<term><name>author4</name><frequency>60</frequency></term>
+</list>
+<list name="subject">
+<term><name>subject0</name><frequency>100</frequency></term>
+<term><name>subject1</name><frequency>90</frequency></term>
+<term><name>subject2</name><frequency>80</frequency></term>
+<term><name>subject3</name><frequency>70</frequency></term>
+<term><name>subject4</name><frequency>60</frequency></term>
+</list>
+<list name="date">
+<term><name>date0</name><frequency>100</frequency></term>
+<term><name>date1</name><frequency>90</frequency></term>
+<term><name>date2</name><frequency>80</frequency></term>
+<term><name>date3</name><frequency>70</frequency></term>
+<term><name>date4</name><frequency>60</frequency></term>
+</list>
+<list name="medium">
+</list>
+</termlist>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<bytarget><status>OK</status>
+<target><id>localhost:9999/db1</id>
+<name>db1</name>
+<hits>6</hits>
+<diagnostic>0</diagnostic>
+<records>2</records>
+<state>Client_Idle</state>
+</target></bytarget>
\ No newline at end of file
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<settings><status>OK</status></settings>
\ No newline at end of file
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<init><status>OK</status><session>2</session><protocol>1</protocol></init>
\ No newline at end of file
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<settings><status>OK</status></settings>
\ No newline at end of file
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<search><status>OK</status></search>
\ No newline at end of file
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<show>
+<status>OK</status>
+<activeclients>0</activeclients>
+<merged>8</merged>
+<total>9</total>
+<start>0</start>
+<num>8</num>
+<hit>
+
+<md-title>How to program a computer</md-title>
+<md-author>Jack Collins</md-author><location id="localhost:9999/db1" name="db1">
+<md-title>How to program a computer</md-title>
+<md-author>Jack Collins</md-author></location>
+<location id="localhost:9999/db1" name="db1">
+<md-title>How to program a computer</md-title>
+<md-author>Jack Collins</md-author></location>
+<count>2</count>
+<relevance>28267</relevance>
+<recid>title how to program a computer author jack collins</recid>
+</hit>
+<hit>
+
+<md-title>Computer science & technology</md-title>
+<md-title-remainder>proceedings of a workshop held at the National Bureau of Standards, Gaithersburg, MD, June 3-4, 1976</md-title-remainder>
+<md-date>1977</md-date><location id="localhost:9999/db1" name="db1">
+<md-title>Computer science & technology</md-title>
+<md-title-remainder>proceedings of a workshop held at the National Bureau of Standards, Gaithersburg, MD, June 3-4, 1976</md-title-remainder>
+<md-date>1977</md-date></location>
+<relevance>23556</relevance>
+<recid>title computer science technology</recid>
+</hit>
+<hit>
+
+<md-title>The Computer Bible</md-title>
+<md-date>1973-1980</md-date>
+<md-description>Vols. 2, 8: Missoula, Mont. : Published by Scholars Press for Biblical Research Associates</md-description><location id="localhost:9999/db1" name="db1">
+<md-title>The Computer Bible</md-title>
+<md-date>1973-1980</md-date>
+<md-description>Hebrew and Greek; introductions in English</md-description>
+<md-description>Vols. 2, 8: Missoula, Mont. : Published by Scholars Press for Biblical Research Associates</md-description></location>
+<relevance>23556</relevance>
+<recid>title the computer bible</recid>
+</hit>
+<hit>
+
+<md-title>Washington metropolitan area rail computer feasibility study;</md-title>
+<md-title-remainder>final report</md-title-remainder>
+<md-date>1971</md-date>
+<md-author>Englund, Carl R</md-author>
+<md-description>"Contract DOT-UT-10003."</md-description><location id="localhost:9999/db1" name="db1">
+<md-title>Washington metropolitan area rail computer feasibility study;</md-title>
+<md-title-remainder>final report</md-title-remainder>
+<md-date>1971</md-date>
+<md-author>Englund, Carl R</md-author>
+<md-description>"Contract DOT-UT-10003."</md-description></location>
+<relevance>10095</relevance>
+<recid>title washington metropolitan area rail computer feasibility study author englund carl r</recid>
+</hit>
+<hit>
+
+<md-title>The Puget Sound Region</md-title>
+<md-title-remainder>a portfolio of thematic computer maps</md-title-remainder>
+<md-date>1974</md-date>
+<md-author>Mairs, John W</md-author>
+<md-description>Scale of maps ca. 1:1,000,000</md-description><location id="localhost:9999/db1" name="db1">
+<md-title>The Puget Sound Region</md-title>
+<md-title-remainder>a portfolio of thematic computer maps</md-title-remainder>
+<md-date>1974</md-date>
+<md-author>Mairs, John W</md-author>
+<md-description>Scale of maps ca. 1:1,000,000</md-description></location>
+<relevance>9815</relevance>
+<recid>title the puget sound region author mairs john w</recid>
+</hit>
+<hit>
+
+<md-title>Computer processing of dynamic images from an Anger scintillation camera</md-title>
+<md-title-remainder>the proceedings of a workshop</md-title-remainder>
+<md-date>1974</md-date><location id="localhost:9999/db1" name="db1">
+<md-title>Computer processing of dynamic images from an Anger scintillation camera</md-title>
+<md-title-remainder>the proceedings of a workshop</md-title-remainder>
+<md-date>1974</md-date></location>
+<relevance>7067</relevance>
+<recid>title computer processing of dynamic images from an anger scintillation camera</recid>
+</hit>
+<hit>
+
+<md-title>The use of passwords for controlled access to computer resources</md-title>
+<md-date>1977</md-date>
+<md-author>Wood, Helen M</md-author><location id="localhost:9999/db1" name="db1">
+<md-title>The use of passwords for controlled access to computer resources</md-title>
+<md-date>1977</md-date>
+<md-author>Wood, Helen M</md-author></location>
+<relevance>7067</relevance>
+<recid>title the use of passwords for controlled access to computer resources author wood helen m</recid>
+</hit>
+<hit>
+
+<md-title>Reconstruction tomography in diagnostic radiology and nuclear medicine</md-title>
+<md-title-remainder>proceedings of the workshop</md-title-remainder>
+<md-date>1977</md-date><location id="localhost:9999/db1" name="db1">
+<md-title>Reconstruction tomography in diagnostic radiology and nuclear medicine</md-title>
+<md-title-remainder>proceedings of the workshop</md-title-remainder>
+<md-date>1977</md-date></location>
+<relevance>0</relevance>
+<recid>title reconstruction tomography in diagnostic radiology and nuclear medicine</recid>
+</hit>
+</show>
--- /dev/null
+<termlist>
+<activeclients>0</activeclients>
+<list name="xtargets">
+<term>
+<id>localhost:9999/db1</id>
+<name>db1</name>
+<frequency>9</frequency>
+<state>Client_Idle</state>
+<diagnostic>0</diagnostic>
+</term>
+</list>
+<list name="author">
+<term><name>author0</name><frequency>100</frequency></term>
+<term><name>author1</name><frequency>90</frequency></term>
+<term><name>author2</name><frequency>80</frequency></term>
+<term><name>author3</name><frequency>70</frequency></term>
+<term><name>author4</name><frequency>60</frequency></term>
+</list>
+<list name="subject">
+<term><name>subject0</name><frequency>100</frequency></term>
+<term><name>subject1</name><frequency>90</frequency></term>
+<term><name>subject2</name><frequency>80</frequency></term>
+<term><name>subject3</name><frequency>70</frequency></term>
+<term><name>subject4</name><frequency>60</frequency></term>
+</list>
+<list name="date">
+<term><name>date0</name><frequency>100</frequency></term>
+<term><name>date1</name><frequency>90</frequency></term>
+<term><name>date2</name><frequency>80</frequency></term>
+<term><name>date3</name><frequency>70</frequency></term>
+<term><name>date4</name><frequency>60</frequency></term>
+</list>
+<list name="medium">
+</list>
+</termlist>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<search><status>OK</status></search>
\ No newline at end of file
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<show>
+<status>OK</status>
+<activeclients>0</activeclients>
+<merged>6</merged>
+<total>7</total>
+<start>0</start>
+<num>6</num>
+<hit>
+
+<md-title>How to program a computer</md-title>
+<md-author>Jack Collins</md-author><location id="localhost:9999/db1" name="db1">
+<md-title>How to program a computer</md-title>
+<md-author>Jack Collins</md-author></location>
+<location id="localhost:9999/db1" name="db1">
+<md-title>How to program a computer</md-title>
+<md-author>Jack Collins</md-author></location>
+<count>2</count>
+<relevance>36996</relevance>
+<recid>title how to program a computer author jack collins</recid>
+</hit>
+<hit>
+
+<md-title>Computer science & technology</md-title>
+<md-title-remainder>proceedings of a workshop held at the National Bureau of Standards, Gaithersburg, MD, June 3-4, 1976</md-title-remainder>
+<md-date>1977</md-date><location id="localhost:9999/db1" name="db1">
+<md-title>Computer science & technology</md-title>
+<md-title-remainder>proceedings of a workshop held at the National Bureau of Standards, Gaithersburg, MD, June 3-4, 1976</md-title-remainder>
+<md-date>1977</md-date></location>
+<relevance>30830</relevance>
+<recid>title computer science technology</recid>
+</hit>
+<hit>
+
+<md-title>The Computer Bible</md-title>
+<md-date>1973-1980</md-date>
+<md-description>Vols. 2, 8: Missoula, Mont. : Published by Scholars Press for Biblical Research Associates</md-description><location id="localhost:9999/db1" name="db1">
+<md-title>The Computer Bible</md-title>
+<md-date>1973-1980</md-date>
+<md-description>Hebrew and Greek; introductions in English</md-description>
+<md-description>Vols. 2, 8: Missoula, Mont. : Published by Scholars Press for Biblical Research Associates</md-description></location>
+<relevance>30830</relevance>
+<recid>title the computer bible</recid>
+</hit>
+<hit>
+
+<md-title>The Puget Sound Region</md-title>
+<md-title-remainder>a portfolio of thematic computer maps</md-title-remainder>
+<md-date>1974</md-date>
+<md-author>Mairs, John W</md-author>
+<md-description>Scale of maps ca. 1:1,000,000</md-description><location id="localhost:9999/db1" name="db1">
+<md-title>The Puget Sound Region</md-title>
+<md-title-remainder>a portfolio of thematic computer maps</md-title-remainder>
+<md-date>1974</md-date>
+<md-author>Mairs, John W</md-author>
+<md-description>Scale of maps ca. 1:1,000,000</md-description></location>
+<relevance>12845</relevance>
+<recid>title the puget sound region author mairs john w</recid>
+</hit>
+<hit>
+
+<md-title>Computer processing of dynamic images from an Anger scintillation camera</md-title>
+<md-title-remainder>the proceedings of a workshop</md-title-remainder>
+<md-date>1974</md-date><location id="localhost:9999/db1" name="db1">
+<md-title>Computer processing of dynamic images from an Anger scintillation camera</md-title>
+<md-title-remainder>the proceedings of a workshop</md-title-remainder>
+<md-date>1974</md-date></location>
+<relevance>9249</relevance>
+<recid>title computer processing of dynamic images from an anger scintillation camera</recid>
+</hit>
+<hit>
+
+<md-title>Reconstruction tomography in diagnostic radiology and nuclear medicine</md-title>
+<md-title-remainder>proceedings of the workshop</md-title-remainder>
+<md-date>1977</md-date><location id="localhost:9999/db1" name="db1">
+<md-title>Reconstruction tomography in diagnostic radiology and nuclear medicine</md-title>
+<md-title-remainder>proceedings of the workshop</md-title-remainder>
+<md-date>1977</md-date></location>
+<relevance>0</relevance>
+<recid>title reconstruction tomography in diagnostic radiology and nuclear medicine</recid>
+</hit>
+</show>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<bytarget><status>OK</status>
+<target><id>localhost:9999/db1</id>
+<name>db1</name>
+<hits>7</hits>
+<diagnostic>0</diagnostic>
+<records>7</records>
+<state>Client_Idle</state>
+</target></bytarget>
\ No newline at end of file
--- /dev/null
+<termlist>
+<activeclients>0</activeclients>
+<list name="xtargets">
+<term>
+<id>localhost:9999/db1</id>
+<name>db1</name>
+<frequency>7</frequency>
+<state>Client_Idle</state>
+<diagnostic>0</diagnostic>
+</term>
+</list>
+<list name="author">
+<term><name>Jack Collins</name><frequency>2</frequency></term>
+<term><name>Mairs, John W</name><frequency>1</frequency></term>
+</list>
+<list name="subject">
+<term><name>Radioisotope scanning</name><frequency>1</frequency></term>
+<term><name>Scintillation cameras</name><frequency>1</frequency></term>
+<term><name>Imaging systems in medicine</name><frequency>1</frequency></term>
+<term><name>Bible. O.T</name><frequency>1</frequency></term>
+<term><name>Bible</name><frequency>1</frequency></term>
+<term><name>Cartography</name><frequency>1</frequency></term>
+<term><name>Puget Sound region (Wash.)</name><frequency>1</frequency></term>
+<term><name>Tomography</name><frequency>1</frequency></term>
+<term><name>Optical pattern recognition</name><frequency>1</frequency></term>
+</list>
+<list name="date">
+<term><name>1974</name><frequency>2</frequency></term>
+<term><name>1977</name><frequency>2</frequency></term>
+<term><name>1980</name><frequency>1</frequency></term>
+<term><name>1973</name><frequency>1</frequency></term>
+</list>
+<list name="medium">
+</list>
+</termlist>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<settings><status>OK</status></settings>
\ No newline at end of file
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<search><status>OK</status></search>
\ No newline at end of file
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<show>
+<status>OK</status>
+<activeclients>0</activeclients>
+<merged>1</merged>
+<total>4</total>
+<start>0</start>
+<num>1</num>
+<hit>
+
+<md-title>How to program a computer</md-title>
+<md-author>Jack Collins</md-author><location id="localhost:9999/db1" name="db1">
+<md-title>How to program a computer</md-title>
+<md-author>Jack Collins</md-author></location>
+<location id="localhost:9999/db1" name="db1">
+<md-title>How to program a computer</md-title>
+<md-author>Jack Collins</md-author></location>
+<count>2</count>
+<relevance>240000</relevance>
+<recid>title how to program a computer author jack collins</recid>
+</hit>
+</show>
--- /dev/null
+http://localhost:9763/search.pz2?command=init&clear=1
+http://localhost:9763/search.pz2?session=1&command=settings&pz:sru%5Blocalhost%3A8983%2Fsolr%2Fselect%5D=solr&pz%3Aname%5Blocalhost%3A8983%2Fsolr%2Fselect%5D=SOLR+Test&pz%3Acclmap%3Ati%5Blocalhost%3A8983%2Fsolr%2Fselect%5D=1%3Dtitle&pz%3Acclmap%3Asu%5Blocalhost%3A8983%2Fsolr%2Fselect%5D=1%3Dsubject&pz%3Acclmap%3Aau%5Blocalhost%3A8983%2Fsolr%2Fselect%5D=1%3Dauthor&pz%3Acclmap%3Aisbn%5Blocalhost%3A8983%2Fsolr%2Fselect%5D=1%3Disbn&pz%3Acclmap%3Aterm%5Blocalhost%3A8983%2Fsolr%2Fselect%5D=1%3Dtitle&pz%3Axslt%5Blocalhost%3A8983%2Fsolr%2Fselect%5D=solr-pz2.xsl&pz%3Aqueryencoding%5Blocalhost%3A8983%2Fsolr%2Fselect%5D=UTF-8&pz%3Aapdulog%5Blocalhost%3A8983%2Fsolr%2Fselect%5D=1
+http://localhost:9763/search.pz2?session=1&command=search&query=su%3D%22computer%22
+4 http://localhost:9763/search.pz2?session=1&command=show&block=1
+http://localhost:9763/search.pz2?session=1&command=bytarget
+http://localhost:9763/search.pz2?session=1&command=termlist&name=xtargets%2Cauthor%2Csubject%2Cdate
+http://localhost:9763/search.pz2?command=init&clear=1
+http://localhost:9763/search.pz2?session=2&command=settings&pz:sru%5Blocalhost%3A8983%2Fsolr%2Fselect%5D=solr&pz%3Aname%5Blocalhost%3A8983%2Fsolr%2Fselect%5D=SOLR+Test&pz%3Acclmap%3Ati%5Blocalhost%3A8983%2Fsolr%2Fselect%5D=1%3Dtitle&pz%3Acclmap%3Asu%5Blocalhost%3A8983%2Fsolr%2Fselect%5D=1%3Dsubject&pz%3Acclmap%3Aau%5Blocalhost%3A8983%2Fsolr%2Fselect%5D=1%3Dauthor&pz%3Acclmap%3Aisbn%5Blocalhost%3A8983%2Fsolr%2Fselect%5D=1%3Disbn&pz%3Acclmap%3Aterm%5Blocalhost%3A8983%2Fsolr%2Fselect%5D=1%3Dtitle&pz%3Axslt%5Blocalhost%3A8983%2Fsolr%2Fselect%5D=solr-pz2.xsl&pz%3Aqueryencoding%5Blocalhost%3A8983%2Fsolr%2Fselect%5D=UTF-8&pz%3Aapdulog%5Blocalhost%3A8983%2Fsolr%2Fselect%5D=1&pz:termlist_term_count%5Blocalhost%3A8983%2Fsolr%2Fselect%5D=5&pz:preferred%5Blocalhost%3A8983%2Fsolr%2Fselect%5D=1
+http://localhost:9763/search.pz2?session=2&command=search&query=su%3D%22computer%22
+http://localhost:9763/search.pz2?session=1&command=termlist&name=xtargets%2Cauthor%2Csubject%2Cdate
+http://localhost:9763/search.pz2?session=2&command=show&block=preferred
+http://localhost:9763/search.pz2?session=2&command=search&query=su%3D%22xyzy%22
+http://localhost:9763/search.pz2?session=2&command=show&block=preferred
+http://localhost:9763/search.pz2?session=1&command=termlist&name=xtargets%2Cauthor%2Csubject%2Cdate
--- /dev/null
+http://localhost:9763/search.pz2?command=init&pz:elements%5Bz3950.indexdata.com%2Fmarc%5D=F&pz:elements%5Bz3950.indexdata.com%2Fgils%5D=F
+http://localhost:9763/search.pz2?session=1&command=stat
+http://localhost:9763/search.pz2?session=1&command=ping
+http://localhost:9763/search.pz2?session=1&command=search&query=computer
+2 http://localhost:9763/search.pz2?session=1&command=show&block=1
+http://localhost:9763/search.pz2?session=1&command=record&id=title+how+to+program+a+computer+author+jack+collins+medium+book
+http://localhost:9763/search.pz2?session=1&command=record&id=title+how+to+program+a+computer+author+jack+collins+medium+book&offset=0
+http://localhost:9763/search.pz2?session=1&command=show&start=0&number=1&sort=title:0
+http://localhost:9763/search.pz2?session=1&command=show&start=0&number=1&sort=title:1
+http://localhost:9763/search.pz2?session=1&command=show&start=0&number=1&sort=date:0
+http://localhost:9763/search.pz2?session=1&command=show&start=0&number=1&sort=date:1
+http://localhost:9763/search.pz2?command=search&query=function%20()%20%7B%250A%20%20%20%20var%20ccl%20=%20%22%22;%250A%20%20%20%20if%20(this.simpleQuery%20!=%20%22%22)%20%7B%250A%20%20%20%20%20%20%20%20ccl%20=%20this.simpleQuery;%250A%20%20%20%20%7D%250A%20%20%20%20for%20(var%20i%20=%200;%20i%20%3C%20this.advTerms.length;%20i++)%20%7B%250A%20%20%20%20%20%20%20%20if%20(ccl%20!=%20%22%22)%20%7B%250A%20%20%20%20%20%20%20%20%20%20%20%20ccl%20=%20ccl%20+%20%22%20and%20%22;%250A%20%20%20%20%20%20%20%20%7D%250A%20%20%20%20%20%20%20%20ccl%20=%20ccl%20+%20this.advTerms%5Bi%5D.field%20+%20%22=%5C%22%22%20+%20this.advTerms%5Bi%5D.value%20+%20%22%5C%22%22;%250A%20%20%20%20%7D%250A%20%20%20%20return%20ccl;%250A%7D&session=1&filter=function%20()%20%7B%250A%20%20%20%20if%20(this.singleFilter%20!=%20null)%20%7B%250A%20%20%20%20%20%20%20%20return%20%22pz:id=%22%20+%20this.singleFilter.id;%250A%20%20%20%20%7D%20else%20if%20(this.filterNums%20%3C=%200)%20%7B%250A%20%20%20%20%20%20%20%20return%20undefined;%250A%20%20%20%20%7D%250A%20%20%20%20var%20filter%20=%20%22pz:id=%22;%250A%20%20%20%20for%20(var%20i%20=%200;%20i%20%3C%20this.filterHash.length;%20i++)%20%7B%250A%20%20%20%20%20%20%20%20if%20(this.filterHash%5Bi%5D%20==%20undefined)%20%7B%250A%20%20%20%20%20%20%20%20%20%20%20%20continue;%250A%20%20%20%20%20%20%20%20%7D%250A%20%20%20%20%20%20%20%20if%20(filter%20%3E%20%22pz:id=%22)%20%7B%250A%20%20%20%20%20%20%20%20%20%20%20%20filter%20=%20filter%20+%20%22%7C%22;%250A%20%20%20%20%20%20%20%20%7D%250A%20%20%20%20%20%20%20%20filter%20+=%20this.filterHash%5Bi%5D.id;%250A%20%20%20%20%7D%250A%20%20%20%20return%20filter;%250A%7D
+http://localhost:9763/search.pz2?session=1&command=show&sort=date:1&block=1
+http://localhost:9763/search.pz2?session=1&command=show&start=0&number=1
+http://localhost:9763/search.pz2?command=init&clear=1
+http://localhost:9763/search.pz2?session=2&command=settings&pz:name%5Bz3950.indexdata.com%2Fgils%23DUMMY%5D=gils&pz:requestsyntax%5Bz3950.indexdata.com%2Fgils%23DUMMY%5D=usmarc&pz:nativesyntax%23DUMMY%5Bz3950.indexdata.com%2Fgils%23DUMMY%5D=iso2709&pz:xslt%5Bz3950.indexdata.com%2Fgils%23DUMMY%5D=marc21%5Ftest.xsl
+http://localhost:9763/search.pz2?session=2&command=search&query=computer
+2 http://localhost:9763/search.pz2?session=2&command=show&block=1
+http://localhost:9763/search.pz2?session=2&command=search&query=kubiak%20stanis%C5%82aw
+http://localhost:9763/search.pz2?session=2&command=search&query=kubiak%20sts%C5%82aw
+2 http://localhost:9763/search.pz2?session=2&command=bytarget
+http://localhost:9763/search.pz2?session=1&command=search&query=computer
+1 http://localhost:9763/search.pz2?session=1&command=record&id=title+how+to+program+a+computer+author+jack+collins+medium+book
+http://localhost:9763/search.pz2?session=1&command=record&id=title+how+to+program+a+computer+author+jack+collins+medium+book&offset=0&binary=1
+http://localhost:9763/search.pz2?session=1&command=record&id=title+how+to+program+a+computer+author+jack+collins+medium+book&offset=0&binary=1&syntax=usmarc
+http://localhost:9763/search.pz2?command=init&service=gils
+http://localhost:9763/search.pz2?session=3&command=search&query=utah
+2 http://localhost:9763/search.pz2?session=3&command=show&block=1
+http://localhost:9763/search.pz2?command=init&clear=1
+http://localhost:9763/search.pz2?session=4&command=settings&pz:name%5Bz3950.indexdata.com%2Fgils%5D=gils&pz:requestsyntax%5Bz3950.indexdata.com%2Fgils%5D=usmarc&pz:nativesyntax%5Bz3950.indexdata.com%2Fgils%5D=iso2709&pz:xslt%5Bz3950.indexdata.com%2Fgils%5D=marc21.mmap
+http://localhost:9763/search.pz2?session=4&command=search&query=computer
+2 http://localhost:9763/search.pz2?session=4&command=show&block=1
+http://localhost:9763/search.pz2?command=init
+http://localhost:9763/search.pz2?session=5&command=settings&pz:name%5Bz3950.indexdata.com%2Fmarc%5D=marc&pz:requestsyntax%5Bz3950.indexdata.com%2Fmarc%5D=usmarc&pz:nativesyntax%5Bz3950.indexdata.com%2Fmarc%5D=iso2709&pz:xslt%5Bz3950.indexdata.com%2Fmarc%5D=marc21%5Ftest.xsl&pz:recordfilter%5Bz3950.indexdata.com%2Fmarc%5D=date
+http://localhost:9763/search.pz2?session=5&command=search&query=computer&filter=pz%3Aid%3Dz3950.indexdata.com%2Fmarc
+2 http://localhost:9763/search.pz2?session=5&command=show&block=1
+http://localhost:9763/search.pz2?session=5&command=search&query=computer&filter=pz%3Aid%3Dunknown
+http://localhost:9763/search.pz2?session=3&command=settings&pz:maxrecs%5Bz3950.indexdata.com%2Fgils%5D=8
+http://localhost:9763/search.pz2?session=3&command=search&query=the
+http://localhost:9763/search.pz2?session=5&command=search&query=the&maxrecs=5&startrecs=2
+2 http://localhost:9763/search.pz2?session=3&command=show&block=1
+http://localhost:9763/search.pz2?session=5&command=show&block=1
+http://localhost:9763/search.pz2?command=init&pz:elements%5Bz3950.indexdata.com%2Fmarc%5D=F
+1 http://localhost:9763/search.pz2?session=6&command=search&query=louis
+1 http://localhost:9763/search.pz2?session=6&command=show&block=1
+http://localhost:9763/search.pz2?session=6&command=record&id=title+computer+processing+of+dynamic+images+from+an+anger+scintillation+camera+author+medium+book&offset=0
+http://localhost:9763/search.pz2?command=init&pz:elements%5Bz3950.indexdata.com%2Fmarc%5D=F
+http://localhost:9763/search.pz2?session=7&command=search&query=greece
+1 http://localhost:9763/search.pz2?session=7&command=show&block=1
+1 http://localhost:9763/search.pz2?session=6&command=show&block=1
+http://localhost:9763/search.pz2?session=6&command=record&id=title+computer+processing+of+dynamic+images+from+an+anger+scintillation+camera+author+medium+book&offset=0
+http://localhost:9763/search.pz2?command=init
+http://localhost:9763/search.pz2?session=8&command=settings&pz:name%5Bz3950.indexdata.com%2Fmarc%5D=marc&pz:requestsyntax%5Bz3950.indexdata.com%2Fmarc%5D=usmarc&pz:nativesyntax%5Bz3950.indexdata.com%2Fmarc%5D=iso2709&pz:xslt%5Bz3950.indexdata.com%2Fmarc%5D=marc21%5Ftest.xsl&pz:recordfilter%5Bz3950.indexdata.com%2Fmarc%5D=date
+http://localhost:9763/search.pz2?session=8&command=search&query=xyzzyz
+2 http://localhost:9763/search.pz2?session=8&command=show&block=1
+http://localhost:9763/search.pz2?session=8&command=search&query=a+and
+1 http://localhost:9763/search.pz2?session=8&command=show&block=1
<hit>
<md-title>BIBLIOGRAPHY OF MAINE GEOLOGY</md-title>
-<md-description>This data base is a computer based bibliography of marine geology. It allows searching by topic and geographic location, similar to GEOREF. It is currently under development to replace the printed Bibliography of Marine Geology</md-description><location id="z3950.indexdata.com/gils" name="gils">
+<md-description>This data base is a computer based bibliography of marine geology. It allows searching by topic and geographic location, similar to GEOREF. It is currently under development to replace the printed Bibliography of Marine Geology</md-description><location id="z3950.indexdata.com/gils#DUMMY" name="gils">
<md-title>BIBLIOGRAPHY OF MAINE GEOLOGY</md-title>
<md-description tag="520">This data base is a computer based bibliography of marine geology. It allows searching by topic and geographic location, similar to GEOREF. It is currently under development to replace the printed Bibliography of Marine Geology</md-description>
<md-description tag="513">1692-PRESENT</md-description>
<hit>
<md-title>GROUNDWATER RESOURCE MAPS - COUNTY SERIES</md-title>
-<md-description>A series of 1:250,000 scale maps showing well yield, well depth, and depth to bedrock for a large number of bedrock wells inventoried by the Maine Geological Survey in the mid-to late 1970's comprises this data set. Some series also show bedrock topography and potentiometric surface. Geographic coverage is restricted to Southern Maine</md-description><location id="z3950.indexdata.com/gils" name="gils">
+<md-description>A series of 1:250,000 scale maps showing well yield, well depth, and depth to bedrock for a large number of bedrock wells inventoried by the Maine Geological Survey in the mid-to late 1970's comprises this data set. Some series also show bedrock topography and potentiometric surface. Geographic coverage is restricted to Southern Maine</md-description><location id="z3950.indexdata.com/gils#DUMMY" name="gils">
<md-title>GROUNDWATER RESOURCE MAPS - COUNTY SERIES</md-title>
<md-description tag="520">A series of 1:250,000 scale maps showing well yield, well depth, and depth to bedrock for a large number of bedrock wells inventoried by the Maine Geological Survey in the mid-to late 1970's comprises this data set. Some series also show bedrock topography and potentiometric surface. Geographic coverage is restricted to Southern Maine</md-description>
<md-description tag="513">1972-1978</md-description>
<hit>
<md-title>OIL/GAS DRILLING</md-title>
-<md-description>This database contains information on oil and gas drilling such as well name, operator, driller, location, depth, copies of logs run, permits, samples (cuttings, core), completion records</md-description><location id="z3950.indexdata.com/gils" name="gils">
+<md-description>This database contains information on oil and gas drilling such as well name, operator, driller, location, depth, copies of logs run, permits, samples (cuttings, core), completion records</md-description><location id="z3950.indexdata.com/gils#DUMMY" name="gils">
<md-title>OIL/GAS DRILLING</md-title>
<md-description tag="520">This database contains information on oil and gas drilling such as well name, operator, driller, location, depth, copies of logs run, permits, samples (cuttings, core), completion records</md-description>
<md-description tag="513">1907-PRESENT</md-description>
<?xml version="1.0" encoding="UTF-8"?>
<bytarget><status>OK</status>
-<target><id>z3950.indexdata.com/gils</id>
+<target><id>z3950.indexdata.com/gils#DUMMY</id>
<name>gils</name>
<hits>0</hits>
<diagnostic>0</diagnostic>
-00362nam 22001698a 4504001001300000003000400013005001700017008004100034010001300075040001300088050001200101100001700113245003000130260001200160263000900172300001100181\1e 11224467 \1eDLC\1e00000000000000.0\1e910710c19910701nju 00010 eng \1e \1fa11224467\1e \1faDLC\1fcDLC\1e00\1fa123-xyz\1e10\1faJack Collins\1e10\1faHow to program a computer\1e1 \1faPenguin\1e \1fa8710\1e \1fap. cm.\1e\1d
\ No newline at end of file
+00366nam 22001698a 4504001001300000003000400013005001700017008004100034010001700075040001300092050001200105100001700117245003000134260001200164263000900176300001100185\1e 11224467 \1eDLC\1e00000000000000.0\1e910710c19910701nju 00010 eng \1e \1fa 11224467 \1e \1faDLC\1fcDLC\1e00\1fa123-xyz\1e10\1faJack Collins\1e10\1faHow to program a computer\1e1 \1faPenguin\1e \1fa8710\1e \1fap. cm.\1e\1d
\ No newline at end of file
-00362nam 22001698a 4504001001300000003000400013005001700017008004100034010001300075040001300088050001200101100001700113245003000130260001200160263000900172300001100181\1e 11224467 \1eDLC\1e00000000000000.0\1e910710c19910701nju 00010 eng \1e \1fa11224467\1e \1faDLC\1fcDLC\1e00\1fa123-xyz\1e10\1faJack Collins\1e10\1faHow to program a computer\1e1 \1faPenguin\1e \1fa8710\1e \1fap. cm.\1e\1d
\ No newline at end of file
+00366nam 22001698a 4504001001300000003000400013005001700017008004100034010001700075040001300092050001200105100001700117245003000134260001200164263000900176300001100185\1e 11224467 \1eDLC\1e00000000000000.0\1e910710c19910701nju 00010 eng \1e \1fa 11224467 \1e \1faDLC\1fcDLC\1e00\1fa123-xyz\1e10\1faJack Collins\1e10\1faHow to program a computer\1e1 \1faPenguin\1e \1fa8710\1e \1fap. cm.\1e\1d
\ No newline at end of file
<show>
<status>OK</status>
<activeclients>0</activeclients>
-<merged>17</merged>
+<merged>3</merged>
<total>17</total>
<start>0</start>
-<num>17</num>
+<num>3</num>
<hit>
<md-title>UTAH GEOCHROMOMETRY</md-title><location id="z3950.indexdata.com/gils" name="Index Data GILS test server">
<md-title>UTAH GEOCHROMOMETRY</md-title></location>
-<relevance>190796</relevance>
+<relevance>300000</relevance>
<recid>title utah geochromometry author medium book</recid>
</hit>
<hit>
-<md-title>UTAH CRIB FILE</md-title><location id="z3950.indexdata.com/gils" name="Index Data GILS test server">
-<md-title>UTAH CRIB FILE</md-title></location>
-<relevance>127197</relevance>
-<recid>title utah crib file author medium book</recid>
-</hit>
-<hit>
-
<md-title>UTAH EARTHQUAKE EPICENTERS</md-title><location id="z3950.indexdata.com/gils" name="Index Data GILS test server">
<md-title>UTAH EARTHQUAKE EPICENTERS</md-title></location>
-<relevance>127197</relevance>
+<relevance>200000</relevance>
<recid>title utah earthquake epicenters author medium book</recid>
</hit>
<hit>
-<md-title>BIBLIOGRAPHY OF UTAH GEOLOGY</md-title><location id="z3950.indexdata.com/gils" name="Index Data GILS test server">
-<md-title>BIBLIOGRAPHY OF UTAH GEOLOGY</md-title></location>
-<relevance>95398</relevance>
-<recid>title bibliography of utah geology author medium book</recid>
-</hit>
-<hit>
-
-<md-title>UTAH GEOLOGIC MAP BIBLIOGRAPHY</md-title><location id="z3950.indexdata.com/gils" name="Index Data GILS test server">
-<md-title>UTAH GEOLOGIC MAP BIBLIOGRAPHY</md-title></location>
-<relevance>95398</relevance>
-<recid>title utah geologic map bibliography author medium book</recid>
-</hit>
-<hit>
-
-<md-title>UTAH GEOLOGICAL ASSOCIATION PUBLICATIONS</md-title><location id="z3950.indexdata.com/gils" name="Index Data GILS test server">
-<md-title>UTAH GEOLOGICAL ASSOCIATION PUBLICATIONS</md-title></location>
-<relevance>95398</relevance>
-<recid>title utah geological association publications author medium book</recid>
-</hit>
-<hit>
-
-<md-title>UTAH GEOLOGICAL SOCIETY PUBLICATIONS</md-title><location id="z3950.indexdata.com/gils" name="Index Data GILS test server">
-<md-title>UTAH GEOLOGICAL SOCIETY PUBLICATIONS</md-title></location>
-<relevance>95398</relevance>
-<recid>title utah geological society publications author medium book</recid>
-</hit>
-<hit>
-
-<md-title>UTAH OIL FIELD FILE</md-title><location id="z3950.indexdata.com/gils" name="Index Data GILS test server">
-<md-title>UTAH OIL FIELD FILE</md-title></location>
-<relevance>95398</relevance>
-<recid>title utah oil field file author medium book</recid>
-</hit>
-<hit>
-
<md-title>UTAH GEOLOGICAL AND MINERAL SURVEY PUBLICATIONS</md-title><location id="z3950.indexdata.com/gils" name="Index Data GILS test server">
<md-title>UTAH GEOLOGICAL AND MINERAL SURVEY PUBLICATIONS</md-title></location>
-<relevance>63598</relevance>
+<relevance>100000</relevance>
<recid>title utah geological and mineral survey publications author medium book</recid>
</hit>
-<hit>
-
-<md-title>APPLIED GEOLOGY FILE</md-title><location id="z3950.indexdata.com/gils" name="Index Data GILS test server">
-<md-title>APPLIED GEOLOGY FILE</md-title></location>
-<relevance>0</relevance>
-<recid>title applied geology file author medium book</recid>
-</hit>
-<hit>
-
-<md-title>COAL SAMPLE BANK</md-title><location id="z3950.indexdata.com/gils" name="Index Data GILS test server">
-<md-title>COAL SAMPLE BANK</md-title></location>
-<relevance>0</relevance>
-<recid>title coal sample bank author medium book</recid>
-</hit>
-<hit>
-
-<md-title>ELECTRIC LOG LIBRARY</md-title><location id="z3950.indexdata.com/gils" name="Index Data GILS test server">
-<md-title>ELECTRIC LOG LIBRARY</md-title></location>
-<relevance>0</relevance>
-<recid>title electric log library author medium book</recid>
-</hit>
-<hit>
-
-<md-title>INTERMOUNTAIN ASSOCIATION OF PETROLEUM GEOLOGISTS/GEOLOGISTS PUBLICATIONS</md-title><location id="z3950.indexdata.com/gils" name="Index Data GILS test server">
-<md-title>INTERMOUNTAIN ASSOCIATION OF PETROLEUM GEOLOGISTS/GEOLOGISTS PUBLICATIONS</md-title></location>
-<relevance>0</relevance>
-<recid>title intermountain association of petroleum geologists geologists publications author medium book</recid>
-</hit>
-<hit>
-
-<md-title>MEASURED GEOLOGIC SECTIONS</md-title><location id="z3950.indexdata.com/gils" name="Index Data GILS test server">
-<md-title>MEASURED GEOLOGIC SECTIONS</md-title></location>
-<relevance>0</relevance>
-<recid>title measured geologic sections author medium book</recid>
-</hit>
-<hit>
-
-<md-title>MINE MAP INDEX</md-title><location id="z3950.indexdata.com/gils" name="Index Data GILS test server">
-<md-title>MINE MAP INDEX</md-title></location>
-<relevance>0</relevance>
-<recid>title mine map index author medium book</recid>
-</hit>
-<hit>
-
-<md-title>OIL IMPREGNATED ROCK DEPOSITS</md-title><location id="z3950.indexdata.com/gils" name="Index Data GILS test server">
-<md-title>OIL IMPREGNATED ROCK DEPOSITS</md-title></location>
-<relevance>0</relevance>
-<recid>title oil impregnated rock deposits author medium book</recid>
-</hit>
-<hit>
-
-<md-title>WELL SAMPLE LIBRARY</md-title><location id="z3950.indexdata.com/gils" name="Index Data GILS test server">
-<md-title>WELL SAMPLE LIBRARY</md-title></location>
-<relevance>0</relevance>
-<recid>title well sample library author medium book</recid>
-</hit>
</show>
<status>OK</status>
<activeclients>0</activeclients>
<merged>8</merged>
-<total>30</total>
+<total>31</total>
<start>0</start>
<num>8</num>
<hit>
<status>OK</status>
<activeclients>0</activeclients>
<merged>5</merged>
-<total>11</total>
+<total>12</total>
<start>0</start>
<num>5</num>
<hit>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<init><status>OK</status><session>6</session><protocol>1</protocol></init>
\ No newline at end of file
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<search><status>OK</status></search>
\ No newline at end of file
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<show>
+<status>OK</status>
+<activeclients>0</activeclients>
+<merged>1</merged>
+<total>1</total>
+<start>0</start>
+<num>1</num>
+<hit>
+
+<md-title>Computer processing of dynamic images from an Anger scintillation camera</md-title>
+<md-title-remainder>the proceedings of a workshop</md-title-remainder>
+<md-date>1974</md-date>
+<md-description>Includes bibliographical references and index</md-description><location id="z3950.indexdata.com/marc" name="Index Data MARC test server">
+<md-title>Computer processing of dynamic images from an Anger scintillation camera</md-title>
+<md-title-remainder>the proceedings of a workshop</md-title-remainder>
+<md-date>1974</md-date>
+<md-description tag="504">Includes bibliographical references and index</md-description>
+<md-test-usersetting>XXXXXXXXXX</md-test-usersetting>
+<md-test-usersetting-2>test-usersetting-2 data:
+ YYYYYYYYY</md-test-usersetting-2></location>
+<relevance>0</relevance>
+<recid>title computer processing of dynamic images from an anger scintillation camera author medium book</recid>
+</hit>
+</show>
--- /dev/null
+<record xmlns="http://www.loc.gov/MARC21/slim">
+ <leader>01369nam a2200265 i 4504</leader>
+ <controlfield tag="001"> 73090924 //r82</controlfield>
+ <controlfield tag="003">DLC</controlfield>
+ <controlfield tag="005">19820524000000.0</controlfield>
+ <controlfield tag="008">760609s1974 nyua b 10110 eng </controlfield>
+ <datafield tag="010" ind1=" " ind2=" ">
+ <subfield code="a"> 73090924 //r82</subfield>
+ </datafield>
+ <datafield tag="040" ind1=" " ind2=" ">
+ <subfield code="a">DLC</subfield>
+ <subfield code="c">DLC</subfield>
+ <subfield code="d">DLC</subfield>
+ </datafield>
+ <datafield tag="050" ind1="0" ind2="0">
+ <subfield code="a">RC71.3</subfield>
+ <subfield code="b">.W67 1971</subfield>
+ </datafield>
+ <datafield tag="082" ind1="0" ind2="0">
+ <subfield code="a">616.07/575/02854</subfield>
+ </datafield>
+ <datafield tag="111" ind1="2" ind2="0">
+ <subfield code="a">Workshop on Computer Processing of Dynamic Images from an Anger Scintillation Camera,</subfield>
+ <subfield code="c">Washington University,</subfield>
+ <subfield code="d">1971.</subfield>
+ </datafield>
+ <datafield tag="245" ind1="1" ind2="0">
+ <subfield code="a">Computer processing of dynamic images from an Anger scintillation camera :</subfield>
+ <subfield code="b">the proceedings of a workshop /</subfield>
+ <subfield code="c">cosponsored by the Biomedical Computer Laboratory and the Nuclear Medicine Division, Department of Radiology, School of Medicine, Washington University, St. Louis, January 18-22, 1971 ; edited by Kenneth B. Larson, Jerome R. Cox, Jr.</subfield>
+ </datafield>
+ <datafield tag="260" ind1="0" ind2=" ">
+ <subfield code="a">New York :</subfield>
+ <subfield code="b">Society of Nuclear Medicine,</subfield>
+ <subfield code="c">[c1974]</subfield>
+ </datafield>
+ <datafield tag="300" ind1=" " ind2=" ">
+ <subfield code="a">xiv, p. :</subfield>
+ <subfield code="b">ill. ;</subfield>
+ <subfield code="c">24 cm.</subfield>
+ </datafield>
+ <datafield tag="504" ind1=" " ind2=" ">
+ <subfield code="a">Includes bibliographical references and index.</subfield>
+ </datafield>
+ <datafield tag="650" ind1=" " ind2="0">
+ <subfield code="a">Radioisotope scanning</subfield>
+ <subfield code="x">Data processing</subfield>
+ <subfield code="x">Congresses.</subfield>
+ </datafield>
+ <datafield tag="650" ind1=" " ind2="0">
+ <subfield code="a">Scintillation cameras</subfield>
+ <subfield code="x">Congresses.</subfield>
+ </datafield>
+ <datafield tag="650" ind1=" " ind2="0">
+ <subfield code="a">Imaging systems in medicine</subfield>
+ <subfield code="x">Data processing</subfield>
+ <subfield code="x">Congresses.</subfield>
+ </datafield>
+ <datafield tag="700" ind1="1" ind2="0">
+ <subfield code="a">Larson, Kenneth B.</subfield>
+ </datafield>
+ <datafield tag="700" ind1="1" ind2="0">
+ <subfield code="a">Cox, Jerome R. </subfield>
+ </datafield>
+ <datafield tag="710" ind1="2" ind2="0">
+ <subfield code="a">Washington University, St. Louis.</subfield>
+ <subfield code="b">Biomedical Computer Laboratory.</subfield>
+ </datafield>
+ <datafield tag="710" ind1="2" ind2="0">
+ <subfield code="a">Washington University, St. Louis.</subfield>
+ <subfield code="b">Nuclear Medicine Division.</subfield>
+ </datafield>
+</record>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<init><status>OK</status><session>7</session><protocol>1</protocol></init>
\ No newline at end of file
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<search><status>OK</status></search>
\ No newline at end of file
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<show>
+<status>OK</status>
+<activeclients>0</activeclients>
+<merged>1</merged>
+<total>1</total>
+<start>0</start>
+<num>1</num>
+<hit>
+
+<md-title>The religious teachers of Greece</md-title>
+<md-date>1972</md-date>
+<md-author>Adam, James</md-author>
+<md-description>Reprint of the 1909 ed., which was issued as the 1904-1906 Gifford lectures</md-description><location id="z3950.indexdata.com/marc" name="Index Data MARC test server">
+<md-title>The religious teachers of Greece</md-title>
+<md-date>1972</md-date>
+<md-author>Adam, James</md-author>
+<md-description tag="500">Reprint of the 1909 ed., which was issued as the 1904-1906 Gifford lectures</md-description>
+<md-description tag="504">Includes bibliographical references</md-description>
+<md-test-usersetting>XXXXXXXXXX</md-test-usersetting>
+<md-test-usersetting-2>test-usersetting-2 data:
+ YYYYYYYYY</md-test-usersetting-2></location>
+<relevance>120000</relevance>
+<recid>title the religious teachers of greece author adam james medium book</recid>
+</hit>
+</show>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<show>
+<status>OK</status>
+<activeclients>0</activeclients>
+<merged>1</merged>
+<total>1</total>
+<start>0</start>
+<num>1</num>
+<hit>
+
+<md-title>Computer processing of dynamic images from an Anger scintillation camera</md-title>
+<md-title-remainder>the proceedings of a workshop</md-title-remainder>
+<md-date>1974</md-date>
+<md-description>Includes bibliographical references and index</md-description><location id="z3950.indexdata.com/marc" name="Index Data MARC test server">
+<md-title>Computer processing of dynamic images from an Anger scintillation camera</md-title>
+<md-title-remainder>the proceedings of a workshop</md-title-remainder>
+<md-date>1974</md-date>
+<md-description tag="504">Includes bibliographical references and index</md-description>
+<md-test-usersetting>XXXXXXXXXX</md-test-usersetting>
+<md-test-usersetting-2>test-usersetting-2 data:
+ YYYYYYYYY</md-test-usersetting-2></location>
+<relevance>0</relevance>
+<recid>title computer processing of dynamic images from an anger scintillation camera author medium book</recid>
+</hit>
+</show>
--- /dev/null
+<record xmlns="http://www.loc.gov/MARC21/slim">
+ <leader>01369nam a2200265 i 4504</leader>
+ <controlfield tag="001"> 73090924 //r82</controlfield>
+ <controlfield tag="003">DLC</controlfield>
+ <controlfield tag="005">19820524000000.0</controlfield>
+ <controlfield tag="008">760609s1974 nyua b 10110 eng </controlfield>
+ <datafield tag="010" ind1=" " ind2=" ">
+ <subfield code="a"> 73090924 //r82</subfield>
+ </datafield>
+ <datafield tag="040" ind1=" " ind2=" ">
+ <subfield code="a">DLC</subfield>
+ <subfield code="c">DLC</subfield>
+ <subfield code="d">DLC</subfield>
+ </datafield>
+ <datafield tag="050" ind1="0" ind2="0">
+ <subfield code="a">RC71.3</subfield>
+ <subfield code="b">.W67 1971</subfield>
+ </datafield>
+ <datafield tag="082" ind1="0" ind2="0">
+ <subfield code="a">616.07/575/02854</subfield>
+ </datafield>
+ <datafield tag="111" ind1="2" ind2="0">
+ <subfield code="a">Workshop on Computer Processing of Dynamic Images from an Anger Scintillation Camera,</subfield>
+ <subfield code="c">Washington University,</subfield>
+ <subfield code="d">1971.</subfield>
+ </datafield>
+ <datafield tag="245" ind1="1" ind2="0">
+ <subfield code="a">Computer processing of dynamic images from an Anger scintillation camera :</subfield>
+ <subfield code="b">the proceedings of a workshop /</subfield>
+ <subfield code="c">cosponsored by the Biomedical Computer Laboratory and the Nuclear Medicine Division, Department of Radiology, School of Medicine, Washington University, St. Louis, January 18-22, 1971 ; edited by Kenneth B. Larson, Jerome R. Cox, Jr.</subfield>
+ </datafield>
+ <datafield tag="260" ind1="0" ind2=" ">
+ <subfield code="a">New York :</subfield>
+ <subfield code="b">Society of Nuclear Medicine,</subfield>
+ <subfield code="c">[c1974]</subfield>
+ </datafield>
+ <datafield tag="300" ind1=" " ind2=" ">
+ <subfield code="a">xiv, p. :</subfield>
+ <subfield code="b">ill. ;</subfield>
+ <subfield code="c">24 cm.</subfield>
+ </datafield>
+ <datafield tag="504" ind1=" " ind2=" ">
+ <subfield code="a">Includes bibliographical references and index.</subfield>
+ </datafield>
+ <datafield tag="650" ind1=" " ind2="0">
+ <subfield code="a">Radioisotope scanning</subfield>
+ <subfield code="x">Data processing</subfield>
+ <subfield code="x">Congresses.</subfield>
+ </datafield>
+ <datafield tag="650" ind1=" " ind2="0">
+ <subfield code="a">Scintillation cameras</subfield>
+ <subfield code="x">Congresses.</subfield>
+ </datafield>
+ <datafield tag="650" ind1=" " ind2="0">
+ <subfield code="a">Imaging systems in medicine</subfield>
+ <subfield code="x">Data processing</subfield>
+ <subfield code="x">Congresses.</subfield>
+ </datafield>
+ <datafield tag="700" ind1="1" ind2="0">
+ <subfield code="a">Larson, Kenneth B.</subfield>
+ </datafield>
+ <datafield tag="700" ind1="1" ind2="0">
+ <subfield code="a">Cox, Jerome R. </subfield>
+ </datafield>
+ <datafield tag="710" ind1="2" ind2="0">
+ <subfield code="a">Washington University, St. Louis.</subfield>
+ <subfield code="b">Biomedical Computer Laboratory.</subfield>
+ </datafield>
+ <datafield tag="710" ind1="2" ind2="0">
+ <subfield code="a">Washington University, St. Louis.</subfield>
+ <subfield code="b">Nuclear Medicine Division.</subfield>
+ </datafield>
+</record>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<init><status>OK</status><session>8</session><protocol>1</protocol></init>
\ No newline at end of file
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<settings><status>OK</status></settings>
\ No newline at end of file
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<search><status>OK</status></search>
\ No newline at end of file
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<show>
+<status>OK</status>
+<activeclients>0</activeclients>
+<merged>0</merged>
+<total>0</total>
+<start>0</start>
+<num>0</num>
+</show>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<error code="3" msg="Malformed parameter value">query</error>
\ No newline at end of file
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<show>
+<status>OK</status>
+<activeclients>0</activeclients>
+<merged>0</merged>
+<total>0</total>
+<start>0</start>
+<num>0</num>
+</show>
<record xmlns="http://www.loc.gov/MARC21/slim">
- <leader>00362nam a22001698a 4504</leader>
+ <leader>00366nam a22001698a 4504</leader>
<controlfield tag="001"> 11224467 </controlfield>
<controlfield tag="003">DLC</controlfield>
<controlfield tag="005">00000000000000.0</controlfield>
<controlfield tag="008">910710c19910701nju 00010 eng </controlfield>
<datafield tag="010" ind1=" " ind2=" ">
- <subfield code="a">11224467</subfield>
+ <subfield code="a"> 11224467 </subfield>
</datafield>
<datafield tag="040" ind1=" " ind2=" ">
<subfield code="a">DLC</subfield>
+++ /dev/null
-http://localhost:9763/search.pz2?command=init&pz:elements%5Bz3950.indexdata.com%2Fmarc%5D=F&pz:elements%5Bz3950.indexdata.com%2Fgils%5D=F
-http://localhost:9763/search.pz2?session=1&command=stat
-http://localhost:9763/search.pz2?session=1&command=ping
-http://localhost:9763/search.pz2?session=1&command=search&query=computer
-2 http://localhost:9763/search.pz2?session=1&command=show&block=1
-http://localhost:9763/search.pz2?session=1&command=record&id=title+how+to+program+a+computer+author+jack+collins+medium+book
-http://localhost:9763/search.pz2?session=1&command=record&id=title+how+to+program+a+computer+author+jack+collins+medium+book&offset=0
-http://localhost:9763/search.pz2?session=1&command=show&start=0&number=1&sort=title:0
-http://localhost:9763/search.pz2?session=1&command=show&start=0&number=1&sort=title:1
-http://localhost:9763/search.pz2?session=1&command=show&start=0&number=1&sort=date:0
-http://localhost:9763/search.pz2?session=1&command=show&start=0&number=1&sort=date:1
-http://localhost:9763/search.pz2?command=search&query=function%20()%20%7B%250A%20%20%20%20var%20ccl%20=%20%22%22;%250A%20%20%20%20if%20(this.simpleQuery%20!=%20%22%22)%20%7B%250A%20%20%20%20%20%20%20%20ccl%20=%20this.simpleQuery;%250A%20%20%20%20%7D%250A%20%20%20%20for%20(var%20i%20=%200;%20i%20%3C%20this.advTerms.length;%20i++)%20%7B%250A%20%20%20%20%20%20%20%20if%20(ccl%20!=%20%22%22)%20%7B%250A%20%20%20%20%20%20%20%20%20%20%20%20ccl%20=%20ccl%20+%20%22%20and%20%22;%250A%20%20%20%20%20%20%20%20%7D%250A%20%20%20%20%20%20%20%20ccl%20=%20ccl%20+%20this.advTerms%5Bi%5D.field%20+%20%22=%5C%22%22%20+%20this.advTerms%5Bi%5D.value%20+%20%22%5C%22%22;%250A%20%20%20%20%7D%250A%20%20%20%20return%20ccl;%250A%7D&session=1&filter=function%20()%20%7B%250A%20%20%20%20if%20(this.singleFilter%20!=%20null)%20%7B%250A%20%20%20%20%20%20%20%20return%20%22pz:id=%22%20+%20this.singleFilter.id;%250A%20%20%20%20%7D%20else%20if%20(this.filterNums%20%3C=%200)%20%7B%250A%20%20%20%20%20%20%20%20return%20undefined;%250A%20%20%20%20%7D%250A%20%20%20%20var%20filter%20=%20%22pz:id=%22;%250A%20%20%20%20for%20(var%20i%20=%200;%20i%20%3C%20this.filterHash.length;%20i++)%20%7B%250A%20%20%20%20%20%20%20%20if%20(this.filterHash%5Bi%5D%20==%20undefined)%20%7B%250A%20%20%20%20%20%20%20%20%20%20%20%20continue;%250A%20%20%20%20%20%20%20%20%7D%250A%20%20%20%20%20%20%20%20if%20(filter%20%3E%20%22pz:id=%22)%20%7B%250A%20%20%20%20%20%20%20%20%20%20%20%20filter%20=%20filter%20+%20%22%7C%22;%250A%20%20%20%20%20%20%20%20%7D%250A%20%20%20%20%20%20%20%20filter%20+=%20this.filterHash%5Bi%5D.id;%250A%20%20%20%20%7D%250A%20%20%20%20return%20filter;%250A%7D
-http://localhost:9763/search.pz2?session=1&command=show&sort=date:1&block=1
-http://localhost:9763/search.pz2?session=1&command=show&start=0&number=1
-http://localhost:9763/search.pz2?command=init&clear=1
-http://localhost:9763/search.pz2?session=2&command=settings&pz:name%5Bz3950.indexdata.com%2Fgils%5D=gils&pz:requestsyntax%5Bz3950.indexdata.com%2Fgils%5D=usmarc&pz:nativesyntax%5Bz3950.indexdata.com%2Fgils%5D=iso2709&pz:xslt%5Bz3950.indexdata.com%2Fgils%5D=marc21%5Ftest.xsl
-http://localhost:9763/search.pz2?session=2&command=search&query=computer
-2 http://localhost:9763/search.pz2?session=2&command=show&block=1
-http://localhost:9763/search.pz2?session=2&command=search&query=kubiak%20stanis%C5%82aw
-http://localhost:9763/search.pz2?session=2&command=search&query=kubiak%20sts%C5%82aw
-2 http://localhost:9763/search.pz2?session=2&command=bytarget
-http://localhost:9763/search.pz2?session=1&command=search&query=computer
-1 http://localhost:9763/search.pz2?session=1&command=record&id=title+how+to+program+a+computer+author+jack+collins+medium+book
-http://localhost:9763/search.pz2?session=1&command=record&id=title+how+to+program+a+computer+author+jack+collins+medium+book&offset=0&binary=1
-http://localhost:9763/search.pz2?session=1&command=record&id=title+how+to+program+a+computer+author+jack+collins+medium+book&offset=0&binary=1&syntax=usmarc
-http://localhost:9763/search.pz2?command=init&service=gils
-http://localhost:9763/search.pz2?session=3&command=search&query=utah
-2 http://localhost:9763/search.pz2?session=3&command=show&block=1
-http://localhost:9763/search.pz2?command=init&clear=1
-http://localhost:9763/search.pz2?session=4&command=settings&pz:name%5Bz3950.indexdata.com%2Fgils%5D=gils&pz:requestsyntax%5Bz3950.indexdata.com%2Fgils%5D=usmarc&pz:nativesyntax%5Bz3950.indexdata.com%2Fgils%5D=iso2709&pz:xslt%5Bz3950.indexdata.com%2Fgils%5D=marc21.mmap
-http://localhost:9763/search.pz2?session=4&command=search&query=computer
-2 http://localhost:9763/search.pz2?session=4&command=show&block=1
-http://localhost:9763/search.pz2?command=init
-http://localhost:9763/search.pz2?session=5&command=settings&pz:name%5Bz3950.indexdata.com%2Fmarc%5D=marc&pz:requestsyntax%5Bz3950.indexdata.com%2Fmarc%5D=usmarc&pz:nativesyntax%5Bz3950.indexdata.com%2Fmarc%5D=iso2709&pz:xslt%5Bz3950.indexdata.com%2Fmarc%5D=marc21%5Ftest.xsl&pz:recordfilter%5Bz3950.indexdata.com%2Fmarc%5D=date
-http://localhost:9763/search.pz2?session=5&command=search&query=computer&filter=pz%3Aid%3Dz3950.indexdata.com%2Fmarc
-2 http://localhost:9763/search.pz2?session=5&command=show&block=1
-http://localhost:9763/search.pz2?session=5&command=search&query=computer&filter=pz%3Aid%3Dunknown
-http://localhost:9763/search.pz2?session=3&command=settings&pz:maxrecs%5Bz3950.indexdata.com%2Fgils%5D=8
-http://localhost:9763/search.pz2?session=3&command=search&query=the
-http://localhost:9763/search.pz2?session=5&command=search&query=the&maxrecs=5&startrecs=2
-2 http://localhost:9763/search.pz2?session=3&command=show&block=1
-http://localhost:9763/search.pz2?session=5&command=show&block=1
<settings src="z3950_indexdata_com_marc.xml"/>
<relevance>
- <icu_chain id="relevance" locale="el">
+ <icu_chain locale="en">
<transform rule="[:Control:] Any-Remove"/>
<tokenize rule="l"/>
<transform rule="[[:WhiteSpace:][:Punctuation:]] Remove"/>
<casemap rule="l"/>
+ <stemming rule="english" />
</icu_chain>
</relevance>
<sort>
- <icu_chain id="sort" locale="el">
+ <icu_chain locale="en">
<transform rule="[[:Control:][:WhiteSpace:][:Punctuation:]] Remove"/>
<casemap rule="l"/>
</icu_chain>
</sort>
<mergekey>
- <icu_chain id="mergekey" locale="el">
+ <icu_chain locale="en">
<tokenize rule="l"/>
<transform rule="[[:Control:][:WhiteSpace:][:Punctuation:]] Remove"/>
<casemap rule="l"/>
</icu_chain>
</mergekey>
+ <facet>
+ <icu_chain locale="en">
+ <transform rule="Title"/>
+ </icu_chain>
+ </facet>
+
<service>
<metadata name="url" merge="unique"/>
--- /dev/null
+http://localhost:9763/search.pz2?command=init
+http://localhost:9763/search.pz2?session=1&command=stat
+http://localhost:9763/search.pz2?session=1&command=search&query=computer
+2 http://localhost:9763/search.pz2?session=1&command=show&start=0&number=1&sort=title:0
+http://localhost:9763/search.pz2?session=1&command=show&start=0&number=1&sort=title:1
+http://localhost:9763/search.pz2?session=1&command=show&start=0&number=1&sort=date:0
+http://localhost:9763/search.pz2?session=1&command=show&start=0&number=1&sort=date:1
+http://localhost:9763/search.pz2?session=1&command=termlist&name=author%2Csubject
+http://localhost:9763/search.pz2?session=1&command=show&start=0&number=1
\ No newline at end of file
--- /dev/null
+<termlist>
+<activeclients>0</activeclients>
+<list name="author">
+<term><name>Jack Collins</name><frequency>2</frequency></term>
+<term><name>Mairs, John W</name><frequency>1</frequency></term>
+<term><name>Wood, Helen M</name><frequency>1</frequency></term>
+<term><name>Englund, Carl R</name><frequency>1</frequency></term>
+</list>
+<list name="subject">
+<term><name>Radioisotope Scanning</name><frequency>1</frequency></term>
+<term><name>Scintillation Cameras</name><frequency>1</frequency></term>
+<term><name>Imaging Systems In Medicine</name><frequency>1</frequency></term>
+<term><name>Cartography</name><frequency>1</frequency></term>
+<term><name>Tomography</name><frequency>1</frequency></term>
+<term><name>Optical Pattern Recognition</name><frequency>1</frequency></term>
+<term><name>Computers</name><frequency>1</frequency></term>
+<term><name>Railroads</name><frequency>1</frequency></term>
+<term><name>Universities And Colleges</name><frequency>1</frequency></term>
+<term><name>Community Colleges</name><frequency>1</frequency></term>
+</list>
+</termlist>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<show>
+<status>OK</status>
+<activeclients>0</activeclients>
+<merged>9</merged>
+<total>10</total>
+<start>0</start>
+<num>9</num>
+<hit>
+
+<md-title>The use of passwords for controlled access to computer resources</md-title>
+<md-date>1977</md-date>
+<md-author>Wood, Helen M</md-author><location id="z3950.indexdata.com/marc" name="Index Data MARC test server">
+<md-title>The use of passwords for controlled access to computer resources</md-title>
+<md-date>1977</md-date>
+<md-author>Wood, Helen M</md-author>
+<md-test-usersetting>XXXXXXXXXX</md-test-usersetting>
+<md-test-usersetting-2>test-usersetting-2 data:
+ YYYYYYYYY</md-test-usersetting-2></location>
+<relevance>37929</relevance>
+<recid>title the use of passwords for controlled access to computer resources author wood helen m medium book</recid>
+</hit>
+<hit>
+
+<md-title>How to program a computer</md-title>
+<md-author>Jack Collins</md-author><location id="z3950.indexdata.com/marc" name="Index Data MARC test server">
+<md-title>How to program a computer</md-title>
+<md-author>Jack Collins</md-author>
+<md-test-usersetting>XXXXXXXXXX</md-test-usersetting>
+<md-test-usersetting-2>test-usersetting-2 data:
+ YYYYYYYYY</md-test-usersetting-2></location>
+<location id="z3950.indexdata.com/marc" name="Index Data MARC test server">
+<md-title>How to program a computer</md-title>
+<md-author>Jack Collins</md-author>
+<md-test-usersetting>XXXXXXXXXX</md-test-usersetting>
+<md-test-usersetting-2>test-usersetting-2 data:
+ YYYYYYYYY</md-test-usersetting-2></location>
+<count>2</count>
+<relevance>25286</relevance>
+<recid>title how to program a computer author jack collins medium book</recid>
+</hit>
+<hit>
+
+<md-title>The Computer Bible</md-title>
+<md-date>1973-1980</md-date>
+<md-description>Vols. 2, 8: Missoula, Mont. : Published by Scholars Press for Biblical Research Associates</md-description><location id="z3950.indexdata.com/marc" name="Index Data MARC test server">
+<md-title>The Computer Bible</md-title>
+<md-date>1973-1980</md-date>
+<md-description tag="500">Hebrew and Greek; introductions in English</md-description>
+<md-description tag="500">Vols. 2, 8: Missoula, Mont. : Published by Scholars Press for Biblical Research Associates</md-description>
+<md-test-usersetting>XXXXXXXXXX</md-test-usersetting>
+<md-test-usersetting-2>test-usersetting-2 data:
+ YYYYYYYYY</md-test-usersetting-2></location>
+<relevance>21072</relevance>
+<recid>title the computer bible author medium book</recid>
+</hit>
+<hit>
+
+<md-title>Computer science & technology</md-title>
+<md-title-remainder>proceedings of a workshop held at the National Bureau of Standards, Gaithersburg, MD, June 3-4, 1976</md-title-remainder>
+<md-date>1977</md-date><location id="z3950.indexdata.com/marc" name="Index Data MARC test server">
+<md-title>Computer science & technology</md-title>
+<md-title-remainder>proceedings of a workshop held at the National Bureau of Standards, Gaithersburg, MD, June 3-4, 1976</md-title-remainder>
+<md-date>1977</md-date>
+<md-test-usersetting>XXXXXXXXXX</md-test-usersetting>
+<md-test-usersetting-2>test-usersetting-2 data:
+ YYYYYYYYY</md-test-usersetting-2></location>
+<relevance>15804</relevance>
+<recid>title computer science technology author medium book</recid>
+</hit>
+<hit>
+
+<md-title>A plan for community college computer development</md-title>
+<md-date>1971</md-date>
+<md-description>Cover title</md-description><location id="z3950.indexdata.com/marc" name="Index Data MARC test server">
+<md-title>A plan for community college computer development</md-title>
+<md-date>1971</md-date>
+<md-description tag="500">Cover title</md-description>
+<md-test-usersetting>XXXXXXXXXX</md-test-usersetting>
+<md-test-usersetting-2>test-usersetting-2 data:
+ YYYYYYYYY</md-test-usersetting-2></location>
+<relevance>9030</relevance>
+<recid>title a plan for community college computer development author medium book</recid>
+</hit>
+<hit>
+
+<md-title>Washington metropolitan area rail computer feasibility study;</md-title>
+<md-title-remainder>final report</md-title-remainder>
+<md-date>1971</md-date>
+<md-author>Englund, Carl R</md-author>
+<md-description>"Contract DOT-UT-10003."</md-description><location id="z3950.indexdata.com/marc" name="Index Data MARC test server">
+<md-title>Washington metropolitan area rail computer feasibility study;</md-title>
+<md-title-remainder>final report</md-title-remainder>
+<md-date>1971</md-date>
+<md-author>Englund, Carl R</md-author>
+<md-description tag="500">"Contract DOT-UT-10003."</md-description>
+<md-test-usersetting>XXXXXXXXXX</md-test-usersetting>
+<md-test-usersetting-2>test-usersetting-2 data:
+ YYYYYYYYY</md-test-usersetting-2></location>
+<relevance>9030</relevance>
+<recid>title washington metropolitan area rail computer feasibility study author englund carl r medium book</recid>
+</hit>
+<hit>
+
+<md-title>The Puget Sound Region</md-title>
+<md-title-remainder>a portfolio of thematic computer maps</md-title-remainder>
+<md-date>1974</md-date>
+<md-author>Mairs, John W</md-author>
+<md-description>Scale of maps ca. 1:1,000,000</md-description><location id="z3950.indexdata.com/marc" name="Index Data MARC test server">
+<md-title>The Puget Sound Region</md-title>
+<md-title-remainder>a portfolio of thematic computer maps</md-title-remainder>
+<md-date>1974</md-date>
+<md-author>Mairs, John W</md-author>
+<md-description tag="500">Scale of maps ca. 1:1,000,000</md-description>
+<md-description tag="504">Bibliography: p. 4</md-description>
+<md-test-usersetting>XXXXXXXXXX</md-test-usersetting>
+<md-test-usersetting-2>test-usersetting-2 data:
+ YYYYYYYYY</md-test-usersetting-2></location>
+<relevance>8780</relevance>
+<recid>title the puget sound region author mairs john w medium book</recid>
+</hit>
+<hit>
+
+<md-title>Computer processing of dynamic images from an Anger scintillation camera</md-title>
+<md-title-remainder>the proceedings of a workshop</md-title-remainder>
+<md-date>1974</md-date>
+<md-description>Includes bibliographical references and index</md-description><location id="z3950.indexdata.com/marc" name="Index Data MARC test server">
+<md-title>Computer processing of dynamic images from an Anger scintillation camera</md-title>
+<md-title-remainder>the proceedings of a workshop</md-title-remainder>
+<md-date>1974</md-date>
+<md-description tag="504">Includes bibliographical references and index</md-description>
+<md-test-usersetting>XXXXXXXXXX</md-test-usersetting>
+<md-test-usersetting-2>test-usersetting-2 data:
+ YYYYYYYYY</md-test-usersetting-2></location>
+<relevance>6321</relevance>
+<recid>title computer processing of dynamic images from an anger scintillation camera author medium book</recid>
+</hit>
+<hit>
+
+<md-title>Reconstruction tomography in diagnostic radiology and nuclear medicine</md-title>
+<md-title-remainder>proceedings of the workshop</md-title-remainder>
+<md-date>1977</md-date>
+<md-description>Includes bibliographical references and index</md-description><location id="z3950.indexdata.com/marc" name="Index Data MARC test server">
+<md-title>Reconstruction tomography in diagnostic radiology and nuclear medicine</md-title>
+<md-title-remainder>proceedings of the workshop</md-title-remainder>
+<md-date>1977</md-date>
+<md-description tag="504">Includes bibliographical references and index</md-description>
+<md-test-usersetting>XXXXXXXXXX</md-test-usersetting>
+<md-test-usersetting-2>test-usersetting-2 data:
+ YYYYYYYYY</md-test-usersetting-2></location>
+<relevance>0</relevance>
+<recid>title reconstruction tomography in diagnostic radiology and nuclear medicine author medium book</recid>
+</hit>
+</show>
+++ /dev/null
-http://localhost:9763/search.pz2?command=init
-http://localhost:9763/search.pz2?session=1&command=stat
-http://localhost:9763/search.pz2?session=1&command=search&query=computer
-2 http://localhost:9763/search.pz2?session=1&command=show&start=0&number=1&sort=title:0
-http://localhost:9763/search.pz2?session=1&command=show&start=0&number=1&sort=title:1
-http://localhost:9763/search.pz2?session=1&command=show&start=0&number=1&sort=date:0
-http://localhost:9763/search.pz2?session=1&command=show&start=0&number=1&sort=date:1
--- /dev/null
+marc_service.xml http://localhost:9763/search.pz2?command=init
+http://localhost:9763/search.pz1?session=1&command=search&query=computer
+gils_service.xml http://localhost:9763/search.pz2?command=init
+http://localhost:9763/search.pz1?session=2&command=search&query=computer
+gils_service.xml http://localhost:9763/search.pz2?command=init&clear=1
+z3950_indexdata_com_marc.xml
+http://localhost:9763/search.pz1?session=3&command=settings
+http://localhost:9763/search.pz1?session=3&command=search&query=computer
+2 http://localhost:9763/search.pz1?session=1&command=show
+http://localhost:9763/search.pz1?session=2&command=show
+http://localhost:9763/search.pz1?session=3&command=show
+http://localhost:9763/search.pz1?session=3&command=bytarget
+++ /dev/null
-marc_service.xml http://localhost:9763/search.pz2?command=init
-http://localhost:9763/search.pz1?session=1&command=search&query=computer
-gils_service.xml http://localhost:9763/search.pz2?command=init
-http://localhost:9763/search.pz1?session=2&command=search&query=computer
-gils_service.xml http://localhost:9763/search.pz2?command=init&clear=1
-z3950_indexdata_com_marc.xml
-http://localhost:9763/search.pz1?session=3&command=settings
-http://localhost:9763/search.pz1?session=3&command=search&query=computer
-2 http://localhost:9763/search.pz1?session=1&command=show
-http://localhost:9763/search.pz1?session=2&command=show
-http://localhost:9763/search.pz1?session=3&command=show
-http://localhost:9763/search.pz1?session=3&command=bytarget
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<pazpar2 xmlns="http://www.indexdata.com/pazpar2/1.0">
+ <!-- Used by test_http.sh -->
+ <server>
+ <listen port="9763"/>
+ <proxy host="localhost"/>
+
+ <service>
+ <include src="z3950_indexdata_com_marc.xml"/>
+ <targetprofiles type="local" src="../zeerex/records/"/>
+ <metadata name="url" merge="unique"/>
+ <metadata name="title" brief="yes" sortkey="skiparticle" merge="longest" rank="6" mergekey="required" />
+ <metadata name="title-remainder" brief="yes" merge="longest" rank="5"/>
+ <metadata name="isbn"/>
+ <metadata name="date" brief="yes" sortkey="numeric" type="year" merge="range"
+ termlist="yes"/>
+ <metadata name="author" brief="yes" termlist="yes" merge="longest" rank="2" mergekey="optional" />
+ <metadata name="subject" merge="unique" termlist="yes" rank="3"/>
+ <metadata name="id"/>
+ <metadata name="lccn" merge="unique"/>
+ <metadata name="description" brief="yes" merge="longest" rank="3"/>
+
+ <metadata name="test-usersetting" brief="yes" setting="postproc"/>
+ <metadata name="test" setting="parameter"/>
+ <metadata name="test-usersetting-2" brief="yes"/>
+ </service>
+
+ <include src="*_service.xml"/>
+ <include src="no_such_service.xml"/>
+
+ </server>
+
+
+</pazpar2>
+<!-- Keep this comment at the end of the file
+ Local variables:
+ mode: nxml
+ End:
+-->
--- /dev/null
+[log] Target connect.indexdata.com:9000/mit_opencourseware has preferred status: 1
+[log] Target connect.indexdata.com:9000/mit_opencourseware has preferred status: 1
+[log] Target connect.indexdata.com:9000/mit_opencourseware has preferred status: 1
--- /dev/null
+#!/bin/sh
+
+# srcdir might be set by make
+srcdir=${srcdir:-"."}
+
+#TODO set up solr target. For now use donut
+#F=../solr/client.sh
+#
+#rm -f solr.pid
+#$F -l solr.log -p ztest.pid -D @:9999
+#sleep 1
+#if test ! -f ztest.pid; then
+# echo "yaz-ztest could not be started"
+# exit 0
+#fi
+
+${srcdir}/run_pazpar2.sh test_preferred
+E=$?
+
+grep "has preferred" pazpar2.log | cut -f 4- -d ' ' > test_preferred.log
+#
+if [ -f test_preferred.res ] ; then
+ diff test_preferred.res test_preferred.log > test_preferred.dif
+ E2=$?
+ if [ $E2 -ne 0 ] ; then
+ echo "has preferred test failed!"
+ E=$E2
+ fi
+else
+ echo "Making test_preferred.res for first time."
+ mv test_preferred.log test_preferred.res
+fi
+
+#kill `cat ztest.pid`
+#rm ztest.pid
+exit $E
+
+# Local Variables:
+# mode:shell-script
+# sh-indentation: 2
+# sh-basic-offset: 4
+# End:
--- /dev/null
+http://localhost:9763/search.pz2?command=init&clear=1
+http://localhost:9763/search.pz2?session=1&command=settings&full_text_target%5Bconnect.indexdata.com%3A9000%2Fmit_opencourseware%5D=NO&use_url_proxy%5Bconnect.indexdata.com%3A9000%2Fmit_opencourseware%5D=0&pz%3Apreferred%5Bconnect.indexdata.com%3A9000%2Fmit_opencourseware%5D=1&pz%3Apiggyback%5Bconnect.indexdata.com%3A9000%2Fmit_opencourseware%5D=1&pz%3Aauthentication%5Bconnect.indexdata.com%3A9000%2Fmit_opencourseware%5D=idtest%2Fidtest36&pz%3Acclmap%3Asu%5Bconnect.indexdata.com%3A9000%2Fmit_opencourseware%5D=u%3D21+s%3Dal&use_thumbnails%5Bconnect.indexdata.com%3A9000%2Fmit_opencourseware%5D=1&pz%3Arequestsyntax%5Bconnect.indexdata.com%3A9000%2Fmit_opencourseware%5D=xml&pz%3Aname%5Bconnect.indexdata.com%3A9000%2Fmit_opencourseware%5D=MIT+OpenCourseWare&pz%3Acclmap%3Aissn%5Bconnect.indexdata.com%3A9000%2Fmit_opencourseware%5D=u%3D8&pz%3Acclmap%3Ati%5Bconnect.indexdata.com%3A9000%2Fmit_opencourseware%5D=u%3D4+s%3Dal&pz%3Acclmap%3Aau%5Bconnect.indexdata.com%3A9000%2Fmit_opencourseware%5D=u%3D1003+s%3Dal&pz%3Axslt%5Bconnect.indexdata.com%3A9000%2Fmit_opencourseware%5D=cf.xsl&pz%3Acclmap%3Aterm%5Bconnect.indexdata.com%3A9000%2Fmit_opencourseware%5D=u%3D1016+t%3Dl%2Cr+s%3Dal+2%3D102&pz%3Acclmap%3Aisbn%5Bconnect.indexdata.com%3A9000%2Fmit_opencourseware%5D=u%3D7&pz%3Aqueryencoding%5Bconnect.indexdata.com%3A9000%2Fmit_opencourseware%5D=UTF-8
+http://localhost:9763/search.pz2?session=1&command=search&query=su%3D%22computer%22
+4 http://localhost:9763/search.pz2?session=1&command=show&block=1
+http://localhost:9763/search.pz2?session=1&command=bytarget
+http://localhost:9763/search.pz2?session=1&command=termlist&name=xtargets%2Cauthor%2Csubject%2Cdate
+http://localhost:9763/search.pz2?session=1&command=settings&full_text_target%5Bocs-loc.indexdata.com%2Fsolr%2Fselect%5D=NO&pz%3Atermlist_term_count%5Bocs-loc.indexdata.com%2Fsolr%2Fselect%5D=10&use_url_proxy%5Bocs-loc.indexdata.com%2Fsolr%2Fselect%5D=0&pz%3Apiggyback%5Bocs-loc.indexdata.com%2Fsolr%2Fselect%5D=1&pz%3Apreferred%5Bocs-loc.indexdata.com%2Fsolr%2Fselect%5D=0&pz%3Ablock_timeout%5Bocs-loc.indexdata.com%2Fsolr%2Fselect%5D=2&pz%3Acclmap%3Asu%5Bocs-loc.indexdata.com%2Fsolr%2Fselect%5D=1%3Dsubject&pz%3Asru%5Bocs-loc.indexdata.com%2Fsolr%2Fselect%5D=solr&use_thumbnails%5Bocs-loc.indexdata.com%2Fsolr%2Fselect%5D=0&pz%3Aname%5Bocs-loc.indexdata.com%2Fsolr%2Fselect%5D=LOC+%28SOLR%29&pz%3Acclmap%3Aissn%5Bocs-loc.indexdata.com%2Fsolr%2Fselect%5D=u%3D8&pz%3Acclmap%3Ati%5Bocs-loc.indexdata.com%2Fsolr%2Fselect%5D=1%3Dtitle&pz%3Acclmap%3Aau%5Bocs-loc.indexdata.com%2Fsolr%2Fselect%5D=1%3Dauthor&pz%3Axslt%5Bocs-loc.indexdata.com%2Fsolr%2Fselect%5D=solr-pz2.xsl&pz%3Acclmap%3Aterm%5Bocs-loc.indexdata.com%2Fsolr%2Fselect%5D=1%3Dtext+s%3Dal&pz%3Acclmap%3Aisbn%5Bocs-loc.indexdata.com%2Fsolr%2Fselect%5D=1%3Disbn&pz%3Aqueryencoding%5Bocs-loc.indexdata.com%2Fsolr%2Fselect%5D=UTF-8
+http://localhost:9763/search.pz2?session=1&command=search&query=su%3D%22computer%22
+4 http://localhost:9763/search.pz2?session=1&command=show&block=1
+http://localhost:9763/search.pz2?session=1&command=bytarget
+http://localhost:9763/search.pz2?session=1&command=termlist&name=xtargets%2Cauthor%2Csubject%2Cdate
+http://localhost:9763/search.pz2?session=1&command=settings&full_text_target%5Bocs-oaister.indexdata.com%2Fsolr%2Fselect%5D=NO&use_url_proxy%5Bocs-oaister.indexdata.com%2Fsolr%2Fselect%5D=0&pz%3Apiggyback%5Bocs-oaister.indexdata.com%2Fsolr%2Fselect%5D=1&pz%3Ablock_timeout%5Bocs-oaister.indexdata.com%2Fsolr%2Fselect%5D=1&pz%3Acclmap%3Asu%5Bocs-oaister.indexdata.com%2Fsolr%2Fselect%5D=1%3Dsubject&pz%3Asru%5Bocs-oaister.indexdata.com%2Fsolr%2Fselect%5D=solr&use_thumbnails%5Bocs-oaister.indexdata.com%2Fsolr%2Fselect%5D=0&pz%3Acclmap%3Adate%5Bocs-oaister.indexdata.com%2Fsolr%2Fselect%5D=1%3Ddate&pz%3Aname%5Bocs-oaister.indexdata.com%2Fsolr%2Fselect%5D=Oaister+%28SOLR%29&pz%3Acclmap%3Aissn%5Bocs-oaister.indexdata.com%2Fsolr%2Fselect%5D=u%3D8&pz%3Acclmap%3Ati%5Bocs-oaister.indexdata.com%2Fsolr%2Fselect%5D=1%3Dtitle&pz%3Acclmap%3Aau%5Bocs-oaister.indexdata.com%2Fsolr%2Fselect%5D=1%3Dauthor&pz%3Axslt%5Bocs-oaister.indexdata.com%2Fsolr%2Fselect%5D=solr-pz2.xsl&pz%3Acclmap%3Aterm%5Bocs-oaister.indexdata.com%2Fsolr%2Fselect%5D=1%3Dtext+s%3Dal&pz%3Acclmap%3Aisbn%5Bocs-oaister.indexdata.com%2Fsolr%2Fselect%5D=1%3Disbn&pz%3Aqueryencoding%5Bocs-oaister.indexdata.com%2Fsolr%2Fselect%5D=UTF-8
+http://localhost:9763/search.pz2?session=1&command=search&query=su%3D%22computer%22
+4 http://localhost:9763/search.pz2?session=1&command=show&block=1
+http://localhost:9763/search.pz2?session=1&command=bytarget
+http://localhost:9763/search.pz2?session=1&command=termlist&name=xtargets%2Cauthor%2Csubject%2Cdate
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<init><status>OK</status><session>1</session><protocol>1</protocol></init>
\ No newline at end of file
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<bytarget><status>OK</status>
+<target><id>connect.indexdata.com:9000/mit_opencourseware</id>
+<name>MIT OpenCourseWare</name>
+<hits>0</hits>
+<diagnostic>114</diagnostic>
+<records>0</records>
+<state>Client_Error</state>
+</target>
+<target><id>ocs-loc.indexdata.com/solr/select</id>
+<name>LOC (SOLR)</name>
+<hits>1627</hits>
+<diagnostic>0</diagnostic>
+<records>100</records>
+<state>Client_Idle</state>
+</target></bytarget>
\ No newline at end of file
--- /dev/null
+<termlist>
+<activeclients>0</activeclients>
+<list name="xtargets">
+<term>
+<id>ocs-loc.indexdata.com/solr/select</id>
+<name>LOC (SOLR)</name>
+<frequency>1627</frequency>
+<state>Client_Idle</state>
+<diagnostic>0</diagnostic>
+</term>
+</list>
+<list name="author">
+<term><name>Pritsker, A. Alan B</name><frequency>8</frequency></term>
+<term><name>Inman, Don</name><frequency>7</frequency></term>
+<term><name>Engel, C. William</name><frequency>6</frequency></term>
+<term><name>Presley, Bruce</name><frequency>6</frequency></term>
+<term><name>Balzer, R. M</name><frequency>5</frequency></term>
+<term><name>D'Ignazio, Fred</name><frequency>5</frequency></term>
+<term><name>Ball, Stuart R</name><frequency>4</frequency></term>
+<term><name>Bitter, Gary G</name><frequency>4</frequency></term>
+<term><name>Carlson, Edward H</name><frequency>4</frequency></term>
+<term><name>Ellis, T. O</name><frequency>4</frequency></term>
+</list>
+<list name="subject">
+<term><name>Digital computer simulation</name><frequency>417</frequency></term>
+<term><name>Interactive computer systems</name><frequency>231</frequency></term>
+<term><name>Apple computer</name><frequency>145</frequency></term>
+<term><name>Embedded computer systems</name><frequency>126</frequency></term>
+<term><name>BASIC (Computer program language)</name><frequency>110</frequency></term>
+<term><name>Time-sharing computer systems</name><frequency>102</frequency></term>
+<term><name>Debugging in computer science</name><frequency>96</frequency></term>
+<term><name>Atari computer</name><frequency>63</frequency></term>
+<term><name>Virtual computer systems</name><frequency>63</frequency></term>
+<term><name>Computer graphics</name><frequency>62</frequency></term>
+</list>
+<list name="date">
+<term><name>1984</name><frequency>143</frequency></term>
+<term><name>1983</name><frequency>83</frequency></term>
+<term><name>1985</name><frequency>77</frequency></term>
+<term><name>1986</name><frequency>60</frequency></term>
+<term><name>1982</name><frequency>58</frequency></term>
+<term><name>1979</name><frequency>50</frequency></term>
+<term><name>1971</name><frequency>47</frequency></term>
+<term><name>1972</name><frequency>47</frequency></term>
+<term><name>1975</name><frequency>47</frequency></term>
+<term><name>1990</name><frequency>47</frequency></term>
+</list>
+</termlist>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<settings><status>OK</status></settings>
\ No newline at end of file
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<search><status>OK</status></search>
\ No newline at end of file
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<show>
+<status>OK</status>
+<activeclients>0</activeclients>
+<merged>183</merged>
+<total>14416</total>
+<start>0</start>
+<num>20</num>
+<hit>
+
+<md-title>920HB5649.PDF</md-title>
+<md-description>92_HB5584 LRB9212840AGcs 1 AN ACT concerning health information. 2 Be it enacted by the People of the State of Illinois, 3 represented in the General Assembly: 4 Section 5. The Mental Health and Developmental 5 Disabilities Administrative Act is amended by changing 6 Section 31a as follows: 7 (20 ILCS 1705/31a) (from Ch. 91 1/2, par. 100-31a) 8 Sec. 31a. Computer records. If computer printouts of the 9 Department's records are offered as evidence, the Secretary 10 shall certify that those computer records are true and exact 11 representations of records properly entered into standard 12 electronic computing equipment, in the</md-description><location id="ocs-oaister.indexdata.com/solr/select" name="Oaister (SOLR)">
+<md-title>920HB6000.PDF</md-title>
+<md-description>92_HB6000 LRB9212745BBmbA 1 AN ACT concerning State agencies. 2 Be it enacted by the People of the State of Illinois, 3 represented in the General Assembly: 4 Section 1. Short title. This Act may be cited as the 5 State Agency Web Site Act. 6 Section 5. Definitions. As used in this Act: 7 "Cookie" means a set of computer data or instructions 8 that is placed on a consumer's computer by a Web site server 9 to collect or store information about the consumer. 10 "State agencies" has the meaning given to that term in 11 Section 1-7 of the</md-description></location>
+<location id="ocs-oaister.indexdata.com/solr/select" name="Oaister (SOLR)">
+<md-title>920HB6044.PDF</md-title>
+<md-description>92_HB6044 LRB9210167RCdvA 1 AN ACT concerning criminal law. 2 Be it enacted by the People of the State of Illinois, 3 represented in the General Assembly: 4 Section 5. The Criminal Code of 1961 is amended by 5 changing Section 11-20.2 as follows: 6 (720 ILCS 5/11-20.2) (from Ch. 38, par. 11-20.2) 7 Sec. 11-20.2. Image of child under 18 engaged in certain 8 acts; report to peace officer. 9 (a) Any commercial film and photographic print processor 10 who has knowledge of or observes, within the scope of his or 11 her professional capacity or employment, any film, 12 photograph</md-description></location>
+<location id="ocs-oaister.indexdata.com/solr/select" name="Oaister (SOLR)">
+<md-title>920HB5584.PDF</md-title>
+<md-description>92_HB5584 LRB9212840AGcs 1 AN ACT concerning health information. 2 Be it enacted by the People of the State of Illinois, 3 represented in the General Assembly: 4 Section 5. The Mental Health and Developmental 5 Disabilities Administrative Act is amended by changing 6 Section 31a as follows: 7 (20 ILCS 1705/31a) (from Ch. 91 1/2, par. 100-31a) 8 Sec. 31a. Computer records. If computer printouts of the 9 Department's records are offered as evidence, the Secretary 10 shall certify that those computer records are true and exact 11 representations of records properly entered into standard 12 electronic computing equipment, in the</md-description></location>
+<location id="ocs-oaister.indexdata.com/solr/select" name="Oaister (SOLR)">
+<md-title>920HB5855.PDF</md-title>
+<md-description>92_HB5855 LRB9210167RCdvA 1 AN ACT concerning criminal law. 2 Be it enacted by the People of the State of Illinois, 3 represented in the General Assembly: 4 Section 5. The Criminal Code of 1961 is amended by 5 changing Section 11-20.2 as follows: 6 (720 ILCS 5/11-20.2) (from Ch. 38, par. 11-20.2) 7 Sec. 11-20.2. Image of child under 18 engaged in certain 8 acts; report to peace officer. 9 (a) Any commercial film and photographic print processor 10 who has knowledge of or observes, within the scope of his or 11 her professional capacity or employment, any film, 12 photograph</md-description></location>
+<location id="ocs-oaister.indexdata.com/solr/select" name="Oaister (SOLR)">
+<md-title>920HB5657.PDF</md-title>
+<md-description>92_HB5657 LRB9214602LBtm 1 AN ACT concerning criminal law. 2 Be it enacted by the People of the State of Illinois, 3 represented in the General Assembly: 4 Section 5. The Criminal Code of 1961 is amended by 5 adding Section 16D-5.1 as follows: 6 (720 ILCS 5/16D-5.1 new) 7 Sec. 16D-5.1. Facilitating theft of on-line services. 8 (a) A person commits the offense of facilitating theft 9 of on-line services who knowingly: 10 (1) makes, obtains, possesses, or uses a computer 11 or other electronic device, or computer software with the 12 capability to gain unauthorized access to a commercial or</md-description></location>
+<location id="ocs-oaister.indexdata.com/solr/select" name="Oaister (SOLR)">
+<md-title>920HB2140.PDF</md-title>
+<md-description>92_HB2140 LRB9206551RCcd 1 AN ACT in relation to criminal law. 2 Be it enacted by the People of the State of Illinois, 3 represented in the General Assembly: 4 Section 5. The Criminal Code of 1961 is amended by 5 adding Section 17-25 as follows: 6 (720 ILCS 5/ 17-25 new) 7 Sec. 17-25. Written approval of telephone directory 8 advertisements. 9 (a) In this Section: 10 "Advertisement" means a listing of the name, address, 11 telephone number, e-mail address, or other information 12 concerning a business. 13 "Business" means a place where a trade or occupation is 14 conducted, services</md-description></location>
+<location id="ocs-oaister.indexdata.com/solr/select" name="Oaister (SOLR)">
+<md-title>920HB0230.PDF</md-title>
+<md-description>92_HB0230 LRB9202519RCdv 1 AN ACT concerning criminal law. 2 Be it enacted by the People of the State of Illinois, 3 represented in the General Assembly: 4 Section 5. The Criminal Code of 1961 is amended by 5 adding Section 16D-5.1 as follows: 6 (720 ILCS 5/16D-5.1 new) 7 Sec. 16D-5.1. Facilitating theft of on-line services. 8 (a) A person commits the offense of facilitating theft 9 of on-line services who knowingly: 10 (1) Makes, obtains, possesses, or uses a computer 11 or other electronic device, or computer software with the 12 capability to gain unauthorized access to a commercial or</md-description></location>
+<location id="ocs-oaister.indexdata.com/solr/select" name="Oaister (SOLR)">
+<md-title>920HB0219.PDF</md-title>
+<md-description>92_HB0219 LRB9202520RCcd 1 AN ACT in relation to the transmission of drug 2 information by the Internet. 3 Be it enacted by the People of the State of Illinois, 4 represented in the General Assembly: 5 Section 5. The Cannabis Control Act is amended by adding 6 Section 5.3 as follows: 7 (720 ILCS 550/5.3 new) 8 Sec. 5.3. Illegal transmission of cannabis information 9 by the Internet. 10 (a) A person commits the offense of illegal transmission 11 of cannabis information by the Internet when he or she 12 transmits information about cannabis by the Internet knowing 13 that the</md-description></location>
+<location id="ocs-oaister.indexdata.com/solr/select" name="Oaister (SOLR)">
+<md-title>920HB5649.PDF</md-title>
+<md-description>92_HB5649 LRB9214598RCsb 1 AN ACT in relation to the transmission of drug 2 information by the Internet. 3 Be it enacted by the People of the State of Illinois, 4 represented in the General Assembly: 5 Section 5. The Cannabis Control Act is amended by adding 6 Section 5.3 as follows: 7 (720 ILCS 550/5.3 new) 8 Sec. 5.3. Illegal transmission of cannabis information 9 by the Internet. 10 (a) A person commits the offense of illegal transmission 11 of cannabis information by the Internet when he or she 12 transmits information about cannabis by the Internet knowing 13 that the</md-description></location>
+<count>9</count>
+<relevance>5807151</relevance>
+<recid>title hb pdf</recid>
+</hit>
+<hit>
+
+<md-title>920HB5649ENG.PDF</md-title>
+<md-description>HB5657 Engrossed LRB9214602LBtm 1 AN ACT concerning criminal law. 2 Be it enacted by the People of the State of Illinois, 3 represented in the General Assembly: 4 Section 5. The Criminal Code of 1961 is amended by 5 adding Section 16D-5.1 as follows: 6 (720 ILCS 5/16D-5.1 new) 7 Sec. 16D-5.1. Facilitating theft of on-line services. 8 (a) A person commits the offense of facilitating theft 9 of on-line services who knowingly: 10 (1) makes, obtains, possesses, or uses a computer 11 or other electronic device, or computer software with the 12 capability to gain unauthorized access to a commercial</md-description><location id="ocs-oaister.indexdata.com/solr/select" name="Oaister (SOLR)">
+<md-title>920HB5657ENG.PDF</md-title>
+<md-description>HB5657 Engrossed LRB9214602LBtm 1 AN ACT concerning criminal law. 2 Be it enacted by the People of the State of Illinois, 3 represented in the General Assembly: 4 Section 5. The Criminal Code of 1961 is amended by 5 adding Section 16D-5.1 as follows: 6 (720 ILCS 5/16D-5.1 new) 7 Sec. 16D-5.1. Facilitating theft of on-line services. 8 (a) A person commits the offense of facilitating theft 9 of on-line services who knowingly: 10 (1) makes, obtains, possesses, or uses a computer 11 or other electronic device, or computer software with the 12 capability to gain unauthorized access to a commercial</md-description></location>
+<location id="ocs-oaister.indexdata.com/solr/select" name="Oaister (SOLR)">
+<md-title>920HB2140ENG.PDF</md-title>
+<md-description>HB2140 Engrossed LRB9206551RCcd 1 AN ACT in relation to criminal law. 2 Be it enacted by the People of the State of Illinois, 3 represented in the General Assembly: 4 Section 5. The Criminal Code of 1961 is amended by 5 adding Section 17-25 as follows: 6 (720 ILCS 5/ 17-25 new) 7 Sec. 17-25. Written approval of telephone directory 8 advertisements. 9 (a) In this Section: 10 "Advertisement" means a listing of the name, address, 11 telephone number, e-mail address, or other information 12 concerning a business. 13 "Business" means a place where a trade or occupation is 14 conducted</md-description></location>
+<location id="ocs-oaister.indexdata.com/solr/select" name="Oaister (SOLR)">
+<md-title>920HB5649ENG.PDF</md-title>
+<md-description>HB5649 Engrossed LRB9214598RCsb 1 AN ACT in relation to the transmission of drug 2 information by the Internet. 3 Be it enacted by the People of the State of Illinois, 4 represented in the General Assembly: 5 Section 5. The Cannabis Control Act is amended by adding 6 Section 5.3 as follows: 7 (720 ILCS 550/5.3 new) 8 Sec. 5.3. Illegal transmission of cannabis information 9 by the Internet. 10 (a) A person commits the offense of illegal transmission 11 of cannabis information by the Internet when he or she 12 transmits information about cannabis by the Internet to a 13</md-description></location>
+<count>3</count>
+<relevance>2102532</relevance>
+<recid>title hb eng pdf</recid>
+</hit>
+<hit>
+
+<md-title>Mixed-Initiative Information System for Computer-Aided Training and Decision Making</md-title>
+<md-date>1973</md-date>
+<md-author>Grignetti,Mario C.; Warnock,Eleanor H</md-author>
+<md-description>AND NEWMAN INC CAMBRIDGE MASSMixed-Initiative Information System for Computer-Aided Training and Decision Making.Final rept.,FGrignetti,Mario C. ;Warnock,Eleanor H. ;F19628-72-C-0163AF-2801280104ESDTR-73-290*Information systems, *Computer programming, On line systems, Facilities, Man machine systems, Words(Language), Manuals, NetworksComputer aided instruction, ARPA computer network, SCHOLAR system, ARPANET computer network, Man computer communication, NET SCHOLAR computer program, *Computer aided training, *Computer aided decision makingThe report describes, a SCHOLAR system, NET-SCHOLAR, designed to help people use the ARPA computer Network and the facilities available through it. NET-SCHOLAR is capable of answering questions dealing with descriptional, functional, and procedural information. Previous SCHOLAR systems dealt only with static information, within the context of geography. The report includes actual on-line protocols. (Author)</md-description><location id="ocs-oaister.indexdata.com/solr/select" name="Oaister (SOLR)">
+<md-title>Mixed-Initiative Information System for Computer-Aided Training and Decision Making</md-title>
+<md-date>1973</md-date>
+<md-author>Grignetti,Mario C.; Warnock,Eleanor H</md-author>
+<md-description>AND NEWMAN INC CAMBRIDGE MASSMixed-Initiative Information System for Computer-Aided Training and Decision Making.Final rept.,FGrignetti,Mario C. ;Warnock,Eleanor H. ;F19628-72-C-0163AF-2801280104ESDTR-73-290*Information systems, *Computer programming, On line systems, Facilities, Man machine systems, Words(Language), Manuals, NetworksComputer aided instruction, ARPA computer network, SCHOLAR system, ARPANET computer network, Man computer communication, NET SCHOLAR computer program, *Computer aided training, *Computer aided decision makingThe report describes, a SCHOLAR system, NET-SCHOLAR, designed to help people use the ARPA computer Network and the facilities available through it. NET-SCHOLAR is capable of answering questions dealing with descriptional, functional, and procedural information. Previous SCHOLAR systems dealt only with static information, within the context of geography. The report includes actual on-line protocols. (Author)</md-description></location>
+<relevance>1251496</relevance>
+<recid>title mixed initiative information system for computer aided training and decision making author grignetti mario c warnock eleanor h</recid>
+</hit>
+<hit>
+
+<md-title>History of computer graphics and animation</md-title>
+<md-author>Carlson,Wayne (Author)</md-author>
+<md-description>This website complements a course titled 'A Critical History of Computer Graphics and Animation', and it contains useful material such as a substantial 'CGI historical timeline' (dated 2004, and with a strong focus on the U.S.), and a lengthy illustrated essay for each week of the course. This website is authored by the course lecturer Wayne Carlson, who is also the head of the Department of Design at Ohio State University. In the 'Resources' section the website hosts a number of full-text articles and essays authored by others, including: Carl Machover's "Personal History of CGI" (1978, IEEE); "Computer Imagery: Imitation and Representation of Realities"; and "The Digital Computer as a Creative Medium", among others. The timeline, illustrated lectures, and archived papers will all be useful for those seeking a reliable overview of the early development and entertainment applications of CGI (Computer Generated Imagery) in the U.S. There is also an essay on the 'History of CGRG/ACCAD at The Ohio State Universi[...]</md-description><location id="ocs-oaister.indexdata.com/solr/select" name="Oaister (SOLR)">
+<md-title>History of computer graphics and animation</md-title>
+<md-author>Carlson,Wayne (Author)</md-author>
+<md-description>This website complements a course titled 'A Critical History of Computer Graphics and Animation', and it contains useful material such as a substantial 'CGI historical timeline' (dated 2004, and with a strong focus on the U.S.), and a lengthy illustrated essay for each week of the course. This website is authored by the course lecturer Wayne Carlson, who is also the head of the Department of Design at Ohio State University. In the 'Resources' section the website hosts a number of full-text articles and essays authored by others, including: Carl Machover's "Personal History of CGI" (1978, IEEE); "Computer Imagery: Imitation and Representation of Realities"; and "The Digital Computer as a Creative Medium", among others. The timeline, illustrated lectures, and archived papers will all be useful for those seeking a reliable overview of the early development and entertainment applications of CGI (Computer Generated Imagery) in the U.S. There is also an essay on the 'History of CGRG/ACCAD at The Ohio State Universi[...]</md-description></location>
+<relevance>1207317</relevance>
+<recid>title history of computer graphics and animation author carlson wayne author</recid>
+</hit>
+<hit>
+
+<md-title>Computer anxiety : assessment and treatment</md-title>
+<md-date>1997</md-date>
+<md-author>McInerney, Valentina; University of Western Sydney; Faculty of Arts and Social Sciences</md-author>
+<md-description>This thesis represents the results of studies designed to investigate computer anxiety among adult learners. The existence, nature and degree of computer anxiety were investigated with a sample of teacher trainees undertaking an introductory computer training course, and the impact of this course on the anxiety and cognitions of the students were studied. Another study focussed on the evaluation of the measure of computer anxiety used in this study with a view to the design of a new computer anxiety treatment. Results showed that computer anxiety is not necessarily dissipated by completing a computer course, and is correlated with gender, computer ownership and previous computer experience. A number of faculties with different student populations were studied, and computer anxiety was high within each. Interviews with computing course coordinators indicated a range of approaches to instructional design, beliefs about the extent and causes of computer anxiety, and ways of alleviating it. Two approaches derived[...]Doctor of Philosophy (PhD)</md-description><location id="ocs-oaister.indexdata.com/solr/select" name="Oaister (SOLR)">
+<md-title>Computer anxiety : assessment and treatment</md-title>
+<md-date>1997</md-date>
+<md-author>McInerney, Valentina; University of Western Sydney; Faculty of Arts and Social Sciences</md-author>
+<md-description>This thesis represents the results of studies designed to investigate computer anxiety among adult learners. The existence, nature and degree of computer anxiety were investigated with a sample of teacher trainees undertaking an introductory computer training course, and the impact of this course on the anxiety and cognitions of the students were studied. Another study focussed on the evaluation of the measure of computer anxiety used in this study with a view to the design of a new computer anxiety treatment. Results showed that computer anxiety is not necessarily dissipated by completing a computer course, and is correlated with gender, computer ownership and previous computer experience. A number of faculties with different student populations were studied, and computer anxiety was high within each. Interviews with computing course coordinators indicated a range of approaches to instructional design, beliefs about the extent and causes of computer anxiety, and ways of alleviating it. Two approaches derived[...]Doctor of Philosophy (PhD)</md-description></location>
+<location id="ocs-oaister.indexdata.com/solr/select" name="Oaister (SOLR)">
+<md-title>Computer anxiety : assessment and treatment</md-title>
+<md-date>1997</md-date>
+<md-author>McInerney, Valentina; University of Western Sydney; Faculty of Arts and Social Sciences</md-author>
+<md-description>This thesis represents the results of studies designed to investigate computer anxiety among adult learners. The existence, nature and degree of computer anxiety were investigated with a sample of teacher trainees undertaking an introductory computer training course, and the impact of this course on the anxiety and cognitions of the students were studied. Another study focussed on the evaluation of the measure of computer anxiety used in this study with a view to the design of a new computer anxiety treatment. Results showed that computer anxiety is not necessarily dissipated by completing a computer course, and is correlated with gender, computer ownership and previous computer experience. A number of faculties with different student populations were studied, and computer anxiety was high within each. Interviews with computing course coordinators indicated a range of approaches to instructional design, beliefs about the extent and causes of computer anxiety, and ways of alleviating it. Two approaches derived[...]Doctor of Philosophy (PhD)</md-description></location>
+<count>2</count>
+<relevance>1182038</relevance>
+<recid>title computer anxiety assessment and treatment author mcinerney valentina university of western sydney faculty of arts and social sciences</recid>
+</hit>
+<hit>
+
+<md-title>Examination of Factors that Influence Computer Technology Use for Classroom Instruction by Teachers in Ohio Public High Schools</md-title>
+<md-date>2009</md-date>
+<md-author>Latio, Gambu Wani</md-author>
+<md-description>The focus of this research was to determine the extent to which teachers in Ohio public high schools use computers in classroom instruction, and investigation of barriers to teachers’ integration of computers into classroom instruction and learning. The analyses were based on a sample of 256 teachers randomly selected from 18 randomly selected high schools across the state. About 77% of the participants considered themselves well prepared, and 83% were proficient in computer technology integration. Although the majority of the participants had attained the necessary computer skills, teachers’ use of computers for classroom learning was low and sporadic at best, averaging 1.8 times a week, a level equivalence of novice computer using teacher. Both computer proficiency and availability of computers in Ohio public high school classrooms greatly affected teachers’ extent of computer technology use in classroom learning. Only 12% of the proficient teachers taught in classrooms with five or more computers, compared[...]</md-description><location id="ocs-oaister.indexdata.com/solr/select" name="Oaister (SOLR)">
+<md-title>Examination of Factors that Influence Computer Technology Use for Classroom Instruction by Teachers in Ohio Public High Schools</md-title>
+<md-date>2009</md-date>
+<md-author>Latio, Gambu Wani</md-author>
+<md-description>The focus of this research was to determine the extent to which teachers in Ohio public high schools use computers in classroom instruction, and investigation of barriers to teachers’ integration of computers into classroom instruction and learning. The analyses were based on a sample of 256 teachers randomly selected from 18 randomly selected high schools across the state. About 77% of the participants considered themselves well prepared, and 83% were proficient in computer technology integration. Although the majority of the participants had attained the necessary computer skills, teachers’ use of computers for classroom learning was low and sporadic at best, averaging 1.8 times a week, a level equivalence of novice computer using teacher. Both computer proficiency and availability of computers in Ohio public high school classrooms greatly affected teachers’ extent of computer technology use in classroom learning. Only 12% of the proficient teachers taught in classrooms with five or more computers, compared[...]</md-description></location>
+<relevance>1068607</relevance>
+<recid>title examination of factors that influence computer technology use for classroom instruction by teachers in ohio public high schools author latio gambu wani</recid>
+</hit>
+<hit>
+
+<md-title>6502 assembly-language programming for Apple, Commodore, and Atari computers</md-title>
+<md-date>1985</md-date>
+<md-author>Lampton, Christopher</md-author>
+<md-description>Instructs those who have already programmed in high-level languages in programming with the more powerful and versatile assembly or machine language</md-description><location id="ocs-loc.indexdata.com/solr/select" name="LOC (SOLR)">
+<md-title>6502 assembly-language programming for Apple, Commodore, and Atari computers</md-title>
+<md-date>1985</md-date>
+<md-author>Lampton, Christopher</md-author>
+<md-description>Cover title: 6502 assembly language</md-description>
+<md-description>Series statement from jacket</md-description>
+<md-description>Includes index</md-description>
+<md-description>Instructs those who have already programmed in high-level languages in programming with the more powerful and versatile assembly or machine language</md-description></location>
+<relevance>1020000</relevance>
+<recid>title assembly language programming for apple commodore and atari computers author lampton christopher</recid>
+</hit>
+<hit>
+
+<md-title>920SB0756SAM001.PDF</md-title>
+<md-description>92_SB0756sam001 LRB9201747NTsbam 1 AMENDMENT TO SENATE BILL 756 2 AMENDMENT NO. Amend Senate Bill 756 by replacing 3 everything after the enacting clause with the following: 4 "Section 5. The School Code is amended by adding 5 Sections 10-20.35 and 34-18.22 as follows: 6 (105 ILCS 5/10-20.35 new) 7 Sec. 10-20.35. Computer access by minors; explicit 8 sexual materials. 9 (a) In this Section: 10 "Explicit sexual materials" means that which is obscene, 11 child pornography, or material harmful to minors, as defined 12 under Sections 11-20, 11-20.1, and 11-21 of the Criminal Code 13 of 1961. 14 "Public access computer"</md-description><location id="ocs-oaister.indexdata.com/solr/select" name="Oaister (SOLR)">
+<md-title>920SB0756SAM001.PDF</md-title>
+<md-description>92_SB0756sam001 LRB9201747NTsbam 1 AMENDMENT TO SENATE BILL 756 2 AMENDMENT NO. Amend Senate Bill 756 by replacing 3 everything after the enacting clause with the following: 4 "Section 5. The School Code is amended by adding 5 Sections 10-20.35 and 34-18.22 as follows: 6 (105 ILCS 5/10-20.35 new) 7 Sec. 10-20.35. Computer access by minors; explicit 8 sexual materials. 9 (a) In this Section: 10 "Explicit sexual materials" means that which is obscene, 11 child pornography, or material harmful to minors, as defined 12 under Sections 11-20, 11-20.1, and 11-21 of the Criminal Code 13 of 1961. 14 "Public access computer"</md-description></location>
+<relevance>1007792</relevance>
+<recid>title sb sam pdf</recid>
+</hit>
+<hit>
+
+<md-title>General Electric computer installation, Australian General Electric Computer Information Processing Centre, 103 York Street, Sydney</md-title>
+<md-author>Hickson, Jack</md-author>
+<md-description>Is part of Australian Photographic Agency (APA) Collection : Sydney people, places and events, 1953-1987Australian Photographic Agency - 12965</md-description><location id="ocs-oaister.indexdata.com/solr/select" name="Oaister (SOLR)">
+<md-title>General Electric computer installation, Australian General Electric Computer Information Processing Centre, 103 York Street, Sydney</md-title>
+<md-author>Hickson, Jack</md-author>
+<md-description>Is part of Australian Photographic Agency (APA) Collection : Sydney people, places and events, 1953-1987Australian Photographic Agency - 12964</md-description></location>
+<location id="ocs-oaister.indexdata.com/solr/select" name="Oaister (SOLR)">
+<md-title>General Electric computer installation, Australian General Electric Computer Information Processing Centre, 103 York Street, Sydney</md-title>
+<md-author>Hickson, Jack</md-author>
+<md-description>Is part of Australian Photographic Agency (APA) Collection : Sydney people, places and events, 1953-1987Australian Photographic Agency - 12965</md-description></location>
+<count>2</count>
+<relevance>975974</relevance>
+<recid>title general electric computer installation australian general electric computer information processing centre york street sydney author hickson jack</recid>
+</hit>
+<hit>
+
+<md-title>Idiot's Guide to OZ: A Manual for the Complete Beginner, Introducing EMACS, the Word Processing Program, and TEX, the Text Formatting Program</md-title>
+<md-date>1984</md-date>
+<md-author>Gilson,W</md-author><location id="ocs-oaister.indexdata.com/solr/select" name="Oaister (SOLR)">
+<md-title>Idiot's Guide to OZ: A Manual for the Complete Beginner, Introducing EMACS, the Word Processing Program, and TEX, the Text Formatting Program</md-title>
+<md-date>1984</md-date>
+<md-author>Gilson,W</md-author></location>
+<relevance>975000</relevance>
+<recid>title idiot s guide to oz a manual for the complete beginner introducing emacs the word processing program and tex the text formatting program author gilson w</recid>
+</hit>
+<hit>
+
+<md-title>Let's talk Apple Turtle</md-title>
+<md-date>1984</md-date>
+<md-author>Nevile, Liddy</md-author>
+<md-description>An introduction to the LOGO computer language using hands-on activities with the Apple computer and hands-off activities which relate to other skills areas in the curriculum</md-description><location id="ocs-loc.indexdata.com/solr/select" name="LOC (SOLR)">
+<md-title>Let's talk Apple Turtle</md-title>
+<md-date>1984</md-date>
+<md-author>Nevile, Liddy</md-author>
+<md-description>Cataloging based on CIP information</md-description>
+<md-description>An introduction to the LOGO computer language using hands-on activities with the Apple computer and hands-off activities which relate to other skills areas in the curriculum</md-description></location>
+<location id="ocs-loc.indexdata.com/solr/select" name="LOC (SOLR)">
+<md-title>Let's talk Apple Turtle</md-title>
+<md-date>1984</md-date>
+<md-author>Nevile, Liddy</md-author>
+<md-description>Cataloging based on CIP information</md-description>
+<md-description>An introduction to the LOGO computer language using hands-on activities with the Apple computer and hands-off activities which relate to other skills areas in the curriculum</md-description></location>
+<count>2</count>
+<relevance>942857</relevance>
+<recid>title let s talk apple turtle author nevile liddy</recid>
+</hit>
+<hit>
+
+<md-title>Proceedings of the 1999 International Conference on Web-Based Modeling and Simulation</md-title>
+<md-title-remainder>[held as part of] 1999 Western MultiConference, San Francisco, California, January 17-20, 1999, Cathedral Hill Hotel</md-title-remainder>
+<md-date>1999-2000</md-date>
+<md-description>Network modeling -- Civil applications -- Education and training -- Military applications -- Parallel and distributed simulation -- DEVS-based approaches -- Modeling and simulation environments -- High-level architecture -- Visualization and animation -- Real-time applications</md-description><location id="ocs-loc.indexdata.com/solr/select" name="LOC (SOLR)">
+<md-title>Proceedings of the International Conference on Web-based Modeling and Simulation</md-title>
+<md-date>2000</md-date>
+<md-description>Both conferences held as parts of the 2000 Western MultiConference, San Diego, California, January 23-27, 2000, Catamaran Resort Hotel</md-description>
+<md-description>"Sponsored by the Society for Computer Simulation International"--T.p</md-description></location>
+<location id="ocs-loc.indexdata.com/solr/select" name="LOC (SOLR)">
+<md-title>Proceedings of the 1999 International Conference on Web-Based Modeling and Simulation</md-title>
+<md-title-remainder>[held as part of] 1999 Western MultiConference, San Francisco, California, January 17-20, 1999, Cathedral Hill Hotel</md-title-remainder>
+<md-date>1999</md-date>
+<md-description>Network modeling -- Civil applications -- Education and training -- Military applications -- Parallel and distributed simulation -- DEVS-based approaches -- Modeling and simulation environments -- High-level architecture -- Visualization and animation -- Real-time applications</md-description></location>
+<count>2</count>
+<relevance>930000</relevance>
+<recid>title proceedings of the international conference on web based modeling and simulation</recid>
+</hit>
+<hit>
+
+<md-title>Computer art and animation</md-title>
+<md-title-remainder>a user's guide to Atari logo</md-title-remainder>
+<md-date>1984</md-date>
+<md-author>Thornburg, David D</md-author>
+<md-description>Explains how to use a computer to create graphic designs and animated sequences</md-description><location id="ocs-loc.indexdata.com/solr/select" name="LOC (SOLR)">
+<md-title>Computer art and animation</md-title>
+<md-title-remainder>a user's guide to Atari logo</md-title-remainder>
+<md-date>1984</md-date>
+<md-author>Thornburg, David D</md-author>
+<md-description>Includes index</md-description>
+<md-description>Explains how to use a computer to create graphic designs and animated sequences</md-description></location>
+<relevance>923076</relevance>
+<recid>title computer art and animation author thornburg david d</recid>
+</hit>
+<hit>
+
+<md-title>Computer to analyse audience demographics for Channel 7</md-title>
+<md-author>Hickson, Jack</md-author>
+<md-description>Is part of Australian Photographic Agency (APA) Collection : Sydney people, places and events, 1953-1987Australian Photographic Agency - 37382</md-description><location id="ocs-oaister.indexdata.com/solr/select" name="Oaister (SOLR)">
+<md-title>Computer to analyse audience demographics for Channel 7</md-title>
+<md-author>Hickson, Jack</md-author>
+<md-description>Is part of Australian Photographic Agency (APA) Collection : Sydney people, places and events, 1953-1987Australian Photographic Agency - 37381</md-description></location>
+<location id="ocs-oaister.indexdata.com/solr/select" name="Oaister (SOLR)">
+<md-title>Computer to analyse audience demographics for Channel 7</md-title>
+<md-author>Hickson, Jack</md-author>
+<md-description>Is part of Australian Photographic Agency (APA) Collection : Sydney people, places and events, 1953-1987Australian Photographic Agency - 37382</md-description></location>
+<count>2</count>
+<relevance>921428</relevance>
+<recid>title computer to analyse audience demographics for channel author hickson jack</recid>
+</hit>
+<hit>
+
+<md-title>The Computer-Aided Analytic Process Model. Operations Handbook for the APM (Analytic Process Model) Demonstration Package. Appendix</md-title>
+<md-date>1986</md-date>
+<md-author>Shapiro,Ronald G</md-author>
+<md-description>The Computer-Aided APM Demonstration Package provides the analyst with the opportunity to perform a thorough analysis of a system while the computer keeps track of the analysis and insures that the analyst examines the parts of the data base which are of interest. This is, however, a demonstration package which can only process small data bases. Because the package is implemented on an Apple II Plus, processing is relatively slow. An explanation of the APM, listings of the data sets derived using the APM and recommendations for further development of the APM appear in the companion volume--The Analytic Process Model for System Design and Measurement: A Computer-Aided Tool for Analyzing Training Systems and Other Human-Machine Systems. A separate companion volume--The Computer-Aided Analytic Process Model: Operations Handbook for the APM Demonstration Package is also available under separate cover. This volume, which is an Appendix to the Operations Handbook, contains the actual PASCAL computer code listings. [...]Appendix to AD-A166 180</md-description><location id="ocs-oaister.indexdata.com/solr/select" name="Oaister (SOLR)">
+<md-title>The Computer-Aided Analytic Process Model. Operations Handbook for the APM (Analytic Process Model) Demonstration Package. Appendix</md-title>
+<md-date>1986</md-date>
+<md-author>Shapiro,Ronald G</md-author>
+<md-description>The Computer-Aided APM Demonstration Package provides the analyst with the opportunity to perform a thorough analysis of a system while the computer keeps track of the analysis and insures that the analyst examines the parts of the data base which are of interest. This is, however, a demonstration package which can only process small data bases. Because the package is implemented on an Apple II Plus, processing is relatively slow. An explanation of the APM, listings of the data sets derived using the APM and recommendations for further development of the APM appear in the companion volume--The Analytic Process Model for System Design and Measurement: A Computer-Aided Tool for Analyzing Training Systems and Other Human-Machine Systems. A separate companion volume--The Computer-Aided Analytic Process Model: Operations Handbook for the APM Demonstration Package is also available under separate cover. This volume, which is an Appendix to the Operations Handbook, contains the actual PASCAL computer code listings. [...]Appendix to AD-A166 180</md-description></location>
+<relevance>919440</relevance>
+<recid>title the computer aided analytic process model operations handbook for the apm analytic process model demonstration package appendix author shapiro ronald g</recid>
+</hit>
+<hit>
+
+<md-title>Random alley adventure for the Atari computer</md-title>
+<md-date>1984</md-date>
+<md-author>Orkin, Michael</md-author>
+<md-description>Programs written in BASIC for an Atari computer provide experience in games of chance which demonstrate the law of averages</md-description><location id="ocs-loc.indexdata.com/solr/select" name="LOC (SOLR)">
+<md-title>Random alley adventure for the Atari computer</md-title>
+<md-date>1984</md-date>
+<md-author>Orkin, Michael</md-author>
+<md-description>"A Reston Computer Group book."</md-description>
+<md-description>Programs written in BASIC for an Atari computer provide experience in games of chance which demonstrate the law of averages</md-description></location>
+<relevance>910714</relevance>
+<recid>title random alley adventure for the atari computer author orkin michael</recid>
+</hit>
+<hit>
+
+<md-title>I speak BASIC to my Atari</md-title>
+<md-title-remainder>teacher's manual</md-title-remainder>
+<md-date>1983</md-date>
+<md-author>Jones, Aubrey B</md-author>
+<md-description>An introduction to the operation and applications of computers, with practice exercises</md-description><location id="ocs-loc.indexdata.com/solr/select" name="LOC (SOLR)">
+<md-title>I speak BASIC to my Atari</md-title>
+<md-date>1983</md-date>
+<md-author>Jones, Aubrey B</md-author>
+<md-description>An introduction to the operation and applications of computers, with practice exercises</md-description></location>
+<location id="ocs-loc.indexdata.com/solr/select" name="LOC (SOLR)">
+<md-title>I speak BASIC to my Atari</md-title>
+<md-title-remainder>teacher's manual</md-title-remainder>
+<md-date>1983</md-date>
+<md-author>Jones, Aubrey B</md-author>
+<md-description>An introduction to the operation and applications of computers, with practice exercises</md-description></location>
+<count>2</count>
+<relevance>900000</relevance>
+<recid>title i speak basic to my atari author jones aubrey b</recid>
+</hit>
+<hit>
+
+<md-title>School days for the Atari computer</md-title>
+<md-date>1984</md-date>
+<md-author>Passantino, Claire Bailey</md-author>
+<md-description>Presents twenty programs that include games, contests, riddles, songs, and other activities to use with BASIC on the Atari computer</md-description><location id="ocs-loc.indexdata.com/solr/select" name="LOC (SOLR)">
+<md-title>School days for the Atari computer</md-title>
+<md-date>1984</md-date>
+<md-author>Passantino, Claire Bailey</md-author>
+<md-description>Presents twenty programs that include games, contests, riddles, songs, and other activities to use with BASIC on the Atari computer</md-description></location>
+<relevance>865000</relevance>
+<recid>title school days for the atari computer author passantino claire bailey</recid>
+</hit>
+<hit>
+
+<md-title>The Apple LOGO manual</md-title>
+<md-date>1985</md-date>
+<md-description>Instructions for doing computer graphics on an Apple computer in LOGO</md-description><location id="ocs-loc.indexdata.com/solr/select" name="LOC (SOLR)">
+<md-title>The Apple LOGO manual</md-title>
+<md-date>1985</md-date>
+<md-description>Includes index</md-description>
+<md-description>Instructions for doing computer graphics on an Apple computer in LOGO</md-description></location>
+<relevance>804545</relevance>
+<recid>title the apple logo manual</recid>
+</hit>
+<hit>
+
+<md-title>Computer Programs for the Analysis of Spacecraft Magnetism</md-title>
+<md-date>1973</md-date>
+<md-author>Lackey,Milton H</md-author>
+<md-description>The report describes five computer programs that are being used at the Naval Ordnance Laboratory for analyzing satellite magnetism. The programs contain numerical analysis algorithms for the spherical harmonic analysis of the magnetic field emanating from a satellite. The analysis is directed at determining the components of the magnetism which correspond to the dipole moment, quadrupole moment, etc. The first three programs were devised to analyze data from magnetic field measurements around the satellite. The fourth program was devised to generate simulated measurement data for a specified system of multipole magnets. The last program is a combination of the data generation and the data analysis programs. Sample problems are included in the discussion to illustrate the techniques of using the programs with a CDC 6400 Computer including the INTERCOM time-sharing system. A brief description is also included of data acquisition techniques and of principal subprograms. (Author)</md-description><location id="ocs-oaister.indexdata.com/solr/select" name="Oaister (SOLR)">
+<md-title>Computer Programs for the Analysis of Spacecraft Magnetism</md-title>
+<md-date>1973</md-date>
+<md-author>Lackey,Milton H</md-author>
+<md-description>The report describes five computer programs that are being used at the Naval Ordnance Laboratory for analyzing satellite magnetism. The programs contain numerical analysis algorithms for the spherical harmonic analysis of the magnetic field emanating from a satellite. The analysis is directed at determining the components of the magnetism which correspond to the dipole moment, quadrupole moment, etc. The first three programs were devised to analyze data from magnetic field measurements around the satellite. The fourth program was devised to generate simulated measurement data for a specified system of multipole magnets. The last program is a combination of the data generation and the data analysis programs. Sample problems are included in the discussion to illustrate the techniques of using the programs with a CDC 6400 Computer including the INTERCOM time-sharing system. A brief description is also included of data acquisition techniques and of principal subprograms. (Author)</md-description></location>
+<relevance>804109</relevance>
+<recid>title computer programs for the analysis of spacecraft magnetism author lackey milton h</recid>
+</hit>
+</show>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<bytarget><status>OK</status>
+<target><id>connect.indexdata.com:9000/mit_opencourseware</id>
+<name>MIT OpenCourseWare</name>
+<hits>0</hits>
+<diagnostic>114</diagnostic>
+<records>0</records>
+<state>Client_Error</state>
+</target>
+<target><id>ocs-loc.indexdata.com/solr/select</id>
+<name>LOC (SOLR)</name>
+<hits>1627</hits>
+<diagnostic>0</diagnostic>
+<records>100</records>
+<state>Client_Idle</state>
+</target>
+<target><id>ocs-oaister.indexdata.com/solr/select</id>
+<name>Oaister (SOLR)</name>
+<hits>12789</hits>
+<diagnostic>0</diagnostic>
+<records>100</records>
+<state>Client_Idle</state>
+</target></bytarget>
\ No newline at end of file
--- /dev/null
+<termlist>
+<activeclients>0</activeclients>
+<list name="xtargets">
+<term>
+<id>ocs-oaister.indexdata.com/solr/select</id>
+<name>Oaister (SOLR)</name>
+<frequency>12789</frequency>
+<state>Client_Idle</state>
+<diagnostic>0</diagnostic>
+</term>
+<term>
+<id>ocs-loc.indexdata.com/solr/select</id>
+<name>LOC (SOLR)</name>
+<frequency>1627</frequency>
+<state>Client_Idle</state>
+<diagnostic>0</diagnostic>
+</term>
+</list>
+<list name="author">
+<term><name>Pritsker, A. Alan B</name><frequency>8</frequency></term>
+<term><name>Inman, Don</name><frequency>7</frequency></term>
+<term><name>Hickson, Jack</name><frequency>6</frequency></term>
+<term><name>Engel, C. William</name><frequency>6</frequency></term>
+<term><name>Presley, Bruce</name><frequency>6</frequency></term>
+<term><name>Balzer, R. M</name><frequency>5</frequency></term>
+<term><name>D'Ignazio, Fred</name><frequency>5</frequency></term>
+<term><name>Ball, Stuart R</name><frequency>4</frequency></term>
+<term><name>Bitter, Gary G</name><frequency>4</frequency></term>
+<term><name>Carlson, Edward H</name><frequency>4</frequency></term>
+<term><name>Ellis, T. O</name><frequency>4</frequency></term>
+<term><name>Morgado Leonel; Bulas Cruz Maria Gabriel; Kahn Ken</name><frequency>3</frequency></term>
+<term><name>Oosterbosch, Rudy</name><frequency>2</frequency></term>
+<term><name>McInerney, Valentina; University of Western Sydney; Faculty of Arts and Social Sciences</name><frequency>2</frequency></term>
+<term><name>Morgado Leonel; Cristóvão-Morgado Rosa; Bulas Cruz Maria Gabriel; Kahn Ken</name><frequency>1</frequency></term>
+</list>
+<list name="subject">
+<term><name>Digital computer simulation</name><frequency>417</frequency></term>
+<term><name>Interactive computer systems</name><frequency>232</frequency></term>
+<term><name>Apple computer</name><frequency>145</frequency></term>
+<term><name>Embedded computer systems</name><frequency>126</frequency></term>
+<term><name>BASIC (Computer program language)</name><frequency>110</frequency></term>
+<term><name>Time-sharing computer systems</name><frequency>102</frequency></term>
+<term><name>Debugging in computer science</name><frequency>96</frequency></term>
+<term><name>Atari computer</name><frequency>63</frequency></term>
+<term><name>Virtual computer systems</name><frequency>63</frequency></term>
+<term><name>Computer graphics</name><frequency>62</frequency></term>
+<term><name>digital full-text</name><frequency>42</frequency></term>
+<term><name>computer components. computer memories. computer peripherals</name><frequency>25</frequency></term>
+<term><name>dissertations the and tu/e</name><frequency>21</frequency></term>
+<term><name>computer science: dissertations. measurement and control: dissertations</name><frequency>21</frequency></term>
+<term><name>computer science: report series. measurement and control: report series</name><frequency>17</frequency></term>
+</list>
+<list name="date">
+<term><name>1984</name><frequency>144</frequency></term>
+<term><name>1983</name><frequency>83</frequency></term>
+<term><name>1985</name><frequency>77</frequency></term>
+<term><name>1986</name><frequency>62</frequency></term>
+<term><name>1982</name><frequency>58</frequency></term>
+<term><name>1979</name><frequency>50</frequency></term>
+<term><name>1971</name><frequency>47</frequency></term>
+<term><name>1972</name><frequency>47</frequency></term>
+<term><name>1975</name><frequency>47</frequency></term>
+<term><name>1990</name><frequency>47</frequency></term>
+<term><name>2008</name><frequency>9</frequency></term>
+<term><name>2005</name><frequency>8</frequency></term>
+<term><name>2003</name><frequency>8</frequency></term>
+<term><name>2009</name><frequency>7</frequency></term>
+<term><name>2007</name><frequency>7</frequency></term>
+</list>
+</termlist>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<settings><status>OK</status></settings>
\ No newline at end of file
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<search><status>OK</status></search>
\ No newline at end of file
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<show>
+<status>OK</status>
+<activeclients>0</activeclients>
+<merged>0</merged>
+<total>0</total>
+<start>0</start>
+<num>0</num>
+</show>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<bytarget><status>OK</status>
+<target><id>connect.indexdata.com:9000/mit_opencourseware</id>
+<name>MIT OpenCourseWare</name>
+<hits>0</hits>
+<diagnostic>114</diagnostic>
+<records>0</records>
+<state>Client_Error</state>
+</target></bytarget>
\ No newline at end of file
--- /dev/null
+<termlist>
+<activeclients>0</activeclients>
+<list name="xtargets">
+</list>
+<list name="author">
+</list>
+<list name="subject">
+</list>
+<list name="date">
+</list>
+</termlist>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<settings><status>OK</status></settings>
\ No newline at end of file
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<search><status>OK</status></search>
\ No newline at end of file
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<show>
+<status>OK</status>
+<activeclients>0</activeclients>
+<merged>96</merged>
+<total>1627</total>
+<start>0</start>
+<num>20</num>
+<hit>
+
+<md-title>6502 assembly-language programming for Apple, Commodore, and Atari computers</md-title>
+<md-date>1985</md-date>
+<md-author>Lampton, Christopher</md-author>
+<md-description>Instructs those who have already programmed in high-level languages in programming with the more powerful and versatile assembly or machine language</md-description><location id="ocs-loc.indexdata.com/solr/select" name="LOC (SOLR)">
+<md-title>6502 assembly-language programming for Apple, Commodore, and Atari computers</md-title>
+<md-date>1985</md-date>
+<md-author>Lampton, Christopher</md-author>
+<md-description>Cover title: 6502 assembly language</md-description>
+<md-description>Series statement from jacket</md-description>
+<md-description>Includes index</md-description>
+<md-description>Instructs those who have already programmed in high-level languages in programming with the more powerful and versatile assembly or machine language</md-description></location>
+<relevance>1020000</relevance>
+<recid>title assembly language programming for apple commodore and atari computers author lampton christopher</recid>
+</hit>
+<hit>
+
+<md-title>Let's talk Apple Turtle</md-title>
+<md-date>1984</md-date>
+<md-author>Nevile, Liddy</md-author>
+<md-description>An introduction to the LOGO computer language using hands-on activities with the Apple computer and hands-off activities which relate to other skills areas in the curriculum</md-description><location id="ocs-loc.indexdata.com/solr/select" name="LOC (SOLR)">
+<md-title>Let's talk Apple Turtle</md-title>
+<md-date>1984</md-date>
+<md-author>Nevile, Liddy</md-author>
+<md-description>Cataloging based on CIP information</md-description>
+<md-description>An introduction to the LOGO computer language using hands-on activities with the Apple computer and hands-off activities which relate to other skills areas in the curriculum</md-description></location>
+<location id="ocs-loc.indexdata.com/solr/select" name="LOC (SOLR)">
+<md-title>Let's talk Apple Turtle</md-title>
+<md-date>1984</md-date>
+<md-author>Nevile, Liddy</md-author>
+<md-description>Cataloging based on CIP information</md-description>
+<md-description>An introduction to the LOGO computer language using hands-on activities with the Apple computer and hands-off activities which relate to other skills areas in the curriculum</md-description></location>
+<count>2</count>
+<relevance>942857</relevance>
+<recid>title let s talk apple turtle author nevile liddy</recid>
+</hit>
+<hit>
+
+<md-title>Proceedings of the 1999 International Conference on Web-Based Modeling and Simulation</md-title>
+<md-title-remainder>[held as part of] 1999 Western MultiConference, San Francisco, California, January 17-20, 1999, Cathedral Hill Hotel</md-title-remainder>
+<md-date>1999-2000</md-date>
+<md-description>Network modeling -- Civil applications -- Education and training -- Military applications -- Parallel and distributed simulation -- DEVS-based approaches -- Modeling and simulation environments -- High-level architecture -- Visualization and animation -- Real-time applications</md-description><location id="ocs-loc.indexdata.com/solr/select" name="LOC (SOLR)">
+<md-title>Proceedings of the International Conference on Web-based Modeling and Simulation</md-title>
+<md-date>2000</md-date>
+<md-description>Both conferences held as parts of the 2000 Western MultiConference, San Diego, California, January 23-27, 2000, Catamaran Resort Hotel</md-description>
+<md-description>"Sponsored by the Society for Computer Simulation International"--T.p</md-description></location>
+<location id="ocs-loc.indexdata.com/solr/select" name="LOC (SOLR)">
+<md-title>Proceedings of the 1999 International Conference on Web-Based Modeling and Simulation</md-title>
+<md-title-remainder>[held as part of] 1999 Western MultiConference, San Francisco, California, January 17-20, 1999, Cathedral Hill Hotel</md-title-remainder>
+<md-date>1999</md-date>
+<md-description>Network modeling -- Civil applications -- Education and training -- Military applications -- Parallel and distributed simulation -- DEVS-based approaches -- Modeling and simulation environments -- High-level architecture -- Visualization and animation -- Real-time applications</md-description></location>
+<count>2</count>
+<relevance>930000</relevance>
+<recid>title proceedings of the international conference on web based modeling and simulation</recid>
+</hit>
+<hit>
+
+<md-title>Computer art and animation</md-title>
+<md-title-remainder>a user's guide to Atari logo</md-title-remainder>
+<md-date>1984</md-date>
+<md-author>Thornburg, David D</md-author>
+<md-description>Explains how to use a computer to create graphic designs and animated sequences</md-description><location id="ocs-loc.indexdata.com/solr/select" name="LOC (SOLR)">
+<md-title>Computer art and animation</md-title>
+<md-title-remainder>a user's guide to Atari logo</md-title-remainder>
+<md-date>1984</md-date>
+<md-author>Thornburg, David D</md-author>
+<md-description>Includes index</md-description>
+<md-description>Explains how to use a computer to create graphic designs and animated sequences</md-description></location>
+<relevance>923076</relevance>
+<recid>title computer art and animation author thornburg david d</recid>
+</hit>
+<hit>
+
+<md-title>Random alley adventure for the Atari computer</md-title>
+<md-date>1984</md-date>
+<md-author>Orkin, Michael</md-author>
+<md-description>Programs written in BASIC for an Atari computer provide experience in games of chance which demonstrate the law of averages</md-description><location id="ocs-loc.indexdata.com/solr/select" name="LOC (SOLR)">
+<md-title>Random alley adventure for the Atari computer</md-title>
+<md-date>1984</md-date>
+<md-author>Orkin, Michael</md-author>
+<md-description>"A Reston Computer Group book."</md-description>
+<md-description>Programs written in BASIC for an Atari computer provide experience in games of chance which demonstrate the law of averages</md-description></location>
+<relevance>910714</relevance>
+<recid>title random alley adventure for the atari computer author orkin michael</recid>
+</hit>
+<hit>
+
+<md-title>I speak BASIC to my Atari</md-title>
+<md-title-remainder>teacher's manual</md-title-remainder>
+<md-date>1983</md-date>
+<md-author>Jones, Aubrey B</md-author>
+<md-description>An introduction to the operation and applications of computers, with practice exercises</md-description><location id="ocs-loc.indexdata.com/solr/select" name="LOC (SOLR)">
+<md-title>I speak BASIC to my Atari</md-title>
+<md-date>1983</md-date>
+<md-author>Jones, Aubrey B</md-author>
+<md-description>An introduction to the operation and applications of computers, with practice exercises</md-description></location>
+<location id="ocs-loc.indexdata.com/solr/select" name="LOC (SOLR)">
+<md-title>I speak BASIC to my Atari</md-title>
+<md-title-remainder>teacher's manual</md-title-remainder>
+<md-date>1983</md-date>
+<md-author>Jones, Aubrey B</md-author>
+<md-description>An introduction to the operation and applications of computers, with practice exercises</md-description></location>
+<count>2</count>
+<relevance>900000</relevance>
+<recid>title i speak basic to my atari author jones aubrey b</recid>
+</hit>
+<hit>
+
+<md-title>School days for the Atari computer</md-title>
+<md-date>1984</md-date>
+<md-author>Passantino, Claire Bailey</md-author>
+<md-description>Presents twenty programs that include games, contests, riddles, songs, and other activities to use with BASIC on the Atari computer</md-description><location id="ocs-loc.indexdata.com/solr/select" name="LOC (SOLR)">
+<md-title>School days for the Atari computer</md-title>
+<md-date>1984</md-date>
+<md-author>Passantino, Claire Bailey</md-author>
+<md-description>Presents twenty programs that include games, contests, riddles, songs, and other activities to use with BASIC on the Atari computer</md-description></location>
+<relevance>865000</relevance>
+<recid>title school days for the atari computer author passantino claire bailey</recid>
+</hit>
+<hit>
+
+<md-title>The Apple LOGO manual</md-title>
+<md-date>1985</md-date>
+<md-description>Instructions for doing computer graphics on an Apple computer in LOGO</md-description><location id="ocs-loc.indexdata.com/solr/select" name="LOC (SOLR)">
+<md-title>The Apple LOGO manual</md-title>
+<md-date>1985</md-date>
+<md-description>Includes index</md-description>
+<md-description>Instructions for doing computer graphics on an Apple computer in LOGO</md-description></location>
+<relevance>804545</relevance>
+<recid>title the apple logo manual</recid>
+</hit>
+<hit>
+
+<md-title>Kid-powered Logo</md-title>
+<md-date>1984</md-date>
+<md-author>Fiday, David</md-author>
+<md-description>Explains how to use the computer language LOGO to write fundamental programs and create graphics on the Apple computer</md-description><location id="ocs-loc.indexdata.com/solr/select" name="LOC (SOLR)">
+<md-title>Kid-powered Logo</md-title>
+<md-date>1984</md-date>
+<md-author>Fiday, David</md-author>
+<md-description>Includes index</md-description>
+<md-description>Explains how to use the computer language LOGO to write fundamental programs and create graphics on the Apple computer</md-description></location>
+<relevance>781578</relevance>
+<recid>title kid powered logo author fiday david</recid>
+</hit>
+<hit>
+
+<md-title>Basic fun with graphics, the Atari computer way</md-title>
+<md-date>1983</md-date>
+<md-author>Zuanich, Margaret Ann</md-author>
+<md-description>Instructions for graphics programming on an Atari computer using BASIC</md-description><location id="ocs-loc.indexdata.com/solr/select" name="LOC (SOLR)">
+<md-title>Basic fun with graphics, the Atari computer way</md-title>
+<md-date>1983</md-date>
+<md-author>Zuanich, Margaret Ann</md-author>
+<md-description>Instructions for graphics programming on an Atari computer using BASIC</md-description></location>
+<relevance>780000</relevance>
+<recid>title basic fun with graphics the atari computer way author zuanich margaret ann</recid>
+</hit>
+<hit>
+
+<md-title>Turtlesteps, an introduction to Apple Logo and Terrapin Logo</md-title>
+<md-date>1984</md-date>
+<md-author>Sharp, Pamela</md-author>
+<md-description>Introduces computer graphics and beginning programming in Apple Logo and Terrapin Logo</md-description><location id="ocs-loc.indexdata.com/solr/select" name="LOC (SOLR)">
+<md-title>Turtlesteps, an introduction to Apple Logo and Terrapin Logo</md-title>
+<md-date>1984</md-date>
+<md-author>Sharp, Pamela</md-author>
+<md-description>Includes index</md-description>
+<md-description>Introduces computer graphics and beginning programming in Apple Logo and Terrapin Logo</md-description></location>
+<relevance>775000</relevance>
+<recid>title turtlesteps an introduction to apple logo and terrapin logo author sharp pamela</recid>
+</hit>
+<hit>
+
+<md-title>Graphics and animation on the Atari</md-title>
+<md-title-remainder>800, 400, 1200XL, 800XL, and 600XL</md-title-remainder>
+<md-date>1986</md-date>
+<md-author>Lampton, Christopher</md-author>
+<md-description>Instructions for creating simple and advanced graphics using BASIC on the Atari computer. Includes suggestions for projects</md-description><location id="ocs-loc.indexdata.com/solr/select" name="LOC (SOLR)">
+<md-title>Graphics and animation on the Atari</md-title>
+<md-title-remainder>800, 400, 1200XL, 800XL, and 600XL</md-title-remainder>
+<md-date>1986</md-date>
+<md-author>Lampton, Christopher</md-author>
+<md-description>Includes index</md-description>
+<md-description>Instructions for creating simple and advanced graphics using BASIC on the Atari computer. Includes suggestions for projects</md-description></location>
+<relevance>767647</relevance>
+<recid>title graphics and animation on the atari author lampton christopher</recid>
+</hit>
+<hit>
+
+<md-title>Apple building blocks</md-title>
+<md-title-remainder>featuring Denby, the robot</md-title-remainder>
+<md-date>1985</md-date>
+<md-author>D'Ignazio, Fred</md-author>
+<md-description>Explains how to write fundamental programs for the Apple computer and use it to play forty-six educational games</md-description><location id="ocs-loc.indexdata.com/solr/select" name="LOC (SOLR)">
+<md-title>Apple building blocks</md-title>
+<md-title-remainder>featuring Denby, the robot</md-title-remainder>
+<md-date>1985</md-date>
+<md-author>D'Ignazio, Fred</md-author>
+<md-description>On t.p. the circled symbol "R" is superscript following "Apple" in the title</md-description>
+<md-description>Explains how to write fundamental programs for the Apple computer and use it to play forty-six educational games</md-description></location>
+<relevance>765789</relevance>
+<recid>title apple building blocks author d ignazio fred</recid>
+</hit>
+<hit>
+
+<md-title>Apple in wonderland</md-title>
+<md-date>1984</md-date>
+<md-author>D'Ignazio, Fred</md-author>
+<md-description>System requirements for floppy disk: Apple II with Applesoft, II+, IIe, or IIc; DOS 3.3; 1 disk drive and controller card; color TV or monitor recommended</md-description><location id="ocs-loc.indexdata.com/solr/select" name="LOC (SOLR)">
+<md-title>Apple in wonderland</md-title>
+<md-date>1984</md-date>
+<md-author>D'Ignazio, Fred</md-author>
+<md-description>System requirements for floppy disk: Apple II with Applesoft, II+, IIe, or IIc; DOS 3.3; 1 disk drive and controller card; color TV or monitor recommended</md-description>
+<md-description>Issued in plastic case</md-description>
+<md-description>Provides programs for twenty-two learning games written in BASIC for an Apple II computer. Includes a floppy disk</md-description></location>
+<relevance>765789</relevance>
+<recid>title apple in wonderland author d ignazio fred</recid>
+</hit>
+<hit>
+
+<md-title>Atari in Wonderland</md-title>
+<md-date>1983</md-date>
+<md-author>D'Ignazio, Fred</md-author>
+<md-description>Contains twenty-two short, simple games to use with an Atari computer on such topics as colors, sounds, multiplication, state names, spelling, fractions, and Spanish and French languages</md-description><location id="ocs-loc.indexdata.com/solr/select" name="LOC (SOLR)">
+<md-title>Atari in Wonderland</md-title>
+<md-date>1983</md-date>
+<md-author>D'Ignazio, Fred</md-author>
+<md-description>Contains twenty-two short, simple games to use with an Atari computer on such topics as colors, sounds, multiplication, state names, spelling, fractions, and Spanish and French languages</md-description></location>
+<relevance>685714</relevance>
+<recid>title atari in wonderland author d ignazio fred</recid>
+</hit>
+<hit>
+
+<md-title>BASIC is child's play, Apple edition</md-title>
+<md-date>1984</md-date>
+<md-author>Grauer, Robert T</md-author>
+<md-description>Offers instructions for computer novices in programming with BASIC on an Apple personal computer</md-description><location id="ocs-loc.indexdata.com/solr/select" name="LOC (SOLR)">
+<md-title>BASIC is child's play, Apple edition</md-title>
+<md-date>1984</md-date>
+<md-author>Grauer, Robert T</md-author>
+<md-description>Includes index</md-description>
+<md-description>Offers instructions for computer novices in programming with BASIC on an Apple personal computer</md-description></location>
+<relevance>642857</relevance>
+<recid>title basic is child s play apple edition author grauer robert t</recid>
+</hit>
+<hit>
+
+<md-title>The Atari playground</md-title>
+<md-date>1983</md-date>
+<md-author>D'Ignazio, Fred</md-author>
+<md-description>Twenty-three learning games, grouped by subject, for use on an Atari computer. There are separate instructional sections for parents/teachers and for children</md-description><location id="ocs-loc.indexdata.com/solr/select" name="LOC (SOLR)">
+<md-title>The Atari playground</md-title>
+<md-date>1983</md-date>
+<md-author>D'Ignazio, Fred</md-author>
+<md-description>Twenty-three learning games, grouped by subject, for use on an Atari computer. There are separate instructional sections for parents/teachers and for children</md-description></location>
+<relevance>612500</relevance>
+<recid>title the atari playground author d ignazio fred</recid>
+</hit>
+<hit>
+
+<md-title>Computer software</md-title>
+<md-title-remainder>supplying it and finding it</md-title-remainder>
+<md-date>1983</md-date>
+<md-author>Tagg, W</md-author><location id="ocs-loc.indexdata.com/solr/select" name="LOC (SOLR)">
+<md-title>Computer software</md-title>
+<md-title-remainder>supplying it and finding it</md-title-remainder>
+<md-date>1983</md-date>
+<md-author>Tagg, W</md-author></location>
+<relevance>600000</relevance>
+<recid>title computer software author tagg w</recid>
+</hit>
+<hit>
+
+<md-title>Kid-powered graphics</md-title>
+<md-date>1984</md-date>
+<md-author>Fiday, David</md-author>
+<md-description>Includes index</md-description><location id="ocs-loc.indexdata.com/solr/select" name="LOC (SOLR)">
+<md-title>Kid-powered graphics</md-title>
+<md-date>1984</md-date>
+<md-author>Fiday, David</md-author>
+<md-description>Includes index</md-description></location>
+<relevance>600000</relevance>
+<recid>title kid powered graphics author fiday david</recid>
+</hit>
+<hit>
+
+<md-title>BASIC on the ATARI computer for kids</md-title>
+<md-date>1984</md-date>
+<md-author>Wyner, Keith</md-author>
+<md-description>Instructions for the elementary school student in programming BASIC on an Atari computer</md-description><location id="ocs-loc.indexdata.com/solr/select" name="LOC (SOLR)">
+<md-title>BASIC on the ATARI computer for kids</md-title>
+<md-date>1984</md-date>
+<md-author>Wyner, Keith</md-author>
+<md-description>Includes index</md-description>
+<md-description>Instructions for the elementary school student in programming BASIC on an Atari computer</md-description></location>
+<relevance>558791</relevance>
+<recid>title basic on the atari computer for kids author wyner keith</recid>
+</hit>
+</show>
--- /dev/null
+http://localhost:9763/search.pz2?command=init
+http://localhost:9763/search.pz2?command=init&clear=1
+http://localhost:9763/search.pz2?session=1&command=settings&category%5Bz3950.indexdata.com%2Fmarc%5D=1
+http://localhost:9763/search.pz2?session=1&command=search&query=water
+http://localhost:9763/search.pz2?session=2&command=settings&pz:name%5Bz3950.indexdata.com%2Fmarc%5D=1&pz:cclmap:term%5Bz3950.indexdata.com%2Fmarc%5D=u%3D1016&pz:elements%5Bz3950.indexdata.com%2Fmarc%5D=F
+http://localhost:9763/search.pz2?session=2&command=search&query=water
+3 http://localhost:9763/search.pz2?session=1&command=bytarget&settings=1
+http://localhost:9763/search.pz2?session=2&command=bytarget&settings=1
<hits>0</hits>
<diagnostic>114</diagnostic>
<records>0</records>
-<state>Client_Idle</state>
+<state>Client_Error</state>
<settings>
<set name="pz:elements" value="F"/>
<set name="pz:requestsyntax" value="marc21"/>
+++ /dev/null
-http://localhost:9763/search.pz2?command=init
-http://localhost:9763/search.pz2?command=init&clear=1
-http://localhost:9763/search.pz2?session=1&command=settings&category%5Bz3950.indexdata.com%2Fmarc%5D=1
-http://localhost:9763/search.pz2?session=1&command=search&query=water
-http://localhost:9763/search.pz2?session=2&command=settings&pz:name%5Bz3950.indexdata.com%2Fmarc%5D=1&pz:cclmap:term%5Bz3950.indexdata.com%2Fmarc%5D=u%3D1016&pz:elements%5Bz3950.indexdata.com%2Fmarc%5D=F
-http://localhost:9763/search.pz2?session=2&command=search&query=water
-2 http://localhost:9763/search.pz2?session=1&command=bytarget&settings=1
-http://localhost:9763/search.pz2?session=2&command=bytarget&settings=1
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<pazpar2 xmlns="http://www.indexdata.com/pazpar2/1.0">
+ <!-- Used by test_http.sh -->
+ <server>
+ <listen port="9763"/>
+ <proxy host="localhost"/>
+
+ <service>
+ <include src="z3950_indexdata_com_marc.xml"/>
+ <targetprofiles type="local" src="../zeerex/records/"/>
+ <metadata name="url" merge="unique"/>
+ <metadata name="title" brief="yes" sortkey="skiparticle" merge="longest" rank="6" mergekey="required" />
+ <metadata name="title-remainder" brief="yes" merge="longest" rank="5"/>
+ <metadata name="isbn"/>
+ <metadata name="date" brief="yes" sortkey="numeric" type="year" merge="range"
+ termlist="yes"/>
+ <metadata name="author" brief="yes" termlist="yes" merge="longest" rank="2" mergekey="optional" />
+ <metadata name="subject" merge="unique" termlist="yes" rank="3"/>
+ <metadata name="id"/>
+ <metadata name="lccn" merge="unique"/>
+ <metadata name="description" brief="yes" merge="longest" rank="3"/>
+
+ <metadata name="test-usersetting" brief="yes" setting="postproc"/>
+ <metadata name="test" setting="parameter"/>
+ <metadata name="test-usersetting-2" brief="yes"/>
+ </service>
+
+ <include src="*_service.xml"/>
+ <include src="no_such_service.xml"/>
+
+ </server>
+
+
+</pazpar2>
+<!-- Keep this comment at the end of the file
+ Local variables:
+ mode: nxml
+ End:
+-->
--- /dev/null
+#!/bin/sh
+
+# srcdir might be set by make
+srcdir=${srcdir:-"."}
+
+#TODO set up solr target. For now use donut
+#F=../solr/client.sh
+#
+#rm -f solr.pid
+#$F -l solr.log -p ztest.pid -D @:9999
+#sleep 1
+#if test ! -f ztest.pid; then
+# echo "yaz-ztest could not be started"
+# exit 0
+#fi
+
+${srcdir}/run_pazpar2.sh test_solr
+E=$?
+
+#kill `cat ztest.pid`
+#rm ztest.pid
+exit $E
+
+# Local Variables:
+# mode:shell-script
+# sh-indentation: 2
+# sh-basic-offset: 4
+# End:
--- /dev/null
+http://localhost:9763/search.pz2?command=init&clear=1
+http://localhost:9763/search.pz2?session=1&command=settings&pz:sru%5Blocalhost%3A8983%2Fsolr%2Fselect%5D=solr&pz%3Aname%5Blocalhost%3A8983%2Fsolr%2Fselect%5D=SOLR+Test&pz%3Acclmap%3Ati%5Blocalhost%3A8983%2Fsolr%2Fselect%5D=1%3Dtitle&pz%3Acclmap%3Asu%5Blocalhost%3A8983%2Fsolr%2Fselect%5D=1%3Dsubject&pz%3Acclmap%3Aau%5Blocalhost%3A8983%2Fsolr%2Fselect%5D=1%3Dauthor&pz%3Acclmap%3Aisbn%5Blocalhost%3A8983%2Fsolr%2Fselect%5D=1%3Disbn&pz%3Acclmap%3Aterm%5Blocalhost%3A8983%2Fsolr%2Fselect%5D=1%3Dtitle&pz%3Axslt%5Blocalhost%3A8983%2Fsolr%2Fselect%5D=solr-pz2.xsl&pz%3Aqueryencoding%5Blocalhost%3A8983%2Fsolr%2Fselect%5D=UTF-8&pz%3Aapdulog%5Blocalhost%3A8983%2Fsolr%2Fselect%5D=1
+http://localhost:9763/search.pz2?session=1&command=search&query=su%3D%22computer%22
+4 http://localhost:9763/search.pz2?session=1&command=show&block=1
+http://localhost:9763/search.pz2?session=1&command=bytarget
+http://localhost:9763/search.pz2?session=1&command=termlist&name=xtargets%2Csubject%2Cauthor%2Cdate%2Cmedium
+http://localhost:9763/search.pz2?command=init&clear=1
+http://localhost:9763/search.pz2?session=2&command=settings&pz:sru%5Blocalhost%3A8983%2Fsolr%2Fselect%5D=solr&pz%3Aname%5Blocalhost%3A8983%2Fsolr%2Fselect%5D=SOLR+Test&pz%3Acclmap%3Ati%5Blocalhost%3A8983%2Fsolr%2Fselect%5D=1%3Dtitle&pz%3Acclmap%3Asu%5Blocalhost%3A8983%2Fsolr%2Fselect%5D=1%3Dsubject&pz%3Acclmap%3Aau%5Blocalhost%3A8983%2Fsolr%2Fselect%5D=1%3Dauthor&pz%3Acclmap%3Aisbn%5Blocalhost%3A8983%2Fsolr%2Fselect%5D=1%3Disbn&pz%3Acclmap%3Aterm%5Blocalhost%3A8983%2Fsolr%2Fselect%5D=1%3Dtitle&pz%3Axslt%5Blocalhost%3A8983%2Fsolr%2Fselect%5D=solr-pz2.xsl&pz%3Aqueryencoding%5Blocalhost%3A8983%2Fsolr%2Fselect%5D=UTF-8&pz%3Aapdulog%5Blocalhost%3A8983%2Fsolr%2Fselect%5D=1&pz:termlist_term_count%5Blocalhost%3A8983%2Fsolr%2Fselect%5D=5&pz:preferred%5Blocalhost%3A8983%2Fsolr%2Fselect%5D=1
+http://localhost:9763/search.pz2?session=2&command=search&query=su%3D%22computer%22
+http://localhost:9763/search.pz2?session=1&command=termlist&name=xtargets%2Csubject%2Cauthor%2Cdate%2Cmedium
+http://localhost:9763/search.pz2?session=2&command=show&block=preferred
+http://localhost:9763/search.pz2?session=2&command=search&query=su%3D%22xyzy%22
+http://localhost:9763/search.pz2?session=2&command=show&block=preferred
+http://localhost:9763/search.pz2?session=1&command=termlist&name=xtargets%2Csubject%2Cauthor%2Cdate%2Cmedium
+http://localhost:9763/search.pz2?session=2&command=termlist&name=xtargets%2Csubject%2Cauthor%2Cdate%2Cmedium
\ No newline at end of file
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<init><status>OK</status><session>1</session><protocol>1</protocol></init>
\ No newline at end of file
--- /dev/null
+<termlist>
+<activeclients>0</activeclients>
+<list name="xtargets">
+<term>
+<id>donut:8983/solr/select</id>
+<name>SOLR Test</name>
+<frequency>1128</frequency>
+<state>Client_Idle</state>
+<diagnostic>0</diagnostic>
+</term>
+</list>
+<list name="author">
+<term><name>D'Ignazio, Fred</name><frequency>4</frequency></term>
+<term><name>Lampton, Christopher</name><frequency>2</frequency></term>
+<term><name>Grauer, Robert T</name><frequency>2</frequency></term>
+<term><name>Carlson, Edward H</name><frequency>2</frequency></term>
+<term><name>Nevile, Liddy</name><frequency>2</frequency></term>
+<term><name>Jones, Aubrey B</name><frequency>2</frequency></term>
+<term><name>Boren, Sharon</name><frequency>2</frequency></term>
+<term><name>Fiday, David</name><frequency>2</frequency></term>
+<term><name>Groner, Gabriel F</name><frequency>2</frequency></term>
+<term><name>Orkin, Michael</name><frequency>1</frequency></term>
+<term><name>Thornburg, David D</name><frequency>1</frequency></term>
+<term><name>Pradels, Jean Louis</name><frequency>1</frequency></term>
+<term><name>Dietzler, Andrew John</name><frequency>1</frequency></term>
+<term><name>Haverty, J. P</name><frequency>1</frequency></term>
+<term><name>Eland, Dave Ronald</name><frequency>1</frequency></term>
+</list>
+<list name="subject">
+<term><name>Apple computer</name><frequency>40</frequency></term>
+<term><name>BASIC (Computer program language)</name><frequency>38</frequency></term>
+<term><name>Atari computer</name><frequency>35</frequency></term>
+<term><name>Programming (Computers)</name><frequency>30</frequency></term>
+<term><name>Digital computer simulation</name><frequency>20</frequency></term>
+<term><name>Computer graphics</name><frequency>18</frequency></term>
+<term><name>LOGO (Computer program language)</name><frequency>14</frequency></term>
+<term><name>Computer games</name><frequency>14</frequency></term>
+<term><name>Debugging in computer science</name><frequency>8</frequency></term>
+<term><name>Time-sharing computer systems</name><frequency>8</frequency></term>
+<term><name>Virtual computer systems</name><frequency>8</frequency></term>
+<term><name>Interactive computer systems</name><frequency>8</frequency></term>
+<term><name>Embedded computer systems</name><frequency>7</frequency></term>
+<term><name>Computers</name><frequency>6</frequency></term>
+<term><name>Engineering</name><frequency>6</frequency></term>
+</list>
+<list name="date">
+<term><name>1984</name><frequency>23</frequency></term>
+<term><name>2000</name><frequency>18</frequency></term>
+<term><name>1983</name><frequency>9</frequency></term>
+<term><name>2001</name><frequency>7</frequency></term>
+<term><name>1999</name><frequency>6</frequency></term>
+<term><name>1985</name><frequency>6</frequency></term>
+<term><name>1970</name><frequency>4</frequency></term>
+<term><name>1986</name><frequency>4</frequency></term>
+<term><name>1973</name><frequency>2</frequency></term>
+<term><name>1964</name><frequency>2</frequency></term>
+<term><name>1966</name><frequency>2</frequency></term>
+<term><name>1993</name><frequency>1</frequency></term>
+<term><name>2003</name><frequency>1</frequency></term>
+<term><name>2006</name><frequency>1</frequency></term>
+<term><name>1982</name><frequency>1</frequency></term>
+</list>
+</termlist>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<show>
+<status>OK</status>
+<activeclients>0</activeclients>
+<merged>96</merged>
+<total>1128</total>
+<start>0</start>
+<num>20</num>
+<hit>
+
+<md-title>6502 assembly-language programming for Apple, Commodore, and Atari computers</md-title>
+<md-date>1985</md-date>
+<md-author>Lampton, Christopher</md-author>
+<md-description>Instructs those who have already programmed in high-level languages in programming with the more powerful and versatile assembly or machine language</md-description><location id="donut:8983/solr/select" name="SOLR Test">
+<md-title>6502 assembly-language programming for Apple, Commodore, and Atari computers</md-title>
+<md-date>1985</md-date>
+<md-author>Lampton, Christopher</md-author>
+<md-description>Cover title: 6502 assembly language</md-description>
+<md-description>Series statement from jacket</md-description>
+<md-description>Includes index</md-description>
+<md-description>Instructs those who have already programmed in high-level languages in programming with the more powerful and versatile assembly or machine language</md-description></location>
+<relevance>1020000</relevance>
+<recid>title assembly language programming for apple commodore and atari computers author lampton christopher</recid>
+</hit>
+<hit>
+
+<md-title>Let's talk Apple Turtle</md-title>
+<md-date>1984</md-date>
+<md-author>Nevile, Liddy</md-author>
+<md-description>An introduction to the LOGO computer language using hands-on activities with the Apple computer and hands-off activities which relate to other skills areas in the curriculum</md-description><location id="donut:8983/solr/select" name="SOLR Test">
+<md-title>Let's talk Apple Turtle</md-title>
+<md-date>1984</md-date>
+<md-author>Nevile, Liddy</md-author>
+<md-description>Cataloging based on CIP information</md-description>
+<md-description>An introduction to the LOGO computer language using hands-on activities with the Apple computer and hands-off activities which relate to other skills areas in the curriculum</md-description></location>
+<location id="donut:8983/solr/select" name="SOLR Test">
+<md-title>Let's talk Apple Turtle</md-title>
+<md-date>1984</md-date>
+<md-author>Nevile, Liddy</md-author>
+<md-description>Cataloging based on CIP information</md-description>
+<md-description>An introduction to the LOGO computer language using hands-on activities with the Apple computer and hands-off activities which relate to other skills areas in the curriculum</md-description></location>
+<count>2</count>
+<relevance>942857</relevance>
+<recid>title let s talk apple turtle author nevile liddy</recid>
+</hit>
+<hit>
+
+<md-title>Proceedings of the 1999 International Conference on Web-Based Modeling and Simulation</md-title>
+<md-title-remainder>[held as part of] 1999 Western MultiConference, San Francisco, California, January 17-20, 1999, Cathedral Hill Hotel</md-title-remainder>
+<md-date>1999-2000</md-date>
+<md-description>Network modeling -- Civil applications -- Education and training -- Military applications -- Parallel and distributed simulation -- DEVS-based approaches -- Modeling and simulation environments -- High-level architecture -- Visualization and animation -- Real-time applications</md-description><location id="donut:8983/solr/select" name="SOLR Test">
+<md-title>Proceedings of the International Conference on Web-based Modeling and Simulation</md-title>
+<md-date>2000</md-date>
+<md-description>Both conferences held as parts of the 2000 Western MultiConference, San Diego, California, January 23-27, 2000, Catamaran Resort Hotel</md-description>
+<md-description>"Sponsored by the Society for Computer Simulation International"--T.p</md-description></location>
+<location id="donut:8983/solr/select" name="SOLR Test">
+<md-title>Proceedings of the 1999 International Conference on Web-Based Modeling and Simulation</md-title>
+<md-title-remainder>[held as part of] 1999 Western MultiConference, San Francisco, California, January 17-20, 1999, Cathedral Hill Hotel</md-title-remainder>
+<md-date>1999</md-date>
+<md-description>Network modeling -- Civil applications -- Education and training -- Military applications -- Parallel and distributed simulation -- DEVS-based approaches -- Modeling and simulation environments -- High-level architecture -- Visualization and animation -- Real-time applications</md-description></location>
+<count>2</count>
+<relevance>930000</relevance>
+<recid>title proceedings of the international conference on web based modeling and simulation</recid>
+</hit>
+<hit>
+
+<md-title>Computer art and animation</md-title>
+<md-title-remainder>a user's guide to Atari logo</md-title-remainder>
+<md-date>1984</md-date>
+<md-author>Thornburg, David D</md-author>
+<md-description>Explains how to use a computer to create graphic designs and animated sequences</md-description><location id="donut:8983/solr/select" name="SOLR Test">
+<md-title>Computer art and animation</md-title>
+<md-title-remainder>a user's guide to Atari logo</md-title-remainder>
+<md-date>1984</md-date>
+<md-author>Thornburg, David D</md-author>
+<md-description>Includes index</md-description>
+<md-description>Explains how to use a computer to create graphic designs and animated sequences</md-description></location>
+<relevance>923076</relevance>
+<recid>title computer art and animation author thornburg david d</recid>
+</hit>
+<hit>
+
+<md-title>Random alley adventure for the Atari computer</md-title>
+<md-date>1984</md-date>
+<md-author>Orkin, Michael</md-author>
+<md-description>Programs written in BASIC for an Atari computer provide experience in games of chance which demonstrate the law of averages</md-description><location id="donut:8983/solr/select" name="SOLR Test">
+<md-title>Random alley adventure for the Atari computer</md-title>
+<md-date>1984</md-date>
+<md-author>Orkin, Michael</md-author>
+<md-description>"A Reston Computer Group book."</md-description>
+<md-description>Programs written in BASIC for an Atari computer provide experience in games of chance which demonstrate the law of averages</md-description></location>
+<relevance>910714</relevance>
+<recid>title random alley adventure for the atari computer author orkin michael</recid>
+</hit>
+<hit>
+
+<md-title>I speak BASIC to my Atari</md-title>
+<md-title-remainder>teacher's manual</md-title-remainder>
+<md-date>1983</md-date>
+<md-author>Jones, Aubrey B</md-author>
+<md-description>An introduction to the operation and applications of computers, with practice exercises</md-description><location id="donut:8983/solr/select" name="SOLR Test">
+<md-title>I speak BASIC to my Atari</md-title>
+<md-date>1983</md-date>
+<md-author>Jones, Aubrey B</md-author>
+<md-description>An introduction to the operation and applications of computers, with practice exercises</md-description></location>
+<location id="donut:8983/solr/select" name="SOLR Test">
+<md-title>I speak BASIC to my Atari</md-title>
+<md-title-remainder>teacher's manual</md-title-remainder>
+<md-date>1983</md-date>
+<md-author>Jones, Aubrey B</md-author>
+<md-description>An introduction to the operation and applications of computers, with practice exercises</md-description></location>
+<count>2</count>
+<relevance>900000</relevance>
+<recid>title i speak basic to my atari author jones aubrey b</recid>
+</hit>
+<hit>
+
+<md-title>School days for the Atari computer</md-title>
+<md-date>1984</md-date>
+<md-author>Passantino, Claire Bailey</md-author>
+<md-description>Presents twenty programs that include games, contests, riddles, songs, and other activities to use with BASIC on the Atari computer</md-description><location id="donut:8983/solr/select" name="SOLR Test">
+<md-title>School days for the Atari computer</md-title>
+<md-date>1984</md-date>
+<md-author>Passantino, Claire Bailey</md-author>
+<md-description>Presents twenty programs that include games, contests, riddles, songs, and other activities to use with BASIC on the Atari computer</md-description></location>
+<relevance>865000</relevance>
+<recid>title school days for the atari computer author passantino claire bailey</recid>
+</hit>
+<hit>
+
+<md-title>The Apple LOGO manual</md-title>
+<md-date>1985</md-date>
+<md-description>Instructions for doing computer graphics on an Apple computer in LOGO</md-description><location id="donut:8983/solr/select" name="SOLR Test">
+<md-title>The Apple LOGO manual</md-title>
+<md-date>1985</md-date>
+<md-description>Includes index</md-description>
+<md-description>Instructions for doing computer graphics on an Apple computer in LOGO</md-description></location>
+<relevance>804545</relevance>
+<recid>title the apple logo manual</recid>
+</hit>
+<hit>
+
+<md-title>Kid-powered Logo</md-title>
+<md-date>1984</md-date>
+<md-author>Fiday, David</md-author>
+<md-description>Explains how to use the computer language LOGO to write fundamental programs and create graphics on the Apple computer</md-description><location id="donut:8983/solr/select" name="SOLR Test">
+<md-title>Kid-powered Logo</md-title>
+<md-date>1984</md-date>
+<md-author>Fiday, David</md-author>
+<md-description>Includes index</md-description>
+<md-description>Explains how to use the computer language LOGO to write fundamental programs and create graphics on the Apple computer</md-description></location>
+<relevance>781578</relevance>
+<recid>title kid powered logo author fiday david</recid>
+</hit>
+<hit>
+
+<md-title>Basic fun with graphics, the Atari computer way</md-title>
+<md-date>1983</md-date>
+<md-author>Zuanich, Margaret Ann</md-author>
+<md-description>Instructions for graphics programming on an Atari computer using BASIC</md-description><location id="donut:8983/solr/select" name="SOLR Test">
+<md-title>Basic fun with graphics, the Atari computer way</md-title>
+<md-date>1983</md-date>
+<md-author>Zuanich, Margaret Ann</md-author>
+<md-description>Instructions for graphics programming on an Atari computer using BASIC</md-description></location>
+<relevance>780000</relevance>
+<recid>title basic fun with graphics the atari computer way author zuanich margaret ann</recid>
+</hit>
+<hit>
+
+<md-title>Turtlesteps, an introduction to Apple Logo and Terrapin Logo</md-title>
+<md-date>1984</md-date>
+<md-author>Sharp, Pamela</md-author>
+<md-description>Introduces computer graphics and beginning programming in Apple Logo and Terrapin Logo</md-description><location id="donut:8983/solr/select" name="SOLR Test">
+<md-title>Turtlesteps, an introduction to Apple Logo and Terrapin Logo</md-title>
+<md-date>1984</md-date>
+<md-author>Sharp, Pamela</md-author>
+<md-description>Includes index</md-description>
+<md-description>Introduces computer graphics and beginning programming in Apple Logo and Terrapin Logo</md-description></location>
+<relevance>775000</relevance>
+<recid>title turtlesteps an introduction to apple logo and terrapin logo author sharp pamela</recid>
+</hit>
+<hit>
+
+<md-title>Graphics and animation on the Atari</md-title>
+<md-title-remainder>800, 400, 1200XL, 800XL, and 600XL</md-title-remainder>
+<md-date>1986</md-date>
+<md-author>Lampton, Christopher</md-author>
+<md-description>Instructions for creating simple and advanced graphics using BASIC on the Atari computer. Includes suggestions for projects</md-description><location id="donut:8983/solr/select" name="SOLR Test">
+<md-title>Graphics and animation on the Atari</md-title>
+<md-title-remainder>800, 400, 1200XL, 800XL, and 600XL</md-title-remainder>
+<md-date>1986</md-date>
+<md-author>Lampton, Christopher</md-author>
+<md-description>Includes index</md-description>
+<md-description>Instructions for creating simple and advanced graphics using BASIC on the Atari computer. Includes suggestions for projects</md-description></location>
+<relevance>767647</relevance>
+<recid>title graphics and animation on the atari author lampton christopher</recid>
+</hit>
+<hit>
+
+<md-title>Apple building blocks</md-title>
+<md-title-remainder>featuring Denby, the robot</md-title-remainder>
+<md-date>1985</md-date>
+<md-author>D'Ignazio, Fred</md-author>
+<md-description>Explains how to write fundamental programs for the Apple computer and use it to play forty-six educational games</md-description><location id="donut:8983/solr/select" name="SOLR Test">
+<md-title>Apple building blocks</md-title>
+<md-title-remainder>featuring Denby, the robot</md-title-remainder>
+<md-date>1985</md-date>
+<md-author>D'Ignazio, Fred</md-author>
+<md-description>On t.p. the circled symbol "R" is superscript following "Apple" in the title</md-description>
+<md-description>Explains how to write fundamental programs for the Apple computer and use it to play forty-six educational games</md-description></location>
+<relevance>765789</relevance>
+<recid>title apple building blocks author d ignazio fred</recid>
+</hit>
+<hit>
+
+<md-title>Apple in wonderland</md-title>
+<md-date>1984</md-date>
+<md-author>D'Ignazio, Fred</md-author>
+<md-description>System requirements for floppy disk: Apple II with Applesoft, II+, IIe, or IIc; DOS 3.3; 1 disk drive and controller card; color TV or monitor recommended</md-description><location id="donut:8983/solr/select" name="SOLR Test">
+<md-title>Apple in wonderland</md-title>
+<md-date>1984</md-date>
+<md-author>D'Ignazio, Fred</md-author>
+<md-description>System requirements for floppy disk: Apple II with Applesoft, II+, IIe, or IIc; DOS 3.3; 1 disk drive and controller card; color TV or monitor recommended</md-description>
+<md-description>Issued in plastic case</md-description>
+<md-description>Provides programs for twenty-two learning games written in BASIC for an Apple II computer. Includes a floppy disk</md-description></location>
+<relevance>765789</relevance>
+<recid>title apple in wonderland author d ignazio fred</recid>
+</hit>
+<hit>
+
+<md-title>Atari in Wonderland</md-title>
+<md-date>1983</md-date>
+<md-author>D'Ignazio, Fred</md-author>
+<md-description>Contains twenty-two short, simple games to use with an Atari computer on such topics as colors, sounds, multiplication, state names, spelling, fractions, and Spanish and French languages</md-description><location id="donut:8983/solr/select" name="SOLR Test">
+<md-title>Atari in Wonderland</md-title>
+<md-date>1983</md-date>
+<md-author>D'Ignazio, Fred</md-author>
+<md-description>Contains twenty-two short, simple games to use with an Atari computer on such topics as colors, sounds, multiplication, state names, spelling, fractions, and Spanish and French languages</md-description></location>
+<relevance>685714</relevance>
+<recid>title atari in wonderland author d ignazio fred</recid>
+</hit>
+<hit>
+
+<md-title>BASIC is child's play, Apple edition</md-title>
+<md-date>1984</md-date>
+<md-author>Grauer, Robert T</md-author>
+<md-description>Offers instructions for computer novices in programming with BASIC on an Apple personal computer</md-description><location id="donut:8983/solr/select" name="SOLR Test">
+<md-title>BASIC is child's play, Apple edition</md-title>
+<md-date>1984</md-date>
+<md-author>Grauer, Robert T</md-author>
+<md-description>Includes index</md-description>
+<md-description>Offers instructions for computer novices in programming with BASIC on an Apple personal computer</md-description></location>
+<relevance>642857</relevance>
+<recid>title basic is child s play apple edition author grauer robert t</recid>
+</hit>
+<hit>
+
+<md-title>The Atari playground</md-title>
+<md-date>1983</md-date>
+<md-author>D'Ignazio, Fred</md-author>
+<md-description>Twenty-three learning games, grouped by subject, for use on an Atari computer. There are separate instructional sections for parents/teachers and for children</md-description><location id="donut:8983/solr/select" name="SOLR Test">
+<md-title>The Atari playground</md-title>
+<md-date>1983</md-date>
+<md-author>D'Ignazio, Fred</md-author>
+<md-description>Twenty-three learning games, grouped by subject, for use on an Atari computer. There are separate instructional sections for parents/teachers and for children</md-description></location>
+<relevance>612500</relevance>
+<recid>title the atari playground author d ignazio fred</recid>
+</hit>
+<hit>
+
+<md-title>Computer software</md-title>
+<md-title-remainder>supplying it and finding it</md-title-remainder>
+<md-date>1983</md-date>
+<md-author>Tagg, W</md-author><location id="donut:8983/solr/select" name="SOLR Test">
+<md-title>Computer software</md-title>
+<md-title-remainder>supplying it and finding it</md-title-remainder>
+<md-date>1983</md-date>
+<md-author>Tagg, W</md-author></location>
+<relevance>600000</relevance>
+<recid>title computer software author tagg w</recid>
+</hit>
+<hit>
+
+<md-title>Kid-powered graphics</md-title>
+<md-date>1984</md-date>
+<md-author>Fiday, David</md-author>
+<md-description>Includes index</md-description><location id="donut:8983/solr/select" name="SOLR Test">
+<md-title>Kid-powered graphics</md-title>
+<md-date>1984</md-date>
+<md-author>Fiday, David</md-author>
+<md-description>Includes index</md-description></location>
+<relevance>600000</relevance>
+<recid>title kid powered graphics author fiday david</recid>
+</hit>
+<hit>
+
+<md-title>BASIC on the ATARI computer for kids</md-title>
+<md-date>1984</md-date>
+<md-author>Wyner, Keith</md-author>
+<md-description>Instructions for the elementary school student in programming BASIC on an Atari computer</md-description><location id="donut:8983/solr/select" name="SOLR Test">
+<md-title>BASIC on the ATARI computer for kids</md-title>
+<md-date>1984</md-date>
+<md-author>Wyner, Keith</md-author>
+<md-description>Includes index</md-description>
+<md-description>Instructions for the elementary school student in programming BASIC on an Atari computer</md-description></location>
+<relevance>558791</relevance>
+<recid>title basic on the atari computer for kids author wyner keith</recid>
+</hit>
+</show>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<search><status>OK</status></search>
\ No newline at end of file
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<show>
+<status>OK</status>
+<activeclients>0</activeclients>
+<merged>0</merged>
+<total>0</total>
+<start>0</start>
+<num>0</num>
+</show>
--- /dev/null
+<termlist>
+<activeclients>0</activeclients>
+<list name="xtargets">
+</list>
+<list name="author">
+</list>
+<list name="subject">
+</list>
+<list name="date">
+</list>
+</termlist>
--- /dev/null
+<termlist>
+<activeclients>0</activeclients>
+<list name="xtargets">
+</list>
+<list name="subject">
+</list>
+<list name="author">
+</list>
+<list name="date">
+</list>
+<list name="medium">
+</list>
+</termlist>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<settings><status>OK</status></settings>
\ No newline at end of file
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<search><status>OK</status></search>
\ No newline at end of file
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<show>
+<status>OK</status>
+<activeclients>0</activeclients>
+<merged>96</merged>
+<total>1128</total>
+<start>0</start>
+<num>20</num>
+<hit>
+
+<md-title>6502 assembly-language programming for Apple, Commodore, and Atari computers</md-title>
+<md-date>1985</md-date>
+<md-author>Lampton, Christopher</md-author>
+<md-description>Instructs those who have already programmed in high-level languages in programming with the more powerful and versatile assembly or machine language</md-description><location id="donut:8983/solr/select" name="SOLR Test">
+<md-title>6502 assembly-language programming for Apple, Commodore, and Atari computers</md-title>
+<md-date>1985</md-date>
+<md-author>Lampton, Christopher</md-author>
+<md-description>Cover title: 6502 assembly language</md-description>
+<md-description>Series statement from jacket</md-description>
+<md-description>Includes index</md-description>
+<md-description>Instructs those who have already programmed in high-level languages in programming with the more powerful and versatile assembly or machine language</md-description></location>
+<relevance>1020000</relevance>
+<recid>title assembly language programming for apple commodore and atari computers author lampton christopher</recid>
+</hit>
+<hit>
+
+<md-title>Let's talk Apple Turtle</md-title>
+<md-date>1984</md-date>
+<md-author>Nevile, Liddy</md-author>
+<md-description>An introduction to the LOGO computer language using hands-on activities with the Apple computer and hands-off activities which relate to other skills areas in the curriculum</md-description><location id="donut:8983/solr/select" name="SOLR Test">
+<md-title>Let's talk Apple Turtle</md-title>
+<md-date>1984</md-date>
+<md-author>Nevile, Liddy</md-author>
+<md-description>Cataloging based on CIP information</md-description>
+<md-description>An introduction to the LOGO computer language using hands-on activities with the Apple computer and hands-off activities which relate to other skills areas in the curriculum</md-description></location>
+<location id="donut:8983/solr/select" name="SOLR Test">
+<md-title>Let's talk Apple Turtle</md-title>
+<md-date>1984</md-date>
+<md-author>Nevile, Liddy</md-author>
+<md-description>Cataloging based on CIP information</md-description>
+<md-description>An introduction to the LOGO computer language using hands-on activities with the Apple computer and hands-off activities which relate to other skills areas in the curriculum</md-description></location>
+<count>2</count>
+<relevance>942857</relevance>
+<recid>title let s talk apple turtle author nevile liddy</recid>
+</hit>
+<hit>
+
+<md-title>Proceedings of the 1999 International Conference on Web-Based Modeling and Simulation</md-title>
+<md-title-remainder>[held as part of] 1999 Western MultiConference, San Francisco, California, January 17-20, 1999, Cathedral Hill Hotel</md-title-remainder>
+<md-date>1999-2000</md-date>
+<md-description>Network modeling -- Civil applications -- Education and training -- Military applications -- Parallel and distributed simulation -- DEVS-based approaches -- Modeling and simulation environments -- High-level architecture -- Visualization and animation -- Real-time applications</md-description><location id="donut:8983/solr/select" name="SOLR Test">
+<md-title>Proceedings of the International Conference on Web-based Modeling and Simulation</md-title>
+<md-date>2000</md-date>
+<md-description>Both conferences held as parts of the 2000 Western MultiConference, San Diego, California, January 23-27, 2000, Catamaran Resort Hotel</md-description>
+<md-description>"Sponsored by the Society for Computer Simulation International"--T.p</md-description></location>
+<location id="donut:8983/solr/select" name="SOLR Test">
+<md-title>Proceedings of the 1999 International Conference on Web-Based Modeling and Simulation</md-title>
+<md-title-remainder>[held as part of] 1999 Western MultiConference, San Francisco, California, January 17-20, 1999, Cathedral Hill Hotel</md-title-remainder>
+<md-date>1999</md-date>
+<md-description>Network modeling -- Civil applications -- Education and training -- Military applications -- Parallel and distributed simulation -- DEVS-based approaches -- Modeling and simulation environments -- High-level architecture -- Visualization and animation -- Real-time applications</md-description></location>
+<count>2</count>
+<relevance>930000</relevance>
+<recid>title proceedings of the international conference on web based modeling and simulation</recid>
+</hit>
+<hit>
+
+<md-title>Computer art and animation</md-title>
+<md-title-remainder>a user's guide to Atari logo</md-title-remainder>
+<md-date>1984</md-date>
+<md-author>Thornburg, David D</md-author>
+<md-description>Explains how to use a computer to create graphic designs and animated sequences</md-description><location id="donut:8983/solr/select" name="SOLR Test">
+<md-title>Computer art and animation</md-title>
+<md-title-remainder>a user's guide to Atari logo</md-title-remainder>
+<md-date>1984</md-date>
+<md-author>Thornburg, David D</md-author>
+<md-description>Includes index</md-description>
+<md-description>Explains how to use a computer to create graphic designs and animated sequences</md-description></location>
+<relevance>923076</relevance>
+<recid>title computer art and animation author thornburg david d</recid>
+</hit>
+<hit>
+
+<md-title>Random alley adventure for the Atari computer</md-title>
+<md-date>1984</md-date>
+<md-author>Orkin, Michael</md-author>
+<md-description>Programs written in BASIC for an Atari computer provide experience in games of chance which demonstrate the law of averages</md-description><location id="donut:8983/solr/select" name="SOLR Test">
+<md-title>Random alley adventure for the Atari computer</md-title>
+<md-date>1984</md-date>
+<md-author>Orkin, Michael</md-author>
+<md-description>"A Reston Computer Group book."</md-description>
+<md-description>Programs written in BASIC for an Atari computer provide experience in games of chance which demonstrate the law of averages</md-description></location>
+<relevance>910714</relevance>
+<recid>title random alley adventure for the atari computer author orkin michael</recid>
+</hit>
+<hit>
+
+<md-title>I speak BASIC to my Atari</md-title>
+<md-title-remainder>teacher's manual</md-title-remainder>
+<md-date>1983</md-date>
+<md-author>Jones, Aubrey B</md-author>
+<md-description>An introduction to the operation and applications of computers, with practice exercises</md-description><location id="donut:8983/solr/select" name="SOLR Test">
+<md-title>I speak BASIC to my Atari</md-title>
+<md-date>1983</md-date>
+<md-author>Jones, Aubrey B</md-author>
+<md-description>An introduction to the operation and applications of computers, with practice exercises</md-description></location>
+<location id="donut:8983/solr/select" name="SOLR Test">
+<md-title>I speak BASIC to my Atari</md-title>
+<md-title-remainder>teacher's manual</md-title-remainder>
+<md-date>1983</md-date>
+<md-author>Jones, Aubrey B</md-author>
+<md-description>An introduction to the operation and applications of computers, with practice exercises</md-description></location>
+<count>2</count>
+<relevance>900000</relevance>
+<recid>title i speak basic to my atari author jones aubrey b</recid>
+</hit>
+<hit>
+
+<md-title>School days for the Atari computer</md-title>
+<md-date>1984</md-date>
+<md-author>Passantino, Claire Bailey</md-author>
+<md-description>Presents twenty programs that include games, contests, riddles, songs, and other activities to use with BASIC on the Atari computer</md-description><location id="donut:8983/solr/select" name="SOLR Test">
+<md-title>School days for the Atari computer</md-title>
+<md-date>1984</md-date>
+<md-author>Passantino, Claire Bailey</md-author>
+<md-description>Presents twenty programs that include games, contests, riddles, songs, and other activities to use with BASIC on the Atari computer</md-description></location>
+<relevance>865000</relevance>
+<recid>title school days for the atari computer author passantino claire bailey</recid>
+</hit>
+<hit>
+
+<md-title>The Apple LOGO manual</md-title>
+<md-date>1985</md-date>
+<md-description>Instructions for doing computer graphics on an Apple computer in LOGO</md-description><location id="donut:8983/solr/select" name="SOLR Test">
+<md-title>The Apple LOGO manual</md-title>
+<md-date>1985</md-date>
+<md-description>Includes index</md-description>
+<md-description>Instructions for doing computer graphics on an Apple computer in LOGO</md-description></location>
+<relevance>804545</relevance>
+<recid>title the apple logo manual</recid>
+</hit>
+<hit>
+
+<md-title>Kid-powered Logo</md-title>
+<md-date>1984</md-date>
+<md-author>Fiday, David</md-author>
+<md-description>Explains how to use the computer language LOGO to write fundamental programs and create graphics on the Apple computer</md-description><location id="donut:8983/solr/select" name="SOLR Test">
+<md-title>Kid-powered Logo</md-title>
+<md-date>1984</md-date>
+<md-author>Fiday, David</md-author>
+<md-description>Includes index</md-description>
+<md-description>Explains how to use the computer language LOGO to write fundamental programs and create graphics on the Apple computer</md-description></location>
+<relevance>781578</relevance>
+<recid>title kid powered logo author fiday david</recid>
+</hit>
+<hit>
+
+<md-title>Basic fun with graphics, the Atari computer way</md-title>
+<md-date>1983</md-date>
+<md-author>Zuanich, Margaret Ann</md-author>
+<md-description>Instructions for graphics programming on an Atari computer using BASIC</md-description><location id="donut:8983/solr/select" name="SOLR Test">
+<md-title>Basic fun with graphics, the Atari computer way</md-title>
+<md-date>1983</md-date>
+<md-author>Zuanich, Margaret Ann</md-author>
+<md-description>Instructions for graphics programming on an Atari computer using BASIC</md-description></location>
+<relevance>780000</relevance>
+<recid>title basic fun with graphics the atari computer way author zuanich margaret ann</recid>
+</hit>
+<hit>
+
+<md-title>Turtlesteps, an introduction to Apple Logo and Terrapin Logo</md-title>
+<md-date>1984</md-date>
+<md-author>Sharp, Pamela</md-author>
+<md-description>Introduces computer graphics and beginning programming in Apple Logo and Terrapin Logo</md-description><location id="donut:8983/solr/select" name="SOLR Test">
+<md-title>Turtlesteps, an introduction to Apple Logo and Terrapin Logo</md-title>
+<md-date>1984</md-date>
+<md-author>Sharp, Pamela</md-author>
+<md-description>Includes index</md-description>
+<md-description>Introduces computer graphics and beginning programming in Apple Logo and Terrapin Logo</md-description></location>
+<relevance>775000</relevance>
+<recid>title turtlesteps an introduction to apple logo and terrapin logo author sharp pamela</recid>
+</hit>
+<hit>
+
+<md-title>Graphics and animation on the Atari</md-title>
+<md-title-remainder>800, 400, 1200XL, 800XL, and 600XL</md-title-remainder>
+<md-date>1986</md-date>
+<md-author>Lampton, Christopher</md-author>
+<md-description>Instructions for creating simple and advanced graphics using BASIC on the Atari computer. Includes suggestions for projects</md-description><location id="donut:8983/solr/select" name="SOLR Test">
+<md-title>Graphics and animation on the Atari</md-title>
+<md-title-remainder>800, 400, 1200XL, 800XL, and 600XL</md-title-remainder>
+<md-date>1986</md-date>
+<md-author>Lampton, Christopher</md-author>
+<md-description>Includes index</md-description>
+<md-description>Instructions for creating simple and advanced graphics using BASIC on the Atari computer. Includes suggestions for projects</md-description></location>
+<relevance>767647</relevance>
+<recid>title graphics and animation on the atari author lampton christopher</recid>
+</hit>
+<hit>
+
+<md-title>Apple building blocks</md-title>
+<md-title-remainder>featuring Denby, the robot</md-title-remainder>
+<md-date>1985</md-date>
+<md-author>D'Ignazio, Fred</md-author>
+<md-description>Explains how to write fundamental programs for the Apple computer and use it to play forty-six educational games</md-description><location id="donut:8983/solr/select" name="SOLR Test">
+<md-title>Apple building blocks</md-title>
+<md-title-remainder>featuring Denby, the robot</md-title-remainder>
+<md-date>1985</md-date>
+<md-author>D'Ignazio, Fred</md-author>
+<md-description>On t.p. the circled symbol "R" is superscript following "Apple" in the title</md-description>
+<md-description>Explains how to write fundamental programs for the Apple computer and use it to play forty-six educational games</md-description></location>
+<relevance>765789</relevance>
+<recid>title apple building blocks author d ignazio fred</recid>
+</hit>
+<hit>
+
+<md-title>Apple in wonderland</md-title>
+<md-date>1984</md-date>
+<md-author>D'Ignazio, Fred</md-author>
+<md-description>System requirements for floppy disk: Apple II with Applesoft, II+, IIe, or IIc; DOS 3.3; 1 disk drive and controller card; color TV or monitor recommended</md-description><location id="donut:8983/solr/select" name="SOLR Test">
+<md-title>Apple in wonderland</md-title>
+<md-date>1984</md-date>
+<md-author>D'Ignazio, Fred</md-author>
+<md-description>System requirements for floppy disk: Apple II with Applesoft, II+, IIe, or IIc; DOS 3.3; 1 disk drive and controller card; color TV or monitor recommended</md-description>
+<md-description>Issued in plastic case</md-description>
+<md-description>Provides programs for twenty-two learning games written in BASIC for an Apple II computer. Includes a floppy disk</md-description></location>
+<relevance>765789</relevance>
+<recid>title apple in wonderland author d ignazio fred</recid>
+</hit>
+<hit>
+
+<md-title>Atari in Wonderland</md-title>
+<md-date>1983</md-date>
+<md-author>D'Ignazio, Fred</md-author>
+<md-description>Contains twenty-two short, simple games to use with an Atari computer on such topics as colors, sounds, multiplication, state names, spelling, fractions, and Spanish and French languages</md-description><location id="donut:8983/solr/select" name="SOLR Test">
+<md-title>Atari in Wonderland</md-title>
+<md-date>1983</md-date>
+<md-author>D'Ignazio, Fred</md-author>
+<md-description>Contains twenty-two short, simple games to use with an Atari computer on such topics as colors, sounds, multiplication, state names, spelling, fractions, and Spanish and French languages</md-description></location>
+<relevance>685714</relevance>
+<recid>title atari in wonderland author d ignazio fred</recid>
+</hit>
+<hit>
+
+<md-title>BASIC is child's play, Apple edition</md-title>
+<md-date>1984</md-date>
+<md-author>Grauer, Robert T</md-author>
+<md-description>Offers instructions for computer novices in programming with BASIC on an Apple personal computer</md-description><location id="donut:8983/solr/select" name="SOLR Test">
+<md-title>BASIC is child's play, Apple edition</md-title>
+<md-date>1984</md-date>
+<md-author>Grauer, Robert T</md-author>
+<md-description>Includes index</md-description>
+<md-description>Offers instructions for computer novices in programming with BASIC on an Apple personal computer</md-description></location>
+<relevance>642857</relevance>
+<recid>title basic is child s play apple edition author grauer robert t</recid>
+</hit>
+<hit>
+
+<md-title>The Atari playground</md-title>
+<md-date>1983</md-date>
+<md-author>D'Ignazio, Fred</md-author>
+<md-description>Twenty-three learning games, grouped by subject, for use on an Atari computer. There are separate instructional sections for parents/teachers and for children</md-description><location id="donut:8983/solr/select" name="SOLR Test">
+<md-title>The Atari playground</md-title>
+<md-date>1983</md-date>
+<md-author>D'Ignazio, Fred</md-author>
+<md-description>Twenty-three learning games, grouped by subject, for use on an Atari computer. There are separate instructional sections for parents/teachers and for children</md-description></location>
+<relevance>612500</relevance>
+<recid>title the atari playground author d ignazio fred</recid>
+</hit>
+<hit>
+
+<md-title>Computer software</md-title>
+<md-title-remainder>supplying it and finding it</md-title-remainder>
+<md-date>1983</md-date>
+<md-author>Tagg, W</md-author><location id="donut:8983/solr/select" name="SOLR Test">
+<md-title>Computer software</md-title>
+<md-title-remainder>supplying it and finding it</md-title-remainder>
+<md-date>1983</md-date>
+<md-author>Tagg, W</md-author></location>
+<relevance>600000</relevance>
+<recid>title computer software author tagg w</recid>
+</hit>
+<hit>
+
+<md-title>Kid-powered graphics</md-title>
+<md-date>1984</md-date>
+<md-author>Fiday, David</md-author>
+<md-description>Includes index</md-description><location id="donut:8983/solr/select" name="SOLR Test">
+<md-title>Kid-powered graphics</md-title>
+<md-date>1984</md-date>
+<md-author>Fiday, David</md-author>
+<md-description>Includes index</md-description></location>
+<relevance>600000</relevance>
+<recid>title kid powered graphics author fiday david</recid>
+</hit>
+<hit>
+
+<md-title>BASIC on the ATARI computer for kids</md-title>
+<md-date>1984</md-date>
+<md-author>Wyner, Keith</md-author>
+<md-description>Instructions for the elementary school student in programming BASIC on an Atari computer</md-description><location id="donut:8983/solr/select" name="SOLR Test">
+<md-title>BASIC on the ATARI computer for kids</md-title>
+<md-date>1984</md-date>
+<md-author>Wyner, Keith</md-author>
+<md-description>Includes index</md-description>
+<md-description>Instructions for the elementary school student in programming BASIC on an Atari computer</md-description></location>
+<relevance>558791</relevance>
+<recid>title basic on the atari computer for kids author wyner keith</recid>
+</hit>
+</show>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<bytarget><status>OK</status>
+<target><id>donut:8983/solr/select</id>
+<name>SOLR Test</name>
+<hits>1128</hits>
+<diagnostic>0</diagnostic>
+<records>100</records>
+<state>Client_Idle</state>
+</target></bytarget>
\ No newline at end of file
--- /dev/null
+<termlist>
+<activeclients>0</activeclients>
+<list name="xtargets">
+<term>
+<id>donut:8983/solr/select</id>
+<name>SOLR Test</name>
+<frequency>1128</frequency>
+<state>Client_Idle</state>
+<diagnostic>0</diagnostic>
+</term>
+</list>
+<list name="author">
+<term><name>D'Ignazio, Fred</name><frequency>4</frequency></term>
+<term><name>Lampton, Christopher</name><frequency>2</frequency></term>
+<term><name>Grauer, Robert T</name><frequency>2</frequency></term>
+<term><name>Carlson, Edward H</name><frequency>2</frequency></term>
+<term><name>Groner, Gabriel F</name><frequency>2</frequency></term>
+<term><name>Jones, Aubrey B</name><frequency>2</frequency></term>
+<term><name>Boren, Sharon</name><frequency>2</frequency></term>
+<term><name>Fiday, David</name><frequency>2</frequency></term>
+<term><name>Nevile, Liddy</name><frequency>2</frequency></term>
+<term><name>Ledin, Jim</name><frequency>1</frequency></term>
+<term><name>Tagg, W</name><frequency>1</frequency></term>
+<term><name>Zaks, Rodnay</name><frequency>1</frequency></term>
+<term><name>Wyner, Keith</name><frequency>1</frequency></term>
+<term><name>Zuanich, Margaret Ann</name><frequency>1</frequency></term>
+<term><name>Salz, Fredrick R</name><frequency>1</frequency></term>
+</list>
+<list name="subject">
+<term><name>Apple computer</name><frequency>40</frequency></term>
+<term><name>BASIC (Computer program language)</name><frequency>38</frequency></term>
+<term><name>Atari computer</name><frequency>35</frequency></term>
+<term><name>Programming (Computers)</name><frequency>30</frequency></term>
+<term><name>Digital computer simulation</name><frequency>20</frequency></term>
+<term><name>Computer graphics</name><frequency>18</frequency></term>
+<term><name>LOGO (Computer program language)</name><frequency>14</frequency></term>
+<term><name>Computer games</name><frequency>14</frequency></term>
+<term><name>Debugging in computer science</name><frequency>8</frequency></term>
+<term><name>Time-sharing computer systems</name><frequency>8</frequency></term>
+<term><name>Virtual computer systems</name><frequency>8</frequency></term>
+<term><name>Interactive computer systems</name><frequency>8</frequency></term>
+<term><name>Embedded computer systems</name><frequency>7</frequency></term>
+<term><name>Computers</name><frequency>6</frequency></term>
+<term><name>Engineering</name><frequency>6</frequency></term>
+</list>
+<list name="date">
+<term><name>1984</name><frequency>23</frequency></term>
+<term><name>2000</name><frequency>18</frequency></term>
+<term><name>1983</name><frequency>9</frequency></term>
+<term><name>2001</name><frequency>7</frequency></term>
+<term><name>1999</name><frequency>6</frequency></term>
+<term><name>1985</name><frequency>6</frequency></term>
+<term><name>1986</name><frequency>4</frequency></term>
+<term><name>1970</name><frequency>4</frequency></term>
+<term><name>1966</name><frequency>2</frequency></term>
+<term><name>1964</name><frequency>2</frequency></term>
+<term><name>1973</name><frequency>2</frequency></term>
+<term><name>1971</name><frequency>1</frequency></term>
+<term><name>1987</name><frequency>1</frequency></term>
+<term><name>1960</name><frequency>1</frequency></term>
+<term><name>1959</name><frequency>1</frequency></term>
+</list>
+</termlist>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<init><status>OK</status><session>2</session><protocol>1</protocol></init>
\ No newline at end of file
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<settings><status>OK</status></settings>
\ No newline at end of file
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<search><status>OK</status></search>
\ No newline at end of file
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<pazpar2 xmlns="http://www.indexdata.com/pazpar2/1.0">
+ <!-- Used by test_http.sh -->
+ <server>
+ <listen port="9763"/>
+ <proxy host="localhost"/>
+
+ <service id="sru-proxy">
+ <include src="dtic-dads-sru-proxy.xml"/>
+ <targetprofiles type="local" src="../zeerex/records/"/>
+ <metadata name="url" merge="unique"/>
+ <metadata name="title" brief="yes" sortkey="skiparticle" merge="longest" rank="6" mergekey="required" />
+ <metadata name="title-remainder" brief="yes" merge="longest" rank="5"/>
+
+ <metadata name="date" brief="yes" sortkey="numeric" type="year" merge="range"
+ termlist="yes"/>
+ <metadata name="author" brief="yes" termlist="yes" merge="longest" rank="2" mergekey="optional" />
+ <metadata name="subject" merge="unique" termlist="yes" rank="3"/>
+ <metadata name="id"/>
+ <metadata name="lccn" merge="unique"/>
+ <metadata name="description" brief="yes" merge="longest" rank="3"/>
+
+ <metadata name="test-usersetting" brief="yes" setting="postproc"/>
+ <metadata name="test" setting="parameter"/>
+ <metadata name="test-usersetting-2" brief="yes"/>
+ </service>
+
+ <include src="*_service.xml"/>
+ <include src="no_such_service.xml"/>
+
+ </server>
+
+
+</pazpar2>
+<!-- Keep this comment at the end of the file
+ Local variables:
+ mode: nxml
+ End:
+-->
--- /dev/null
+#!/bin/sh
+
+# srcdir might be set by make
+srcdir=${srcdir:-"."}
+
+#TODO set up solr target. For now use donut
+#F=../solr/client.sh
+
+${srcdir}/run_pazpar2.sh test_sru-proxy
+E=$?
+
+#kill `cat ztest.pid`
+#rm ztest.pid
+exit $E
+
+# Local Variables:
+# mode:shell-script
+# sh-indentation: 2
+# sh-basic-offset: 4
+# End:
--- /dev/null
+http://localhost:9763/search.pz2?command=init&clear=1&service=sru-proxy
+http://localhost:9763/search.pz2?session=1&command=settings&pz:sru%5Bkb.dadsthirdnode.cvt.dk%2Fsru-proxy%5D=get&pz%3Aname%5Bkb.dadsthirdnode.cvt.dk%2Fsru-proxy%5D=sru-proxy&pz%3Axslt%5Bkb.dadsthirdnode.cvt.dk%2Fsru-proxy%5D=dads-pz2.xsl&pz%3Aqueryencoding%5Bkb.dadsthirdnode.cvt.dk%2Fsru-proxy%5D=UTF-8&pz%3Aapdulog%5Bkb.dadsthirdnode.cvt.dk%2Fsru-proxy%5D=1&pz%3Asru_version%5Bkb.dadsthirdnode.cvt.dk%2Fsru-proxy%5D=1.1&pz%3Aextra_args%5Bkb.dadsthirdnode.cvt.dk%2Fsru-proxy%5D=%26x-facet_def%3Ddtic_test%26x-noxsl%3D1&pz:query_syntax%5Bkb.dadsthirdnode.cvt.dk%2Fsru-proxy%5D=pqf
+http://localhost:9763/search.pz2?session=1&command=search&query=water
+4 http://localhost:9763/search.pz2?session=1&command=show&block=1
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<init><status>OK</status><session>1</session><protocol>1</protocol></init>
\ No newline at end of file
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<settings><status>OK</status></settings>
\ No newline at end of file
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<search><status>OK</status></search>
\ No newline at end of file
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<show>
+<status>OK</status>
+<activeclients>0</activeclients>
+<merged>100</merged>
+<total>2069000</total>
+<start>0</start>
+<num>20</num>
+<hit>
+
+<md-title>Any old iron?</md-title>
+<md-description>The article examines research on water pollution control. The use of ferrates, which are iron-oxygen compounds which include non-transition metals, to remove pollutants from water is discussed. The high reactivity of ferrates make them both oxidizing agents and coagulants of other chemicals in water. The company Ferrate Treatment Technologies, which creates ferrates at the site of pollution control projects since they are highly unstable, is discussed</md-description><location id="kb.dadsthirdnode.cvt.dk/sru-proxy" name="sru-proxy">
+<md-title>Any old iron?</md-title>
+<md-description>The article examines research on water pollution control. The use of ferrates, which are iron-oxygen compounds which include non-transition metals, to remove pollutants from water is discussed. The high reactivity of ferrates make them both oxidizing agents and coagulants of other chemicals in water. The company Ferrate Treatment Technologies, which creates ferrates at the site of pollution control projects since they are highly unstable, is discussed</md-description></location>
+<relevance>313235</relevance>
+<recid>title any old iron</recid>
+</hit>
+<hit>
+
+<md-title>EPA Outlines Aggressive Plan To Restore Chesapeake Bay</md-title>
+<md-author>Hunter, Pam</md-author>
+<md-description>The article deals with the Chesapeake Bay Total Maximum Daily Load (TMDL) launched by the U.S. Environmental Protection Agency (EPA) on December 29, 2010. TDML implements a legal framework to make sure that six states and the District of Columbia comply with the requirement set to restore the Chesapeake Bay between Maryland and Virginia by 2025. Furthermore, TDML requires a 25 percent nitrogen reduction, 24 percent phosphorus reduction and 20 percent sediment reduction. EPA intends to oversee every one of the jurisdictions' programs</md-description><location id="kb.dadsthirdnode.cvt.dk/sru-proxy" name="sru-proxy">
+<md-title>EPA Outlines Aggressive Plan To Restore Chesapeake Bay</md-title>
+<md-author>Hunter, Pam</md-author>
+<md-description>The article deals with the Chesapeake Bay Total Maximum Daily Load (TMDL) launched by the U.S. Environmental Protection Agency (EPA) on December 29, 2010. TDML implements a legal framework to make sure that six states and the District of Columbia comply with the requirement set to restore the Chesapeake Bay between Maryland and Virginia by 2025. Furthermore, TDML requires a 25 percent nitrogen reduction, 24 percent phosphorus reduction and 20 percent sediment reduction. EPA intends to oversee every one of the jurisdictions' programs</md-description></location>
+<relevance>300000</relevance>
+<recid>title epa outlines aggressive plan to restore chesapeake bay author hunter pam</recid>
+</hit>
+<hit>
+
+<md-title>Biscuit factory in hot water</md-title>
+<md-description>The article offers information on the new Spirax Sarco EasiHeat engineered system from Fox's factory that uses a steam-to-hot water plate heat exchanger to provide domestic hot water on demand</md-description><location id="kb.dadsthirdnode.cvt.dk/sru-proxy" name="sru-proxy">
+<md-title>Biscuit factory in hot water</md-title>
+<md-description>The article offers information on the new Spirax Sarco EasiHeat engineered system from Fox's factory that uses a steam-to-hot water plate heat exchanger to provide domestic hot water on demand</md-description></location>
+<relevance>288181</relevance>
+<recid>title biscuit factory in hot water</recid>
+</hit>
+<hit>
+
+<md-title>Bottled water recycling rates on the rise</md-title>
+<md-description>The article focuses on the increase of recycling rates for bottled water in the U.S</md-description><location id="kb.dadsthirdnode.cvt.dk/sru-proxy" name="sru-proxy">
+<md-title>Bottled water recycling rates on the rise</md-title>
+<md-description>The article focuses on the increase of recycling rates for bottled water in the U.S</md-description></location>
+<relevance>204464</relevance>
+<recid>title bottled water recycling rates on the rise</recid>
+</hit>
+<hit>
+
+<md-title>Water-cooler monitor</md-title>
+<md-description>The article offers information on the segments of the television program "The Talk."</md-description><location id="kb.dadsthirdnode.cvt.dk/sru-proxy" name="sru-proxy">
+<md-title>Water-cooler monitor</md-title>
+<md-description>The article offers information on the segments of the television program "The Talk."</md-description></location>
+<relevance>200000</relevance>
+<recid>title water cooler monitor</recid>
+</hit>
+<hit>
+
+<md-title>Every drop counts</md-title>
+<md-description>The article discusses the importance of water as a significant component for the paper making industry. It says that the focus of the industry is on the comprehensive and intelligent water management solutions because of the rising cost of energy and strict legislation on the environment. It says that the water utilized by paper mills undergo numerous individual process and steps in which water quantity matters</md-description><location id="kb.dadsthirdnode.cvt.dk/sru-proxy" name="sru-proxy">
+<md-title>Every drop counts</md-title>
+<md-description>The article discusses the importance of water as a significant component for the paper making industry. It says that the focus of the industry is on the comprehensive and intelligent water management solutions because of the rising cost of energy and strict legislation on the environment. It says that the water utilized by paper mills undergo numerous individual process and steps in which water quantity matters</md-description></location>
+<relevance>168181</relevance>
+<recid>title every drop counts</recid>
+</hit>
+<hit>
+
+<md-title>Graywater Recycling Turns Runoff Into Green Solution</md-title>
+<md-author>Penny, Janelle</md-author>
+<md-description>The article discusses how the emerging trend of graywater recycling could help cut costs and conserve water. According to Jason Rector, owner of AquaPro, reusing graywater could significantly reduce water consumption for buildings since estimates indicate that 40% to 60% of water in buildings is flushwed down the toilet. Simple graywater systems involve the collection of water from one bathroom sink, filtering it and redirecting it into the tank of another toilet</md-description><location id="kb.dadsthirdnode.cvt.dk/sru-proxy" name="sru-proxy">
+<md-title>Graywater Recycling Turns Runoff Into Green Solution</md-title>
+<md-author>Penny, Janelle</md-author>
+<md-description>The article discusses how the emerging trend of graywater recycling could help cut costs and conserve water. According to Jason Rector, owner of AquaPro, reusing graywater could significantly reduce water consumption for buildings since estimates indicate that 40% to 60% of water in buildings is flushwed down the toilet. Simple graywater systems involve the collection of water from one bathroom sink, filtering it and redirecting it into the tank of another toilet</md-description></location>
+<relevance>167142</relevance>
+<recid>title graywater recycling turns runoff into green solution author penny janelle</recid>
+</hit>
+<hit>
+
+<md-title>Lead in Fixtures May Go Undetected</md-title>
+<md-description>The article focuses on a study, which showed that high levels of lead can leach from some brass devices in plumbing systems into drinking water</md-description><location id="kb.dadsthirdnode.cvt.dk/sru-proxy" name="sru-proxy">
+<md-title>Lead in Fixtures May Go Undetected</md-title>
+<md-description>The article focuses on a study, which showed that high levels of lead can leach from some brass devices in plumbing systems into drinking water</md-description></location>
+<relevance>162000</relevance>
+<recid>title lead in fixtures may go undetected</recid>
+</hit>
+<hit>
+
+<md-title>The drying of the West</md-title>
+<md-description>The article discusses diminishing water supplies in the U.S. Southwest. Drought conditions have reduced Lake Mead to just 40% capacity, and scientists believe global warming will reduce flows on the Colorado River, which feeds Lake Mead, by as much as 30%. Increasing demands on the Colorado by farmers, ranchers, and cities are also taxing Lake Mead</md-description><location id="kb.dadsthirdnode.cvt.dk/sru-proxy" name="sru-proxy">
+<md-title>The drying of the West</md-title>
+<md-description>The article discusses diminishing water supplies in the U.S. Southwest. Drought conditions have reduced Lake Mead to just 40% capacity, and scientists believe global warming will reduce flows on the Colorado River, which feeds Lake Mead, by as much as 30%. Increasing demands on the Colorado by farmers, ranchers, and cities are also taxing Lake Mead</md-description></location>
+<relevance>155454</relevance>
+<recid>title the drying of the west</recid>
+</hit>
+<hit>
+
+<md-title>A negotiated solution for the Jordan Basin</md-title>
+<md-author>Chóliz, J. S</md-author>
+<md-description>The use of water in the Jordan Basin has been a key factor in the conflict between Israel and the Palestinians, and among Israel and its neighbours. In this paper, we explore possible ways of sharing water through a negotiation game with two players-Arabs and Israelis. We estimate a set of optimum Pareto allocations, as well as identifying a range of negotiated solutions. Our results suggest that viable solutions would improve incomes by some 20% compared to the current status quo. These solutions are close to the long-standing proposal contained in the Johnston Plan. Meanwhile, theoretical fairness criteria, which are more favourable to the Arabs than the Johnston Plan, maybe are not actually better in technical terms and could in any case only be achieved if the Arabs' negotiating position were much stronger than the Israelis'</md-description><location id="kb.dadsthirdnode.cvt.dk/sru-proxy" name="sru-proxy">
+<md-title>A negotiated solution for the Jordan Basin</md-title>
+<md-author>Atwi, M</md-author>
+<md-author>Chóliz, J. S</md-author>
+<md-description>The use of water in the Jordan Basin has been a key factor in the conflict between Israel and the Palestinians, and among Israel and its neighbours. In this paper, we explore possible ways of sharing water through a negotiation game with two players-Arabs and Israelis. We estimate a set of optimum Pareto allocations, as well as identifying a range of negotiated solutions. Our results suggest that viable solutions would improve incomes by some 20% compared to the current status quo. These solutions are close to the long-standing proposal contained in the Johnston Plan. Meanwhile, theoretical fairness criteria, which are more favourable to the Arabs than the Johnston Plan, maybe are not actually better in technical terms and could in any case only be achieved if the Arabs' negotiating position were much stronger than the Israelis'</md-description></location>
+<relevance>154379</relevance>
+<recid>title a negotiated solution for the jordan basin author atwi m author ch liz j s</recid>
+</hit>
+<hit>
+
+<md-title>Deep-water discoveries total 93</md-title><location id="kb.dadsthirdnode.cvt.dk/sru-proxy" name="sru-proxy">
+<md-title>Deep-water discoveries total 93</md-title></location>
+<relevance>150000</relevance>
+<recid>title deep water discoveries total</recid>
+</hit>
+<hit>
+
+<md-title>Pemex tests the water</md-title><location id="kb.dadsthirdnode.cvt.dk/sru-proxy" name="sru-proxy">
+<md-title>Pemex tests the water</md-title></location>
+<relevance>150000</relevance>
+<recid>title pemex tests the water</recid>
+</hit>
+<hit>
+
+<md-title>Amoebas in drinking water worldwide</md-title>
+<md-author>J. N. C</md-author>
+<md-description>The article focuses on a study which concluded that some amoeba species called free-living amoebas (FLAs) survive water treatment and quickly multiply in drinking water distribution and storage systems</md-description><location id="kb.dadsthirdnode.cvt.dk/sru-proxy" name="sru-proxy">
+<md-title>Amoebas in drinking water worldwide</md-title>
+<md-author>J. N. C</md-author>
+<md-description>The article focuses on a study which concluded that some amoeba species called free-living amoebas (FLAs) survive water treatment and quickly multiply in drinking water distribution and storage systems</md-description></location>
+<relevance>140000</relevance>
+<recid>title amoebas in drinking water worldwide author j n c</recid>
+</hit>
+<hit>
+
+<md-title>Beyond the water's edge</md-title>
+<md-description>In this article the author comments on the conduct of U.S. foreign policy by the administration of president Barack Obama. The central focus of the article is on the the Republican Party and its actions regarding foreign policy. A number of topics are addressed including Republican interest in defense spending, the Republican presidential candidates for 2012, and the reduction of U.S. troops in Afghanistan</md-description><location id="kb.dadsthirdnode.cvt.dk/sru-proxy" name="sru-proxy">
+<md-title>Beyond the water's edge</md-title>
+<md-description>In this article the author comments on the conduct of U.S. foreign policy by the administration of president Barack Obama. The central focus of the article is on the the Republican Party and its actions regarding foreign policy. A number of topics are addressed including Republican interest in defense spending, the Republican presidential candidates for 2012, and the reduction of U.S. troops in Afghanistan</md-description></location>
+<relevance>120000</relevance>
+<recid>title beyond the water s edge</recid>
+</hit>
+<hit>
+
+<md-title>Smoke in the (Tariff) Water</md-title>
+<md-author>Nicita, Alessandro</md-author>
+<md-description>As the economic crisis deepened and widened, fears of a return to the protectionist spiral of the 1930s become more common. However, an important difference between the 1930s and today is the existence of the World Trade Organization and the legal limits it imposes on the protectionist responses members can pursue. The first objective of this paper is to assess the extent to which applied tariffs can be legally raised without violating bound tariff obligations and compare it with what is economically feasible. The second objective is the examination of whether individual countries have taken advantage of these legal tariff hikes as protectionist responses during economic crises, after the creation of the WTO. Results suggest that the policy space left when looking at what is economically possible is indeed quite large. However, in the recent past little of the available policy space has been used by countries suffering from an economic crisis</md-description><location id="kb.dadsthirdnode.cvt.dk/sru-proxy" name="sru-proxy">
+<md-title>Smoke in the (Tariff) Water</md-title>
+<md-author>Foletti, Liliana</md-author>
+<md-author>Fugazza, Marco</md-author>
+<md-author>Nicita, Alessandro</md-author>
+<md-author>Olarreaga, Marcelo</md-author>
+<md-description>As the economic crisis deepened and widened, fears of a return to the protectionist spiral of the 1930s become more common. However, an important difference between the 1930s and today is the existence of the World Trade Organization and the legal limits it imposes on the protectionist responses members can pursue. The first objective of this paper is to assess the extent to which applied tariffs can be legally raised without violating bound tariff obligations and compare it with what is economically feasible. The second objective is the examination of whether individual countries have taken advantage of these legal tariff hikes as protectionist responses during economic crises, after the creation of the WTO. Results suggest that the policy space left when looking at what is economically possible is indeed quite large. However, in the recent past little of the available policy space has been used by countries suffering from an economic crisis</md-description></location>
+<relevance>120000</relevance>
+<recid>title smoke in the tariff water author foletti liliana author fugazza marco author nicita alessandro author olarreaga marcelo</recid>
+</hit>
+<hit>
+
+<md-title>The world's water-coolers</md-title>
+<md-description>The article focuses on international conferences and congress of rich people and other influential people. The Davos Economic Forum, held annually in Davos, Switzerland is used as an example of such congresses, as is the Bildersberg Group, an annual conference whose proceedings are confidential. It is noted that several participants in such conferences believe they fail in their stated object of improving global governance and management of international economic relations</md-description><location id="kb.dadsthirdnode.cvt.dk/sru-proxy" name="sru-proxy">
+<md-title>The world's water-coolers</md-title>
+<md-description>The article focuses on international conferences and congress of rich people and other influential people. The Davos Economic Forum, held annually in Davos, Switzerland is used as an example of such congresses, as is the Bildersberg Group, an annual conference whose proceedings are confidential. It is noted that several participants in such conferences believe they fail in their stated object of improving global governance and management of international economic relations</md-description></location>
+<relevance>120000</relevance>
+<recid>title the world s water coolers</recid>
+</hit>
+<hit>
+
+<md-title>Water purification : Any old iron?</md-title><location id="kb.dadsthirdnode.cvt.dk/sru-proxy" name="sru-proxy">
+<md-title>Water purification : Any old iron?</md-title></location>
+<relevance>120000</relevance>
+<recid>title water purification any old iron</recid>
+</hit>
+<hit>
+
+<md-title>New York's Ultraviolet Titan</md-title>
+<md-author>Bergeron, Angelle</md-author>
+<md-description>The article reports on the Catskill/Delaware Ultraviolet Disinfection Facility in New York City, the largest ultraviolet (UV) water disinfectant plant in the world. The facility will treat water from the Cat/Del watershed to meet federal Environmental Protection Agency surface-water-treatment rule requirements. Companies involved in the project include L.J. Coppola Inc., Welsbach Electric Corp. and SEW</md-description><location id="kb.dadsthirdnode.cvt.dk/sru-proxy" name="sru-proxy">
+<md-title>New York's Ultraviolet Titan</md-title>
+<md-author>Bergeron, Angelle</md-author>
+<md-description>The article reports on the Catskill/Delaware Ultraviolet Disinfection Facility in New York City, the largest ultraviolet (UV) water disinfectant plant in the world. The facility will treat water from the Cat/Del watershed to meet federal Environmental Protection Agency surface-water-treatment rule requirements. Companies involved in the project include L.J. Coppola Inc., Welsbach Electric Corp. and SEW</md-description></location>
+<relevance>115000</relevance>
+<recid>title new york s ultraviolet titan author bergeron angelle</recid>
+</hit>
+<hit>
+
+<md-title>Epa addresses chromium(vi) in drinking water</md-title>
+<md-author>B. E. E</md-author>
+<md-description>The article discusses the plan of U.S. Environmental Protection Agency (EPA) Administrator Lisa P. Jackson to issue guidance to all U.S. drinking water utilities for the development and implementation of programs monitoring chromium in drinking water</md-description><location id="kb.dadsthirdnode.cvt.dk/sru-proxy" name="sru-proxy">
+<md-title>Epa addresses chromium(vi) in drinking water</md-title>
+<md-author>B. E. E</md-author>
+<md-description>The article discusses the plan of U.S. Environmental Protection Agency (EPA) Administrator Lisa P. Jackson to issue guidance to all U.S. drinking water utilities for the development and implementation of programs monitoring chromium in drinking water</md-description></location>
+<relevance>101503</relevance>
+<recid>title epa addresses chromium vi in drinking water author b e e</recid>
+</hit>
+<hit>
+
+<md-title>Nanostructured Materials Repel Water Before It Freezes</md-title>
+<md-description>The article offers information on nanostructured materials designed by Harvard University researchers, which repel water droplets before they can freeze</md-description><location id="kb.dadsthirdnode.cvt.dk/sru-proxy" name="sru-proxy">
+<md-title>Nanostructured Materials Repel Water Before It Freezes</md-title>
+<md-description>The article offers information on nanostructured materials designed by Harvard University researchers, which repel water droplets before they can freeze</md-description></location>
+<relevance>100714</relevance>
+<recid>title nanostructured materials repel water before it freezes</recid>
+</hit>
+</show>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<pazpar2 xmlns="http://www.indexdata.com/pazpar2/1.0">
+ <!-- Used by test_http.sh -->
+ <server>
+ <listen port="9763"/>
+ <proxy host="localhost"/>
+
+ <service>
+ <include src="gbv-sru-marc.xml"/>
+ <targetprofiles type="local" src="../zeerex/records/"/>
+ <metadata name="url" merge="unique"/>
+ <metadata name="title" brief="yes" sortkey="skiparticle" merge="longest" rank="6" mergekey="required" />
+ <metadata name="title-remainder" brief="yes" merge="longest" rank="5"/>
+ <metadata name="isbn"/>
+ <metadata name="date" brief="yes" sortkey="numeric" type="year" merge="range"
+ termlist="yes"/>
+ <metadata name="author" brief="yes" termlist="yes" merge="longest" rank="2" mergekey="optional" />
+ <metadata name="subject" merge="unique" termlist="yes" rank="3"/>
+ <metadata name="id"/>
+ <metadata name="lccn" merge="unique"/>
+ <metadata name="description" brief="yes" merge="longest" rank="3"/>
+
+ <metadata name="test-usersetting" brief="yes" setting="postproc"/>
+ <metadata name="test" setting="parameter"/>
+ <metadata name="test-usersetting-2" brief="yes"/>
+ </service>
+
+ <include src="*_service.xml"/>
+ <include src="no_such_service.xml"/>
+
+ </server>
+
+
+</pazpar2>
+<!-- Keep this comment at the end of the file
+ Local variables:
+ mode: nxml
+ End:
+-->
--- /dev/null
+#!/bin/sh
+
+# srcdir might be set by make
+srcdir=${srcdir:-"."}
+
+#TODO set up solr target. For now use donut
+#F=../solr/client.sh
+#
+#rm -f solr.pid
+#$F -l solr.log -p ztest.pid -D @:9999
+#sleep 1
+#if test ! -f ztest.pid; then
+# echo "yaz-ztest could not be started"
+# exit 0
+#fi
+
+${srcdir}/run_pazpar2.sh test_sru
+E=$?
+
+#kill `cat ztest.pid`
+#rm ztest.pid
+exit $E
+
+# Local Variables:
+# mode:shell-script
+# sh-indentation: 2
+# sh-basic-offset: 4
+# End:
--- /dev/null
+http://localhost:9763/search.pz2?command=init&clear=1
+http://localhost:9763/search.pz2?session=1&command=settings&pz:sru%5Bgso.gbv.de%2Fsru%2FDB%5D=get&pz%3Aname%5Bgso.gbv.de%2Fsru%2FDB%5D=SOLR+Test&pz%3Acclmap%3Ati%5Bgso.gbv.de%2Fsru%2FDB%5D=1%3Dtitle&pz%3Acclmap%3Asu%5Bgso.gbv.de%2Fsru%2FDB%5D=1%3Dsubject&pz%3Acclmap%3Aau%5Bgso.gbv.de%2Fsru%2FDB%5D=1%3Dauthor&pz%3Acclmap%3Aisbn%5Bgso.gbv.de%2Fsru%2FDB%5D=1%3Disbn&pz%3Acclmap%3Aterm%5Bgso.gbv.de%2Fsru%2FDB%5D=1%3Dtitle&pz%3Axslt%5Bgso.gbv.de%2Fsru%2FDB%5D=solr-pz2.xsl&pz%3Aqueryencoding%5Bgso.gbv.de%2Fsru%2FDB%5D=UTF-8&pz%3Aapdulog%5Bgso.gbv.de%2Fsru%2FDB%5D=1&pz%3Asru_version%5Bgso.gbv.de%2Fsru%2FDB%5D=1.1
+http://localhost:9763/search.pz2?session=1&command=search&query=cql:man
+4 http://localhost:9763/search.pz2?session=1&command=show&block=1
+
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<init><status>OK</status><session>1</session><protocol>1</protocol></init>
\ No newline at end of file
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<search><status>OK</status></search>
\ No newline at end of file
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<show>
+<status>OK</status>
+<activeclients>0</activeclients>
+<merged>0</merged>
+<total>0</total>
+<start>0</start>
+<num>0</num>
+</show>
--- /dev/null
+http://localhost:9763/search.pz2?command=init&clear=1
+http://localhost:9763/search.pz2?session=1&command=settings&pz:name%5Bz3950.indexdata.com%2Fgils%5D=gils&pz:requestsyntax%5Bz3950.indexdata.com%2Fgils%5D=usmarc&pz:nativesyntax%5Bz3950.indexdata.com%2Fgils%5D=xml&pz:xslt%5Bz3950.indexdata.com%2Fgils%5D=marc21_test.xsl
+http://localhost:9763/search.pz2?session=1&command=search&query=computer
+2 http://localhost:9763/search.pz2?session=1&command=show&block=1
+http://localhost:9763/search.pz2?session=1&command=settings&pz:name%5Bz3950.indexdata.com%2Fgils%5D=gils&pz:requestsyntax%5Bz3950.indexdata.com%2Fgils%5D=usmarc&pz:nativesyntax%5Bz3950.indexdata.com%2Fgils%5D=txml&pz:xslt%5Bz3950.indexdata.com%2Fgils%5D=tmarc.xsl
+http://localhost:9763/search.pz2?session=1&command=search&query=computer
+2 http://localhost:9763/search.pz2?session=1&command=show&block=1
+2 http://localhost:9763/search.pz2?session=1&command=bytarget
searching by topic and geographic location, similar to GEOREF. It is currently
under development to replace the printed Bibliography of Marine Geology</md-description><location id="z3950.indexdata.com/gils" name="gils">
<md-title>BIBLIOGRAPHY OF MAINE GEOLOGY</md-title>
-<md-description>This data base is a computer based bibliography of marine geology. It allows
+<md-description tag="520">This data base is a computer based bibliography of marine geology. It allows
searching by topic and geographic location, similar to GEOREF. It is currently
-under development to replace the printed Bibliography of Marine Geology</md-description></location>
+under development to replace the printed Bibliography of Marine Geology</md-description>
+<md-description tag="513">1692-PRESENT</md-description>
+<md-test-usersetting-2>test-usersetting-2 data:
+</md-test-usersetting-2></location>
<relevance>9416</relevance>
-<recid>title bibliography of maine geology</recid>
+<recid>title bibliography of maine geology author medium book</recid>
</hit>
<hit>
show bedrock topography and potentiometric surface. Geographic coverage is
restricted to Southern Maine</md-description><location id="z3950.indexdata.com/gils" name="gils">
<md-title>GROUNDWATER RESOURCE MAPS - COUNTY SERIES</md-title>
-<md-description>A series of 1:250,000 scale maps showing well yield, well depth, and depth to
+<md-description tag="520">A series of 1:250,000 scale maps showing well yield, well depth, and depth to
bedrock for a large number of bedrock wells inventoried by the Maine Geological
Survey in the mid-to late 1970's comprises this data set. Some series also
show bedrock topography and potentiometric surface. Geographic coverage is
-restricted to Southern Maine</md-description></location>
+restricted to Southern Maine</md-description>
+<md-description tag="513">1972-1978</md-description>
+<md-test-usersetting-2>test-usersetting-2 data:
+</md-test-usersetting-2></location>
<relevance>0</relevance>
-<recid>title groundwater resource maps county series</recid>
+<recid>title groundwater resource maps county series author medium book</recid>
</hit>
<hit>
operator, driller, location, depth, copies of logs run, permits, samples
(cuttings, core), completion records</md-description><location id="z3950.indexdata.com/gils" name="gils">
<md-title>OIL/GAS DRILLING</md-title>
-<md-description>This database contains information on oil and gas drilling such as well name,
+<md-description tag="520">This database contains information on oil and gas drilling such as well name,
operator, driller, location, depth, copies of logs run, permits, samples
-(cuttings, core), completion records</md-description></location>
+(cuttings, core), completion records</md-description>
+<md-description tag="513">1907-PRESENT</md-description>
+<md-test-usersetting-2>test-usersetting-2 data:
+</md-test-usersetting-2></location>
<relevance>0</relevance>
-<recid>title oil gas drilling</recid>
+<recid>title oil gas drilling author medium book</recid>
</hit>
</show>
<start>0</start>
<num>3</num>
<hit>
-<location id="z3950.indexdata.com/gils" name="gils"></location>
-<relevance>0</relevance>
-<recid>z3950.indexdata.com/gils-1</recid>
+
+<md-title>BIBLIOGRAPHY OF MAINE GEOLOGY</md-title>
+<md-description>This data base is a computer based bibliography of marine geology. It allows searching by topic and geographic location, similar to GEOREF. It is currently under development to replace the printed Bibliography of Marine Geology</md-description><location id="z3950.indexdata.com/gils" name="gils">
+<md-title>BIBLIOGRAPHY OF MAINE GEOLOGY</md-title>
+<md-description>This data base is a computer based bibliography of marine geology. It allows searching by topic and geographic location, similar to GEOREF. It is currently under development to replace the printed Bibliography of Marine Geology</md-description></location>
+<relevance>9416</relevance>
+<recid>title bibliography of maine geology</recid>
</hit>
<hit>
-<location id="z3950.indexdata.com/gils" name="gils"></location>
+
+<md-title>GROUNDWATER RESOURCE MAPS - COUNTY SERIES</md-title>
+<md-description>A series of 1:250,000 scale maps showing well yield, well depth, and depth to bedrock for a large number of bedrock wells inventoried by the Maine Geological Survey in the mid-to late 1970's comprises this data set. Some series also show bedrock topography and potentiometric surface. Geographic coverage is restricted to Southern Maine</md-description><location id="z3950.indexdata.com/gils" name="gils">
+<md-title>GROUNDWATER RESOURCE MAPS - COUNTY SERIES</md-title>
+<md-description>A series of 1:250,000 scale maps showing well yield, well depth, and depth to bedrock for a large number of bedrock wells inventoried by the Maine Geological Survey in the mid-to late 1970's comprises this data set. Some series also show bedrock topography and potentiometric surface. Geographic coverage is restricted to Southern Maine</md-description></location>
<relevance>0</relevance>
-<recid>z3950.indexdata.com/gils-2</recid>
+<recid>title groundwater resource maps county series</recid>
</hit>
<hit>
-<location id="z3950.indexdata.com/gils" name="gils"></location>
+
+<md-title>OIL/GAS DRILLING</md-title>
+<md-description>This database contains information on oil and gas drilling such as well name, operator, driller, location, depth, copies of logs run, permits, samples (cuttings, core), completion records</md-description><location id="z3950.indexdata.com/gils" name="gils">
+<md-title>OIL/GAS DRILLING</md-title>
+<md-description>This database contains information on oil and gas drilling such as well name, operator, driller, location, depth, copies of logs run, permits, samples (cuttings, core), completion records</md-description></location>
<relevance>0</relevance>
-<recid>z3950.indexdata.com/gils-3</recid>
+<recid>title oil gas drilling</recid>
</hit>
</show>
+++ /dev/null
-http://localhost:9763/search.pz2?command=init&clear=1
-http://localhost:9763/search.pz2?session=1&command=settings&pz:name%5Bz3950.indexdata.com%2Fgils%5D=gils&pz:requestsyntax%5Bz3950.indexdata.com%2Fgils%5D=usmarc&pz:nativesyntax%5Bz3950.indexdata.com%2Fgils%5D=xml&pz:xslt%5Bz3950.indexdata.com%2Fgils%5D=marc21.xsl
-http://localhost:9763/search.pz2?session=1&command=search&query=computer
-2 http://localhost:9763/search.pz2?session=1&command=show&block=1
-http://localhost:9763/search.pz2?session=1&command=settings&pz:name%5Bz3950.indexdata.com%2Fgils%5D=gils&pz:requestsyntax%5Bz3950.indexdata.com%2Fgils%5D=usmarc&pz:nativesyntax%5Bz3950.indexdata.com%2Fgils%5D=txml&pz:xslt%5Bz3950.indexdata.com%2Fgils%5D=tmarcxml.xsl
-http://localhost:9763/search.pz2?session=1&command=search&query=computer
-2 http://localhost:9763/search.pz2?session=1&command=show&block=1
-2 http://localhost:9763/search.pz2?session=1&command=bytarget
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<xsl:stylesheet version="1.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:pz="http://www.indexdata.com/pazpar2/1.0"
+ xmlns:tmarc="http://www.indexdata.com/turbomarc">
+
+ <xsl:output indent="yes" method="xml" version="1.0"
+ encoding="UTF-8" />
+
+ <!-- Extract metadata from MARC21/USMARC from streamlined marcxml format
+ http://www.loc.gov/marc/bibliographic/ecbdhome.html -->
+ <xsl:template name="record-hook" />
+
+
+ <xsl:template match="/">
+ <xsl:apply-templates />
+ </xsl:template>
+
+ <xsl:template match="tmarc:collection">
+ <collection>
+ <xsl:apply-templates />
+ </collection>
+ </xsl:template>
+
+ <xsl:template match="tmarc:r">
+ <xsl:variable name="title_medium" select="tmarc:d245/tmarc:sh" />
+ <xsl:variable name="journal_title" select="tmarc:d773/tmarc:st" />
+ <xsl:variable name="electronic_location_url" select="tmarc:d856/tmarc:su" />
+ <xsl:variable name="fulltext_a" select="tmarc:d900/tmarc:sa" />
+ <xsl:variable name="fulltext_b" select="tmarc:d900/tmarc:sb" />
+ <!-- Does not always hit the right substring. The field is not always fixed-width? -->
+ <xsl:variable name="control_lang" select="substring(tmarc:c008, 36, 3)" />
+ <xsl:variable name="contains110" select="tmarc:d110" />
+ <xsl:variable name="hasAuthorFields" select="tmarc:d100 or tmarc:d111" />
+ <xsl:variable name="typeofrec" select="substring(tmarc:l, 7, 1)"/>
+ <xsl:variable name="typeofvm" select="substring(tmarc:c008, 34, 1)"/>
+ <xsl:variable name="biblevel" select="substring(tmarc:l, 8, 1)"/>
+ <xsl:variable name="physdes" select="substring(tmarc:c007, 1, 1)"/>
+ <xsl:variable name="form1" select="substring(tmarc:c008, 24, 1)"/>
+ <xsl:variable name="form2" select="substring(tmarc:c008, 30, 1)"/>
+ <xsl:variable name="oclca" select="substring(tmarc:c007, 1, 1)"/>
+ <xsl:variable name="oclcb" select="substring(tmarc:c007, 2, 1)"/>
+ <xsl:variable name="oclcd" select="substring(tmarc:c007, 4, 1)"/>
+ <xsl:variable name="oclce" select="substring(tmarc:c007, 5, 1)"/>
+ <xsl:variable name="typeofserial" select="substring(tmarc:c008, 22, 1)"/>
+
+ <xsl:variable name="electronic">
+ <xsl:choose>
+ <xsl:when test="$form1='s' or $form1='q' or $form1='o' or
+ $form2='s' or $form2='q' or $form2='o'">
+ <xsl:text>yes</xsl:text>
+ </xsl:when>
+ <xsl:otherwise/>
+ </xsl:choose>
+ </xsl:variable>
+
+ <xsl:variable name="medium">
+ <xsl:choose>
+ <xsl:when test="($typeofrec='a' or $typeofrec='t') and $biblevel='m'">book</xsl:when>
+ <xsl:when test="$typeofrec='j' or $typeofrec='i'">
+ <xsl:text>recording</xsl:text>
+ <xsl:choose>
+ <xsl:when test="$oclcb='d' and $oclcd='f'">-cd</xsl:when>
+ <xsl:when test="$oclcb='s'">-cassette</xsl:when>
+ <xsl:when test="$oclcb='d' and $oclcd='a' or $oclcd='b' or
+ $oclcd='c' or $oclcd='d' or $oclcd='e'">-vinyl</xsl:when>
+ </xsl:choose>
+ </xsl:when>
+ <xsl:when test="$typeofrec='g'">
+ <xsl:choose>
+ <xsl:when test="$typeofvm='m' or $typeofvm='v'">
+ <xsl:text>video</xsl:text>
+ <xsl:choose>
+ <xsl:when test="$oclca='v' and $oclcb='d' and $oclce='v'">-dvd</xsl:when>
+ <xsl:when test="$oclca='v' and $oclcb='d' and $oclce='s'">-blu-ray</xsl:when>
+ <xsl:when test="$oclca='v' and $oclcb='f' and $oclce='b'">-vhs</xsl:when>
+ </xsl:choose>
+ </xsl:when>
+ <xsl:otherwise>audio-visual</xsl:otherwise>
+ </xsl:choose>
+ </xsl:when>
+ <xsl:when test="$typeofrec='a' and $biblevel='s'">
+ <xsl:choose>
+ <xsl:when test="$typeofserial='n'">newspaper</xsl:when>
+ <xsl:otherwise>journal</xsl:otherwise>
+ </xsl:choose>
+ </xsl:when>
+ <xsl:when test="$typeofrec='e' or $typeofrec='f'">map</xsl:when>
+ <xsl:when test="$typeofrec='c' or $typeofrec='d'">music-score</xsl:when>
+ <xsl:when test="$form1='a' or $form1='b' or $form1='c'">microform</xsl:when>
+ <xsl:when test="$typeofrec='t'">thesis</xsl:when>
+ <!-- <xsl:when test="$journal_title">article</xsl:when> -->
+ <xsl:when test="$typeofrec='a' or $typeofrec='i' and
+ ($typeofserial='d' or $typeofserial='w')">web</xsl:when>
+ <xsl:when test="$typeofrec='a' and $biblevel='b'">article</xsl:when>
+ <xsl:when test="$typeofrec='m'">electronic</xsl:when>
+ <xsl:when test="$title_medium">
+ <xsl:value-of select="translate($title_medium, ' []/:', '')" />
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text>other</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+
+ <pz:record>
+<!--
+ <xsl:attribute name="mergekey">
+ <xsl:text>title </xsl:text>
+ <xsl:value-of select="tmarc:d245/tmarc:sa" />
+ <xsl:text> author </xsl:text>
+ <xsl:value-of select="tmarc:d100/tmarc:sa" />
+ <xsl:text> medium </xsl:text>
+ <xsl:value-of select="$medium" />
+ </xsl:attribute>
+ -->
+
+ <xsl:for-each select="tmarc:c001">
+ <pz:metadata type="id">
+ <xsl:value-of select="." />
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="tmarc:d010">
+ <pz:metadata type="lccn">
+ <xsl:value-of select="tmarc:sa" />
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="tmarc:d020">
+ <pz:metadata type="isbn">
+ <xsl:value-of select="tmarc:sa" />
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="tmarc:d022">
+ <pz:metadata type="issn">
+ <xsl:value-of select="tmarc:sa" />
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="tmarc:d027">
+ <pz:metadata type="tech-rep-nr">
+ <xsl:value-of select="tmarc:sa" />
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="tmarc:d035">
+ <pz:metadata type="system-control-nr">
+ <xsl:choose>
+ <xsl:when test="tmarc:sa">
+ <xsl:value-of select="tmarc:sa"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="tmarc:sb"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="tmarc:d100">
+ <pz:metadata type="author">
+ <xsl:value-of select="tmarc:sa" />
+ </pz:metadata>
+ <pz:metadata type="author-title">
+ <xsl:value-of select="tmarc:sc" />
+ </pz:metadata>
+ <pz:metadata type="author-date">
+ <xsl:value-of select="tmarc:sd" />
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="tmarc:d110">
+ <pz:metadata type="corporate-name">
+ <xsl:value-of select="tmarc:sa" />
+ </pz:metadata>
+ <pz:metadata type="corporate-location">
+ <xsl:value-of select="tmarc:sc" />
+ </pz:metadata>
+ <pz:metadata type="corporate-date">
+ <xsl:value-of select="tmarc:sd" />
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="tmarc:d111">
+ <pz:metadata type="meeting-name">
+ <xsl:value-of select="tmarc:sa" />
+ </pz:metadata>
+ <pz:metadata type="meeting-location">
+ <xsl:value-of select="tmarc:sc" />
+ </pz:metadata>
+ <pz:metadata type="meeting-date">
+ <xsl:value-of select="tmarc:sd" />
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="tmarc:d260">
+ <pz:metadata type="date">
+ <xsl:value-of select="translate(tmarc:sc, 'cp[].', '')" />
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="tmarc:d130">
+ <pz:metadata type="title-uniform">
+ <xsl:value-of select="tmarc:sa" />
+ </pz:metadata>
+ <pz:metadata type="title-uniform-media">
+ <xsl:value-of select="tmarc:sm" />
+ </pz:metadata>
+ <pz:metadata type="title-uniform-parts">
+ <xsl:value-of select="tmarc:sn" />
+ </pz:metadata>
+ <pz:metadata type="title-uniform-partname">
+ <xsl:value-of select="tmarc:sp" />
+ </pz:metadata>
+ <pz:metadata type="title-uniform-key">
+ <xsl:value-of select="tmarc:sr" />
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="tmarc:d245">
+ <pz:metadata type="title">
+ <xsl:value-of select="tmarc:sa" />
+ </pz:metadata>
+ <pz:metadata type="title-remainder">
+ <xsl:value-of select="tmarc:sb" />
+ </pz:metadata>
+ <pz:metadata type="title-responsibility">
+ <xsl:value-of select="tmarc:sc" />
+ </pz:metadata>
+ <pz:metadata type="title-dates">
+ <xsl:value-of select="tmarc:sf" />
+ </pz:metadata>
+ <pz:metadata type="title-medium">
+ <xsl:value-of select="tmarc:sh" />
+ </pz:metadata>
+ <pz:metadata type="title-number-section">
+ <xsl:value-of select="tmarc:sn" />
+ </pz:metadata>
+ <pz:metadata type="title-complete">
+ <xsl:value-of select="tmarc:sa" />
+ <xsl:if test="tmarc:sb" ><xsl:value-of select="concat(' ', tmarc:sb)" /></xsl:if>
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="tmarc:d250">
+ <pz:metadata type="edition">
+ <xsl:value-of select="tmarc:sa" />
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="tmarc:d260">
+ <pz:metadata type="publication-place">
+ <xsl:value-of select="tmarc:sa" />
+ </pz:metadata>
+ <pz:metadata type="publication-name">
+ <xsl:value-of select="tmarc:sb" />
+ </pz:metadata>
+ <pz:metadata type="publication-date">
+ <xsl:value-of select="tmarc:sc" />
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="tmarc:d300">
+ <pz:metadata type="physical-extent">
+ <xsl:value-of select="tmarc:sa" />
+ </pz:metadata>
+ <pz:metadata type="physical-format">
+ <xsl:value-of select="tmarc:sb" />
+ </pz:metadata>
+ <pz:metadata type="physical-dimensions">
+ <xsl:value-of select="tmarc:sc" />
+ </pz:metadata>
+ <pz:metadata type="physical-accomp">
+ <xsl:value-of select="tmarc:se" />
+ </pz:metadata>
+ <pz:metadata type="physical-unittype">
+ <xsl:value-of select="tmarc:sf" />
+ </pz:metadata>
+ <pz:metadata type="physical-unitsize">
+ <xsl:value-of select="tmarc:sg" />
+ </pz:metadata>
+ <pz:metadata type="physical-specified">
+ <xsl:value-of select="tmarc:s3" />
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="tmarc:d440">
+ <pz:metadata type="series-title">
+ <xsl:value-of select="tmarc:sa" />
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="tmarc:d500">
+ <pz:metadata type="description">
+ <xsl:for-each select="node()">
+ <xsl:value-of select="text()" />
+ </xsl:for-each>
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="tmarc:d505">
+ <pz:metadata type="description">
+ <xsl:for-each select="node()">
+ <xsl:value-of select="text()" />
+ </xsl:for-each>
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="tmarc:d518">
+ <pz:metadata type="description">
+ <xsl:for-each select="node()">
+ <xsl:value-of select="text()" />
+ </xsl:for-each>
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="tmarc:d520">
+ <pz:metadata type="description">
+ <xsl:for-each select="node()">
+ <xsl:value-of select="text()" />
+ </xsl:for-each>
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="tmarc:d522">
+ <pz:metadata type="description">
+ <xsl:for-each select="node()">
+ <xsl:value-of select="text()" />
+ </xsl:for-each>
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="tmarc:d600">
+ <pz:metadata type="subject">
+ <xsl:value-of select="tmarc:sa" />
+ </pz:metadata>
+ <pz:metadata type="subject-long">
+ <xsl:for-each select="node()/text()">
+ <xsl:if test="position() > 1">
+ <xsl:text>, </xsl:text>
+ </xsl:if>
+ <xsl:value-of select="." />
+ </xsl:for-each>
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="tmarc:d610">
+ <pz:metadata type="subject">
+ <xsl:value-of select="tmarc:sa" />
+ </pz:metadata>
+ <pz:metadata type="subject-long">
+ <xsl:for-each select="node()/text()">
+ <xsl:if test="position() > 1">
+ <xsl:text>, </xsl:text>
+ </xsl:if>
+ <xsl:value-of select="." />
+ </xsl:for-each>
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="tmarc:d611">
+ <pz:metadata type="subject">
+ <xsl:value-of select="tmarc:sa" />
+ </pz:metadata>
+ <pz:metadata type="subject-long">
+ <xsl:for-each select="node()/text()">
+ <xsl:if test="position() > 1">
+ <xsl:text>, </xsl:text>
+ </xsl:if>
+ <xsl:value-of select="." />
+ </xsl:for-each>
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="tmarc:d630">
+ <pz:metadata type="subject">
+ <xsl:value-of select="tmarc:sa" />
+ </pz:metadata>
+ <pz:metadata type="subject-long">
+ <xsl:for-each select="node()/text()">
+ <xsl:if test="position() > 1">
+ <xsl:text>, </xsl:text>
+ </xsl:if>
+ <xsl:value-of select="." />
+ </xsl:for-each>
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="tmarc:d648">
+ <pz:metadata type="subject">
+ <xsl:value-of select="tmarc:sa" />
+ </pz:metadata>
+ <pz:metadata type="subject-long">
+ <xsl:for-each select="node()/text()">
+ <xsl:if test="position() > 1">
+ <xsl:text>, </xsl:text>
+ </xsl:if>
+ <xsl:value-of select="." />
+ </xsl:for-each>
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="tmarc:d650">
+ <pz:metadata type="subject">
+ <xsl:value-of select="tmarc:sa" />
+ </pz:metadata>
+ <pz:metadata type="subject-long">
+ <xsl:for-each select="node()/text()">
+ <xsl:if test="position() > 1">
+ <xsl:text>, </xsl:text>
+ </xsl:if>
+ <xsl:value-of select="." />
+ </xsl:for-each>
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="tmarc:d651">
+ <pz:metadata type="subject">
+ <xsl:value-of select="tmarc:sa" />
+ </pz:metadata>
+ <pz:metadata type="subject-long">
+ <xsl:for-each select="node()/text()">
+ <xsl:if test="position() > 1">
+ <xsl:text>, </xsl:text>
+ </xsl:if>
+ <xsl:value-of select="." />
+ </xsl:for-each>
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="tmarc:d653">
+ <pz:metadata type="subject">
+ <xsl:value-of select="tmarc:sa" />
+ </pz:metadata>
+ <pz:metadata type="subject-long">
+ <xsl:for-each select="node()/text()">
+ <xsl:if test="position() > 1">
+ <xsl:text>, </xsl:text>
+ </xsl:if>
+ <xsl:value-of select="." />
+ </xsl:for-each>
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="tmarc:d654">
+ <pz:metadata type="subject">
+ <xsl:value-of select="tmarc:sa" />
+ </pz:metadata>
+ <pz:metadata type="subject-long">
+ <xsl:for-each select="node()/text()">
+ <xsl:if test="position() > 1">
+ <xsl:text>, </xsl:text>
+ </xsl:if>
+ <xsl:value-of select="." />
+ </xsl:for-each>
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="tmarc:d655">
+ <pz:metadata type="subject">
+ <xsl:value-of select="tmarc:sa" />
+ </pz:metadata>
+ <pz:metadata type="subject-long">
+ <xsl:for-each select="node()/text()">
+ <xsl:if test="position() > 1">
+ <xsl:text>, </xsl:text>
+ </xsl:if>
+ <xsl:value-of select="." />
+ </xsl:for-each>
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="tmarc:d656">
+ <pz:metadata type="subject">
+ <xsl:value-of select="tmarc:sa" />
+ </pz:metadata>
+ <pz:metadata type="subject-long">
+ <xsl:for-each select="node()/text()">
+ <xsl:if test="position() > 1">
+ <xsl:text>, </xsl:text>
+ </xsl:if>
+ <xsl:value-of select="." />
+ </xsl:for-each>
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="tmarc:d657">
+ <pz:metadata type="subject">
+ <xsl:value-of select="tmarc:sa" />
+ </pz:metadata>
+ <pz:metadata type="subject-long">
+ <xsl:for-each select="node()/text()">
+ <xsl:if test="position() > 1">
+ <xsl:text>, </xsl:text>
+ </xsl:if>
+ <xsl:value-of select="." />
+ </xsl:for-each>
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="tmarc:d658">
+ <pz:metadata type="subject">
+ <xsl:value-of select="tmarc:sa" />
+ </pz:metadata>
+ <pz:metadata type="subject-long">
+ <xsl:for-each select="node()/text()">
+ <xsl:if test="position() > 1">
+ <xsl:text>, </xsl:text>
+ </xsl:if>
+ <xsl:value-of select="." />
+ </xsl:for-each>
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="tmarc:d662">
+ <pz:metadata type="subject">
+ <xsl:value-of select="tmarc:sa" />
+ </pz:metadata>
+ <pz:metadata type="subject-long">
+ <xsl:for-each select="node()/text()">
+ <xsl:if test="position() > 1">
+ <xsl:text>, </xsl:text>
+ </xsl:if>
+ <xsl:value-of select="." />
+ </xsl:for-each>
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="tmarc:d69X">
+ <pz:metadata type="subject">
+ <xsl:value-of select="tmarc:sa" />
+ </pz:metadata>
+ <pz:metadata type="subject-long">
+ <xsl:for-each select="node()/text()">
+ <xsl:if test="position() > 1">
+ <xsl:text>, </xsl:text>
+ </xsl:if>
+ <xsl:value-of select="." />
+ </xsl:for-each>
+ </pz:metadata>
+ </xsl:for-each>
+
+ <!-- or tmarc:d651 or tmarc:d653 or tmarc:d654 or tmarc:d655 or tmarc:d656
+ or tmarc:d657 or tmarc:d658 or tmarc:d662 or tmarc:d69X"> -->
+
+ <!-- <xsl:for-each select="tmarc:d600" > <pz:metadata type="subject">
+ <xsl:value-of select="tmarc:sa"/> </pz:metadata> <pz:metadata type="subject-long">
+ <xsl:for-each select="tmarc:sa tmarc:sb tmarc:sc tmarc:sd "> <xsl:if test="position()
+ > 1"> <xsl:text>, </xsl:text> </xsl:if> <xsl:value-of select="."/> </xsl:for-each>
+ </pz:metadata> </xsl:for-each> -->
+
+ <xsl:for-each select="tmarc:d856">
+ <pz:metadata type="electronic-url">
+ <xsl:value-of select="tmarc:su" />
+ </pz:metadata>
+ <pz:metadata type="electronic-text">
+ <xsl:if test="tmarc:sy">
+ <xsl:value-of select="tmarc:sy/text()" />
+ </xsl:if>
+ <xsl:if test="tmarc:s3">
+ <xsl:value-of select="tmarc:s3/text()" />
+ </xsl:if>
+ </pz:metadata>
+ <pz:metadata type="electronic-note">
+ <xsl:value-of select="tmarc:sz" />
+ </pz:metadata>
+ <pz:metadata type="electronic-format-instruction">
+ <xsl:value-of select="tmarc:si" />
+ </pz:metadata>
+ <pz:metadata type="electronic-format-type">
+ <xsl:value-of select="tmarc:sq" />
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="tmarc:d773">
+ <pz:metadata type="citation">
+ <xsl:for-each select="*">
+ <xsl:value-of select="normalize-space(.)" />
+ <xsl:text> </xsl:text>
+ </xsl:for-each>
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="tmarc:d852">
+ <xsl:if test="tmarc:sy">
+ <pz:metadata type="publicnote">
+ <xsl:value-of select="tmarc:sy" />
+ </pz:metadata>
+ </xsl:if>
+ <xsl:if test="tmarc:sh">
+ <pz:metadata type="callnumber">
+ <xsl:value-of select="tmarc:sh" />
+ </pz:metadata>
+ </xsl:if>
+ </xsl:for-each>
+
+ <pz:metadata type="medium">
+ <xsl:value-of select="$medium" />
+ <xsl:if test="string-length($electronic) and $medium != 'electronic'">
+ <xsl:text> (electronic)</xsl:text>
+ </xsl:if>
+ </pz:metadata>
+
+ <xsl:for-each select="tmarc:d900/tmarc:sa">
+ <pz:metadata type="fulltext">
+ <xsl:value-of select="." />
+ </pz:metadata>
+ </xsl:for-each>
+
+ <!-- <xsl:if test="$fulltext_a"> <pz:metadata type="fulltext"> <xsl:value-of
+ select="$fulltext_a"/> </pz:metadata> </xsl:if> -->
+
+ <xsl:for-each select="tmarc:d900/tmarc:sb">
+ <pz:metadata type="fulltext">
+ <xsl:value-of select="." />
+ </pz:metadata>
+ </xsl:for-each>
+
+ <!-- <xsl:if test="$fulltext_b"> <pz:metadata type="fulltext"> <xsl:value-of
+ select="$fulltext_b"/> </pz:metadata> </xsl:if> -->
+
+ <xsl:for-each select="tmarc:d907">
+ <!-- or tmarc:d901"> -->
+ <pz:metadata type="iii-id">
+ <xsl:value-of select="tmarc:sa" />
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="tmarc:d926">
+ <pz:metadata type="locallocation">
+ <xsl:choose><xsl:when test="tmarc:sa">
+ <xsl:value-of select="tmarc:sa"/>
+ </xsl:when><xsl:otherwise>
+ <xsl:text>PAZPAR2_NULL_VALUE</xsl:text>
+ </xsl:otherwise></xsl:choose>
+ </pz:metadata>
+ <pz:metadata type="callnumber">
+ <xsl:choose><xsl:when test="tmarc:sc">
+ <xsl:value-of select="tmarc:sc"/>
+ </xsl:when><xsl:otherwise>
+ <xsl:text>PAZPAR2_NULL_VALUE</xsl:text>
+ </xsl:otherwise></xsl:choose>
+ </pz:metadata>
+ <pz:metadata type="available">
+ <xsl:choose><xsl:when test="tmarc:se">
+ <xsl:value-of select="tmarc:se"/>
+ </xsl:when><xsl:otherwise>
+ <xsl:text>PAZPAR2_NULL_VALUE</xsl:text>
+ </xsl:otherwise></xsl:choose>
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="tmarc:d948">
+ <pz:metadata type="holding">
+ <xsl:for-each select="tmarc:s">
+ <xsl:if test="position() > 1">
+ <xsl:text> </xsl:text>
+ </xsl:if>
+ <xsl:value-of select="." />
+ </xsl:for-each>
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="tmarc:d991">
+ <pz:metadata type="holding">
+ <xsl:for-each select="tmarc:s">
+ <xsl:if test="position() > 1">
+ <xsl:text> </xsl:text>
+ </xsl:if>
+ <xsl:value-of select="." />
+ </xsl:for-each>
+ </pz:metadata>
+ </xsl:for-each>
+
+ <!-- passthrough id data -->
+ <xsl:for-each select="pz:metadata">
+ <xsl:copy-of select="." />
+ </xsl:for-each>
+
+ <!-- other stylesheets importing this might want to define this -->
+ <xsl:call-template name="record-hook" />
+
+ </pz:record>
+ </xsl:template>
+
+ <xsl:template match="text()" />
+
+ <!-- TODO Does not work anymore -->
+ <xsl:template name="shortTitle">
+ <xsl:param name="tag" />
+ <xsl:for-each select="tmarc:d">
+ <xsl:value-of select="tmarc:sa" />
+ <xsl:value-of select="tmarc:sm" />
+ <xsl:value-of select="tmarc:sn" />
+ <xsl:value-of select="tmarc:sp" />
+ <xsl:value-of select="tmarc:sr" />
+ </xsl:for-each>
+ </xsl:template>
+
+ <!-- No working as expected -->
+ <xsl:template name="description">
+ <xsl:param name="element" />
+ <xsl:for-each select="$element">
+ <pz:metadata type="description">
+ <xsl:for-each select="node()">
+ <xsl:value-of select="text()" />
+ </xsl:for-each>
+ </pz:metadata>
+ </xsl:for-each>
+ <xsl:apply-templates />
+ </xsl:template>
+
+ <!-- <xsl:for-each select="tmarc:d500"> <pz:metadata type="description">
+ <xsl:for-each select="node()"> <xsl:value-of select="text()"/> </xsl:for-each>
+ </pz:metadata> </xsl:for-each> -->
+
+
+
+ <xsl:template name="subject">
+ <xsl:param name="element" />
+ <xsl:for-each select="$element">
+ <pz:metadata type="subject">
+ <xsl:value-of select="tmarc:sa" />
+ </pz:metadata>
+ <pz:metadata type="subject-long">
+ <xsl:for-each select="node()/text()">
+ <xsl:if test="position() > 1">
+ <xsl:text>, </xsl:text>
+ </xsl:if>
+ <xsl:value-of select="." />
+ </xsl:for-each>
+ </pz:metadata>
+ </xsl:for-each>
+ </xsl:template>
+
+
+</xsl:stylesheet>
# This file is part of Pazpar2.
-# Copyright (C) 2006-2010 Index Data
+# Copyright (C) 2006-2011 Index Data
DEBUG=0 # 0 for release, 1 for debug
USE_MANIFEST = 1 # Can be enabled Visual Studio 2005/2008
PACKAGE_NAME=pazpar2
-PACKAGE_VERSION=1.3.0
+PACKAGE_VERSION=1.4.4
# YAZ
YAZ_DIR=..\..\yaz
YAZBINDIR=$(YAZ_DIR)\bin
!if $(DEBUG)
-YAZ_LIB="$(YAZ_DIR)\lib\yaz3d.lib"
+YAZ_LIB="$(YAZ_DIR)\lib\yaz4d.lib" "$(YAZ_DIR)\lib\yaz_cond4d.lib"
!if $(HAVE_ICU)
-YAZ_LIB=$(YAZ_LIB) "$(YAZ_DIR)\lib\yaz_icu3d.lib"
+YAZ_LIB=$(YAZ_LIB) "$(YAZ_DIR)\lib\yaz_icu4d.lib"
!endif
-YAZ_DLL_SOURCE="$(YAZBINDIR)\yaz3d.dll"
-YAZ_DLL_TARGET="$(BINDIR)\yaz3d.dll"
+YAZ_DLL_SOURCE="$(YAZBINDIR)\yaz4d.dll"
+YAZ_DLL_TARGET="$(BINDIR)\yaz4d.dll"
!else
-YAZ_LIB="$(YAZ_DIR)\lib\yaz3.lib"
+YAZ_LIB="$(YAZ_DIR)\lib\yaz4.lib" "$(YAZ_DIR)\lib\yaz_cond4.lib"
!if $(HAVE_ICU)
-YAZ_LIB=$(YAZ_LIB) "$(YAZ_DIR)\lib\yaz_icu3.lib"
+YAZ_LIB=$(YAZ_LIB) "$(YAZ_DIR)\lib\yaz_icu4.lib"
!endif
-YAZ_DLL_SOURCE="$(YAZBINDIR)\yaz3.dll"
-YAZ_DLL_TARGET="$(BINDIR)\yaz3.dll"
+YAZ_DLL_SOURCE="$(YAZBINDIR)\yaz4.dll"
+YAZ_DLL_TARGET="$(BINDIR)\yaz4.dll"
!endif
YAZ_DEF=/DYAZ_HAVE_XML2=2 /DYAZ_HAVE_XSLT=1 /I"$(YAZ_DIR)\include"
"$(OBJDIR)\normalize_record.obj" \
"$(OBJDIR)\normalize_cache.obj" \
"$(OBJDIR)\ppmutex.obj" \
+ "$(OBJDIR)\incref.obj" \
+ "$(OBJDIR)\sel_thread.obj" \
"$(OBJDIR)\connection.obj"
; This file is part of Pazpar2.
-; Copyright (C) 2006-2010 Index Data
+; Copyright (C) 2006-2011 Index Data
!include version.nsi
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <meta http-equiv="content-type" content="text/html; charset=utf-8" />
+ <meta id="viewport" name="viewport" content="width=320; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
+ <title>About the project</title>
+ <link rel="stylesheet" href="stylesheets/iphone.css" />
+ <link rel="apple-touch-icon" href="images/apple-touch-icon.png" />
+ <script type="text/javascript" charset="utf-8">
+ window.onload = function() {
+ setTimeout(function(){window.scrollTo(0, 1);}, 100);
+ }
+ </script>
+</head>
+
+<body>
+
+ <div id="header">
+ <h1>About</h1>
+ <a href="index.html" id="backButton">Index</a>
+ </div>
+
+<h1>Universal iPhone UI Kit v1.0</h1>
+
+<ul class="data">
+ <li><p>You're seeing an open source project to make universal interfaces for iPhone using technologies like HTML, CSS and all the capabilities of the phone.</p><p>This framework was made for that: make life easier for the developer, letting you run a few elements of HTML to build <strong>complex interfaces</strong> same as you'd see on the iPhone.</p><p>Look into the source code of this project, analyse each example and performs your own tests with a simple webserver and an iPhone Simulator or, a real iPhone. <strong>We're working</strong> to make more interfaces and add them to our framework <strong>for sharing with everyone</strong>.</p><p>Anyone can collaborate in the project, simply send me your edits to <a href="mailto:dlafuente@gmail.com">dlafuente@gmail.com</a> and then you add the SVN project.</p>
+
+</ul>
+
+<h1>About the author</h1>
+
+<ul>
+ <li class="arrow"><a href="author.html">Author</a></li>
+</ul>
+
+<p><strong>Best enjoyed on a real iPhone</strong><br />This iPhone UI Framework kit is licenced under GNU Affero General Public License (<a href="http://www.gnu.org/licenses/agpl.html">GNU AGPL 3</a>)</p>
+
+
+
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <meta http-equiv="content-type" content="text/html; charset=utf-8" />
+ <meta id="viewport" name="viewport" content="width=320; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
+ <title>About the author</title>
+ <link rel="stylesheet" href="stylesheets/iphone.css" />
+ <link rel="apple-touch-icon" href="images/apple-touch-icon.png" />
+ <script type="text/javascript" charset="utf-8">
+ window.onload = function() {
+ setTimeout(function(){window.scrollTo(0, 1);}, 100);
+ }
+ </script>
+ <!-- for profile image -->
+ <style type="text/css" media="screen">
+ li.picture { background: #fff url(images/minid-profile.png) no-repeat !important; }
+ </style>
+ <!-- end line customization -->
+</head>
+
+<body>
+
+ <div id="header">
+ <h1>The autor</h1>
+ <a href="about.html" id="backButton">Index</a>
+ </div>
+
+<ul class="profile">
+ <li class="picture"><a href="http://www.minid.net"><!--use this space to define tooltip title when user taps-->Diego Martín Lafuente's picture</a></li>
+ <li class="clearfix"><h2>Diego Martín Lafuente</h2><p>Minid.net</p></li>
+</ul>
+
+<ul class="data">
+ <li><p>Diego Martín Lafuente is an IA designer, web standard advocate and amateur writer who lives in Barcelona, currently working for <a href="http://www.tractis.com">Tractis.com</a>. Among this project he also writes his weekly column on his personal tech blog <a href="http://www.minid.net">minid.net</a> (spanish).</p></li>
+</ul>
+
+<h1>Contact Diego</h1>
+
+<ul class="field">
+ <li><h3>E-mail</h3> <a href="mailto:dlafuente@gmail.com">dlafuente@gmail.com</a></li>
+ <li class="arrow"><h3>Website</h3> <small>Blog</small> <a href="http://www.minid.net">Minid.net</a></li>
+ <li class="arrow"><h3>Facebook</h3> <a href="http://www.minid.net">Mini-d</a></li>
+ <li class="arrow"><h3>Linkedin</h3> <a href="http://www.linkedin.com/in/diegolafuente">diegolafuente</a></li>
+ <li class="arrow"><h3>Flickr</h3> <a href="http://www.flickr.com/photos/minid/">Photostream</a></li>
+
+ <li><h3>Notes</h3> <big>Please do not send me adversiting, press releases or link proposals to this e-mail address. I like to answer all the e-mails that I can.</big></li>
+</ul>
+
+<ul class="individual">
+ <li><a href="about.html">Back</a></li>
+ <li><a href="index.html">To Index</a></li>
+</ul>
+
+
+<p><strong>Best enjoyed on a real iPhone</strong><br />This iPhone UI Framework kit is licenced under GNU Affero General Public License (<a href="http://www.gnu.org/licenses/agpl.html">GNU AGPL 3</a>)</p>
+
+
+
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <meta http-equiv="content-type" content="text/html; charset=utf-8" />
+ <meta id="viewport" name="viewport" content="width=320; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
+ <title>Buttons panel</title>
+ <link rel="stylesheet" href="stylesheets/iphone.css" />
+
+ <script language="javascript">
+ <!--
+ var state = 'none';
+
+ function showhide(layer_ref) {
+
+ if (state == 'block') {
+ state = 'none';
+ }
+ else {
+ state = 'block';
+ }
+ if (document.getElementById &&!document.all) {
+ hza = document.getElementById(layer_ref);
+ hza.style.display = state;
+ }
+ }
+ //-->
+ </script>
+
+ <script type="text/javascript" charset="utf-8">
+ window.onload = function() {
+ setTimeout(function(){window.scrollTo(0, 1);}, 100);
+ }
+ </script>
+
+</head>
+
+<body>
+
+ <div id="header">
+ <h1>Buttons</h1>
+ <a href="index.html" id="backButton">Index</a>
+ </div>
+
+<h1>Examples</h1>
+
+<ul class="data">
+ <li><p>Button panel it's useful to display as an modal window. It is placed always at the bottom of the screen and you can see 4 buttons example: white, red, blue (on hovers) and black.</p>
+ </li>
+</ul>
+
+<p><a href="#" class="green button" onclick="showhide('optionpanel');">Show panel</a></p>
+
+
+<p><strong>Best enjoyed on a real iPhone</strong><br />This iPhone UI Framework kit is licenced under GNU Affero General Public License (<a href="http://www.gnu.org/licenses/agpl.html">GNU AGPL 3</a>)</p>
+
+<div id="optionpanel" style="display: none">
+
+<p><a class="white button" href="http://www.minid.net">Visit Minid.net</a> <a href="mailto:dlafuente@gmail.com" class="white button">E-mail author</a> <a href="#" class="red button" onclick="showhide('optionpanel');">Hide me</a> <a class="black button" href="index.html">Back to index</a></p>
+
+</div>
+
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <meta http-equiv="content-type" content="text/html; charset=utf-8" />
+ <meta id="viewport" name="viewport" content="width=320; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
+ <title>Chat Interface</title>
+ <link rel="stylesheet" href="stylesheets/iphone.css" />
+ <link rel="apple-touch-icon" href="images/apple-touch-icon.png" />
+ <script type="text/javascript" charset="utf-8">
+ window.onload = function() {
+ setTimeout(function(){window.scrollTo(0, 1);}, 100);
+ }
+ </script>
+</head>
+<body id="chat">
+
+ <div id="header">
+ <h1>Chat interface</h1>
+ <a href="index.html" id="backButton">Back</a>
+ </div>
+
+ <div class="bubble left">
+ <p class="lime">Hi, welcome to the chat interface example. All bubbles are made from a <code>DIV</code> element. Inside div elements there's <code>P</code> element that represents the user text. #chat on <code>BODY</code> is mandatory.</p>
+ </div>
+
+ <p>23/08/2008 21:55</p>
+
+ <div class="bubble right">
+ <p class="aqua">By using simple markup you can customize colors using "lime, aqua…" classes on any <code>P</code> element.</p>
+ </div>
+
+ <p>23/08/2008 21:57</p>
+
+ <div class="bubble right">
+ <p class="lemon">And you can customize the display (left or right)</p>
+ </div>
+
+ <div class="bubble right">
+ <p class="lemon">Check all the colors.</p>
+ </div>
+
+ <p>23/08/2008 21:59</p>
+
+ <div class="bubble left">
+ <p class="lime">This is using class "lime"</p>
+ </div>
+
+ <div class="bubble right">
+ <p class="lemon">This is using class "lemon"</p>
+ </div>
+
+ <div class="bubble left">
+ <p class="orange">This is using class "orange"</p>
+ </div>
+
+ <div class="bubble right">
+ <p class="aqua">This is using class "aqua"</p>
+ </div>
+
+ <div class="bubble left">
+ <p class="purple">This is using class "purple"</p>
+ </div>
+
+ <div class="bubble right">
+ <p class="pink">This is using class "pink"</p>
+ </div>
+
+ <div class="bubble left">
+ <p class="graphite">This is using class "graphite"</p>
+ </div>
+
+ <div class="bubble right">
+ <p class="clear">This is using class "clear"</p>
+ </div>
+
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <meta http-equiv="content-type" content="text/html; charset=utf-8" />
+ <meta id="viewport" name="viewport" content="width=320; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
+ <title>Forms</title>
+ <link rel="stylesheet" href="stylesheets/iphone.css" />
+ <link rel="apple-touch-icon" href="images/apple-touch-icon.png" />
+ <script type="text/javascript">
+ function clickclear(thisfield, defaulttext) {
+ if (thisfield.value == defaulttext) {
+ thisfield.value = "";
+ }
+ }
+ function clickrecall(thisfield, defaulttext) {
+ if (thisfield.value == "") {
+ thisfield.value = defaulttext;
+ }
+ }
+
+ </script>
+
+ <script type="text/javascript" charset="utf-8">
+ window.onload = function() {
+ setTimeout(function(){window.scrollTo(0, 1);}, 100);
+ }
+ </script>
+</head>
+
+<body>
+
+ <div id="header">
+ <h1>Basic form</h1>
+ <a href="index.html" id="backButton">Back</a>
+ </div>
+
+
+<h1>Field sets</h1>
+
+<ul class="form">
+ <li class="error"><input type="text" name="name" value="Text" id="some_name" onclick="clickclear(this, 'Text')" onblur="clickrecall(this,'Text')" /></li>
+ <li class="error"><input type="text" name="search" value="Search" id="some_name" onclick="clickclear(this, 'Search')" onblur="clickrecall(this,'Search')" /></li>
+ <li><input type="text" name="phone" value="Phone" id="some_name" onclick="clickclear(this, 'Phone')" onblur="clickrecall(this,'Phone')" /></li>
+ <li><input type="text" name="zip" value="Numbers" id="some_name" onclick="clickclear(this, 'Numbers')" onblur="clickrecall(this,'Numbers')" /></li>
+ <li><textarea onclick="clickclear(this, 'Dirección')" onblur="clickrecall(this,'Dirección')">Dirección</textarea></li>
+ <li><select id="lol"><optgroup label="Swedish Cars">
+ <option value ="volvo">Volvo</option>
+ <option value ="saab">Saab</option>
+ </optgroup>
+ <optgroup label="German Cars">
+ <option value ="mercedes">Mercedes</option>
+ <option value ="audi">Audi</option>
+ </optgroup></select></li>
+ <li><input type="password" name="some_name" value="iphonedelcopon" id="some_name" /></li>
+ <li><input type="file" name="some_name" value="iphonedelcopon" id="some_name" /></li>
+ <li><input type="checkbox" name="some_name" value="Hello" id="some_name" title="V8 Engine Type" /></li>
+ <li><input type="checkbox" name="some_name" value="Hello" checked="checked" id="some_name" title="V12 Engine Type" /></li>
+ <li><input type="radio" name="some_name" value="Hello" id="some_name" title="Only cars" /></li>
+ <li><input type="radio" name="some_name" value="Hello" id="some_name" title="Only motorbikes" /></li>
+</ul>
+
+<p><a href="index.html" class="button white">Buy this car</a></p>
+
+<p><strong>Best enjoyed on a real iPhone</strong><br />This iPhone UI Framework kit is licenced under GNU Affero General Public License (<a href="http://www.gnu.org/licenses/agpl.html">GNU AGPL 3</a>)</p>
+
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <meta http-equiv="content-type" content="text/html; charset=utf-8" />
+ <meta id="viewport" name="viewport" content="width=320; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
+ <title>Headers</title>
+ <link rel="stylesheet" href="stylesheets/iphone.css" />
+ <link rel="apple-touch-icon" href="images/apple-touch-icon.png" />
+ <script type="text/javascript" charset="utf-8">
+ window.onload = function() {
+ setTimeout(function(){window.scrollTo(0, 1);}, 100);
+ }
+ </script>
+</head>
+
+<body>
+
+ <div id="header">
+ <h1>With actions</h1>
+ <a href="headers.html" class="nav" id="backButton">Headers</a>
+ <a href="forms.html" class="nav Action">New</a>
+ </div>
+
+<h1>Explanation</h1>
+
+<ul class="data">
+ <li><p>Simple header is just made from a <code>DIV#header</code> and a <code>H1</code> element. This <code>H1</code> element is builds the header. Once you get that, you can add navigational stuff like action buttons (always on right) and navigational button (always on left).</p>
+ <p>Visit all headers examples for more info.</p>
+ </li>
+</ul>
+
+<ul class="individual">
+ <li><a href="headers.html">Back</a></li>
+ <li><a href="index.html">Go to index</a></li>
+</ul>
+
+<p><strong>Best enjoyed on a real iPhone</strong><br />This iPhone UI Framework kit is licenced under GNU Affero General Public License (<a href="http://www.gnu.org/licenses/agpl.html">GNU AGPL 3</a>)</p>
+
+<div id="optionpanel" style="display: none">
+
+<p><a class="white button" href="http://www.minid.net">Visit Minid.net</a> <a href="mailto:dlafuente@gmail.com" class="white button">E-mail author</a> <a href="#" class="red button" onclick="showhide('optionpanel');">Hide me</a> <a class="black button" href="index.html">Back to index</a></p>
+
+</div>
+
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <meta http-equiv="content-type" content="text/html; charset=utf-8" />
+ <meta id="viewport" name="viewport" content="width=320; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
+ <title>Headers</title>
+ <link rel="stylesheet" href="stylesheets/iphone.css" />
+ <link rel="apple-touch-icon" href="images/apple-touch-icon.png" />
+ <script type="text/javascript" charset="utf-8">
+ window.onload = function() {
+ setTimeout(function(){window.scrollTo(0, 1);}, 100);
+ }
+ </script>
+</head>
+
+<body>
+
+ <div id="header">
+ <h1>With back</h1>
+ <a href="headers.html" id="backButton">Headers</a>
+ </div>
+
+<h1>Explanation</h1>
+
+<ul class="data">
+ <li><p>Simple header is just made from a <code>DIV#header</code> and a <code>H1</code> element. This <code>H1</code> element is builds the header. Once you get that, you can add navigational stuff like action buttons (always on right) and navigational button (always on left).</p>
+ <p>Visit all headers examples for more info.</p>
+ </li>
+</ul>
+
+<ul class="individual">
+ <li><a href="headers.html">Back</a></li>
+ <li><a href="index.html">Go to index</a></li>
+</ul>
+
+<p><strong>Best enjoyed on a real iPhone</strong><br />This iPhone UI Framework kit is licenced under GNU Affero General Public License (<a href="http://www.gnu.org/licenses/agpl.html">GNU AGPL 3</a>)</p>
+
+<div id="optionpanel" style="display: none">
+
+<p><a class="white button" href="http://www.minid.net">Visit Minid.net</a> <a href="mailto:dlafuente@gmail.com" class="white button">E-mail author</a> <a href="#" class="red button" onclick="showhide('optionpanel');">Hide me</a> <a class="black button" href="index.html">Back to index</a></p>
+
+</div>
+
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <meta http-equiv="content-type" content="text/html; charset=utf-8" />
+ <meta id="viewport" name="viewport" content="width=320; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
+ <title>Headers</title>
+ <link rel="stylesheet" href="stylesheets/iphone.css" />
+ <link rel="apple-touch-icon" href="images/apple-touch-icon.png" />
+ <script type="text/javascript" charset="utf-8">
+ window.onload = function() {
+ setTimeout(function(){window.scrollTo(0, 1);}, 100);
+ }
+ </script>
+</head>
+
+<body>
+
+ <div id="header" class="pre">
+ <p>Headers</p>
+ <h1>With pretitle</h1>
+ <a href="headers.html" class="nav" id="backButton">Headers</a>
+ <a href="forms.html" class="nav Action">New</a>
+ </div>
+
+<h1>Explanation</h1>
+
+<ul class="data">
+ <li><p>You can set <code>pre</code> class now in the <code>#header</code> container for starting use pre-titles. Every pre-title have trimming properties so, whenever is on the vertical view or horizontal it will scale nicely, javascript free.</p>
+ </li>
+</ul>
+
+<ul class="individual">
+ <li><a href="headers.html">Back</a></li>
+ <li><a href="index.html">Go to index</a></li>
+</ul>
+
+<p><strong>Best enjoyed on a real iPhone</strong><br />This iPhone UI Framework kit is licenced under GNU Affero General Public License (<a href="http://www.gnu.org/licenses/agpl.html">GNU AGPL 3</a>)</p>
+
+<div id="optionpanel" style="display: none">
+
+<p><a class="white button" href="http://www.minid.net">Visit Minid.net</a> <a href="mailto:dlafuente@gmail.com" class="white button">E-mail author</a> <a href="#" class="red button" onclick="showhide('optionpanel');">Hide me</a> <a class="black button" href="index.html">Back to index</a></p>
+
+</div>
+
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <meta http-equiv="content-type" content="text/html; charset=utf-8" />
+ <meta id="viewport" name="viewport" content="width=320; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
+ <title>Headers</title>
+ <link rel="stylesheet" href="stylesheets/iphone.css" />
+ <link rel="apple-touch-icon" href="images/apple-touch-icon.png" />
+ <script type="text/javascript" charset="utf-8">
+ window.onload = function() {
+ setTimeout(function(){window.scrollTo(0, 1);}, 100);
+ }
+ </script>
+</head>
+
+<body>
+
+ <div id="header">
+ <h1>One trimmed header</h1>
+ </div>
+
+<h1>Explanation</h1>
+
+<ul class="data">
+ <li><p>Simple header is just made from a <code>DIV#header</code> and a <code>H1</code> element. This <code>H1</code> element is builds the header. Once you get that, you can add navigational stuff like action buttons (always on right) and navigational button (always on left).</p>
+ <p>Visit all headers examples for more info.</p>
+ </li>
+</ul>
+
+<ul class="individual">
+ <li><a href="headers.html">Back</a></li>
+ <li><a href="index.html">Go to index</a></li>
+</ul>
+
+<p><strong>Best enjoyed on a real iPhone</strong><br />This iPhone UI Framework kit is licenced under GNU Affero General Public License (<a href="http://www.gnu.org/licenses/agpl.html">GNU AGPL 3</a>)</p>
+
+<div id="optionpanel" style="display: none">
+
+<p><a class="white button" href="http://www.minid.net">Visit Minid.net</a> <a href="mailto:dlafuente@gmail.com" class="white button">E-mail author</a> <a href="#" class="red button" onclick="showhide('optionpanel');">Hide me</a> <a class="black button" href="index.html">Back to index</a></p>
+
+</div>
+
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <meta http-equiv="content-type" content="text/html; charset=utf-8" />
+ <meta id="viewport" name="viewport" content="width=320; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
+ <title>Headers</title>
+ <link rel="stylesheet" href="stylesheets/iphone.css" />
+ <link rel="apple-touch-icon" href="images/apple-touch-icon.png" />
+ <script type="text/javascript" charset="utf-8">
+ window.onload = function() {
+ setTimeout(function(){window.scrollTo(0, 1);}, 100);
+ }
+ </script>
+</head>
+
+<body>
+
+ <div id="header">
+ <h1>Headers</h1>
+ <a href="index.html" class="nav" id="backButton">Index</a>
+ </div>
+
+ <h1>Headers list</h1>
+
+ <ul>
+ <li><a href="header-simple.html">Simple header</a></li>
+ <li><a href="header-back.html">With back button</a></li>
+ <li><a href="header-action.html">With back and action button</a></li>
+ <li>Tabs <small>soon</small></li>
+ <li><a href="header-pretitle.html">With pre title</a></li>
+ </ul>
+
+<p><strong>Best enjoyed on a real iPhone</strong><br />This iPhone UI Framework kit is licenced under GNU Affero General Public License (<a href="http://www.gnu.org/licenses/agpl.html">GNU AGPL 3</a>)</p>
+
+
+
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <meta http-equiv="content-type" content="text/html; charset=utf-8" />
+ <meta id="viewport" name="viewport" content="width=320; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
+ <title>Headers</title>
+ <link rel="stylesheet" href="stylesheets/iphone.css" />
+ <link rel="apple-touch-icon" href="images/apple-touch-icon.png" />
+ <script type="text/javascript" charset="utf-8">
+ window.onload = function() {
+ setTimeout(function(){window.scrollTo(0, 1);}, 100);
+ }
+ </script>
+</head>
+
+<body>
+
+ <div id="header">
+ <h1>Headers</h1>
+ <a href="index.html" class="nav" id="backButton">Back</a>
+ </div>
+
+ <h1>Images list types</h1>
+
+ <ul>
+ <li><a href="images-loading.html">Loading sprites</a></li>
+ <li><a href="images.html">Image grid</a></li>
+ </ul>
+
+<p><strong>Best enjoyed on a real iPhone</strong><br />This iPhone UI Framework kit is licenced under GNU Affero General Public License (<a href="http://www.gnu.org/licenses/agpl.html">GNU AGPL 3</a>)</p>
+
+
+
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <meta http-equiv="content-type" content="text/html; charset=utf-8" />
+ <meta id="viewport" name="viewport" content="width=320; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
+ <title>Image grids</title>
+ <link rel="stylesheet" href="stylesheets/iphone.css" />
+ <link rel="apple-touch-icon" href="images/apple-touch-icon.png" />
+ <script type="text/javascript" charset="utf-8">
+ window.onload = function() {
+ setTimeout(function(){window.scrollTo(0, 1);}, 100);
+ }
+ </script>
+</head>
+<body id="images">
+
+ <div id="header">
+ <h1>Images</h1>
+ <a href="images-list.html" id="backButton">Back</a>
+ </div>
+
+ <ul>
+ <li><a href="/iphone/" title="Image one"></a></li>
+ <li><a href="/iphone/" title="Image two"></a></li>
+ <li><a href="/iphone/" title="Image three"></a></li>
+ <li><a href="/iphone/" title="Image four"></a></li>
+ <li><a href="/iphone/" title="Image one"></a></li>
+ <li><a href="/iphone/" title="Image two"></a></li>
+ <li><a href="/iphone/" title="Image three"></a></li>
+ <li><a href="/iphone/" title="Image four"></a></li>
+ <li><a href="/iphone/" title="Image one"></a></li>
+ <li><a href="/iphone/" title="Image two"></a></li>
+ <li><a href="/iphone/" title="Image three"></a></li>
+ </ul>
+
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <meta http-equiv="content-type" content="text/html; charset=utf-8" />
+ <meta id="viewport" name="viewport" content="width=320; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
+ <title>Image grids</title>
+ <link rel="stylesheet" href="stylesheets/iphone.css" />
+ <link rel="apple-touch-icon" href="images/apple-touch-icon.png" />
+ <script type="text/javascript" charset="utf-8">
+ window.onload = function() {
+ setTimeout(function(){window.scrollTo(0, 1);}, 100);
+ }
+ </script>
+</head>
+<body id="blank" class="imgbody">
+
+ <div id="header">
+ <h1>Images</h1>
+ <a href="images-list.html" id="backButton">Back</a>
+ <a href="forms.html" class="Action">Upload</a>
+ </div>
+
+ <p><strong>No pictures</strong></p>
+
+ <p><small>Upload new images.</small></p>
+
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <meta http-equiv="content-type" content="text/html; charset=utf-8" />
+ <meta id="viewport" name="viewport" content="width=320; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
+ <title>Image grids</title>
+ <link rel="stylesheet" href="stylesheets/iphone.css" />
+ <link rel="apple-touch-icon" href="images/apple-touch-icon.png" />
+ <script type="text/javascript" charset="utf-8">
+ window.onload = function() {
+ setTimeout(function(){window.scrollTo(0, 1);}, 100);
+ }
+ </script>
+</head>
+<body id="images">
+
+ <div id="header">
+ <h1>Images</h1>
+ <a href="images-list.html" id="backButton">Back</a>
+ </div>
+
+ <ul>
+ <li><a href="/iphone/" style="background: url(http://farm4.static.flickr.com/3190/2802870928_d93941cc81_s.jpg)"></a></li>
+ <li><a href="/iphone/" style="background: url(http://farm4.static.flickr.com/3160/2802870794_488e5b09cf_s.jpg)"></a></li>
+ <li><a href="/iphone/" style="background: url(http://farm4.static.flickr.com/3254/2802023505_05b66bf4b8_s.jpg)"></a></li>
+ <li><a href="/iphone/" style="background: url(http://farm1.static.flickr.com/226/464119958_24a5f8024d_s.jpg)"></a></li>
+ <li><a href="/iphone/" style="background: url(http://farm1.static.flickr.com/227/464119706_d576008b80_s.jpg)"></a></li>
+ <li><a href="/iphone/" style="background: url(http://farm1.static.flickr.com/186/464126013_d5e9fc630a_s.jpg)"></a></li>
+
+ <li><a href="/iphone/" style="background: url(http://farm1.static.flickr.com/169/464119306_7e65441475_s.jpg)"></a></li>
+ <li><a href="/iphone/" style="background: url(http://farm1.static.flickr.com/167/464125347_952acd043c_s.jpg)"></a></li>
+ <li><a href="/iphone/" style="background: url(http://farm1.static.flickr.com/188/464118450_8c45dedd2b_s.jpg)"></a></li>
+ <li><a href="/iphone/" style="background: url(http://farm1.static.flickr.com/175/464118182_a177ccaf8f_s.jpg)"></a></li>
+ <li><a href="/iphone/" style="background: url(http://farm1.static.flickr.com/253/456678013_2799f89783_s.jpg)"></a></li>
+ <li><a href="/iphone/" style="background: url(http://farm1.static.flickr.com/189/456661276_b2c9b78983_s.jpg)"></a></li>
+
+ <li><a href="/iphone/" style="background: url(http://farm1.static.flickr.com/205/456677609_da0f3a7ceb_s.jpg)"></a></li>
+ <li><a href="/iphone/" style="background: url(http://farm1.static.flickr.com/164/434947655_da063cfba3_s.jpg)"></a></li>
+ <li><a href="/iphone/" style="background: url(http://farm1.static.flickr.com/176/434947208_1c9ef06d87_s.jpg)"></a></li>
+ <li><a href="/iphone/" style="background: url(http://farm1.static.flickr.com/167/434947497_1097e4d335_s.jpg)"></a></li>
+ <li><a href="/iphone/" style="background: url(http://farm1.static.flickr.com/171/434947389_db646752ed_s.jpg)"></a></li>
+ <li><a href="/iphone/" style="background: url(http://farm1.static.flickr.com/162/434947331_2cee84d394_s.jpg)"></a></li>
+
+ <li><a href="/iphone/" style="background: url(http://farm1.static.flickr.com/185/434947195_925fd217e9_s.jpg)"></a></li>
+ <li><a href="/iphone/" style="background: url(http://farm1.static.flickr.com/172/434946742_f46c0cac88_s.jpg)"></a></li>
+ <li><a href="/iphone/" style="background: url(http://farm1.static.flickr.com/153/434947031_fe9f006e7e_s.jpg)"></a></li>
+ <li><a href="/iphone/" style="background: url(http://farm1.static.flickr.com/147/434946897_8807ba4498_s.jpg)"></a></li>
+ <li><a href="/iphone/" style="background: url(http://farm1.static.flickr.com/124/409749014_c3851e1734_s.jpg)"></a></li>
+ <li><a href="/iphone/" style="background: url(http://farm1.static.flickr.com/132/409747926_3cbda824e9_s.jpg)"></a></li>
+
+ <li><a href="/iphone/" style="background: url(http://farm1.static.flickr.com/176/409748224_bd2b9947c8_s.jpg)"></a></li>
+ <li><a href="/iphone/" style="background: url(http://farm1.static.flickr.com/172/409749829_4b99fec818_s.jpg)"></a></li>
+ <li><a href="/iphone/" style="background: url(http://farm1.static.flickr.com/98/371072007_67024afeb0_s.jpg)"></a></li>
+ <li><a href="/iphone/" style="background: url(http://farm1.static.flickr.com/167/371071743_6caaae4738_s.jpg)"></a></li>
+ <li><a href="/iphone/" style="background: url(http://farm1.static.flickr.com/137/371071616_a06dd0ebb5_s.jpg)"></a></li>
+ <li><a href="/iphone/" style="background: url(http://farm1.static.flickr.com/175/371071401_89bbfd21f8_s.jpg)"></a></li>
+
+ <li><a href="/iphone/" style="background: url(http://farm1.static.flickr.com/138/371071307_33e4ae7284_s.jpg)"></a></li>
+ <li><a href="/iphone/" style="background: url(http://farm1.static.flickr.com/160/371071844_b997568d80_s.jpg)"></a></li>
+ <li><a href="/iphone/" style="background: url(http://farm1.static.flickr.com/147/371070652_060f46ca9f_s.jpg)"></a></li>
+ <li><a href="/iphone/" style="background: url(http://farm1.static.flickr.com/170/371070554_e3d9fd98b1_s.jpg)"></a></li>
+ <li><a href="/iphone/" style="background: url(http://farm3.static.flickr.com/2275/1673000200_4cc9c687b0_s.jpg)"></a></li>
+ <li><a href="/iphone/" style="background: url(http://farm3.static.flickr.com/2018/1628217252_d61595aaa3_s.jpg)"></a></li>
+
+ <li><a href="/iphone/" style="background: url(http://farm3.static.flickr.com/2200/2555630277_3106a5af2f_s.jpg)"></a></li>
+ <li><a href="/iphone/" style="background: url(http://farm3.static.flickr.com/2279/2555391401_1d9181311c_s.jpg)"></a></li>
+ <li><a href="/iphone/" style="background: url(http://farm3.static.flickr.com/2015/2516963485_39082597c1_s.jpg)"></a></li>
+ <li><a href="/iphone/" style="background: url(http://farm3.static.flickr.com/2268/2555784403_5b07c82818_s.jpg)"></a></li>
+ <li><a href="/iphone/" style="background: url(http://farm3.static.flickr.com/2046/2559045092_6110dea32f_s.jpg)"></a></li>
+ <li><a href="/iphone/" style="background: url(http://farm3.static.flickr.com/2403/2558252383_212480cde6_s.jpg)"></a></li>
+
+ </ul>
+
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+%PDF-1.5\r%âãÏÓ\r
+1 0 obj\r<</Metadata 42 0 R/Pages 2 0 R/OCProperties<</D<</RBGroups[]/ON[13 0 R 33 0 R]/Order 32 0 R>>/OCGs[13 0 R 33 0 R]>>/Type/Catalog>>\rendobj\r42 0 obj\r<</Subtype/XML/Length 13984/Type/Metadata>>stream\r
+<?xpacket begin="" id="W5M0MpCehiHzreSzNTczkc9d"?>
+<x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="Adobe XMP Core 4.1-c036 46.276720, Mon Feb 19 2007 22:13:43 ">
+ <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
+ <rdf:Description rdf:about=""
+ xmlns:dc="http://purl.org/dc/elements/1.1/">
+ <dc:format>application/pdf</dc:format>
+ </rdf:Description>
+ <rdf:Description rdf:about=""
+ xmlns:xap="http://ns.adobe.com/xap/1.0/"
+ xmlns:xapGImg="http://ns.adobe.com/xap/1.0/g/img/">
+ <xap:CreatorTool>Adobe Illustrator CS3</xap:CreatorTool>
+ <xap:CreateDate>2008-08-27T01:32:58+02:00</xap:CreateDate>
+ <xap:ModifyDate>2008-08-27T01:33:18+02:00</xap:ModifyDate>
+ <xap:MetadataDate>2008-08-27T01:33:18+02:00</xap:MetadataDate>
+ <xap:Thumbnails>
+ <rdf:Alt>
+ <rdf:li rdf:parseType="Resource">
+ <xapGImg:width>256</xapGImg:width>
+ <xapGImg:height>196</xapGImg:height>
+ <xapGImg:format>JPEG</xapGImg:format>
+ <xapGImg:image>/9j/4AAQSkZJRgABAgEASABIAAD/7QAsUGhvdG9zaG9wIDMuMAA4QklNA+0AAAAAABAASAAAAAEA
AQBIAAAAAQAB/+4ADkFkb2JlAGTAAAAAAf/bAIQABgQEBAUEBgUFBgkGBQYJCwgGBggLDAoKCwoK
DBAMDAwMDAwQDA4PEA8ODBMTFBQTExwbGxscHx8fHx8fHx8fHwEHBwcNDA0YEBAYGhURFRofHx8f
Hx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8f/8AAEQgAxAEAAwER
AAIRAQMRAf/EAaIAAAAHAQEBAQEAAAAAAAAAAAQFAwIGAQAHCAkKCwEAAgIDAQEBAQEAAAAAAAAA
AQACAwQFBgcICQoLEAACAQMDAgQCBgcDBAIGAnMBAgMRBAAFIRIxQVEGE2EicYEUMpGhBxWxQiPB
UtHhMxZi8CRygvElQzRTkqKyY3PCNUQnk6OzNhdUZHTD0uIIJoMJChgZhJRFRqS0VtNVKBry4/PE
1OT0ZXWFlaW1xdXl9WZ2hpamtsbW5vY3R1dnd4eXp7fH1+f3OEhYaHiImKi4yNjo+Ck5SVlpeYmZ
qbnJ2en5KjpKWmp6ipqqusra6voRAAICAQIDBQUEBQYECAMDbQEAAhEDBCESMUEFURNhIgZxgZEy
obHwFMHR4SNCFVJicvEzJDRDghaSUyWiY7LCB3PSNeJEgxdUkwgJChgZJjZFGidkdFU38qOzwygp
0+PzhJSktMTU5PRldYWVpbXF1eX1RlZmdoaWprbG1ub2R1dnd4eXp7fH1+f3OEhYaHiImKi4yNjo
+DlJWWl5iZmpucnZ6fkqOkpaanqKmqq6ytrq+v/aAAwDAQACEQMRAD8A9U4q7FXYq7FXYq7FXYq7
FWKfmf59tPI3lC61yZBNcAiCwtjUCW4kB4KafsgAs3sD3xV8S+a/O/mnzXfve67qEt3IxqkRYiGM
dljiHwIB7DFUjxV2KuxV2KuxV2KuxV2KuxV2KuxV2KorTtU1LTLtLzTrqazuozVJ4HaNwR4MpBxV
9bf84+/nFdec7G40XXZFbzBp6CRZwAv1m3qFLlRtzRiA1KVqPfFXsOKuxV2KuxV2KuxV2KuxV2Ku
xV2KuxV2KuxV2KuxV8c/85IfmF/ibzmdJs5Q+kaCXt4yp+GS5NBPJ70K8F+VR1xV5JirsVdirsVd
irsVdirsVdirsVdirsVdirsVT7yN5tvvKXmrT9fs6l7OQGWKtBJC3wyxn/WQkex3xV98aRqthq+l
2mqafKJrK9iSe3lHdJByG3Y77jtiqLxV2KuxV2KuxV2KuxV2KqN3fWVlCZ7y4jtoR1lmdY1H+yYg
YqlX+OfJX/Uwab/0mQf814q7/HPkr/qYNN/6TIP+a8Vd/jnyV/1MGm/9JkH/ADXirv8AHPkr/qYN
N/6TIP8AmvFXf458lf8AUwab/wBJkH/NeKsL/N784NB8v+SbybRNVtbvWrsfVbBbWeOZ43kBrMQj
MQI1BIP81B3xV8XEkkkmpO5JxVrFXYq7FXYq7FXYq7FXYq7FXYq7FXYq7FXYq7FX0j/zjF+adha6
bdeUtevorSK1rdaVPcyLHH6bt+9h5OVFQ7c1HereGKvdf8c+Sv8AqYNN/wCkyD/mvFXf458lf9TB
pv8A0mQf814q7/HPkr/qYNN/6TIP+a8Vd/jnyV/1MGm/9JkH/NeKu/xz5K/6mDTf+kyD/mvFU1tL
6yvYRPZ3EdzCeksLrIp/2SkjFVbFXkv55/nYnka3j0jRwk/mS7jLgv8AElrEdlkdf2nY/YX6TtQF
V8k695j17zBfPf61fzX925J9Sdy1K70QfZRf8lQBiqXYq7FXYq7FXYq7FXYq7FXYq7FXYq7FXYq7
FXYq7FXYq7FXYq7FXYq7FXYq7FXYq7FXYq7FUx0HzHr3l++S/wBFv5rC7Qg+pA5WtN6OPsuv+SwI
xV9bfkZ+dieebeTSNYCQeZLSMOSnwpdRDZpEX9l1P21+kbVAVfKXnXzJc+ZfNeq67cMWa+uHkjB/
ZirSJB7JGFUfLFUlxV2KuxV2KuxV2KuxV2KuxV2KuxV2KpjovlzX9cuDb6Np1zqMw+0ltE8pUeLc
AeI9zir0HSf+ca/zY1BVeXTodPRtw13cRg091iMrj6RirJbb/nEXzm1PrWtadFtv6Xryb/7KOPFV
1x/ziJ5vUf6PrenyGh2kWaPft0STFWPar/zjF+a1kGMFraakF3/0W5UV+QnEBxV5/r/k/wA1eXnC
a3pN1p9TRXnidEY/5DkcG+g4qk+KuxV2KuxV2KuxV2KuxV2KuxV2KuxVOvJXmS58tea9K123Yq1j
cJJIB+1FWkqH2eMsp+eKpLirsVdirsVdirsVdirsVdirsVdirKvIv5Z+b/O94YNDsy1vGwW4v5j6
dtF/rSUNT/kqC3tir6S8i/8AOMPkvRFjufMDHX9RFCUkBjtEPgIgav8A7MkH+UYq9esrCxsLZLWx
t4rS1jFI4IEWONR/kqoAGKq+KuxV2KuxVZNBDPE8M8aywyArJG4DKynqCDsRiry3zv8A844fl/5j
SSfT4P0DqTbrPZKBCT/l2+yU/wBTiffFXzb+Yf5N+dPIzmbULcXWlE0j1S1q8O52ElQGjb/WFPAn
FWC4q7FXYq7FXYq7FXYq7FXYq7FXYq7FXYq7FXYq7FXYq7FXYq7FXYq9u/Jf/nHq78zLDr/mhXtN
Aaj2loDwmux2Y944j49W7bb4q+qdM0vTtKsIdP022jtLK3XhBbwqERVHgB+OKorFXYq7FXYq7FXY
q7FXYqsngguIZIJ41mglUpLFIAyMrChVlOxBGKvmz85f+cbvq8c3mDyPAzRLWS80RdyoG5e2ruR/
xX1/l/lxV86EEGh64q7FXYq7FXYq7FXYq7FXYq7FXYq7FXYq7FXYq7FXYq7FXYq9y/5x8/JNPMcy
eafMcHLQoG/0CzcbXUqHdnB6woe37R26Agqvq5VVVCqAFAoANgAMVbxV2KuxV2KoG91/QrElb7Ub
W1Zd2E80cZHbfkwxVTtPM3lu8YLZ6rZ3LMaAQ3EUhJHb4WOKplirsVdirsVdir5z/wCcifyRiaK4
86eWrfjKlZdbsIhsw6m5jUdCOsgHX7XjVV81Yq7FXYq7FXYq7FXYq7FXYq7FXYq7FXYq7FXYq7FX
YqzP8pvy9ufPXnC20ock06H/AEjVLhduFuhFQDQ/G5+Ffv7HFX3PY2NnYWUFjZRLBaW0axQQoKKi
IKKo+QGKq+KuxVbLLHFG8srrHFGpZ3YgKqgVJJOwAGKvCfzF/wCcpdG0qSTT/KECateISr6jNUWi
kbfAFKvL8wVXwJxV4H5m/Nj8w/Mrv+lNcuWgfraQN9Xgp4elFwU/NqnFWJEkmp64q7FWReXPzE88
eXHQ6Lrd3aIhBFuJC8Bp4wycoz9K4q9z/L7/AJytjlkjsfO1qsNaKNXs1JSvjNB8RHuU/wCBxV9C
afqFjqNlDfWFxHdWdwoeC4hYOjqe6sNjiqIxV2KtMqspVgCpFCDuCDir4x/P/wDLBfJnmr61p0RX
QNXLTWYH2YZR/ewV8ATyT/JNOxxV5birsVdirsVdirsVdirsVdirsVdirsVdirsVdirsVfZ3/OOn
kRfLPkGC9uI+Oqa7xvbkkUZYiP8AR4/oQ8vmxxV6nirsVWXFxBbwSXFxIsUEKtJLK5CqiKKszE7A
ACpOKvj/APO788r7zjdy6Nokr23leFuJpVXvGU/bk7+nt8CfS29AqryHFXYq7FXYq7FXYq9D/KP8
4dZ8g6oqMXu/L1w3+nadXpXYzQ12WQfc3Q9iFX2jous6brWlWuraZOtzYXkYlt5l6FT4+BB2IO4O
2Ko3FXYqw/8ANjyPF508j6ho4UfXVX6xprn9m5iBKb9ue6H2bFXwe6OjsjqVdSQykUII2IIOKtYq
7FXYq7FXYq7FXYq7FXYq7FXYq7FXYq7FWR/l15ZPmfzxouhkExXlyguAOvoR1kmI+USNir79RERF
RFCooAVQKAAbAADFW8Vdir55/wCcp/zIltLeDyTpsxSS7QXGsOh3ENf3UBp/ORyYeFOxxV8yYq7F
XYq7FXYq7FXYq7FXu/8Azi9+ZEum663k7UJidO1Qs+ncztFdgVKCvQSqP+CA8Tir6qxV2KuxV8R/
n/5WXy9+Z+qRxJwtdS46jbKNhS4r6lAO3rK4GKvOsVdirsVdirsVdirsVdirsVdirsVdirsVdir2
3/nE7Rlu/P19qUi8l02wf02/llndUB/5Fhxir60xV2KrJ5ooIZJ5mCRRKXkc9FVRUk/IYq/Przl5
juPMvmrVNduCeeoXDyqrdVjJpGn+wjCqPliqTYq7FXYq7FXYq7FXYq7FVayvLmyvIL21kMV1bSJN
BKvVZI2DKw+RGKv0H8q67Dr/AJa0vW4QAmo2sVxwG/FpEBZP9i1VxVNMVdir5w/5y/0ZeHlzWkX4
q3FnM3iPhkiH0fHir5txV2KuxV2KuxV2KuxV2KuxV2KuxV2KuxV2KvpX/nD22QW3mm6p8bPZxBiO
gUTMQD78t/oxV9GYq7FWJ/mxfyWH5aeZrmMkSDT541I6gyoY6/RzxV8FYq7FXYq7FXYq7FXYq7FX
Yq7FX2j/AM42X8l1+Umlo5JNpLcwAnwEzOPuD0xV6hirsVeMf85X2qy/lrazcatb6nA4YDoGimQ1
Ph8X6sVfIuKuxV2KuxV2KuxV2KuxV2KuxV2KuxV2KuxV9O/84fzltH8ywbUjuLZ/f40kH/GmKvoT
FXYqwr86Yml/KrzMqgkiyd9jTZCGP4DFXwnirsVdirsVdirsVdirsVdirsVfY/8Azi/AYvypgcgg
T3lzICTWtGCbeH2MVetYq7FXj/8AzlPMY/yu4UB9bULdN/ZXfb/gMVfH2KuxV2KuxV2KuxV2KuxV
2KuxV2KuxV2KuxV9Af8AOIWqLF5g8w6WT8V3aQ3IHj9WkKH/AKicVfUOKuxVA69pUer6HqOkyGke
oWs1q58FmjMZ/wCJYq/PG7tZ7S6mtLhSk9vI0UqHqroSrD6CMVUsVdirsVdirsVdirsVdirsVfen
5S6C+g/lt5e0yRSk0dossyHqslwTPIp+TyEYqy3FXYq8C/5y81NY/LGg6XX4rm9kuuO3S3iKV8f+
PjFXy3irsVdirsVdirsVdirsVdirsVdirsVdirsVeg/kJ5iGhfmnossjcbe+drCfelRcjhHU+Al4
HFX3BirsVdir5A/5yZ8hSaD52bXraOmma/WbkOiXa09dD/r7Sb9anwxV47irsVdirsVdirsVdirs
VZ7+SfkOTzj58srWWMtpdiwvNTanw+lEQRGf+Mr0T5VPbFX3JirsVdir5E/5yo8xDUfzDi0qNqw6
NaJE61rSef8AfOf+AaMfRirxnFXYq7FXYq7FXYq7FXYq7FXYq7FXYq7FXYqujkkjkWSNikiEMjA0
IINQQcVffP5beb4fN3krS9dVgZ7iELeKKfDcx/BMtB0+MEj2pirJsVdirH/PnkrSvOfli70HUhSO
cc7ecCrQzrX05V91PUdxUd8VfDPnHyfrflHX7nRNYhMVzAapIK+nNGSeEsTH7SNT+B3BGKpJirsV
dirsVdirsVRujaNqmtapb6Xpdu93f3biOCCMVLE/gABuSdgNzir7e/KT8tLHyD5YXT1KzapdETap
eLWkktKBVrvwjBov0nvirNsVdiqB17WrHQ9FvtYvm4WlhC9xMdqlY1JoK926AeOKvz78wa1ea5rl
/rF4a3WoTyXEtOgMjFuI9lrQe2KoDFXYq7FXYq7FXYq7FXYq7FXYq7FXYq7FXYq7FXt3/OMf5kLo
XmJ/K2oS8NM1pwbV2NFjvacV/wCRwAT5hcVfWeKuxV2KsW/MH8t/LXnnSPqGsQ0mjqbO/jAE8Dkd
UY9VP7SnY/OhxV8j/mL+SXnTyTLJPPbnUNGUkpqtqpaML/xcu7RH/W+HwJxV5/irsVdirsVZf5D/
ACq85+drlV0eyZbLlSbU56x2qUND8dPjI/lQE+2Kvrb8rvyf8ueQbGtsBea1MoW81WRQHYdSkQ39
OOvYHfuTtirPMVdirsVfOH/OVH5kLxi8jadLUnhc60ynpT4oYD+Ejf7HFXzbirsVdirsVdirsVdi
rsVdirsVdirsVdirsVdirsVbVmRgykqymqsNiCO4xV9j/kJ+cEPnLRV0jVZgPM+nRgS8iAbqFdhO
terD/dg8d+9Aq9ZxV2KuxVxAIoemKsE8zfkd+WPmJ2mu9Fitrp9zc2RNs9T1JEdEYnxZTirBLz/n
Ebya8nKz1nUIEJ+xL6Mv0AhI8VWW3/OInlJZK3OuX8sfdY1hjb/gmWT9WKsz8uf84+/lZocizLpI
1G4XpLqDm4H/ACKNIf8AhMVeiRRRQxJFEixxRgKkaAKqqNgABsBiq7FXYq7FWB/m9+aeneQfLrXF
Un1u7BTS7In7T03lcVr6ad/E7d64q+ItQ1C91G+uL++ma4vLqRpridzVndzVmPzOKofFXYq7FXYq
7FXYq7FXYq7FXYq7FXYq7FXYq7FXYq7FUZo2sanouqW2qaXcPa39o4kt54zRlYbfIgjYg7EbHFX2
N+T3536P56tUsL0pYeZol/fWVaJOFG8tuT18SnVfcb4q9PxV2KuxV2KuxV2KuxV2KuxV2KsH/ND8
2fL3kHTPUu2F1q86k2OlI1JJN6cnND6cYP7RHyqcVfGHm/zfrvm3XZ9a1qczXcxoqjaOKMfZiiXf
ii1/id6nFUlxV2KuxV2KuxV2KuxV2KuxV2KuxV2KuxV2KuxV2KuxV2KuxVUt7ie3njuLeRoZ4mDx
SxsVdGU1DKwoQQehGKvoX8sf+cpJbdItL88o08SgJHrUK1kAH/LREv2/9ZN/YnfFX0Vo2u6Nrdil
/pF7Df2cn2ZoHDr8jTofEHfFUdirsVdirsVdirsVUL6/sdPtZLu+uIrW1iHKW4mdY41HizMQBirw
X8y/+cpNPtFl03yQgvLvdG1iZT6EZ3FYY23kI7M3w+zDFXzTqmq6lq2oT6jqVzJd31y3Oe4mYs7H
3J8OgHbFULirsVdirsVdirsVdirsVdirsVdirsVdirsVdirsVdirsVdirsVdirsVTPQPM3mDy9ef
XdE1CfT7nYNJA5TkBvxcDZx7MCMVeweWf+csfONiqxa/p9trEY6zxn6pOfclA8R+iMYq9I0j/nKv
8uLtVF/Bf6bLT4+cSyxg+zRMzH/gBirI4P8AnIL8oJk5r5hRexD290hr8miGKrpPz/8AygjQu3mK
IgdQsFyx8OixE4qkGq/85TflhZqfqhvtSffj6EHprX3M7REfdirzvzL/AM5b+YblGi8vaPBpwOwu
bpzcyU8VQCJFPz5Yq8e80ed/Nnmm5Fxr+qT37KS0ccjUiQnr6cS8Y0/2K4qkeKuxV2KuxV2KuxV2
KuxV2KuxV2KuxVWvLWezu57S4XhPbyNFKh7OjFWH3jFVHFXYq7FXYq7FXYq7FXYq7FXYq7FXYq7F
XYq7FXYq7FXYq7FXYq7FXYq7FXYq7FXYq7FXYq7FXYqrWdrPeXcFpbrznuJFiiQd3dgqj7zir2r/
AJyT/Kq90fX5/OGmwmTRtUf1L8oK/V7pz8Rf/Ilb4g38xI8KqvD8VdirsVdirsVdirsVdirsVdir
sVdirsVdirsVdirsVdirsVdirsVdirsVdirsVdirsVdirsVdir3D/nGz8qr3WNfg84alCY9G0t/U
sC4p9YukPwlP8iJviLfzADxoq+qr/wCo/Ubj9Iel9R9NvrX1jj6PpUPP1Ofw8ePWu2Kvj780v+VA
/pGb/C/6Q+tb8vqHD9H8/wDJ+sfvOv8AJ8Phirzj/nXP+Xz/AJJYq7/nXP8Al8/5JYq7/nXP+Xz/
AJJYq7/nXP8Al8/5JYq7/nXP+Xz/AJJYq7/nXP8Al8/5JYq7/nXP+Xz/AJJYq7/nXP8Al8/5JYq7
/nXP+Xz/AJJYq7/nXP8Al8/5JYq7/nXP+Xz/AJJYq7/nXP8Al8/5JYq7/nXP+Xz/AJJYq7/nXP8A
l8/5JYq7/nXP+Xz/AJJYq7/nXP8Al8/5JYq7/nXP+Xz/AJJYq7/nXP8Al8/5JYq7/nXP+Xz/AJJY
q7/nXP8Al8/5JYq7/nXP+Xz/AJJYq7/nXP8Al8/5JYq7/nXP+Xz/AJJYq7/nXP8Al8/5JYq7/nXP
+Xz/AJJYq7/nXP8Al8/5JYq7/nXP+Xz/AJJYq7/nXP8Al8/5JYq9H/K3/lQP6Rh/xR+kPrW3H6/w
/R/P/K+r/vOv8/w+OKvsGw+o/Ubf9H+l9R9Nfqv1fj6PpUHD0+Hw8ePSm2Kv/9k=</xapGImg:image>
+ </rdf:li>
+ </rdf:Alt>
+ </xap:Thumbnails>
+ </rdf:Description>
+ <rdf:Description rdf:about=""
+ xmlns:xapMM="http://ns.adobe.com/xap/1.0/mm/">
+ <xapMM:DocumentID>uuid:258006696A75DD118BA9ECF03343FED2</xapMM:DocumentID>
+ <xapMM:InstanceID>uuid:58eb0fda-eb1b-d44b-8dab-63c8475080a1</xapMM:InstanceID>
+ <xapMM:DerivedFrom rdf:parseType="Resource"/>
+ </rdf:Description>
+ <rdf:Description rdf:about=""
+ xmlns:xapTPg="http://ns.adobe.com/xap/1.0/t/pg/"
+ xmlns:stDim="http://ns.adobe.com/xap/1.0/sType/Dimensions#"
+ xmlns:xapG="http://ns.adobe.com/xap/1.0/g/">
+ <xapTPg:NPages>1</xapTPg:NPages>
+ <xapTPg:HasVisibleTransparency>False</xapTPg:HasVisibleTransparency>
+ <xapTPg:HasVisibleOverprint>False</xapTPg:HasVisibleOverprint>
+ <xapTPg:MaxPageSize rdf:parseType="Resource">
+ <stDim:w>595.275574</stDim:w>
+ <stDim:h>841.889832</stDim:h>
+ <stDim:unit>Points</stDim:unit>
+ </xapTPg:MaxPageSize>
+ <xapTPg:PlateNames>
+ <rdf:Seq>
+ <rdf:li>Cyan</rdf:li>
+ <rdf:li>Magenta</rdf:li>
+ <rdf:li>Yellow</rdf:li>
+ <rdf:li>Black</rdf:li>
+ </rdf:Seq>
+ </xapTPg:PlateNames>
+ <xapTPg:SwatchGroups>
+ <rdf:Seq>
+ <rdf:li rdf:parseType="Resource">
+ <xapG:groupName>Default Swatch Group</xapG:groupName>
+ <xapG:groupType>0</xapG:groupType>
+ </rdf:li>
+ </rdf:Seq>
+ </xapTPg:SwatchGroups>
+ </rdf:Description>
+ <rdf:Description rdf:about=""
+ xmlns:illustrator="http://ns.adobe.com/illustrator/1.0/">
+ <illustrator:Type>Document</illustrator:Type>
+ </rdf:Description>
+ </rdf:RDF>
+</x:xmpmeta>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+<?xpacket end="w"?>\rendstream\rendobj\r2 0 obj\r<</Count 1/Type/Pages/Kids[5 0 R]>>\rendobj\r13 0 obj\r<</Intent 14 0 R/Usage 15 0 R/Name(Layer 1)/Type/OCG>>\rendobj\r33 0 obj\r<</Intent 34 0 R/Usage 35 0 R/Name(Layer 1)/Type/OCG>>\rendobj\r34 0 obj\r[/View/Design]\rendobj\r35 0 obj\r<</CreatorInfo<</Subtype/Artwork/Creator(Adobe Illustrator 13.0)>>>>\rendobj\r14 0 obj\r[/View/Design]\rendobj\r15 0 obj\r<</CreatorInfo<</Subtype/Artwork/Creator(Adobe Illustrator 13.0)>>>>\rendobj\r32 0 obj\r[33 0 R]\rendobj\r5 0 obj\r<</Parent 2 0 R/Contents 37 0 R/BleedBox[0.0 0.0 595.276 841.89]/PieceInfo<</Illustrator 26 0 R>>/ArtBox[210.794 383.14 386.018 517.067]/MediaBox[0.0 0.0 595.276 841.89]/Thumb 41 0 R/TrimBox[0.0 0.0 595.276 841.89]/Resources<</Properties<</MC0 33 0 R>>/ExtGState<</GS0 36 0 R>>>>/Type/Page/LastModified(D:20080827013318+02'00')>>\rendobj\r37 0 obj\r<</Length 367/Filter/FlateDecode>>stream\r
+H\89dSKNÄ0\fÝû\14¾@<\89ãü¶\f\88\15B#\16\1c \82Ù\14¤\ 1 \89Ûã|\1aè ª\8dÞs\9eÿ=<\1eñðp´xs{D¸\80Å,\8erÁP\ 2q\8ah\ 6þx\81g|\aK\8cÛûq\86Ãý\93Åó'\СÕÇ!\97L) /\89¢/\11\977¨\8670\1cÉ*aÑH"\ eÈ\8e\\90\rõï\ 2\ 3&O^4ú\10\15¡ Êv,ð\97Ü]ß»Ú\85\99Ñë³@ÒêbFg=\89M\9aÞ\8eh\9e\9c\96±ÁoÐ.pV»\13ò!á
+^ëô\1e\1dk+DÐ{ââÔ^ÈgQ\81ñLÑÊdVe2Y SbÄR\9c\1e¿´ôH\92Ó\fº6&ë\10¶4\95Ñ<KØ1\99)d?\19\93S»¡s°^~¡kVmð \8cÊ\9a|ÀB\8e«º{3®6w\8bÖÑìZ\87+äº\19a@õÓlÝÏ\86¸é\ 6\1a9¬\13÷\14\87\9b\80«Ñ,ð
+§ÿ\v&:ò«\ 5sA\9b\95ë\82q»b\1c+Á\13öC;0°\bE®Õt\9d ©-Y?\17ØÑ{É\95Ã}¸\99Fß´\9aýÝ\83þ\'ø\11`\0¬û¨Ã\rendstream\rendobj\r41 0 obj\r<</Length 128/Filter[/ASCII85Decode/FlateDecode]/BitsPerComponent 8/ColorSpace 39 0 R/Width 74/Height 105>>stream\r
+8;Z]_Yml4+&4"WoDZ<jAa$LFCXc>1Mo3R%`r"&q<"onY).SaQKM,HGb$`-bWif_a:
+c'OHO<_s^TD!A6l5F0I;.;m+HBlAs^.ohIE1A=s5T9edA.KBGK]Pe_hQ/.YU~>\rendstream\rendobj\r36 0 obj\r<</OPM 1/BM/Normal/CA 1.0/OP false/SMask/None/ca 1.0/AIS false/op false/Type/ExtGState/SA true>>\rendobj\r39 0 obj\r[/Indexed/DeviceRGB 255 40 0 R]\rendobj\r40 0 obj\r<</Length 428/Filter[/ASCII85Decode/FlateDecode]>>stream\r
+8;X]O>EqN@%''O_@%e@?J;%+8(9e>X=MR6S?i^YgA3=].HDXF.R$lIL@"pJ+EP(%0
+b]6ajmNZn*!='OQZeQ^Y*,=]?C.B+\Ulg9dhD*"iC[;*=3`oP1[!S^)?1)IZ4dup`
+E1r!/,*0[*9.aFIR2&b-C#s<Xl5FH@[<=!#6V)uDBXnIr.F>oRZ7Dl%MLY\.?d>Mn
+6%Q2oYfNRF$$+ON<+]RUJmC0I<jlL.oXisZ;SYU[/7#<&37rclQKqeJe#,UF7Rgb1
+VNWFKf>nDZ4OTs0S!saG>GGKUlQ*Q?45:CI&4J'_2j<etJICj7e7nPMb=O6S7UOH<
+PO7r\I.Hu&e0d&E<.')fERr/l+*W,)q^D*ai5<uuLX.7g/>$XKrcYp0n+Xl_nU*O(
+l[$6Nn+Z_Nq0]s7hs]`XX1nZ8&94a\~>\rendstream\rendobj\r26 0 obj\r<</Private 27 0 R/LastModified(D:20080827013318+02'00')>>\rendobj\r27 0 obj\r<</RoundtripVersion 13/CreatorVersion 13/ContainerVersion 11/AIMetaData 28 0 R/AIPrivateData1 29 0 R/AIPrivateData2 30 0 R/NumBlock 2/RoundtripStreamType 1>>\rendobj\r28 0 obj\r<</Length 931>>stream\r
+%!PS-Adobe-3.0 \r%%Creator: Adobe Illustrator(R) 13.0\r%%AI8_CreatorVersion: 13.0.0\r%%For: (Diego Lafuente) ()\r%%Title: (camera-icon-draw.ai)\r%%CreationDate: 8/27/08 1:33 AM\r%%BoundingBox: 210 383 387 518\r%%HiResBoundingBox: 210.7944 383.1396 386.0176 517.0674\r%%DocumentProcessColors: Cyan Magenta Yellow Black\r%AI5_FileFormat 9.0\r%AI12_BuildNumber: 386\r%AI3_ColorUsage: Color\r%AI7_ImageSettings: 0\r%%RGBProcessColor: 0 0 0 ([Registration])\r%AI3_TemplateBox: 298.5 420.3896 298.5 420.3896\r%AI3_TileBox: 18.1377 40.9443 577.1377 823.9448\r%AI3_DocumentPreview: None\r%AI5_ArtSize: 595.2756 841.8898\r%AI5_RulerUnits: 2\r%AI9_ColorModel: 1\r%AI5_ArtFlags: 0 0 0 1 0 0 1 0 0\r%AI5_TargetResolution: 800\r%AI5_NumLayers: 1\r%AI9_OpenToView: -87 724.5562 1.5 1230 885 26 1 0 6 75 0 0 1 1 0 0 1\r%AI5_OpenViewLayers: 7\r%%PageOrigin:0 0\r%AI7_GridSettings: 72 8 72 8 1 0 0.8 0.8 0.8 0.9 0.9 0.9\r%AI9_Flatten: 1\r%AI12_CMSettings: 00.MS\r%%EndComments\r\rendstream\rendobj\r29 0 obj\r<</Length 13866>>stream\r
+%%BoundingBox: 210 383 387 518\r%%HiResBoundingBox: 210.7944 383.1396 386.0176 517.0674\r%AI7_Thumbnail: 128 100 8\r%%BeginData: 13714 Hex Bytes\r%0000330000660000990000CC0033000033330033660033990033CC0033FF\r%0066000066330066660066990066CC0066FF009900009933009966009999\r%0099CC0099FF00CC0000CC3300CC6600CC9900CCCC00CCFF00FF3300FF66\r%00FF9900FFCC3300003300333300663300993300CC3300FF333300333333\r%3333663333993333CC3333FF3366003366333366663366993366CC3366FF\r%3399003399333399663399993399CC3399FF33CC0033CC3333CC6633CC99\r%33CCCC33CCFF33FF0033FF3333FF6633FF9933FFCC33FFFF660000660033\r%6600666600996600CC6600FF6633006633336633666633996633CC6633FF\r%6666006666336666666666996666CC6666FF669900669933669966669999\r%6699CC6699FF66CC0066CC3366CC6666CC9966CCCC66CCFF66FF0066FF33\r%66FF6666FF9966FFCC66FFFF9900009900339900669900999900CC9900FF\r%9933009933339933669933999933CC9933FF996600996633996666996699\r%9966CC9966FF9999009999339999669999999999CC9999FF99CC0099CC33\r%99CC6699CC9999CCCC99CCFF99FF0099FF3399FF6699FF9999FFCC99FFFF\r%CC0000CC0033CC0066CC0099CC00CCCC00FFCC3300CC3333CC3366CC3399\r%CC33CCCC33FFCC6600CC6633CC6666CC6699CC66CCCC66FFCC9900CC9933\r%CC9966CC9999CC99CCCC99FFCCCC00CCCC33CCCC66CCCC99CCCCCCCCCCFF\r%CCFF00CCFF33CCFF66CCFF99CCFFCCCCFFFFFF0033FF0066FF0099FF00CC\r%FF3300FF3333FF3366FF3399FF33CCFF33FFFF6600FF6633FF6666FF6699\r%FF66CCFF66FFFF9900FF9933FF9966FF9999FF99CCFF99FFFFCC00FFCC33\r%FFCC66FFCC99FFCCCCFFCCFFFFFF33FFFF66FFFF99FFFFCC110000001100\r%000011111111220000002200000022222222440000004400000044444444\r%550000005500000055555555770000007700000077777777880000008800\r%000088888888AA000000AA000000AAAAAAAABB000000BB000000BBBBBBBB\r%DD000000DD000000DDDDDDDDEE000000EE000000EEEEEEEE0000000000FF\r%00FF0000FFFFFF0000FF00FFFFFF00FFFFFF\r%524C45FD25FF7DFD352752FD47FFA82727F827F827F827F827F827F827F8\r%27F827F827F827F827F827F827F827F827F827F827F827F827F827F827F8\r%27F827F827F827F827F8F827FD46FFFD3B27FD44FF7DF8F827F827F827F8\r%27F827F827F827F827F827F827F827F827F827F827F827F827F827F827F8\r%27F827F827F827F827F827F827F827F827F827F8F87DFD43FF52F8FD3927\r%F852FD42FF7DF827F827F827F827F827F827F827F827F827F827F827F827\r%F827F827F827F827F827F827F827F827F827F827F827F827F827F827F827\r%F827F827F827F87DFD41FFFD3F27FD40FF5227F827F827F827F827F827F8\r%27F827F827F827F827F827F827F827F827F827F827F827F827F827F827F8\r%27F827F827F827F827F827F827F827F827F827F8F852FD3FFFFD3F27F827\r%FD3EFF7DF827F827F827F827F827F827F827F827F827F827F827F827F827\r%F827F827F827F827F827F827F827F827F827F827F827F827F827F827F827\r%F827F827F827F827F87DFD3DFFFD4327FD26FFFD16A85227F827F827F827\r%F827F827F827F827F827F827F827F827F827F827F827F827F827F827F827\r%F827F827F827F827F827F827F827F827F827F827F827F827F827F827F8F8\r%52FFFD15A8FD0CFF7D52FD73277DFD08FFA827F8F827F827F827F827F827\r%F827F827F827F827F827F827F827F827F827F827F827F827F827F827F827\r%F827F827F827F827F827F827F827F827F827F827F827F827F827F827F827\r%F827F827F827F827F827F827F827F827F827F827F827F827F827F827F827\r%F827F827F827F827F827F827F827F827F8277DFD05FF7DF8FD7727F8277D\r%FFFFFFA8F827F827F827F827F827F827F827F827F827F827F827F827F827\r%F827F827F827F827F827F827F827F827F827F827F827F827F827F827F827\r%F827F827F827F827F827F827F827F827F827F827F827F827F827F827F827\r%F827F827F827F827F827F827F827F827F827F827F827F827F827F827F827\r%F827F827F827F8277DFFFFFD7C27F827FF7D27F827F827F827F827F827F8\r%27F827F827F827F827F827F827F827F827F827F827F827F827F827F827F8\r%27F827F827F827F827F827F827F827F827F827F827F827F827F827F827F8\r%27F827F827F827F827F827F827F827F827F827F827F827F827F827F827F8\r%27F827F827F827F827F827F827F827F827F827F827F827F87D52F8FD3527\r%F827F8272752527D527DFD04522727F827F8FD352752F827F827F827F827\r%F827F827F827F827F827F827F827F827F827F827F827F827F827F827F827\r%F827F827F827F827F827F827F827F8F8F85252A8A8FD0AFFA87D7D5227F8\r%27F827F827F827F827F827F827F827F827F827F827F827F827F827F827F8\r%27F827F827F827F827F827F827F827F827F827F827F8FD3227F82727527D\r%FD14FFA87D52F8FD3227F827F827F827F827F827F827F827F827F827F827\r%F827F827F827F827F827F827F827F827F827F827F827F827F827F827F827\r%52FD1AFFA82727F827F827F827F827F827F827F827F827F827F827F827F8\r%27F827F827F827F827F827F827F827F827F827F827F827F8FD31277DA8FD\r%1DFF7D52F8FD2E27F827F827F827F827F827F827F827F827F827F827F827\r%F827F827F827F827F827F827F827F827F827F827F827F82752A8FD21FFA8\r%27F8F827F827F827F827F827F827F827F827F827F827F827F827F827F827\r%F827F827F827F827F827F827F827F8FD2C27F852A8FD25FF52FD2C27F827\r%F827F827F827F827F827F827F827F827F827F827F827F827F827F827F827\r%F827F827F827F827F827F852A8FD27FF7D27F827F827F827F827F827F827\r%F827F827F827F827F827F827F827F827F827F827F827F827F827F827F8FD\r%2A27F87DFD2AFFA852F8FD2827F827F827F827F827F827F827F827F827F8\r%27F827F827F827F827F827F827F827F827F827F827F827F87DFD2CFFA852\r%F827F827F827F827F827F827F827F827F827F827F827F827F827F827F827\r%F827F827F827F827F8FD2827F8A8FD2FFF52F8FD2627F827F827F827F827\r%F827F827F827F827F827F827F827F827F827F827F827F827F827F827F827\r%F8A8FD31FF52F827F827F827F827F827F827F827F827F827F827F827F827\r%F827F827F827F827F827F827F8FD2627F87DFD33FF27F8FD2427F827F827\r%F827F827F827F827F827F827F827F827F827F827F827F827F827F827F827\r%F827F852FD34FFA827F827F827F827F827F827F827F827F827F827F827F8\r%27F827F827F827F827F827F827F8FD2427F852FD16FFA8A87D7D5252527D\r%7DA8A8FD15FF7DFD2427F827F827F827F827F827F827F827F827F827F827\r%F827F827F827F827F827F827F827F827A8FD13FFA87D2727F827F827F827\r%F8F8F827277DA8FD13FF5227F827F827F827F827F827F827F827F827F827\r%F827F827F827F827F827F827F827F8FD24277DFD12FFA85227F8FD0B27F8\r%27F82752FD13FFFD2327F827F827F827F827F827F827F827F827F827F827\r%F827F827F827F827F827F827F82727FD11FFA852F827F827F827F827F827\r%F827F827F827F827F8F8F87DFD11FFA8F827F827F827F827F827F827F827\r%F827F827F827F827F827F827F827F827F827F8FD2227F8A8FD10FF7D27F8\r%FD1527F852FD11FF52F8FD2027F827F827F827F827F827F827F827F827F8\r%27F827F827F827F827F827F827F827F852FD10FF5227F827F827F827F827\r%F827F827F827F827F827F827F827F827F827A8FD0FFF7D27F827F827F827\r%F827F827F827F827F827F827F827F827F827F827F827F827F8FD2027F827\r%A8FD0FFF7D27F8FD1927F827A8FD0FFF52FD2027F827F827F827F827F827\r%F827F827F827F827F827F827F827F827F827F827F82727FD0FFF5227F827\r%F827F827F827F827F827F827F827F827F827F827F827F827F827F827A8FD\r%0EFFA8F827F827F827F827F827F827F827F827F827F827F827F827F827F8\r%27F827F8FD2027F8A8FD0EFF7DFD1F27F852FD0FFF52F8FD1E27F827F827\r%F827F827F827F827F827F827F827F827F827F827F827F827F827F827A8FD\r%0DFFA827F827F827F827F827F827F827F827F827F827F827F827F827F827\r%F827F827F827F87DFD0EFF7D27F827F827F827F827F827F827F827F827F8\r%27F827F827F827F827F827F8FD202752FD0EFF52F8FD2127F8A8FD0EFFF8\r%FD1E27F827F827F827F827F827F827F827F827F827F827F827F827F827F8\r%27F827F8A8FD0DFFA8F827F827F827F827F827F827F827F827F827F827F8\r%27F827F827F827F827F827F827F8F827FD0EFF52F827F827F827F827F827\r%F827F827F827F827F827F827F827F827F827F8FD1E27F827FD0EFF52FD25\r%27A8FD0DFF7DFD1E27F827F827F827F827F827F827F827F827F827F827F8\r%27F827F827F827F82727FD0DFFA827F827F827F827F827F827F827F827F8\r%27F827F827F827F827F827F827F827F827F827F827F852FD0DFFA8F827F8\r%27F827F827F827F827F827F827F827F827F827F827F827F827F8FD1E27F8\r%7DFD0DFF7DF8FD2627FD0EFF27F8FD1C27F827F827F827F827F827F827F8\r%27F827F827F827F827F827F827F827F8277DFD0DFF2727F827F827F827F8\r%27F827F827F827F827F827F827F827F827F827F827F827F827F827F827F8\r%F87DFD0DFF2727F827F827F827F827F827F827F827F827F827F827F827F8\r%27F827F8FD1F27A8FD0CFFA8FD2727F87DFD0DFF52F8FD1C27F827F827F8\r%27F827F827F827F827F827F827F827F827F827F827F827F827A8FD0CFF7D\r%F827F827F827F827F827F827F827F827F827F827F827F827F827F827F827\r%F827F827F827F827F82727FD0DFF52F8F827F827F827F827F827F827F827\r%F827F827F827F827F827F827F8FD1F27FD0DFF52FD2927A8FD0CFF7DF8FD\r%1C27F827F827F827F827F827F827F827F827F827F827F827F827F827F827\r%F827A8FD0CFF52F827F827F827F827F827F827F827F827F827F827F827F8\r%27F827F827F827F827F827F827F827F827F8A8FD0CFF7D27F827F827F827\r%F827F827F827F827F827F827F827F827F827F827F8FD1F27FD0DFF52FD29\r%27A8FD0CFFA8F8FD1C27F827F827F827F827F827F827F827F827F827F827\r%F827F827F827F827F852FD0DFF52F827F827F827F827F827F827F827F827\r%F827F827F827F827F827F827F827F827F827F827F827F827F8A8FD0CFF7D\r%27F827F827F827F827F827F827F827F827F827F827F827F827F827F8FD1E\r%2752FD0DFF52FD2727F827A8FD0CFFA8F8FD1C27F827F827F827F827F827\r%F827F827F827F827F827F827F827F827F827F852FD0DFF52F827F827F827\r%F827F827F827F827F827F827F827F827F827F827F827F827F827F827F827\r%F827F827F8A8FD0CFF7D27F827F827F827F827F827F827F827F827F827F8\r%27F827F827F827F8FD1F27FD0DFF52FD2927A8FD0CFFA8F8FD1C27F827F8\r%27F827F827F827F827F827F827F827F827F827F827F827F827F827FD0DFF\r%7DF827F827F827F827F827F827F827F827F827F827F827F827F827F827F8\r%27F827F827F827F827F82727FD0DFF7DF8F827F827F827F827F827F827F8\r%27F827F827F827F827F827F827F8FD1F27FD0DFF7D27F8FD2527F852FD0D\r%FF7DF8FD1C27F827F827F827F827F827F827F827F827F827F827F827F827\r%F827F827F8277DFD0DFF2727F827F827F827F827F827F827F827F827F827\r%F827F827F827F827F827F827F827F827F827F8F852FD0DFF2727F827F827\r%F827F827F827F827F827F827F827F827F827F827F827F8FD1E27F8A8FD0D\r%FF52F8FD2527F8A8FD0DFF52FD1D27F827F827F827F827F827F827F827F8\r%27F827F827F827F827F827F827F8F852FD0DFF7DF8F827F827F827F827F8\r%27F827F827F827F827F827F827F827F827F827F827F827F827F827F827FD\r%0DFFA8F827F827F827F827F827F827F827F827F827F827F827F827F827F8\r%27F8FD1E27F852FD0EFFFD262752FD0DFF7D27F8FD1C27F827F827F827F8\r%27F827F827F827F827F827F827F827F827F827F827F827F8A8FD0DFF7DF8\r%27F827F827F827F827F827F827F827F827F827F827F827F827F827F827F8\r%27F827F82727FD0EFF52F827F827F827F827F827F827F827F827F827F827\r%F827F827F827F827F8FD20277DFD0EFF27F8FD2127F87DFD0EFFFD1F27F8\r%27F827F827F827F827F827F827F827F827F827F827F827F827F827F827F8\r%52FD0EFF7DF8F827F827F827F827F827F827F827F827F827F827F827F827\r%F827F827F827F827F827FD0EFF7D27F827F827F827F827F827F827F827F8\r%27F827F827F827F827F827F827F8FD2127FD0FFF52FD2127A8FD0EFF7DF8\r%FD1E27F827F827F827F827F827F827F827F827F827F827F827F827F827F8\r%27F827F82752FD0FFF27F8F827F827F827F827F827F827F827F827F827F8\r%27F827F827F827F827F8F852FD0FFF2727F827F827F827F827F827F827F8\r%27F827F827F827F827F827F827F827F8FD2227FD10FFFD1E2752FD0FFF7D\r%FD2027F827F827F827F827F827F827F827F827F827F827F827F827F827F8\r%27F827F827F87DFD0FFFA8F827F827F827F827F827F827F827F827F827F8\r%27F827F827F827F8F852FD0FFFA827F827F827F827F827F827F827F827F8\r%27F827F827F827F827F827F827F827F8FD2327FD11FFFD1827F8277DFD10\r%FF7DF8FD2027F827F827F827F827F827F827F827F827F827F827F827F827\r%F827F827F827F827F82752FD11FF5227F827F827F827F827F827F827F827\r%F827F827F827F8277DFD11FF2727F827F827F827F827F827F827F827F827\r%F827F827F827F827F827F827F827F8FD2427A8FD11FFA852F8FD0F27F827\r%277DFD12FF52FD2227F827F827F827F827F827F827F827F827F827F827F8\r%27F827F827F827F827F827F827F852FD13FF7D2727F827F827F827F827F8\r%27F827F82752A8FD12FFA827F827F827F827F827F827F827F827F827F827\r%F827F827F827F827F827F827F827F8FD2427F87DFD14FFA87D52FD0527F8\r%27275252A8FD15FF27F8FD2227F827F827F827F827F827F827F827F827F8\r%27F827F827F827F827F827F827F827F827F827F8A8FD16FFA8A87DA87DA8\r%A8FD18FF52F827F827F827F827F827F827F827F827F827F827F827F827F8\r%27F827F827F827F827F8FD2727FD34FF7DF8FD2427F827F827F827F827F8\r%27F827F827F827F827F827F827F827F827F827F827F827F827F827F8F827\r%FD32FFA8F827F827F827F827F827F827F827F827F827F827F827F827F827\r%F827F827F827F827F827F8FD282752FD30FFA8FD2727F827F827F827F827\r%F827F827F827F827F827F827F827F827F827F827F827F827F827F827F827\r%F8F827FD2EFFA8F827F827F827F827F827F827F827F827F827F827F827F8\r%27F827F827F827F827F827F827F827F8FD2A2752FD2CFFA8F8FD2827F827\r%F827F827F827F827F827F827F827F827F827F827F827F827F827F827F827\r%F827F827F827F827F82727A8FD29FF7DF827F827F827F827F827F827F827\r%F827F827F827F827F827F827F827F827F827F827F827F827F827F8FD2D27\r%7DFD26FFA852F8FD2A27F827F827F827F827F827F827F827F827F827F827\r%F827F827F827F827F827F827F827F827F827F827F827F827F852A8FD23FF\r%7D27F827F827F827F827F827F827F827F827F827F827F827F827F827F827\r%F827F827F827F827F827F827F827F8FD2E27F8277DFD20FFA852FD2E27F8\r%27F827F827F827F827F827F827F827F827F827F827F827F827F827F827F8\r%27F827F827F827F827F827F827F827F827277DA8FD1BFF7D52F827F827F8\r%27F827F827F827F827F827F827F827F827F827F827F827F827F827F827F8\r%27F827F827F827F827F827F8FD3227F82752FD17FFA8A85227F8FD3027F8\r%27F827F827F827F827F827F827F827F827F827F827F827F827F827F827F8\r%27F827F827F827F827F827F827F827F827F827F8F8F8527DA8A8FD0FFFA8\r%A85227F827F827F827F827F827F827F827F827F827F827F827F827F827F8\r%27F827F827F827F827F827F827F827F827F827F827F827F8FD3627F827F8\r%52527D7DA8A8FFA8FFA8FFA8A87D7D2727F827F8FD3427F827F827F827F8\r%27F827F827F827F827F827F827F827F827F827F827F827F827F827F827F8\r%27F827F827F827F827F827F827F827F827F827F827F827F8272727F82727\r%27F827F827F827F827F827F827F827F827F827F827F827F827F827F827F8\r%27F827F827F827F827F827F827F827F827F827F827F827F827F827F827F8\r%FD3E27F8272727F8FD3E27F827F827F827F827F827F827F827F827F827F8\r%27F827F827F827F827F827F827F827F827F827F827F827F827F827F827F8\r%27F827F827F827F827F827F827F827F827F827F827F827F827F827F827F8\r%27F827F827F827F827F827F827F827F827F827F827F827F827F827F827F8\r%27F827F827F827F827F827F827F827F827F8FD812752F8F827F827F827F8\r%27F827F827F827F827F827F827F827F827F827F827F827F827F827F827F8\r%27F827F827F827F827F827F827F827F827F827F827F827F827F827F827F8\r%27F827F827F827F827F827F827F827F827F827F827F827F827F827F827F8\r%27F827F827F827F827F827F827F827F827F827F827F827F827F827F852A8\r%F8FD7D277DFF52F827F827F827F827F827F827F827F827F827F827F827F8\r%27F827F827F827F827F827F827F827F827F827F827F827F827F827F827F8\r%27F827F827F827F827F827F827F827F827F827F827F827F827F827F827F8\r%27F827F827F827F827F827F827F827F827F827F827F827F827F827F827F8\r%27F827F827F827F827F82727FFFFA827F8FD7A27FD04FF7D27F827F827F8\r%27F827F827F827F827F827F827F827F827F827F827F827F827F827F827F8\r%27F827F827F827F827F827F827F827F827F827F827F827F827F827F827F8\r%27F827F827F827F827F827F827F827F827F827F827F827F827F827F827F8\r%27F827F827F827F827F827F827F827F827F827F827F827F8F8F8A8FD05FF\r%A852F8272727F8272727F8272727F8272727F8272727F8272727F8272727\r%F8272727F8272727F8272727F8272727F8272727F8272727F8272727F827\r%2727F8272727F8272727F8272727F8272727F8272727F8272727F8272727\r%F8272727F8272727F8272727F8272727F8272727F8272727F8272727F827\r%52A8FD08FFA85252FD7127527DFD04FFFF\r%%EndData\r\rendstream\rendobj\r30 0 obj\r<</Length 21485>>stream\r
+%AI12_CompressedDatax\9cݽ÷zòº²8üÝ\0÷\0 ½ÚôÞk\80@\ 2\84\90F(¦\84\1a\eÖÚïùã\û'ÉݸQÖ³öù=ûYï\ e¶<#\8dFÓ4#YLí\8e'7Ý\8d OÀ\8b\19\r\16K\81$F\87\1d\197¢§ÆÚz}¤\ e$|d\7fv\18qÐ
+4ÊÕ¢C¦á\vARËÝ6\8e^¡\97eøµ½¸$æ;cc4;\12Û\ 3á0Ú\1dàUwyX\13àåd´!È\91g9Ùm=Srô·w´t°¸\ 1°âè\0ZE}þ\88\ f\8b\1añx `Ì5Áûüî¸\9d.·óüî?q£\1fÇ\8c\81h\0ü\171\86ð(x]]>\13\94´\8d7\12\v\ 6aC/\1e\88\85Á\1fa/\86GÂà\93\88\17\vG\82à»ânrÜ\80^¶ÉÝ\84 ¨Ân½#©¸±ðg´56Gsðfd\1c\10ëõîoc~=\9a¬\f`ü¡ay¹&ÀP7£\831\ 6Ç\9d«áþaþ¸\O\1f\8f\9b1\ 1h\0pÁÇ\81!\82Ø£\0(\0\15þ\r\1fG\86µ\rxÒ!\ e\aÐ]\80\ fÒî¹\92\17ö\ 2<Dÿ³¿?\13ó%\9a\a@\9eO\a\r¶Klök@*z¨±¨7d\fú1o
+Æ)þÉ´\a=Fmñ( F$b\fb^@\9c\801\14\89Ð\ f¢þ\0|\12¥Ûót!þZ\12\7fÇ\8d\8f»-A\ f>G\1e:Ëÿ\ 1à ÅB^\7f$\146F\83¸7\1a\8dEé÷ÏÇ5Aö¶Ë\ 3\18\97\1f>\8aÑDhî¦Ä\1at\80\83R^\8fÐØÑÿpþ_ºAwDÎ\89\ 3\98ÕÝúx@\\16Å\98W\80È\8dÑ\1f\ 2N\14N#hí\89mw÷\82zê\ 1L\11ñ\a½¡PØoÄ\ 1%p\7f\03F£!£?\8c\10\84\8d\91\10\83\8dÁJ\83\85@ \b\16v\ 4LJ\eLS\8b\Î\97Û8ӳȰB.§üÔEüÆ(ý\ f\ 2æ\8d
+þ\8b±ÿѽ\ 4\ 3>\1c\88-ÓkÀ2\85¦\80\ 50o³\ 30\96¶ÓÂn\ 3iOA¶\as¿\ 5l±ÞÍéwÜßè\røü¸§{\8f~\ fÁ4µÉå\16Â4<¢7Ña{}\ 4¯*ämg;\83\9d^ÞíÑa\ 1\98\9aØN)°DégôO#ý\ 5xÚXþEÐÏÀ2Ý;TáuÉÑ\ 4 5¶Æ?Ää\0>f\1eð\7fu\8eË\ 3¡\r¨3\81d"\8dyòH-\8cÝÝnÍõOü\8aë&ó\18=\85íÿ;p´Ñ\aÛÖ\96¦ô)&¦\81\14\13X\1aÿuX@ke\fàå\7f3ôÂh½^ÎÉÑ~±\9cÈ!\90yÏa¢ß\9d\81\f¬q\92à¿G?Ùÿ×Á\96\7f6ãÝzImxn\14<i\8fÈÃr²&:\7f¨\ 3±Ñ\86V$f@I È\86\9e\96¶\7f\11ëÝ^ÐIîÉh;5öGä^\r4\9c¦Ùr;\ 5+\ 4g\9e\8c»Í\1e*`cg1Ú\13¨»\87E\19µìè`ãõh;"\8dè9\a\12\8a\1fÀ¿@\9e\89E\12ý\8c\ 3\1a\1a\ 2Á(\14}\1e\8fºL\8cÑo &;üY\13\94ÁWßîþÞ¢\1fƸÁþ\ e(7:®\ f\9f\ e£ï\11Ø+F·Á×Y\ 2\8dK°M0cË\80qª\vþïu\ 4\1e<\e\80Ñ\11\8ca~ ôÃ\91h0\80£?°P\14©\ 3\f\8f\85qæ«×\9c\81ÕzàÇ\1fðã\ 1üñ\ 3\1eým\f\1a\9bÆ÷OÌ8\ 5O_\9f\r\büÔà£)\910\18} \7fàÿÑHÀÐùqh\12£=Z\ 3\8dC ¾·Çú{+µBа_ÿÇpb\9d´'\86v\9eë\a\8bî\9cÙh\0pÂ)8\19&jpÉ´ã\18ý\8a^S\10ÌÿÇ<\ 6\80$\ f\15\803}eÍ#`\8e\f\96¡\8fý\r8\ 3þZN 5Fä\1fÙß\81°Ñ÷L\8cÖFû~4\9d:\0sY\86\98Ñ\97\aòÅhß\8c¨\15ý\bg\1fQûÝAÒj\ 4$\ 2ý\bX\1e¾\1a@l\9fî\97^úQ\90y2ÙIúI\ 2,¨\9a1w<ì\8cÏ# ;H`¿I \82¡\19÷`Ý\92Fj¹9®Ñtrý@à`\v \80Æ»\1195N EG¿÷½6\e\8fÀ¶\93\1d+Àü\9fÍz\v^{\80\1a"\97ãã\81`zîË\91ä\88¡Ð?\fâ\ 6ð\ 5&\v`è\93\ 4C\1e\96þì[øÏáÏ\9e¡¯Ýº¥\86\7f\8dH*\ 1DI\a@\a\ 6\92¨é_£õ\91m\v\9fS
+í¶@\fq\93É4tÿ\9f§Îx\89\1c6\\aq\0\11\81µû\88È M!aë\e1é¥cÜ\ 2ÏIÇøÖ»É\8a\98ê\19\eÛòFÓ\7fåèqÕÑë\9a×åh¼&ô0¾æLþ_Zèñ¿t/uØô_æb8¼É\91:ì6ÿ®$ûçø0N\8d \85\aU:\10\1dzÙñ\1f_\17 /ÿE]ù\7fa\95R³¿ÿ\8bµñ¿¼\f¨õrò\7f]\16ã\81\807æ\8fÄX3[i¬\vb9_èY]\Ë\7fW\bãa\18ôÖ\18ÔßËéa¡gLLÃ\7fwH\9eH4¦9¤ÿèZ\85ÿöP¸}\ 6\8dÑüÑ3\9a?ÿöh8ïSi\18ãÝ\ 1\18\ 3\rbv ããzFuúÍ\7f\81âG\12¯³;\92\13\ 2m ýë\9a\1fè§\7f»\v\eâ0\9a\ 2CèÚ~Ä®ìÇý\94 ¬èá.AcIh\ 3Ç\8dì;ã\92ÚÁ\8d3ã\18nk í D°\10Æ®[\18çh\12Ô\82\v\95 X\88\91ß\89R\ 5¿Ú\ 2ïlw<\18çt$\13I\ 6L\ 4¼u<ìA\ 3uðáP(\10R\8c¼\18qÐ\7f\96J~A³\ 39ÚRû\11\98\80É\1fÐ\85åÔHq±\1eM\90s\92`'.ä\ fú£Êmý\ 2ô\9aMÏ\ 1K²\8efg¹\96¸h"Ú$A\11ä_\84±Küç`,M\97\87Ñx¹^\1eþp³Æ\80\ 4m¹¨\1dÚF36FÛùq4'\8cíÝ\9e\9d:û{\93\98.\8f\eÁüÀ po»\9c\0öcYR\ e\1a³ÙG\90t\97\ eF>\18Áõx\95«µG$x\ e\18\81j\17Ë0\84\ eØAØaù¶°!\80JñA:\9eÅD\r;Ç1À]Þm\ fÔ3d´:!!\84¨ui3&à\ eãl¹&¸\96¸\Ëþb9YÈ´äf\ 23Î8\ 2ìÙ9ÙýE\90{\18O¥Ô?\98¬\97{0ÑÐ\1dû\ f\98è9\18&uºê\84_\80\15·^n #u w+Bgã\ 3`\11\ 1ùXÆ\106%Ñ"õüEL\ e\80ëÆ£õh;á$\ e ødGN\89)«\84êÙè{Ü\1dD¯EB\0°K©Ý16`/àþ\16ÜxA\f«.eà7-¦ó]¾óB\9eFMTÈì7æj\1c\8c\8e\90Z\1aýg äãu´ïg7ö\82õ\bå©T¢K\9bíÁÂ\ 2²iN\88û,mF\96û1 òÊ¡\8a\94$À\10)\ 2öN\18âFë\1fî\91<ìÆpsÉ\b\87tJH\11\rdéH·\90\901\12\92\12\9a\16á¾\17\9a;òBî\10)\14¦y\85\1cM\97PBÀé¦U\8cdºqÅé¾vªö{ÒKÇo\94'\0¶\99ÒÛ.\8c¸\8e\85ØAHÛ ¼\87hЯÔJè7Ù\8bÄ\f\8cdj\1cÿ1\16Éå_pæ¤\82Tú=¯ß19\14\13IO\94\e ;"G\1eÔ\b)O¦³ê}\83<(êÛ)À5éÝ\80¯Õ:FN½;rîUí<Óæ¯\131/mEMFk\82\85¥Ùî/\95\9e£Fûõä\8f2§Ðm&[J\8d¤ Í\ 1h2ÖÄ\92åÊùfå¥à¦\9eF\e`\11S\8d6\13r·Wîòl{ðN×¢)\91mC\ 1\8dÉ\8c* \87\89ò®\81ðY«ô\85ò\8e\97piª6Ù\12s \8fÿR\e7\ 5dëö\80v\ fTÚ¬ñ ²\1aNLMI;j1\ 2Â\92àU\82l+¨ù¶À°\90H<a«ÿì½"=(GlÐ\ 6êpå\8e\83\ 6»ýd§Ñ\80R\19:j0=\9ec¦I>W_Àä\94\ 4ä8n'º\ 4\ 2j=ÚnÙ\9dZyE\88ZiIáÉF 8ì=oÇkì\13cca\a´ìÔøaïô[í\ f\87ñ/¿z\8f\0\98=m\9f\89½\ 4I\e Þ\88%ë2\89\12\1fÔ`\ 3\9dO \r$2jOàS\875«P\90"e\95µ\ 61ágL{~\8eô|³\9fBÊ·º;µ\9fê\ 6NO\e÷\ 5\1eUÒyK\98Ú \84Äì ¯å\81\95Z¡HD½%Éë°(&¿\82¹¶t¨ESwîf3\8a8h5[H\9aÉÚdS\82Zη#\91í*Û\10Mí\98 µh6\14°°j»\115^\1e6#\15\99\ 3\9bÒmÈS+[V\81\ 3ù\vÌ\94\ 3LÀPé*lÉy6c\98%¬®\14w$4\ 25\b\ 5\eÎ\80\b]ìÈÿaØC¡Õ~G-E°\14¬\bÐÃõh¯mm0íT,\ 4¤m\89-Ü\12Ò·~hõ\8c\16\10?\9bz¾\ 1Sv\80yãL_¼~y{\146\ 5K\1a\1aÊbkP¾ëÐ\17Y\ 2÷@£\19)ÈlÒ2=`Pb<")\15âòv\fXM\ 2ù £1'"t´%E\86®Vk¡\98\b+6ß\8cÈ\15%îµ\8eÆ\¯u´\15ôZGk\89pS°õöäl·U[¸ÈÂ\92\ 4R\14Ú\ 1é'6\8d\ 2\98\82QBJ\85\vò\ 4åZÎõ\88!hIÑRèpâ¨Ê·£C \1a\86\8dhõʪ\12Úþa\ 2!\14¥\8c\19\19\1at\80g²ù£&ûø\86»ÃBÞqϱÍ\ 5®;.ÌQÛîø(\92q¹EQ"(\0Y¡"o\b
+\ 2uȵ×\13\9ccÛ\16`0ªÀ\ 4£\9e\85Á(a@\05Õ\1d\ f@µÃ\ 1Ú£¡\83\ 4*Ã\11\87\9d\10^í¨Ói\18B\85\b\91X@H\86\87ÝØØÚCX\94±ÃÅ\9eÙ,ßb\99é"\14í;º\99t~\84\10\ 4\19\ù%\eïÈu
+µZ4T$ î\80/\83\99\96õÝ\95ì§l\89Ñ«û!`myòY²²YÄç[ÓCÙä¶Û
+Ë\91\972\87{ÕRø>\9eíUÒÍ`&Þø°5³äq\12)\97üͨ\ 5\ f\ 6ï1\8c*þ\14çnÌ\9cM|y\9dÙ¤{Oe©ºßg°d\13\r\13É6z8äçÕ§F6\19$:\85e*=)z½¶ù ªÆt\0ðE\8aeK<òV9\14\7f>óÁ7\8f;·Ù5¨\sX¸Òáûc¹\184÷ó?k[ß`)ΰ\87±,0s$6\8b¼<½\7fäº\ 5ï\8b2Ra»øg6¹*\7ffã\94wã*º-Dz½2\9d\19,\88XåïaëX\9c}ö#ùuvý\1a\9få\17\87Â"ò\86\8bÈñm-NðÆo6\99±õi8 ËTákþµ\ 3\7fY\7f\8bµiÍ\94÷D\7f̹\8eç~K÷áu4=\1a,±\1f»kR\9a\84\9eì\85Ep\98Hæ,\ 1«+ÿèþve\v¶^¹@\1c\9dé\97\87ûEb2\19à_KWiÖXÐ\98qÌ7\8a\90Ków|ùõ0ͯ-\19\9b\87t}\1cs\8d\8eõ\17öß\91M<,\ 2\ 6K8ñò\99Ím'¶\8d+ÕLø"\9b\8fÔ2\12ñQ³@\8e\9cÔp×*\8es\10'Å\aê\ 5\90-b#"ý\06\8d/\v¾\11\98_¼\99²{ÜD~\1dioè\11\f\1a\96l¡\96¼ï\97ܱ\10\ 5æ¥ö\1e¾OG
+»/Wòeú\1e÷\8fï?\11ØôÖ\ 2\ 6\94\ e;ïá\94¼\87ûá§-¤S:¿r\84=\fk¾L\e\18þyß,úFIkÙäz#!\960|ñ\85 &\ 6\v6¾«\ 5Ñß®t9Éü\95ì\97êtó\82»ôM\ 3ó\ fü5Àº¯\98+\9d.¹ýÅÌ<ÅÀé§\92\89éÏã\17\9aI®Ã\0^+\1fb°\80Fù\a®\ 3\9f|\ap{ê\196"\82èYÈ\94/\ e\11©\8b\ 4\95 \86ßÂ?\93\·øã*Î|õßÒhd3çÃãÞS¬myíåZ\85|»8ë,\7f³¿\9fñ¹Á\92\ f\ eºC\9a\98oáé[i\88»^òÁ×\«\üé\ f\vË\9f°/1ÛXæåÂÌ\89\ 3\ 2¦¿#\91çé\8eÇ\17íünê¹VÃY/\17\1dÓ:M\e\96Ð4ï\83Ù?ì½O®ÌËè\97\1eP:\1c\1de\13ÝÃ]®ûp8\9e\ eMBY\ 1\1dØ\89x%M,¨\ eX9ÂÁ`)½M-sÿw2SÄÊ\1fÙ\0b\81äw²\\ 4Üát»ò»Ø\97t®Ä\94\15N,;\114çd\16Ô\11Q \8cEH§\87F%7|À\11Ç$]ûÄwÙ>«{sX²ûæw\98¿\92tGÄä\b\1f\9fcDÙnÝ;
+\8bðóªäjxË<§\82\ 50ØA Ó)M!\87fÁ¢ÚXÁÐî\1d\85ù¢DE\12\93Þs.òæïKç ]]¿\88`ßUJ\1e÷8&7%±\15Q/\18,¹nsê\ 2\12&\1d+æ\e\83\95\oQKA»Ê 2\ 3\8b¦äÇü\95`ó\94s\ eí²£½N\94\8b¡7¿+]ùö\18,ü¸À¨&³r©\18\8aäÃ\9eÖ\v\128^¼úâFH\8b¾ï½3ÿs\98nòëíË.×]¼\9a\ 1\88º\8b\ 3°/¹w\8fþ²Õ\13yÏ=Ï\166ðÙ§5\1fv5\16´´t\14g¶j\18ôv· ¥`éåµÊ\8ap\80 þÙ\r\94³óÔ+\14ðßÅqpÑÏõ,\13JÜÎ\9a{£?kO\12I4^\11\0,üûÝ\ 3\96̯ìûe9YÁí\ 2Ùþöì\1c i\ 2t\89@XãØøX²§~û¼¦\91¼\ 5\9cl?Dæ {Dçä}ôÛ\95¨Q3 ±'÷¡<~\¿ç:ß\ f\ 5æm,÷\9dMV\v^Ðäû\ 5H\81\865\8f¿\1d\87¹Î±\eäߢÆ@\8e\81\a\9b,9\89[éÙ\12®Oß \99i\15¶\91çÙÜ\8e\8f¿z¹\80Õd.A\9e.à\95B#\vÿJc\ f\15<\85\11ãx\ 6wÛ\v\19îY\9aÿÂ`á[¢§ðg\1e\8aÂ\ 2ú\10ý\fw\1aþ'ø6E\7fÍ"(Àgy\1aX.é)GB\9eâ³\7fø¶/Á&IÔ\18þ,\1a,\÷ò°Ñ#\ f\87Æ\ 2ñ\89Ad¹Î§¹/\12¨ ìM\eu\89\en\ euÄ`Aä\a\f;\15iW\9b]ø,\81\80ñX\10\b)\89Ø.K\91¢\9f\1c¼\ e\83\85û\1a}\93\80ïÑ02<)QsÔ=\9a\8aÛyâ\89#A\aÑ\93Ã\92\94L\1d\98}ñDÉLí\ 5\13!\99\ 6\ 6\vý\r$\16\ f\e\r\ 3ÑIL\8e\14\1a\15ÿ\13\ 1ã0Wdú\90\95\1dKZ{Jè.£¿8\884RñO\9a-\80äWb\fE¶\80\8d\eܨxV\91%\16z\ 18ù\94X)z¬hå°äHñc\86\8d[rD\95¬T\8e\80)\9ab\92a"\9aÄÅ 2âÞ\148Ì4OK\90¢Æüª\ 3\9cÌÏ\96hVÓ<×¢æ\90\129\99¥\92àzØæ\84\aͤè\ 5³ö\11ØóIÎ/\88ä\88\8a\b2Ãcr\ 2\10\r\8d[\9aç±!=%Ü\1a¢¥%êãs8\8a;Zè/\9aüp\18¨óð\9f7±éçÌu_êÛrÖFt\81¥?ó\v\15F,·\ 5ºrÞ(\7f7\añ²Éé\ 5Z\f\8e+Êj{\8f\19X.ÅU¶\7fß\9b\17\96_Ãli²úµÒªL`N\84\ emewFhv¸úÈ\9d\ 1¾\98Ø¡A\1d-Î=\8e\fmúµk\8e\ f^Ç\89¼-ì>ûb³Ç
+\8bãó[±^ÿÍ\v\a\94\1f\12¹çm±\95í|\91c`Á®³\e\\8cÅ\85|\87ø#¶\1e&=ßå\9dôïÎñ\ e\9cÐ\97}iâîúòa·ß#ð\eñüx^$\9c¥*o[AKéá\18ã ÃXa\1fÑ\96Àu\13\1a\11À5\85¾ml]ÞÍhóì\ 4Àk\10|æÙù\9aÏ\1f9Ø/`)\ 1k=ôv\8ds¢Ã5\81\96Ò\95Î\89\ e×\84±ú8\ eõÀ¡Ñ.³È÷ýZñ\1eJtí%«Ì\1cô,+Æ>z}È#3\96§\13\ fêÿ-Ï\ 29Ò¬?Uý(Öóa\e@à\18ç\9f²ïÎü\93åó\80Ìa(*"2t\12ú"\88íÓặXû\89\8cx²\ 1Ï\ 2\12\8e!\7fn[\8d¼¬\eÝ\«W\aì\ eV'Í\9c|G\94\9c
+\9a\9eépØÉ-\80J~\1d\9e¿#ëß`áíÿÓ\8e\12bee!ÀòzJ Æ\ 4üå>TöwãXÌ\95\b>\8aÁ6\14\9c\94¤\8d\960\95\g\9du\81¯ç¿øä9Óòg{¦\18ã©v\9d\ 4 Ö*¨áôûßV÷\85Å\87)\ e:<\1c²³ÿé\ 5Ãõ\82µ\9f_5]À\11iÏ\82Ü\ 2\89CÇà+¿ò§Lü\v\8eÙ±øt³Æà4=\88|äp¾\9c,}x9(\91òקó¾\Ú\1eÁªô[b\9b(ÍYn³ï=\1a\994\1eòOí,Ð\16\83Í#ÓÑãÀ\92{zì¼@_\9b}Ñÿ 04ÞY±Èê8nc\8d½w]¡Z\ 4)Á̬J î[c6X8\96,gIrÑ\vÆ\9bý\fB\90À2\89oèÝ\15°Y¬P\13ÀníóÕ|ð\98Çpw\8f2\89æàý+\17KÔ=Ü\8bnð×»Ì!_¬äÎ\92w\ fÕ²Óá\ e\ 2qÕ\aþ\8d{º\ 5Úé¹\\1e:L\v8Ò@69þÚfûO.k|áê,\81ò\8bý >\17Hç\93\0FÕS| \9dß4\8f\9dr\8c©\94¦[rëW\ 4Lßêõ\87sV¤\ 1a\1cFký\ 6ø £úê\15t\ 4®^à
+îf\85%µ\fè\82çý\19{(ý\16$\10uxù\ 2°O& ¹ÙÕ\e\0æK}\8d\9aÄñ¨ ØüeÇ }ÈÕ\aø\94\9eÆTýqZ\9cnbn\96ùìwÀOÏ`ÅBõ\9eVF\9e\9d)í¥\ 3\ 1tô¬\9f
+Å\89o+ÁЩÚöå×Þg\1c\0íl\91Ùa°Ð\18\1f{ÑÏÒðËò\ e:?7e\7fó_vNc-8¾\ 3R7l¶\0JÄjPçÌKcßÛRlà \89ý\8e|wF_7æÀR\8aô\9bû\8eXwÓ-#É@\89(}µÆC`\9b$ À\999J\13\17ö\91\vÚcO@üõ£´-À \ fÜg\93\99\9eµXÛ,ßó¡\97WoîÉÙ\9eç\9e».àYT,\95ÏH~\85OI¡©B+\94\94¯X{o8¡±ñ\8c\9a\0é\9cìÈu>Úµ\9a;åá½uP\9c\ 1zå×Q³»ø`wØ\91qÃ}dIÌ-+À\13±»ÄÌÜYÈ \r\ 2%úL\95\ÎðL¨Þà\í\87ù¯ì\8bùpà07À\14ÏMáC£ü\f89ÔõzD¯l&¬ö^I2 8ý\8a"´Í\9fÙ,¾´=5\81IçÎ\95\8b\83ªSnh¢v!\97Á\92øܽ\7f¨5zqF\1e'\89\96¤I\82ør¬P\1c-þ8O,KîÝ\e\ e$c\bÏuBåÏÊæà´Áv?¬\849á¢{
+è\92æ\826d2á×Já±ð\92\91ð\ 6³{A\9aÞ\81Ùüû\f&9û+°\ e\19P\98\17\90·¿7XÐ\ 6\88Ì\1cxÁú¬\87éòo5Y\7B¼\11ÌLâ×½©8ë|ï
+Ë;s\b0v°\95Û¦k;9\1e\82ó\ 2\99®µ\9bìcÍ\99\ fϵâ¥z6\91ß\v-o¦gI{\96ôÄ\8eP&gs\91Ïécq\16ûö\95Þ\88\83UBÏØ\ fië\ 2½ÿ5Èí\16-' \98\98Y8s ýüà;\ f:\95© ¸$\9d
+\aä\18$¶Ê\95º¹Hì\19\99\8dÃâì\89\ 2\1a\99\16\15Lo«÷åBîs^.dçÏUs
+¯åb¾UN¾IÎù\93}éÖFådñ è\r\90Ä÷wÙx\9f\98g£{r\88â\92§X\80CçDs\ 5¸¨½Ð;RÚÌ\13CIVÖÍ\8d+\1d©T\81~ù}K\f¸\89
+\0AY¢`\98þ pÇ\8f5û2ë\1e\ 5°Óá\87cÑû<õdã\8f?+\81q\ eþé\86ïÊÛ\ 2³õÂ-×ß\1cô^ó\e ýDä·}\vâë\9b%5\11\14\92£Ú:\16«_\14Ut\8fË¥¤Ãlé\ 1^\1cüæ7tè\94_\9eî\80úZ½AK)\81Û\81\9c\vZ\80©Öõ\15g]\128{Øl#X\815êó»b)\9bêYòþëP\9cíH¯\fÃÆ\80Ö\9c;àÞÎk¹0Ë\ 4øåÃø/Ð8\88À@,mb\95ͯ?KÌ\1fZ-\8a\95´\85\0&F,LÇ`'/o\14\a6Q¶×¦}è\~@\19ñZ$\92_ÐU8ºx\a\90Ýå 8í\8eh\88Lô\81UTùɵð|\0¸Ù\99U6\99Þß\v×"k\ 6\81¿¦>\ 1\151Êý\16N÷\82¥\ÈS\7f\82\82\ 2?Å\82\1a¡\8e~\95ý]Y\9dtWnlK\93Ð\16`öx\1d2IJå"\9df\19ÌÁ \9dÛåfvy,\80òõ¨\12\b;°\9e°y¼é
+\0MÚµ\9atT\11ÛÓó¢Äø\ð\1d;\80EÜÝæ0\7f¦ü\ 4\98ê\e+M\ 6d¨\98î\7fÙÆî\1d4èÂ4#U\ 6Ù5Ú8d¬\vWêáíA@\1d u>óëHÖ\8c\ f#3\f7\17"Î#\94\17ÏqÏ,Ir#\15\86 \9aU\a\96_¯÷ß\12\a\9eç1\81Ú\1e\97ÆXÒ&´à\19\88aúEn="à®Ä=ܬÁrϻơènýNYKiuäz-Ô/\b\8bµ4¹\v\7f\ 2OÆD\96KÑçªÔØø>7\90£\9c\98m¬Và¶ÿ\84y[HÆ\ 2h\ 2\89]ò¢É\ 6XTl\8aD¿äjÙ\\80\80_\1eµvé&X\86u3À\öÊa6X8Üýlr]v\bmp)°\8eòº\83Kø·ðX\8a}#\85âJSo1^8\ 2i \87\94²?9\ 6ÐCyô-ïãIÆ e\e\95\87k_\18ÈÈð:\ey\9d\97rÑ
+u\80[ß\9e²ýÁóRÀ{\e*AÄ\e0æg\87\10súw\83¬H(\933\13B,-\8f¹èx?\17¨\ 4$pß\9eFU`ëí°ÄìH\90RÑ»s\16}\82/¸\8daÄ4\ 6Kø\17\8fu\80½Ý)\97³sÀä\9dcwªÍ¿aäô":@? اï\aöH²\99븳`^æÎ\10\vbÎÒäx7ÌE=Þ;h\10\86%ì\ 5ÔÑ\96È\aWÓiø¥÷ù\12\8dd
+ÕÂâ}z\a=¬»lò)ðU¬×\93wÜf±ô3`\8f\95GÖR6ñÙ\ 3fgäÉ\85ùÝ¿\13 åßV@çÎö¹çu¨/\12£×,åx½+Ö\1f\ 2\80íïó{±V¡\17\bç\f\84!©\80\9d\8c\84T8ýë|(N
+£UѹôMNd\16'®8IÅ ©\ fQ2@û-Òý¾'¡ÃåÌ&¾°ïð/F-\ 1\96\9f¬7*\b\búÛVW*W\9a\82uÞÍõ\8bóàç
+LÓ!+\bJÒMZ¶Ï\92'\1cY\ 2±æ¼£# ¬°*ŧÓI7þø5>\96¿?\8f\v\98«0Ù Ìú\0&Öà>¿*Ú~Jo\93ñ\9b\fÄ\1d \7fÕSÎ=\9bH=9\14ô·Ë¯\ 2\8c\8e\12ùxåð;\1dçêý|Sø\9e\9c>ÑÚ)p\b¼%Ý\83z>\17u×RÅy ÀË\1fºßI÷±8-¹\1e\9f¬\18^ÏM¹P*\9a\97WÈc\880¡ð]l\95ýid#w\9bþåóòt\aT\ 2ñ\9e\18õw?E_éÇ\82D"ÀÂwj¾ÍOrz\15î³Î\a`åôü\91~ \19-N\8fÙ\17¨\ 3ÃÒÆíûð\v\9b¤\92\ 5Âʼ\ró°ùÆÈ\1a/Má^þOy\98νÃPNE.æ\r\80¹ç¹n\91r\82>ìé,&Q\bø \98\vͲ\r¬\ 2[\b«äh6#\90/)\1a\v\a'\12}Úu\8a\ f¦\19&
+\86óp<o@\19å\8fe\aY«È\ 1\0\v7\ 5ÄÑÚê\ 5ÂØ3\10K~VOAQ°\8c\13©û\r7þ¸\90Ù\9f>îËöz>\9ak¿?|\94&\19k\b,ÒÙ\9cÙµwû\13<æÄl]\99\ 3\7f?÷T\18\0öú\8c3O\8fí\9f\·Wx\97\86îýÇ\ 30\ 3ò%sék\85/ .±\15ËÛákñsþ\89q\9d³!(ÉBl°)Ö&v;;\16 çìEßk\976±\90y\ 6'ô§H\94\ 3vñH\aP\1c5ù¤¦²µÒØ»r÷¦\85¿X\v4ýEó{\1c#LíTÈTpâÀª«R(\84\84$Ì«\v\ 5\91J\ak-\ 5}¿Ï \15ܽ\96\8b\8773PêÙßüÊþùm\ eüo\9aK\8c\14§Ã\15QM¾\8e\12@ù¤S\98Î×.\96éó\98\8b»¿·ô\91GÒô?¿_.×\áct\92un¼cK\99ÂZ\9f
+j\97ëËíT9±T髧ãHP\1f:Ð
+9úsé8ÅßJ\87©Öaø¥b\7fU¾kÉ\82Üm\b\1e/O"ù\8ccµo¥ã\rªÒ
+BP\1eoP\17nÙ¹\95Mèf¿m¡Ê\922ø8G\1eþÞ\91«\86z\8a¹âwyLvÅ/\9f5rÏ\15?ìîÎ:%@\ e&\93¹\vÞÓi±²\89»â\ fu\1e !H8\96~¯ãt\vÙÊ?ýµñ
+\®¯Æ_ÇDzåþjK\8b=\16"7!wãÑ\81>â]õ3¿@ôÀ¼zÈÓíÝz©V\16Ë~Æ\1c\8cPÛNÖGéw\1ae/,\bz\8e\ 1\ 6úr\ 2\bN½ÖNãÃ\8b»\0F?EõEµ)\80¸\9c-¹"¾wÁ\ 5\11ÆË\v\aíÝ\ 5\98\e#<6û° \8cLi\9e\91bNÆ7þ½ ¶Fjô\17\ 46Ú
+o¥0ÂÁ\19G\14|Ìç\97³G±x\8d=
+\81\ 4ÿ\8a\81ýÙ\1d\8d{ÀFÀø\ 4\1c\1c\80\fQÓàæ£å\16V\16\b\10¹\8d\0\19÷é\96\0Jö°\83 &\84q\89Ê\10FÆõè\ f<öe´ß\ 3BÓ\8b\8a:N\16°{µm\11ÕÆñ`hl[°8\8f w»\19\8f~I\19\8fÛ\15<\8dÚ«o\96\0è ¹Ü«W\91ðË\0UU6G@x \8fzÒ«ìy¡~\19\ f\9dõ-\18\19\98\9a\91\98[\14F§q¼\87Êzé\1cFÛé\88Ôa\87pçA\bjì\15\eó\a¯ sW´¡çaIVc)8ùBY\13¡¶Ï\1a\85^bÀÂr3õÙÎóel
+õvló.¹Ü@Vê\v\ eWPg&Ú:\0êS»/\8cfì
+\ e4Òþ\88í\113\0\7fHÍ\1a\85f\1a¼\17¥#<\r[±õ31\17@V]dÀrªqå\85ª\86"ä×Ñ\81è.\8e\9bñv´\ëÐdb³\94_\90Ú<ÐÝ©\14Çrd\aJ½O\8cá=(Úö¼ÄÐ=§3BsMmy
+\84\80P\85)\f\ 1}\ 2Ä>\92s]Áá\13:E\ es\98ý\1f^Þ¨³\10Z0b\1e\92;4B¸\0$ç;©\r\ 4ðþ~Oè\90L¬u#PY%Z¯\15F{úü«%k%\ 1·\12|B[\9b\ 5N\1d³ïN\1cIþ\96\ 1ñ\99÷\105}\16>¬ cß\19P\97\84Odëµ\éÐwÄ\95y\19û0\9f«éte\16\87\0üË\1fL>Å\ 3Ü\8b'î/ô"\11Èt\ fùâ,VYUï\9fS#¸m\94æÞú]©çðÂä\bTS&\8fÏöl°\98\éUÒäx|\8b\99Ü\8b%xõ=ó\9a\ÇxÇän¾\16M\1e¬éÇ|©\81\1d¡\aÞºã)Hù©&è\q\15Ì´¾Ó\81|4\10\r¿\857o(g\ 2\15\fño±ê\90(\18,$\99N\8dsîýãC¶\1e£ÒÑj²ï-ïÞ\82/%òã\r+¾\95\aÝr*\97\9aàÎ\dË` \98\9f\\ 5\8fó\19àk\84\95\86K\ fÈ\ehÄÌ\80b'\8d\1a\14I&¨.@â®a¾`\87\1e\ 6ß3*Z>¼ø¿v++6µâ\bs\8b\aK~bT\12À\8e\1e]é\8aÉ\8a\ 6\8e楸òú¨h%\18ýMü\80\9f\955øzP\14#ý ?\9b\1fOòH+\91¯P¼öå\95Eúe~l\18,\12´<Òð²^±È#M\9aì$\85[Hy¤mü#xç\8f;y¤\ 6\v\8f\96²¹\9b\1e\ 5¤¡\85}d\e\94ä\91\ 6\a¯X\19s6e\91Þ\95§a\83Å\1cyv<Ê\8d\15+wûE\ 5¤á{K»\93Ë)!ýÆ*÷o=\1e)ªoäÐV<Y[mì}\95%ðÇÏ(Ì mÛl\12ò\ 6\12\87õ\14!\ 5¼8.\89çt\08ùÓÿð\bÑ:NgÕû\1eL5\v.\804¸;a¥¯dY\11ihݺ;ðHyN¦Ñ\8eÈ/«åE\ 1iy\12ÞÚÂ\ 1Y¤Tî3 \84´
+(¶{\1fìäÇ\9a¼³S¶\88\95\94CJ\1e¿q\8bÃ\9eyÿ\94C\8a\95c¥4\8f\14`\11Ϫ¹óB&ä\91\ 6\a\9fXù³ú,;Ò»2\95°¬|/\1d9¤\ 6\vVq\1f\1f\15Æ\1a¾·\11ólKa¤&\1fIíÛf\88ÔyBÞ§²3\13É\9a\9a\0ido°HÇÚ\88ä\a\fÒ\81Ç.A\1aî4V/4ÒÒǪ,\1aé[\16k¼\97BrH\r\16ê®úKEV÷Oa\84V\8a´é$\97\8aH³«a!§\80ôÝ\81uâ\ 4\85\90B\1e\93\10¸îù¨O ÷A\16ig\98I("}ü¨>äå\90BÉ\1f|/`/¶×¨,\81ï\1a÷ÇÎ|<\8dÊ"}ià;E¤½\8a¯²FH\r\16\99±Ö±\97} «\804ãxùê\7fçd\91ö3c§\1cR \93!Úá0wè+\10ø#\88}¶º\ ey¤\8fùÏk1é\94Eúyð>!¤P¿\9c\8euÓvY_\95\90\96±áÓoR\1ei+ë ßsTA\82\14îâC´¥\1fOX\81ÀѪ©ÿ\885h¤£»CE¼h2ä±ÿ\1e\84H]'\8b¦u\9fp|\1d7C°*§Ö\14)\1dë·óÙÌ ]Å\9c\12McÅ\9a\8f!\84ÔoKÛ«b¤^\92\9a?ÜC¤\1e\1e)ÀÂ\b\88\86×ôq\1f.\ 3¤YêD\14~ìb4Ò\8c½ä\96\90×\94+·l4ÒÏCüAD^GÏ\95¨¦\1e\0\16\80Öw*
+{¸'Ò°þ\0¤å£\14)¹Ì8\18¤ñ'¯x¤Õ^ÞbM"¤\81L¯Ñ@H!\16z¬÷ïThüÞ\86H±\13\ 2?Ƭw¯\87§\1a@ê?\91Îdn¼í¹,\81¤üÛ|\14ÈäA¯ññ ûþ82%±Ú\87ë ðÖ\96ÆGTû^î-\98\81²ÛdÉ\9b\8bð\9c\84©\8e·áHÙ\8cÃ÷'lsW]ìYU&÷vKFZ\9fÕ\90ä-7ûÕÃ!\8a§ß"ò_׬¦l«_zRx{HÔk\ f÷\94üÛ:öi°4\®ÐQá}xø\98M\1fm
+oë³v<òâ\91}\e}|ÃYMêwËP¬\81\99¹¹ô\9c¾\r[{£÷RZámÒþRHö³\92·\1cÅ\1aygßL.ó
+_WÝÃB¸û!ÿ¶\99+ÿ¤\1c\ 1\87üÛÇg \91\7f¨aÉ¥ðþõg\13 |~\85·\9bß\9dgEDåß\ e>Ûáç\91\87þV\86b\9fÎw\8e»O¿\1eþ¾°òPæíèÕ\9fºsGÊJ\14#^\1fË\87»\16!ÿõ\fû\Ø~jw²o-ý§é\8bÝô\98\91{K\92©á\93Á\12È>Ùíð½÷ô½?_k=å7ðí\89\10"sÃ\reú´\15eß\1e¿ãv§%iúFoO(\ 6Þ§\1cÎlß9â¿Nï\1dÉ=çñí\91\90JǪæ\1f$½°êw»À¹f\119×LèY\98\9cõ\ 4nr\17\9fû&÷Ë\17ð+\87Ó®Éþî8¿ÚÐÿ,\98<õ!°\85^W\11ú³tj·\ 2½éd\11>\1e³¯\19ÝÚ\80;úzDÎ\ eò\92fI\ eí½o\99\1a;\80\85wW\ 2î\8eO,7É;¿-Õö0Î\8ey'TÁéû\0\14ÿ\ f\eÚÙ\19\9b\9fWB½/D\et|(#½+\7fy\14\91bå|¸¥\804|\ f¼¤m 1äÑ\8a\90\ e¾T\90VL!e¤\95
+9à\90\ 6 u!@\eÞÿ\86\8f\1f,ÒÊZLàO!Ò`Ç,$ïSöY\80tjµÞóH\ 1\96ĺ÷È£\95\10\18rÛ^\1eip0PFzW\9ec¢U)F\8b|\a\ 5¤À\9b\ 4¾ÃX éH\11)´Æ+X\q¬È"QD
+í\91\9e\12yÝ<RÚº\10\8fµf\95Ì*î\ 6¶\ 6B\8fþb&âñ8ÕÕ®uOHÖ¾BË»Vʤ£\1dy\1c®,\ 2i\ 1ÇÌIËï\87\8cdé\82¯ÝvW~G=ÒÜ\ fþ*@û¯\86\bÃR\96[ñ\95Ö3 qÓÍü\93Á\ 4á\e\14\1f\82~eÐý,\Om+\10\8f¶÷\ 2ÓïÑs\1et4¾KïíÓ®4j\ 4Ðç}\v¢h\81ÿÜs\b\9c\920\17\13í\ 1ýy/âÎüO\196
+Ð x±\97N\97,\82\7f\80däím&\90%hܶþ²M\98ár±\vÐeì!d± \7f 3\88\1c\r¦g-n\ 4EWz\1c¨
+\b( {¥×\ 6?Ps\1d\9d\b\1fZ/Ê\9d¢$\9d\92t &zºÑ?4=éx\r\82³
+h\f|1g®qÔ&:úçYè\93Ë\8c/\83×\erã3X\84#Dÿ\8c^\8br3ÈÏ_ óÒmjÍ\9f»Éð\vô\87 \8f\9d\8e\10ô6áT'\96þù«t¶`,g\11K\ 5Ø\8b2³\e,:Ø\9d'\166³ý¾êå,\9e¯8\8a 9k\87\8f̶êY\94W¢»\8fçä«)?¦ÔénP#\96Dô\fÜ[©è)}\14öB\ 4ÜèÅ¢Ç`Ñ\9c\8d¯\12^ú¤*\1c\88\80<\ 1+u+c\94É®ÊÒGë Ú\1f$ÛÝð\9fwaÐõ\84v%èA×åĶòªt(\ e-`NÔ\eg\rM¬ÅhR\7fÜk\93ÚJ¯!¥\8e`ÄhØãG%ä1Ѩ\1cV4*y1:pïÅjBc@
+\12¦ôQô\8a$\f·\fE|\8e\11m¯Ul«\v§)]ùøEdáâÉ\97\11f\16·¿)ié'\8eiÜ\ 2Nv©\0+xßu\0\93\a\ 5V\9d(\ 6\9b\1eûwÒu7ºküêXwê«\ eqò¨Ì5R\98KwÉMÿÃÌ\15¾\95g\8bqàNn:¡¥$\9ePø\ f#\ 5Q\10[\867FwM\\917|\8b\9d+%é\17âäø¯BÏü¿þü[ìA~\90î¼]Æ
+\93N\89h/)½\8aî%S\ 2¾î\91ª²V¯è©@{¬m++(&-\9bQÄ\8bÓ\8aXª
+Ô\92Áræü®¢Çó'ùµ\ f:?6©\13\v\8eϧ٥Ø\9d\8a®äû£Ã¤\ 3ø\16÷J]Ê2k_ï\f*\9at\8c\90\1d\1emª6¿h\ 6µL:ýóGrª*Àrò5À¦¶QI½_\ 6\8b^`Z~\87Z¿D{â\b\98\12Ï\9f?HÞª»\ 1ÅÄ\92öJ\8a\89%ÚÙ\14c"[\f£ùó¯\ 3\8fØqÂ¥R:ß:æû\8aâü°?\87´\86ä\10\18´òrl^U4¯\r\96\13\ 3[ÞV¨J=ñ+Vå¼êÿ<æëg8ÊônîéL\1e2\16\9e6\8c'~>uô»}\806\8cmyB\9dJ{£7\8c 0\964Å\v\ 5¥õ¢c\9aÔ\<IGhKI¶+ZR@OG¤¶åE4ÑZölGX\1f\19XR\ eY\15\95\7f\1d\ 6ÏóÉé-M.Ä-Ê!ù\8e£MògahÛ^<\9c\87@!¨Q£wx+g\88\ f\85\ 5\ 2Ü°;Å.\19,guêB\ 1Àñ\98`ÉýÔn$\0Àø¬çúû\8aãËÄ\9f\9aê$7è$zñÀÛ
+ºâ\19"K^\18ëó\7fR\vü6L\ 5\16ä@\10n õ\8bz¬SÉ'ÿ©a3ün \83?\rÚ3X<è]â\8an\ fã%Ab\85® Ö^(2¾S\aÉ\ 2\87r\f\7f8ê𺵣K\ fÒ\ 5®\14!Q\8b%\0;Ù¬Þ\eEûý$B\120Ça @Ë)Ö\11\92}àíw\96\93Ï\ f\93\0\10v½á\r(ùå\95ÐÃ\89Z¾ ¼±yÀ\bjÕ7X\14b\12z\aôpÔ\11£3hDé\ 2æØoP/a\14É\82°\fÉsb Jñ\1a@\1d¥x\8d\98\93\ 5rS\14i\10\9bÒ05\19\13\9bÒu©)-&¾Á¢Ã\98fæ þt\7f!íX{\8cî\8fò\9e\94\96%,¢Ý¾.V\83\ 1±/v\96"\8c?Ý`½Ô¥:ð\ 2>\8f?\99Ð[z¿òÒht Ó³\ 4t\fÈ Îéu\89Ò»H\0ìë\0\8bDß]F\18õ`¡áTÕ)ز\90:\91óô\10gËÒö\98XÕ9ì.qþ\ 6\18ÕkG}Ý©¯:1'\ 3!|õþ\ 4\f¾{$c>Ù\15Õ\e¯\82À|zÖ\vÍcêñV\b\f»V&\17\90\1cË\1e¯äU4k**O°Ç§\rGìH\9eÑ\e~O\1cÁ¹z\ 5"(\1fÒ\98½@&\9f\ 3çL½'ð÷e\80\89w\bÏR¢¢ýA¤\91;[©K \9fÝj\87\ 1í#K\14ÎÅ\81\17ØW¥M\1få=>%#⵫\93\94\ 2óÓ`\91óÏ9\89æ\94\91h½ó%\9aR\84\ 4¬\8d\eH4j%ÝÖoÁË\0SÞôau¥Î\1d$\bÌ\7f½¥T\0.BçîÚµß\93\93h\17¬ýÞù\12M.v\81à\/Ñz·Ù{Ep\86\8a[gY\8c8ô|\88}\f\8a\91\96hÂ\12\98¢\a-Ú:\94·Q8Û\92é\8a\r8Ài§$©Koâ\83\8e\9c«×\17EGZÿ\96<\98N9!ËEàÏ\13³\0Ø9B\16}E1;Ø\9f\9fý ]Ì3ÛoÐ`¹Ú@\81)\a.}\12F\13\8eÔ\90;«7è\ 4[\1aÎÕ)\10\b\8a¬%xºó® Gyå(\9aä²» \bØ\99Q?5]èfb\17bmؿƾ\171éÇ/Ò\85×y|ÐÃÒP`\9c\1cÓÖ\86\0\98\1e÷QQ\17\8a<\v\0ìê\98K\ 1Ì\10a¾^\8bõÏ\ fiÉj±þ5ö½\b
+£\v¯Òb}9û^\ e\8aÁ¢ G\976T×\85¬\84\19Ý5ý×hC\89.\84)án^\172XNr_.JG\82£\7f\95Ó\85¼®\14&Oñi\18\8a¶\0è×\97¢;*"%Z\95ê\11\vè,hX\94:,]V&\ 3`º\16¤\ eK\17\80
+iE\15Te\98b[\8bÞ\99¤¥¥¢Gôªs\9d«í\9e\82¥\0ãcÔª¯ åµÓé¤]\92_¤4'ëX^\12Åä\95QK\ 3Eµ¤\18OVTLcJÅISÈ\Sö÷\aÒ\z%RêX\À\13Ï¿®Ô}#½)o\ 5\0êWªZ\ 4órÖî\r\ 4vÐÍÄ\9a\14Ó\13OVÚ\19\10Ï$ädQú*0\ 5\13£àõ©$ß\ 2\8e\80\19ª\fOøttJ-,¬²¸8\8dÌÄ\80x\83\81N
+\97Á'<\9bÅþl\8e\98Ü\8b\9f\ e¬\8ck\98<QÏP®\82Î`¹M\r\9dz\ 5ÝIÅÐ\855tê\15t´÷z}\r\9dz\ 5\9dZµà95tê\15tâjÁËkèÔ+è\f\96ÛÔЩWÐIª\ 5/®¡S¯ 3XnSC§^A\87²;nPC§Þ\ eU?Ý \86N½\82N\18\85»¦\86N½\82\8e±Ç´kèÄ ÉÊ\15f{9k[5\a^¹\12(û{V\97\94"½m+©\95¸\9d\1aÛuÔK ¬¾+3kÛV\8d\8cPý\91^@§ö9¹äÊ{|m\9br¦ÙYt:²9Í4sê,\ 6sé\b¢\88÷øT\80¹¯\1e\1f²`µ+çô\8fÏ«µ^t\13]²\99£Ý%åÊG\8d0\98J\97NKæ`tôÌ¢9}²fà\16,kQnÏy\ 5Tg¤\82Ðk_)\19ä«t\9b½9:wT¶\98輡©\9aî\Ö\8df±\9b8\13ò¼À «_®\8d\18³ÅnòÛ6R/I³Øí¢T\10±´\ 4\84QÙ×\15º¦\9an\b\ 4ÅU3ÐzÿL`â\14,à³V\â\1d\9b²Ä'\97©|Ô)³Fw¯ê)\ e\ 2§× :ÃðdBË\8aE¦g\95\982u|zK\18µ}û²Ü^¶À\1e\93\86δ\ 3\87®Ó0É´"W@tÙ\8eÕ*ª\Ø/W\ 5\86r\15\14ëÀÞ\ fêæÄ9u|êG\17èγ\9bV\143\8c\859W|ÐJ¹4-}È<(tIÅ\94\96\8bÀ\83N)çÀsS§kþbf\1cø3êø¶êg\rÜ\9fQǧY\13£Ì\f¢\1a^\ 6Xg{\eÎâw>\94+SÎ\ 1&Ö*WRìCÃk9\8bbÊ[!g\ f\92\91h\97RL\1cø\8d\90'\89N\874%±Ç.t æUÍ\ 2Ff©+Æ-Uêå¤ÒB \0/p\14+\1f»8ý\8fÆê>dÌ:\9c\18\83\1egï$´«âì)\9c\11áÏ\ fî¬×\80\80eX²^\8bÐ{ågZ\81&ÂR¹\vgètgDÙçQ.qÓ^ûÚäPÞb\94°½"1\ 4ç*h\91CÍr©ª\1fyÂ\9dv¢Ï\8eô\7fRc¯Ø\8e¬iUÅÒ\15Cªµ>l¥Ïö\9c°Å\89«ÄZJª\ 5r2RG¹"Jn\ 6.²Ç@\97,zÃ\16\9c=¦H§\83]ïrU/³³\194:¥\97NÒ]\1c1\v°\15vºX@«2N±K\92zdXÎvVDF¥K\81ó´\98Z\85\9d¾\88\8cVvº\8e¢8\95.IÏîÈà\ f\94$"\130Çö\1a>\9d\9e\88L\ 6¯ß]\9f¥ö #"Ãíñi¸\r\9b\87k"2â»\ 6ðºíú¡ÉDdøì\ eýehçGddª\ 5c¿\97&\b\vçê¤"õ²ú¼s"2
+q~H\18L{\9dÅ9\806a]\9c¬/K"{<)4\8f?\99´óÆõ\18Ëûú-j\123=\=c@\8f£AGáê· ê ¡ÉeÎ\8a5²\9e2´\94ãü$9\89~Ù×u¥.h\96\8fIR\17\94ª\ 5µêêÎËe\94ÍPëÍ×S¯«ãu\9cj¥°v\82\b*®S>¤JÈÉúRõ\0æ{\9b$m\1d<³«gdÑ\8aÎ y¾ç-êáè|\18\8d°øÕõp\97\9c?v~=\9c|\16ôëá®ÊPÕ]\ f§\91¡z£z8$\93¯^\81Zõp²'\82*æ\a^Z\ f'Í\86b·ÿn[\ f'sî(\ 4vãz8\1d§\ 4Ü \1eN0/Â\94¾\e×ÃÉøb
+Û:0\92ré\ 6\9d¤^¬¬Î@ºs"%G\f+Û\96zr"O²$.[û½ëËë¡\10Ò\99 © G-3X÷\ e/\84#q\9eÏé\rg\8f!8×ÖØÓPNýfù\1cxm\89ÖS\r\88Ió\9d\99µ¯º\fe¶ò` \9bz!\8eh\11r·ÿÈWzݤ"ªu0\oгÀ^\94W\8e\82\1cS\\86¥\8fÁ\ 5å¤\12k\1cÐû\ 6Ëp°¿ÉiÀ\b\8eÚ2Ôç½"8W,C!\14°\b¯<ë\86\86£¼\9f.\7f\9a\96b\9a5\ 4&>bFë44!¨\93Ó\1aá\b]\92\18\16|¦iJ«9Ô\82\8aÔþ-*R?~oX\91
+\80Ý®"õã÷\ 6\15©ø]è\16\15©£»¦[\1d\8a¾\8aT\0ç*¹)¨\17Óuª\88fodݧs+Rõ\1f\ 3-t\89åóúÐ\ 2Q94õÜ$#x¢NÜî>Y\86q»ÆDè\8bk1¥p\8ar즥pÐ\1eÓÌè\11\ fò\82R8¥y¹m)ÜUqKÝ¥pçù\95\97\96ÂIÎ \1a\92ÿH)\9clTáæ¥pJñ1\9dþ\19Ð\9fzD\81äüd\95Â'q\82Äy'ÂKí±ÁÍ\ eT\83\ 5gløXýìA\1d\ 1d\bL|\10ù\156Ì\98\12\1f2|Þæ\82¸\1a½àõéÚÂQI]\80U~'1:!\16\1dÅÍ\92.éä\bAtTF=0\11 'úÖ8YvfM?tAfdö>\8b\14ßÊ/\9d¬ï\90o\94ȯÔ0Õ-®p\83¥\90÷=ô\8b÷ÄC§\98quº©Ý·+\fþª´AK[¡üúQ\9eúmé»"m\13¢p¯ \9eü"Sìö\98\11ÖbÁ\82\1d´\93È\16»Ý¿\fÚÂð\95¨\ 4,\1d/¼\ f\94\8aÝ^\15«ÎàÍ|¸J\85\1dºV[\ 1iø\1e^ªý©Tì¦Qa·\ f(#\85×j+"\85\97jÏ\95j±\1câ
+;I±[;ä\17 \15\97\80¡«¦9¤Òb7xAæZ©Â.èP©°»+\8f¼\8aH±r=ÙV@
+ïã³\ 4\1f\8bßJÅnCµb7sX\19iåéþ\8dGzr\1f\9f¥µl\8e\94\90>«\90÷±þ¢\88\14ȱR©W\16Ϫ\99>°\80ý\8b¹ÍîèLùtµ\v\140I;z½H[bßÎxN\aDW|w(ñª\13\8cy\10\94\1a¢¼\97d\93Q¨\ 5µ\9c{Í\94[©\ 5\vÈ\1ar\88÷\88\8a:\12\9cô\95ö¤$§j\sé\97úQâ'9WÊ\9d*hä\93ªçypÞëÍn\92\93»GNöL\95«n\92;3
+wrèÙÅÕ\90;\83\ 5Ó8G\\9cקz\89\9cF^ß\8d.\91S\1c\9f½o:su5»¤y×\80n¢ëH¥\14\9d¥vùýqú×ËNë¼|¹tW}\17ÐiEzϯ¦»4\ es^5\9d\9c\1fÀGánUM'WK'\7f>Ì5Õtr1A\99õre5\9d\-Ý\15\95\8fglc+fÚ_\M'!\8b´¶úFÕtr 4O\b9»\9aNΩק\91Ï©¦\93Û§\11èÊ\eUÓÉÕÒIvFnPM'\17g\11\9f\vw\8bj:¹X;ï½Þª\9aNå\9c«\eVÓÉÕÒ\89sGoQM'§´Ñìß´\9aN®KÒ\93\8d¯¯¦\93\9b?\83å,óTG5\9dÜüÉfC]UMw
+JóNá\vªé\94mË[VÓ\9dE±\8b«éNAÁ³Ôn]Mw)ÅΫ¦\93ó°\f7¯¦\93\ 3\80j«oZM'\aÀpój:¹Ý\92\93\1cø««éäjé¤ÞëõÕtråcâ\9d\91[TÓÉÕÒIõËõÕtrÄ\10Ý\96u\93j:\1d\95\7¨¦\93«¥S¹\8fïz\a0c/\92È\ 1\94Ü/6×01t\16\88\99$t\97¹\9bC_á\93niA[\17·¾¯N®KªÖÅE÷Õ©Z\17úè¤y³\88I9*IëÄk:\f\v},P<ð\ 5
+\8aUÏò\9d:í\92.Q ëv¹³øI®KtvGMG=½^:É%R¨I\18\15:\11zW¯¨\92Kì\11Éì=o\1eÄ*A&ÍZ%2'ÐbÊ\17Ý\9dQ³&\7fÍ\9dø\9c+}&ùù×Ü)K\98\a\1dûÃz¯¹S©äÒWH§ëLpõüd梻+\aôp\ 4\14»¶¸EÇ5wz"\8a\ fç_÷£\18QT¹èNORAí\9a;¶öí\9c<`ŨP ÓsÝË\8dù¬s®öõ\9bÕYdâOº\8a_µS\94ÀÐâö«kyöu]¹\18\80?¹ÜQùB:\8dë
+´ù³Îäóß \90N3÷× «ÂP9\89CoU\1a$Lø&IduÅÐ\9f\94\93õÜ°\85däi=Q{£¨èäÏ\86RÚï\81åjÞ\v.T\90fCun\97\rÕ¹e6TGg6\94Fbs{£wñiT>:®Þ
+AP\14\8f\ 37XÎ\83s\99Ê\13yI\bε+\10A\91Èn¥JaíÌ.\ 4L»°Vå\ 6via-wD±`åL)u-ÿT@\b¬p8ËÂS¶ù!0¿®Ìp\81îR$å\ fá\94\90RÇ}¯*F\ 4´Ö\1cÒ\fjðLzI\93\86'®\98CÝ;ËtW¹)ïf7\18B]y³\8aÍ\97\9db!Ã9k\9fZéºhH»ò1á¼Ö\9c(\9c\9eR|Ñn5\82s^=§Â=V'G\14_:*é=\89g^Ä#Y ê\85\fgîðBÛËyRÈ`ûÕ¬Lѹ\f¯ºá\8e¯¯\94¿ãî¢exrÃÝå÷V\9fsÃ\9d\8a5\8eEåcÑu£\9bò4\96\8fî\9bònR\97¤tÇÝÙ£\92=Úû¤.IÏE\93gßp§qß«û4\86¥}Ã\9dÞSÍa\92ÊM
+»\98t\reïU\7faíèn¨Q\vkÐ_X;º\eË\86\ft8¡¢ÊÇ\e\14Ö~üÊU·\9f{Î\15\rçÜh\96Ü\19\11\0Î\r
+k!\146ÑIÝ\17Ó\86£|.\9c0µFp&¤b\19Sÿ¬úv\99\15½\17ï\8a~;<2Ëðõê¸\96àÞ7å\83eDf\80\8e"¦!)ñµÄZL³\8cé¤"L\9fÛ.\98\17EÇýõêd,Áª|Õ\15¦ÖSÄ4$%¾ûå~%,ôÔ[ÄÄÝ)|*¸\0E_\94\ 5óY\86!]\91êÕ[ƤË0,x=\12Ã\10b)x5t\89NÃp h\18¢¼\8bsk\ó¯\vÅ\93\1adϬ§OhW¬\bÓp\8bôîØÐ\14\93ÞÑxa\0\19\82\92\rN^bÃ\9cäohn.¨Þ-xýu\8fc
+©<]UÏÚ\12m zÂ\94¤êYÆ\95_½\98¯<ôÈácËÌ\88\ 2Ifp\v]¢×ÍD\ 6\ 6Kñ<è\16ßJd6W\rw\1f
+yï¤PÈûê0\8d³³g\15\8fe-î\1e\13]\92ÜÃÖÛ¯ßåêá\f\16X\9cö®rÑÝS¼-d%Q=\9c+1i)\15á\85\16NKÒ´\13ÊdqÁ\96rí\1fuW\9eú\14\91bånþI\ e©ÁBßÃ&¬\12\93"ýV»æÎ\13\13 \15W\89\91TÜE b\17Ò\8bî\82¯\8bFB¡öïήX\9aF\1e¿qÙ"<@1Dàdb#¸sNR\86'¹]O<ÒwµÊ¿\8d_\14\83\95Öþíº]E¤Ö\ 6±\98*!%ä\90²÷¾E\1f\9f^\15 \8c\95\1eß+
+H£UÑå\85R¤O\b©@#ߣ¥Ét\0ýÅ\14aÆOf_¾]B±\1d\93kÍâþhè\82\18t´év\8c\9al\84e\8cNvá\96\8fë\93»\9fTãÄY9m§\966é¢O\97\93ÜbfÝéÍ\1fSÓÍïEñ¾\82_G\84D¹$éWo\97è
+\b\95N\9d\95
+£TØ\ 4åØ\8dR«Þ\8b\8a\89Uâ\18¬\8eHRÛ&MAÓ1ur7³¼\17ÏKR)\0\93\9e<yyU\9aV\86&\93\a«\8b\9fv\12æ¼4·§xNʦV\97Ĭ)³^t\13]\7f\96\16\8a'«\95\ 2*Ç\89Ï\/*yZYº?§¹±bqåÝ\9dl^\ fÜ\82û2å+¹ô\89«¯\92ÞíK\95\18,:7î&§Æ\95àìߨ\1aé«t\83]\1e0´\8fëãc_¥\e\9cÛ\bæ\nËúÌs/\8c,KsGK·8\84\16Ö\0ê\17ÓôZ 0å,-=ñ1IÒÈØ¿\93VÍ\8eî\1aêcÖ+aÆþã|d\1dá`\9dÁà²bÎ\1c½\9b çú:\11±\9aÊ\87]É\85ì\10ÅÔ®\95A'C\88\12\b*Ú§.Hí\11EO|ZQQ\8eç\15\92E\ fÚw¦è.$û\92\9esÀÏîÙ5VZÆ\9b(\1aËvé´þÅ\96"\14Ï9Ða\8d\v»t\92§tE) XÞË\96rJιR.\ 5¼jþDu\16¶Ô\8bçfÌðâ\95èý«\80ùtôK\]«\ 2Lóòßs(¦y¿\8fþAúoI±À-)\16T\ 4vR.|j\1dòëå\92*@½5\80Ò\8cî\v
+Ät¸\9eì©\1aJ 4Ë\8euÕ\0ÂÙ¿¼
+P:\7fJ5\80\82\fÕ\vª\0Õk8NöÅ.¬\ 2\94°\8a¢\87y\9a\a«4C×ܨGSìÒ*@Ñ\94¨Ô\0\9eÔX)\92ã\9a\eõ\ 4>ò\ 5U\80Ê]\12ÇJ$û\95t\7fNF%±\9eξ\94ï¬\eÙ.¾\94O|[Ö?u)\9f\Táö\97òißÈv\8bKùh\1fÙv\e:)^Ê\87v\12Ï»\ 1ï\82Kùä¢p·¿\94Oõ~ä\9b]ʧ÷þÊ+.å\13E\15`§\1aÁ\ f\85NµzºJ\83\15nõ»ÅÙPð^¿\9bTrÝìl¨ëîõ\13\ fMZØtA¶ì½~êQ!\99\1a«\8bîõ\93p¥äV¿KÏ\86\92Þë§\1e\15RôÄϼ×Oa\86\98[ý\94Î\86:÷^?]\9c|õ½~ê\99!\82ÈÕU÷úé¨äºÁ½~t%\97R8\97Ó/WÞë§>´Óû+/»×OýV¿\8bn\0\91¹×O}@ò\19ªçßë';Mê§\9a_p¯\9fzÆ\99ÂYÐbêè-?R,>\12X}WÝ맮èÐ.Ï\rîõS¿ÕïÌ\13¨\14ïõSwu\15² Ͼ×O.k\8a¿ÕïêûønPó®ÿ^?u(höop¯\9fú\86\8a £ûª{ýÔ\vge*R/º×O~C\85½ÕOr;ÃÅ÷ú\9d¦Á oõcó\94..OaîõS\17f\ 6\89îºô^?Ù}\1aÎ\84 ½¤ëïõSO¸\16W¤^~¯\9f¨~ëäV¿\93s®.¼×O\9d\80ì\8dl×Þ맺Öz\90\93oq¯\9fúîð\19÷ñ]q\8a\87ø>¾ëë\1eäoõ;¿\9aCþ^?õ-bålÛóîõS·äé\9a÷ëïõS¿Õï6UiZù\19\ 6ËmîõSßo\96f\11\z¯\9fú~WÜÇwF\92\86Ú}|W\1f¦ÃÝêw\93ûø4}i\1d§7\9cÞëwÎU|\12 sݽ~'Å\16¢[ý¸\8a¡+ïõãØKöV¿KªÒÎ7s\14yìÌ{ýÔÌ\9c\8f_àïßä^¿[Ô½jß맯îõÚ{ý8(:ïF¿ì^¿ór®dîõ»¼\18\9e»ÕOt?²pWéì\9a'µ[ýTN9;ë^?\ 59Æ\98\ 1'ZìÂ{ýÔ\13\9dNbJ\17Þë§T\1e\17Ô¢\98þ\9a§¸]ߪ¼ú^¿óüÊKïõ\13 ®\93[ý®É\1e\14Þë§Î\11\ 6\9dA^{ýÔ\rCn'ñÊ{ýÔ\vby\8d|ݽ~ê·úÉØc\17Ýë§f\ 4Ñ6Ì-îõÓkÃ\w¯\9fx&¥·ú©V×\9eq¯\9fºrШâÔ}¯\9fºr`,%¸Ué=Q\ f\8d J\97i½p\9añ!9W*`\8e|´Þ\17\84vÑ.¦ârVO¼\17\97-JäXÐý,Þ½±\8a\96½}#\fy!ÁÌ]\b\82Ê\ 4Ø\12¨¨0Ø-Í \82\15a&û»ãhòølMo \113³\8d\1a\14Iú©\9cÉ9'\9f|\1eKÜ\1aè7C¹PØE-j¾Ýqd«\12Ñ\983ón~»3Õ\ e\ eS®üì»\e|\85ãæNÿ¾hYm;\r\e±Ø{\f\96p§ñ;\8c¬¦\8dyvõý¸¨\13\9dXìñ£úûÒÁ÷õYgñ´\÷*¾æñeXqØ\87Ã\82Ëñ3\bý´6mWb¶w½e\ f¤¥c·\91dÀlºÛ\11;\9f\ 53/\12\8e·ÆäÅ\15s5íé_ó¦\ 1×¾e[$ÉL¼mr~V\9a&\7f¾µv%&Á,VÆ2i¬Üí\97±Êýî\11«´\1e\17$¹ÌxÈã"m£lîÇ1\1c¸\89©´Lÿ\96\©èã;\9c\12\13*{ÃJ/\91!IÍ\1fîáªl\11²\ 2\89\99\17T_\9a¦\ eÅ·r®QNåR\13þ
+Hú\1eA[þ÷Y\9eXk<ØYôÌÀN&³Ûð£©ÿXwÉ\8d\95\1eéñÛkvZ-¯ms4±Î[Ú\9dÊ\83í»SK\ 5cÖfØÅ\15\87\82iú(y"\rë\ f`\vW\99º+×<&rù 8\19\16p>\ 3ÕÒ"Åë© \>ß\96µ(¶
+Í &Þ\9aç\87Æk\1f!\1d2\11\9b\ 10ÎÎ\1f,õó¿/YßÁYtÅ\82c_¾ä¯fÁ³æCvÖë>æªáïGW,\94Ê\94cæçiáóá¾\8aFêÏ\ f\%zY£]\95t¥o\87\7fÙ]E·åX¶Wk5¼ô\15O\1a,\85åÈ\87ÃÉÙ\96&«ß\18æ{]yüÃêÔ\8dùF¿\1e¨ãÍ0#Â\ 3¿\ 6
+3µ[\ 52½;/\ 2ËÊö{\er\860_(è@?\ 1Ų;ð3îB?Ñ©MÏ¿àA\16Á±\ 1\88\84\eý\150'\93ßå¡ã½\8e;²ól¢a"A¿ëÂ\8eº±í7÷Â)|Q°\8c¹\170sXðª\87O¹W^á\8byjƽÀ\ 4/<æÚ\82}ñè@#Å+\8d»\11÷Ì\85\1a\e,tóÊ\97w½ò\bàTöq\f>ó1*!ô\88Á\82¥\r^\r7üð§\9f\86=þ²p°\9f\t\93ñ\1e\87§t<y\ 4úÅ\f\98Å\ eï\87yòÒ\8d&á\ 2\84ó\84¡cãñIµ\85~2`'oï8rS0ß ìò5;«\0xÛu£·~G8Î\91¥ëe±`\ es\14ó¯;\96\92;æøÊ&°\17³\90%\81Ȥ\ 5*ò0O½WFò\ 3\88>9x\ 6Ë\15\101\ 1DÜwO%]½\ 4\19N÷\82\8f¹ÈçÔN¯&Ç[Çd°0ü;x÷ç6»\ 6\95«÷ûß<{ù\1dÇé\8a\1dzßÍO\98¿XMAK°Os·¿øVÃi¶/NZ!æ¯uÏ\8fþ\ 2\9c\<¾\7f¡Åî/9FÃ\13Í\aõ\99 V6µ·\b\96=·*\15\97=Zô`,\82e\1f
+&Á_É\87¬\8fÚgÐÚ/\1eGí\96ì²\97Ü\9aËpàÃ\86vH\80`v a\0Ùõà@1¥{\17Ûèå\17,b·\17N\89\1düü à[\9f«ôòZ\85¤ü`ò\98C¸\1d]®\89îÁ\ 4?#NzÅ\8fî:A\ 4\eú4¿Ì\\80õÎÜ]\v-\897 Ï_H\9a9\89v$I\8bÌY/þ.\e\12\ 1òà\83a\10î\1fø\ 2wÛ\16>¸z\1dü$B¿2v\80\91Þº\8bëò'èT\rô1]@RÇ\ e¼é^\86\91wé\9a\ f\v\8dë\19Z
+¤#/ÕÂ÷*7\ 5\16ã>Ï4©Ä\1dpr\9aèÂc@\9b(Nïñ\99ñJÏ\1e\ 5ó;oIöÒäÌ\ e¡©râÅ3\81mXQ-\8e\8f!vHù~\90Å\85®SÆ\88»\90\8f×\9aè\19¼ãö\89Qß)Ò%4s\10\80d¦#\0Pûp{\85÷¿ -\97î\r\9d0³øù\0\8d\96\9e¨X\9c6dîÁ³è\916x¬oþ\a\81R£Ëâ\93-\1eÀ\93\ 4\0<½Á\7f\14\81¨Z«¼!\aiBWÑÃ\19\ 2R×ýè\aÊ#\r¤ »ê\82\7fy¹g>î\19\980w\a¨\93\83\9dD\8c\ 6(\86Ù½o\ 2ʳ£FG<|³'\19¤ lnÑ\vûØüü\ 1\18$X\91\1eqÀH'8 úzbÆÂ\ 1Ò\12\1evÀ\9a7\8e\ 1|uÏ\18?ëޣȬ´n\98yÉ;ê\9cMQýôÞýô\909\ 1\10(êÛ;É%É\8c5\ e\87é¤)\16\88´VL\99¾ÿ\88C¤wüÙ\16Psß±½\11Ôù;\ 5$x'\ 3cþÊjD\ 2fö\1d\85·é\17K\ 4¯GD\84à/G\84/\81\99\97ôÏ\9f8\12¼ I 9iã\90þålKE"\8c\92\8f<\11\ 2ïk<*Í\87\16 \15Ü\18-$\ 1m[Ê\11ÁËsÿ«iç+ÑD ó\83w}|\80ÒÀ\10c\1fMèvl\86\b¦ õnå\88ðªÂ\aô¹Ö4\15?\84T\142\92\0\0\98ý\13\10hS^?\88S\0/; \0áÙ\1dú@\för+B}=\88¢£èx´ë\861$å\0HW¥*\881uþ0DU\ 3°XüÊa,\ 4L%a)\83E\1f\88µI\11\84\ e\0P´_¶×îö`§\ e\0J~\r\10\1fû+û0üE±q\19\10zg£=&uô\81^ûJ½ (ÍÙp\9a\ 5\02\85ß\9d\bÀ\82f)\9ab\171U{uÔË\95ìÚ?\ 1±3i\93RUå\91w,\80ÁF(-±js0\11¶\1c|p¼3\10ô\16+\7fVÅ·"\ f÷\1ceq\ 1ei\85Èñ\98\1aa\ 6\84\9eùU\99ÝÁ\82\12ðØE\933Xé\11\19b\1e\93\82Ø\1e¯\1c\ 6iâxì"¡\ 1@\1cïôö\81ã1I/Æã+Wüx!\98N!\8f\9d\ 1bE]«\91ÇÛÃu+~ü+]®º5ò\1eX.U;,\93t\89\8fi¢m^\8c8d£ÈÔâ|à/\91\9742o>h\7fØ\96\1a0Þmþu\88\821\1eÆÑâ|?Æ3¬r\8e$Ä\f}\15\82ZA\ 3³êD.3ܪ\84güVé \ 3}* ´½ª^îC\81#)ô±ÒA;×ÑOlj·ÇÙ\17q'ÿ\ 2\85ªØ\17Y7za° W~[¦\91f_\95½ü7þÏãW\96}ÑÀø\17\12\17\ fù\1dBÌ\95¬\8b§\1d¬®åqWÊ\1eþ\15 `\ fpc¥ác\9cëJ\v\83\9e±+`\8em\0\83Tz~\b\e¸Ç£C\8c\ 1Ð.¸`\137ø'\ 2\14p»æá=¾£\93ñ\88Ú\r/j\ 4\10¼\ 2^m?cÐ\12ÆÁ?Søó\95\ 6\eÈt\81\ 1\8bæÏaö:Ø\90O\rÍ$ÀRÀ\13\fÒAËË` ä£\81h\82ørÌ
+\8bp¹\95_Gï£B7\14Î%tCY\17]¸×\rà<û\10\1cu(кÐ\80ÓÃx8á^*^Èõ¬\89ïÂ"Rß纹m\1f2vÌ\9f\7fw~1\91\9bÉë\92\vZ\ 5\10#ѳÿ-\9cËqÃÍMÎ\b¸ë^`y\8f\9fQ Ò\rÏTqÐ\7f\8dî^P4\0\92·ã¤ÿÊ¿\ 5ª0r3\0L\93¬Ñ}¥½$>\96\8b<UÚýwæ¢6Æ]¥¹»½cXàuåb\97Ô\17\98«Õ\9d×·¼k[i\8e\0.*ÅÆE¼6ÐdàAi\1fP¿\84\82\ e:ªÂ\ 5Nñªù'M/*nå\80o^0z]Á=\12XõâEi-0\1aùF/3ù\1c¯*Æä]pÉZVö\15\8cö\0_M\1aeEÁDwÁ²gº\fÖ\1d\1dD¡#¹\92µF\8dWùõݶ\fã0û\ 2V|Hî0Ш\85óë\85Î ¢Y \92r²ã{t!\11Æ\aÒÿ7m\88Dc\ 1c4\8cãÞh4\166ú\9e\8fk\82l\91Ëùrkt\e\12\ 6_®\86ã½ítW& ¢KüçPÜM\8e\eb{0Æ\8d¾\§P«ECEb²\9b\12Ft\9eDè;"p\8cé.0ü\1aPÚäIÀ{ÀòÅY¬²ªÞ?§FÅ\196H\v\16\v\92ø\8e@5\ 57\80\9e\r\16\93+½J\9a\1c\8fo1\93{±\ 4¯¾g^\93ë\18ï\98ÜÍ×¢É\835ýÀ\83\1dÈn£
+\96Ã[xó\96ô|\97w\91~\0\9bJ"\84P{§Sã\9c{ÿø\90Ǩt´\9aì{Ë»·àK\89üxÃÐy\9chï\ 4 \98Ó;FLqO\8b\1e\90ó³|\ 4cq/~^Mî\97¯\12è|ÿÕd÷\8cîàø\1eà? \93'\17h\83Q[¿L\8eå:mòl\9f>L®\897\ 6Õ\95E¯Bbãèÿ¬Bb¥Ñ?«\90\804â×Â?¦\90h\99÷õ\ f+$Næý£
+\89Á¢¥\90ظ(\rL\9aY£©\9a\f\96Ë!êWR\80\93\95ÔÔ\r\95\94Á"«¦ø}qq.\vø\ 6Ì-»ìã:\96=ZôpísË\1e\b3;\94n\ fP\8eµáÚ¯\9aÜ\8eLWfÙ\9b¥Ë\9eæ@ ïh\95YúÈ¡ýG'w\1ab¨³g\1a\8d~a t\07\ 6\82v\18Ô\85+ux(\97üÍ(³Ø\81~\82w4Áø~ÕAGWg¶_ô\13ü3ØÑÛ\91~[ÖôÉì%\16¼è\14±TÛ\8d\88å[¾\1e¼´Ú[ºã.´M\130'J\ fréZ`Â\1eë¼íÂ\180öi\8fÙ\ 2IG\1cüêEgǵ\93N¹Ø.×Ý\8cúìá^\99ýG\1f«\1e\e\18·\a\81\vw\10ó¿az{\ 1¨G'\1a\1f½W\ 3m\84\8f\9cP\83¨l<ó¼\91?IFdsy1ñ\8d_l^\83¹ô\15R\féÃg\1ea@\7f\12Kö\ 4L¦\83\9d\v\8aPm\99=\81 ³â\rVsl\90<µs\9en^x\9a|øÖo\8f\r\ 2¢Ý\8fð½É\927\17Y\0\13«\ 4\0Ä\92÷ @àå×
+ÎïÅ1\8b\ fjdhêù\96é^ \99r\90AÒ\88?Ùg/¿ì³\ 1é[¶¶.~W\11Vâ\ 2f\11\99\89W\84
+\90t¢s\14Ð^\ 5\93\8a`°8³}ç\88Ý8@Lu²q@o\e@#òÂm\ 3:sÊqeÌ\1c×pñµã\82«è\9e%B6à\12\1dÖýÍ\92 èãI\0{³\12l\e@Ã\9aådE"dâ«-K\ 4§E¼màÑ»}\84Îö\93#BJ;@ Æ\a\99xûÀï\9c\18,gm Ñ\v\9b\18\rm,\15Ñ\9e\ fKE!# \ 1\18,' ~\bûY N\0 ;ðD\0\98}'Ý èû»NW\84úz\10f³2Å\aW\f\83N\9b>\ 5 Y\95ª Ðm\13ç\ eC&;ï\9aaôâ>Åí8\18çÐ\ 1â+\8b]¸Éì9ý{û5«\eº©\ eu\0@Âh\80\88\1d\9c×õ¡`q±{\9b\12\10:g\ 3w7\n\1d}0XTzÑÃ=×ì¯âî¯\bÍR\88b\970\15²fôr%»ç,\ 5±/`\9a¤TSy\1es\rG\0¨»J5ÏKËð=Üùþ\15´\ 4\86\95\83iYþÁùv0\8fâ[Ø®qçd)\8bô\1eCYZ!r<¦F\98Ê\97WÏü*Ïne\1eôð<vÑäTöq="CÈcR\10UsÖwÕ0ª\9e2ÆòØeB\ 3æÍázûÀð\98´\17ã/Ëu+~¼Ç\ 5Ó)ÐÈúALÌ\11Ïu\1a\19\9fxRÞ«Vü$\\90.W\9d\1a\19e7\85p»??ÀkèCqhÔ\8e»V\11xãÅà\8bõ\81\9b[ÎK\1a\ 2\8aqþ0ðßÖ´ÇË\86w\ 6LR\18çû1\9eaÈkcÿÂíÈWa|-AÖ\19Lð
+¥Ül\9eiþõ\1d&©\15¼ì\87e\1fçH
+³=\81\1e\1arÑN\87ðEìÀ¥eÖ]Â\17\r\17\9dð\89f¿.Lù\ 4\82\94à¾ñ _ì\v|J«ÄÅ\83ñªGa6k¥gç²Y\1fÅÙ¬@\18pi\9b\8f^ä'À¥\89ÑÎ5Xc\90§\1fqÚë¬f\9eáÏ'!ìñÜ\ 5)ûÄ8¦\80\17ã\´ÞÝD\9bSyÈ^\90'\9e|L\9ei¦\ 6ÉöÄ\80\9d<õ\10XxóIò\1e\ 5uà½7\16&äã B¦é
+Èâwd² \14J\85^R÷ð\9c_{çÎ\{2k\14ë5SGÆ\r-\88#×\92ãAò~Gµ\9cä\82³RxÈG>\eâS#Å\87{C\87¶\99¨|¾Eç¹ÎѼ,½MÛ0ÞÞÅyîE·\1cs\81¼ÁW\80e¯nP\98S\9a\89pÙÁ}\ f\93XúT\80â¡ïcÙ¾\ f`\8f?¡ÃÕÇÙ¸d\1f\95?ì\10\8fõ\ 3èo®Î!$ܦ±ú¬tB7óasËp|\8bpÒSÂ\85\8e\10¿ $nè\1ebL\12w¿4b"WÐY@ÑQ;\1dZ\ 1v;\8a\9eòÁT\9f¿èyw¡\85Æ&\ fâ\1c´Ö`-×+\97¥ÉÞ·\ e\96\9eät\ 4î\18\8eP\r\83Õ>OLM.[\98\8b¯Ð\7fóJ"¯h¤xékú\8e:\f×¢\87^\84t\9c\ 5¬?\98eÌ@>\9fÓ\1c[ÑÎ\844¿\9bÝtÈCmïeÆWɺ\98\94O:¡\97úß´\ 1p/Ün\18\96¶SáV\83Áb\ 1O:Äá¸\87\rBÃ<1_n\e£?\ 4iÀ\8dôÿ0ð?øo$fÄýQ£?\14\ 2?Bðicl°£¶FÜall\r\96¡/G\1e\8aËÉa¹Û\8eÈ?Æ8|ôÚlôjEcÜH·\1d\82¶ £\1dô\ 6\e\82Öà\95\ 3îo\fA\ f\87\ 6Ì\98\ 3ÿ½þmÀ\18ÄàÇ\1fðã\ 1üñ\ 3\1eým\f\1a\9bÆ÷OÌ8\85í\9e\rÑ`\fv\ 6÷bÁpи1Ø\1f\1dF§|G\10\ 2\ fÚ\959ã\ 3ç\11\10¢\b\90µ\f\987\1c\vâxÔ\bþ\bà\81H\0þ\81ÇÂ\18|\12\8a\ 6\ 3x\10üáçþ{\1d\19\ 2\11àïà\91°\10c \18òÆüÁ(ó,\1436À3Ì\8b\ 5¢¸1\84ãÞX,\82Ãg\81\887\18\r\ 4Á³\887\1a\rD\8d\81\80\1f|\80£\a\98\1f¼\19\18üá°\17\ f\86Cü³\ 6x\86y#\0\19ÿ¡?\14\ 5b1\1eü\8bÁ\1fò{ýá\80_Ø\r\7f\b÷F#\81\10ß]ðÌï÷FbÁ ÿlmðã\0k8Â?òã\18Ý(\18\vyÃ\11\88\92{\12\8dÑm
+\ 6îY\0´Â\ 3±0\ 4Ï=\8bF½!Ü\1f1²À\ 3Ñ\0Ý\88ë\ 1÷¤À\13\96{\ 6\b\16\ 5ó\11\f\86øg\81h\98mÅ\0ç\9f°]\0°Øg\W\e\82gì\808èÜ O'·`\98\ 1N)\1aü±¨7\ 2ú\11\8b\0N\ 186\ 6\7fÄï\r\87\82\ 1þ\19¤uÈ\18ÄAËX Æþ\f\ 6éÝÂ\89\81y\10Á¼±h\bP\98\ 5\10\8cù\19²ÐH¸ß\13CÀ\ f¾\ e\86"ü³\0à\ 2\ e\ 4úÁ#@?Yôܧ|ÿ$c\98\80±9{*+\85íO$À\r:ê\aìäÇùgþ\bf\fBö\fG\98\1f\82\ 1Ã\9f~0\ 38\ e\98\80û\14r\83p¸ìo0\0<è\rû\81Xâ\9e\ 5ü\11H3\16\bóS0dú\ 1Û\ 1\1e\0×?É\18à \95GÜÈÓB\13\88P$Ú<À\v±´Gs¢K\8e\96k BçÔè/Â8Únw\87Ñ\81Ø\837Æ9IP\87\1dI\18©Åîoø\ 4|Â6\a¸U6üÿúj\v\14\rendstream\rendobj\r38 0 obj\r<</CreationDate(D:20080827013258+02'00')/Creator(Adobe Illustrator CS3)/ModDate(D:20080827013318+02'00')>>\rendobj\rxref\r0 43\r0000000003 65535 f\r
+0000000016 00000 n\r
+0000014224 00000 n\r
+0000000004 00000 f\r
+0000000006 00000 f\r
+0000014674 00000 n\r
+0000000007 00000 f\r
+0000000008 00000 f\r
+0000000009 00000 f\r
+0000000010 00000 f\r
+0000000011 00000 f\r
+0000000012 00000 f\r
+0000000016 00001 f\r
+0000014275 00000 n\r
+0000014533 00000 n\r
+0000014564 00000 n\r
+0000000017 00000 f\r
+0000000018 00000 f\r
+0000000019 00000 f\r
+0000000020 00000 f\r
+0000000021 00000 f\r
+0000000022 00001 f\r
+0000000023 00000 f\r
+0000000024 00000 f\r
+0000000025 00000 f\r
+0000000031 00000 f\r
+0000016399 00000 n\r
+0000016473 00000 n\r
+0000016647 00000 n\r
+0000017628 00000 n\r
+0000031546 00000 n\r
+0000000000 00001 f\r
+0000014649 00000 n\r
+0000014346 00000 n\r
+0000014417 00000 n\r
+0000014448 00000 n\r
+0000015725 00000 n\r
+0000015019 00000 n\r
+0000053083 00000 n\r
+0000015838 00000 n\r
+0000015886 00000 n\r
+0000015455 00000 n\r
+0000000162 00000 n\r
+trailer\r<</Size 43/Root 1 0 R/Info 38 0 R/ID[<A54447479992468B94FA561B9455A255><9B64ED4272634A6ABA86CC1FA8D7917D>]>>\rstartxref\r53206\r%%EOF\r
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <meta http-equiv="content-type" content="text/html; charset=utf-8" />
+ <meta id="viewport" name="viewport" content="width=320; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
+ <title>Universal iPhone UI Kit</title>
+ <link rel="stylesheet" href="stylesheets/iphone.css" />
+ <link rel="apple-touch-icon" href="images/apple-touch-icon.png" />
+ <script type="text/javascript" charset="utf-8">
+ window.onload = function() {
+ setTimeout(function(){window.scrollTo(0, 1);}, 100);
+ }
+ </script>
+</head>
+
+<body>
+
+ <div id="header">
+ <h1>UiUI Kit</h1>
+ </div>
+
+ <h1>Main index</h1>
+
+ <ul>
+ <li><a href="about.html">About</a></li>
+ <li class="arrow"><a href="headers.html">Headers</a></li>
+ <li class="arrow"><a href="normal-lists.html">Normal lists</a></li>
+ <li><a href="rounded-lists.html">Rounded lists</a></li>
+ <li><a href="plastic-lists.html">Plastic lists</a></li>
+ <li class="arrow"><a href="info-lists.html">Information fields</a></li>
+ <li><a href="images-list.html">Images grid</a></li>
+ <li><a href="chat.html">Chat</a></li>
+ <li><a href="forms.html">Forms</a></li>
+ <li><a href="button-panels.html">Buttons Panel</a></li>
+
+ </ul>
+
+ <ul class="data">
+ <li><p>This framework and its contents are in no way affiliated with, endorsed by, or supported by Apple Inc.</p></li>
+ </ul>
+
+<p><strong>Best enjoyed on a real iPhone</strong><br />This iPhone UI Framework kit is licenced under GNU Affero General Public License (<a href="http://www.gnu.org/licenses/agpl.html">GNU AGPL 3</a>)</p>
+
+
+
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <meta http-equiv="content-type" content="text/html; charset=utf-8" />
+ <meta id="viewport" name="viewport" content="width=320; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
+ <title>Information Fields</title>
+ <link rel="stylesheet" href="stylesheets/iphone.css" />
+ <link rel="apple-touch-icon" href="images/apple-touch-icon.png" />
+ <script type="text/javascript" charset="utf-8">
+ window.onload = function() {
+ setTimeout(function(){window.scrollTo(0, 1);}, 100);
+ }
+ </script>
+ <!-- for profile image -->
+ <style type="text/css" media="screen">
+ li.picture { background: #fff url(images/minid-profile.png) no-repeat !important; }
+ </style>
+ <!-- end line customization -->
+</head>
+
+<body>
+
+ <div id="header">
+ <h1>Information Fields</h1>
+ <a href="info-lists.html" id="backButton">Back</a>
+ </div>
+
+<h1>With images and content</h1>
+
+<ul class="profile">
+ <li class="picture"><a href="http://www.minid.net"><!--use this space to define tooltip title when user taps-->Julio Alonso Picture</a></li>
+ <li class="clearfix"><h2>Diego Martín Lafuente</h2><p>Minid.net</p></li>
+</ul>
+
+<ul class="field">
+ <li><h3>E-mail</h3> <a href="mailto:info@gmail.com">info@example.com</a></li>
+ <li class="arrow"><h3>Website</h3> <small>Blog</small> <a href="http://www.minid.net">Merodeando</a></li>
+ <li class="arrow"><h3>Address</h3> <a href="http://www.google.com/maps?f=q&hl=en&geocode=&q=Carrer+de+Cal%C3%A0bria+168,+08015+Barcelona,+Spain&sll=40.416741,-3.70325&sspn=0.720381,1.005249&ie=UTF8&z=16&iwloc=addr">Carrer de Calàbria 168,<br />08015 Barcelona, Spain<br />World</a>
+ <li><h3>Location</h3> <a href="http://www.google.com/maps?f=q&hl=en&geocode=&q=madrid&ie=UTF8&z=10">Map</a></li>
+ <li><h3>Mobile</h3> <a href="tel:+34999888777">+34 999 888 777</a></li>
+ <li><h3>Work</h3> <a href="tel:+34999888777">+34 212 462 174</a></li>
+ <li><h3>Notes</h3> <big>Hello there this is a very small note I want to write.</big></li>
+</ul>
+
+<ul class="data">
+ <li><p>This is how the picture works: You only need to print in the <code>HEAD</code> element of this page an <code>STYLE</code> element with a <code>li.picture</code> class and a background property.</p><p>View the source of this page as an example.</p><p>Only two <code>LI</code> elements can be used on <code>UL.profile</code>. The first one sets the picture dimentions, background and borders. The other holds the data, cleaning all possible styling.</p><p>Both Title and description on the second <code>LI</code> will overflow hidden with ellipsis if the text is really longer, but if you use horizontally it will scaled perfectly. You can test it on this page by turning the iPhone/iPod Touch vertical and horizontal position.</p></li>
+</ul>
+
+<p><strong>Best enjoyed on a real iPhone</strong><br />This iPhone UI Framework kit is licenced under GNU Affero General Public License (<a href="http://www.gnu.org/licenses/agpl.html">GNU AGPL 3</a>)</p>
+
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <meta http-equiv="content-type" content="text/html; charset=utf-8" />
+ <meta id="viewport" name="viewport" content="width=320; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
+ <title>Information Fields</title>
+ <link rel="stylesheet" href="stylesheets/iphone.css" />
+ <link rel="apple-touch-icon" href="images/apple-touch-icon.png" />
+ <script type="text/javascript" charset="utf-8">
+ window.onload = function() {
+ setTimeout(function(){window.scrollTo(0, 1);}, 100);
+ }
+ </script>
+</head>
+
+<body>
+
+ <div id="header">
+ <h1>Information Fields</h1>
+ <a href="info-lists.html" id="backButton">Back</a>
+ </div>
+
+<h1>Generic Fields</h1>
+
+<ul class="profile">
+ <li class="picture"><a href="/profile"><!--use this space to define tooltip title when user taps-->Julio Alonso Picture</a></li>
+ <li class="clearfix"><h2>Julio Alonso</h2><p>Weblogs S.L.</p></li>
+</ul>
+
+<ul class="field">
+ <li><h3>E-mail</h3> <a href="mailto:info@gmail.com">info@example.com</a></li>
+ <li class="arrow"><h3>Website</h3> <small>Blog</small> <a href="http://www.merodeando.com">Merodeando</a></li>
+ <li class="arrow"><h3>Address</h3> <a href="http://www.google.com/maps?f=q&hl=en&geocode=&q=Carrer+de+Cal%C3%A0bria+168,+08015+Barcelona,+Spain&sll=40.416741,-3.70325&sspn=0.720381,1.005249&ie=UTF8&z=16&iwloc=addr">Carrer de Calàbria 168,<br />08015 Barcelona, Spain<br />World</a>
+ <li><h3>Location</h3> <a href="http://www.google.com/maps?f=q&hl=en&geocode=&q=madrid&ie=UTF8&z=10">Map</a></li>
+ <li><h3>Mobile</h3> <a href="tel:+34999888777">+34 999 888 777</a></li>
+ <li><h3>Work</h3> <a href="tel:+34999888777">+34 212 462 174</a></li>
+</ul>
+
+
+
+
+
+
+<p><strong>Best enjoyed on a real iPhone</strong><br />This iPhone UI Framework kit is licenced under GNU Affero General Public License (<a href="http://www.gnu.org/licenses/agpl.html">GNU AGPL 3</a>)</p>
+
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <meta http-equiv="content-type" content="text/html; charset=utf-8" />
+ <meta id="viewport" name="viewport" content="width=320; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
+ <title>Information Fields</title>
+ <link rel="stylesheet" href="stylesheets/iphone.css" />
+ <link rel="apple-touch-icon" href="images/apple-touch-icon.png" />
+ <script type="text/javascript" charset="utf-8">
+ window.onload = function() {
+ setTimeout(function(){window.scrollTo(0, 1);}, 100);
+ }
+ </script>
+</head>
+
+<body>
+
+ <div id="header">
+ <h1>Information Fields</h1>
+ <a href="index.html" id="backButton">Back</a>
+ </div>
+
+<h1>Field sets</h1>
+
+<ul>
+ <li><a href="info-lists-without.html">Generic Field Sets</a></li>
+ <li><a href="info-lists-example.html">Field Set with inline-body Picture</a></li>
+</ul>
+
+<p><strong>Best enjoyed on a real iPhone</strong><br />This iPhone UI Framework kit is licenced under GNU Affero General Public License (<a href="http://www.gnu.org/licenses/agpl.html">GNU AGPL 3</a>)</p>
+
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+ GNU AFFERO GENERAL PUBLIC LICENSE
+ Version 3, 19 November 2007
+
+ Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+ Preamble
+
+ The GNU Affero General Public License is a free, copyleft license for
+software and other kinds of works, specifically designed to ensure
+cooperation with the community in the case of network server software.
+
+ The licenses for most software and other practical works are designed
+to take away your freedom to share and change the works. By contrast,
+our General Public Licenses are intended to guarantee your freedom to
+share and change all versions of a program--to make sure it remains free
+software for all its users.
+
+ When we speak of free software, we are referring to freedom, not
+price. Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+them if you wish), that you receive source code or can get it if you
+want it, that you can change the software or use pieces of it in new
+free programs, and that you know you can do these things.
+
+ Developers that use our General Public Licenses protect your rights
+with two steps: (1) assert copyright on the software, and (2) offer
+you this License which gives you legal permission to copy, distribute
+and/or modify the software.
+
+ A secondary benefit of defending all users' freedom is that
+improvements made in alternate versions of the program, if they
+receive widespread use, become available for other developers to
+incorporate. Many developers of free software are heartened and
+encouraged by the resulting cooperation. However, in the case of
+software used on network servers, this result may fail to come about.
+The GNU General Public License permits making a modified version and
+letting the public access it on a server without ever releasing its
+source code to the public.
+
+ The GNU Affero General Public License is designed specifically to
+ensure that, in such cases, the modified source code becomes available
+to the community. It requires the operator of a network server to
+provide the source code of the modified version running there to the
+users of that server. Therefore, public use of a modified version, on
+a publicly accessible server, gives the public access to the source
+code of the modified version.
+
+ An older license, called the Affero General Public License and
+published by Affero, was designed to accomplish similar goals. This is
+a different license, not a version of the Affero GPL, but Affero has
+released a new version of the Affero GPL which permits relicensing under
+this license.
+
+ The precise terms and conditions for copying, distribution and
+modification follow.
+
+ TERMS AND CONDITIONS
+
+ 0. Definitions.
+
+ "This License" refers to version 3 of the GNU Affero General Public License.
+
+ "Copyright" also means copyright-like laws that apply to other kinds of
+works, such as semiconductor masks.
+
+ "The Program" refers to any copyrightable work licensed under this
+License. Each licensee is addressed as "you". "Licensees" and
+"recipients" may be individuals or organizations.
+
+ To "modify" a work means to copy from or adapt all or part of the work
+in a fashion requiring copyright permission, other than the making of an
+exact copy. The resulting work is called a "modified version" of the
+earlier work or a work "based on" the earlier work.
+
+ A "covered work" means either the unmodified Program or a work based
+on the Program.
+
+ To "propagate" a work means to do anything with it that, without
+permission, would make you directly or secondarily liable for
+infringement under applicable copyright law, except executing it on a
+computer or modifying a private copy. Propagation includes copying,
+distribution (with or without modification), making available to the
+public, and in some countries other activities as well.
+
+ To "convey" a work means any kind of propagation that enables other
+parties to make or receive copies. Mere interaction with a user through
+a computer network, with no transfer of a copy, is not conveying.
+
+ An interactive user interface displays "Appropriate Legal Notices"
+to the extent that it includes a convenient and prominently visible
+feature that (1) displays an appropriate copyright notice, and (2)
+tells the user that there is no warranty for the work (except to the
+extent that warranties are provided), that licensees may convey the
+work under this License, and how to view a copy of this License. If
+the interface presents a list of user commands or options, such as a
+menu, a prominent item in the list meets this criterion.
+
+ 1. Source Code.
+
+ The "source code" for a work means the preferred form of the work
+for making modifications to it. "Object code" means any non-source
+form of a work.
+
+ A "Standard Interface" means an interface that either is an official
+standard defined by a recognized standards body, or, in the case of
+interfaces specified for a particular programming language, one that
+is widely used among developers working in that language.
+
+ The "System Libraries" of an executable work include anything, other
+than the work as a whole, that (a) is included in the normal form of
+packaging a Major Component, but which is not part of that Major
+Component, and (b) serves only to enable use of the work with that
+Major Component, or to implement a Standard Interface for which an
+implementation is available to the public in source code form. A
+"Major Component", in this context, means a major essential component
+(kernel, window system, and so on) of the specific operating system
+(if any) on which the executable work runs, or a compiler used to
+produce the work, or an object code interpreter used to run it.
+
+ The "Corresponding Source" for a work in object code form means all
+the source code needed to generate, install, and (for an executable
+work) run the object code and to modify the work, including scripts to
+control those activities. However, it does not include the work's
+System Libraries, or general-purpose tools or generally available free
+programs which are used unmodified in performing those activities but
+which are not part of the work. For example, Corresponding Source
+includes interface definition files associated with source files for
+the work, and the source code for shared libraries and dynamically
+linked subprograms that the work is specifically designed to require,
+such as by intimate data communication or control flow between those
+subprograms and other parts of the work.
+
+ The Corresponding Source need not include anything that users
+can regenerate automatically from other parts of the Corresponding
+Source.
+
+ The Corresponding Source for a work in source code form is that
+same work.
+
+ 2. Basic Permissions.
+
+ All rights granted under this License are granted for the term of
+copyright on the Program, and are irrevocable provided the stated
+conditions are met. This License explicitly affirms your unlimited
+permission to run the unmodified Program. The output from running a
+covered work is covered by this License only if the output, given its
+content, constitutes a covered work. This License acknowledges your
+rights of fair use or other equivalent, as provided by copyright law.
+
+ You may make, run and propagate covered works that you do not
+convey, without conditions so long as your license otherwise remains
+in force. You may convey covered works to others for the sole purpose
+of having them make modifications exclusively for you, or provide you
+with facilities for running those works, provided that you comply with
+the terms of this License in conveying all material for which you do
+not control copyright. Those thus making or running the covered works
+for you must do so exclusively on your behalf, under your direction
+and control, on terms that prohibit them from making any copies of
+your copyrighted material outside their relationship with you.
+
+ Conveying under any other circumstances is permitted solely under
+the conditions stated below. Sublicensing is not allowed; section 10
+makes it unnecessary.
+
+ 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
+
+ No covered work shall be deemed part of an effective technological
+measure under any applicable law fulfilling obligations under article
+11 of the WIPO copyright treaty adopted on 20 December 1996, or
+similar laws prohibiting or restricting circumvention of such
+measures.
+
+ When you convey a covered work, you waive any legal power to forbid
+circumvention of technological measures to the extent such circumvention
+is effected by exercising rights under this License with respect to
+the covered work, and you disclaim any intention to limit operation or
+modification of the work as a means of enforcing, against the work's
+users, your or third parties' legal rights to forbid circumvention of
+technological measures.
+
+ 4. Conveying Verbatim Copies.
+
+ You may convey verbatim copies of the Program's source code as you
+receive it, in any medium, provided that you conspicuously and
+appropriately publish on each copy an appropriate copyright notice;
+keep intact all notices stating that this License and any
+non-permissive terms added in accord with section 7 apply to the code;
+keep intact all notices of the absence of any warranty; and give all
+recipients a copy of this License along with the Program.
+
+ You may charge any price or no price for each copy that you convey,
+and you may offer support or warranty protection for a fee.
+
+ 5. Conveying Modified Source Versions.
+
+ You may convey a work based on the Program, or the modifications to
+produce it from the Program, in the form of source code under the
+terms of section 4, provided that you also meet all of these conditions:
+
+ a) The work must carry prominent notices stating that you modified
+ it, and giving a relevant date.
+
+ b) The work must carry prominent notices stating that it is
+ released under this License and any conditions added under section
+ 7. This requirement modifies the requirement in section 4 to
+ "keep intact all notices".
+
+ c) You must license the entire work, as a whole, under this
+ License to anyone who comes into possession of a copy. This
+ License will therefore apply, along with any applicable section 7
+ additional terms, to the whole of the work, and all its parts,
+ regardless of how they are packaged. This License gives no
+ permission to license the work in any other way, but it does not
+ invalidate such permission if you have separately received it.
+
+ d) If the work has interactive user interfaces, each must display
+ Appropriate Legal Notices; however, if the Program has interactive
+ interfaces that do not display Appropriate Legal Notices, your
+ work need not make them do so.
+
+ A compilation of a covered work with other separate and independent
+works, which are not by their nature extensions of the covered work,
+and which are not combined with it such as to form a larger program,
+in or on a volume of a storage or distribution medium, is called an
+"aggregate" if the compilation and its resulting copyright are not
+used to limit the access or legal rights of the compilation's users
+beyond what the individual works permit. Inclusion of a covered work
+in an aggregate does not cause this License to apply to the other
+parts of the aggregate.
+
+ 6. Conveying Non-Source Forms.
+
+ You may convey a covered work in object code form under the terms
+of sections 4 and 5, provided that you also convey the
+machine-readable Corresponding Source under the terms of this License,
+in one of these ways:
+
+ a) Convey the object code in, or embodied in, a physical product
+ (including a physical distribution medium), accompanied by the
+ Corresponding Source fixed on a durable physical medium
+ customarily used for software interchange.
+
+ b) Convey the object code in, or embodied in, a physical product
+ (including a physical distribution medium), accompanied by a
+ written offer, valid for at least three years and valid for as
+ long as you offer spare parts or customer support for that product
+ model, to give anyone who possesses the object code either (1) a
+ copy of the Corresponding Source for all the software in the
+ product that is covered by this License, on a durable physical
+ medium customarily used for software interchange, for a price no
+ more than your reasonable cost of physically performing this
+ conveying of source, or (2) access to copy the
+ Corresponding Source from a network server at no charge.
+
+ c) Convey individual copies of the object code with a copy of the
+ written offer to provide the Corresponding Source. This
+ alternative is allowed only occasionally and noncommercially, and
+ only if you received the object code with such an offer, in accord
+ with subsection 6b.
+
+ d) Convey the object code by offering access from a designated
+ place (gratis or for a charge), and offer equivalent access to the
+ Corresponding Source in the same way through the same place at no
+ further charge. You need not require recipients to copy the
+ Corresponding Source along with the object code. If the place to
+ copy the object code is a network server, the Corresponding Source
+ may be on a different server (operated by you or a third party)
+ that supports equivalent copying facilities, provided you maintain
+ clear directions next to the object code saying where to find the
+ Corresponding Source. Regardless of what server hosts the
+ Corresponding Source, you remain obligated to ensure that it is
+ available for as long as needed to satisfy these requirements.
+
+ e) Convey the object code using peer-to-peer transmission, provided
+ you inform other peers where the object code and Corresponding
+ Source of the work are being offered to the general public at no
+ charge under subsection 6d.
+
+ A separable portion of the object code, whose source code is excluded
+from the Corresponding Source as a System Library, need not be
+included in conveying the object code work.
+
+ A "User Product" is either (1) a "consumer product", which means any
+tangible personal property which is normally used for personal, family,
+or household purposes, or (2) anything designed or sold for incorporation
+into a dwelling. In determining whether a product is a consumer product,
+doubtful cases shall be resolved in favor of coverage. For a particular
+product received by a particular user, "normally used" refers to a
+typical or common use of that class of product, regardless of the status
+of the particular user or of the way in which the particular user
+actually uses, or expects or is expected to use, the product. A product
+is a consumer product regardless of whether the product has substantial
+commercial, industrial or non-consumer uses, unless such uses represent
+the only significant mode of use of the product.
+
+ "Installation Information" for a User Product means any methods,
+procedures, authorization keys, or other information required to install
+and execute modified versions of a covered work in that User Product from
+a modified version of its Corresponding Source. The information must
+suffice to ensure that the continued functioning of the modified object
+code is in no case prevented or interfered with solely because
+modification has been made.
+
+ If you convey an object code work under this section in, or with, or
+specifically for use in, a User Product, and the conveying occurs as
+part of a transaction in which the right of possession and use of the
+User Product is transferred to the recipient in perpetuity or for a
+fixed term (regardless of how the transaction is characterized), the
+Corresponding Source conveyed under this section must be accompanied
+by the Installation Information. But this requirement does not apply
+if neither you nor any third party retains the ability to install
+modified object code on the User Product (for example, the work has
+been installed in ROM).
+
+ The requirement to provide Installation Information does not include a
+requirement to continue to provide support service, warranty, or updates
+for a work that has been modified or installed by the recipient, or for
+the User Product in which it has been modified or installed. Access to a
+network may be denied when the modification itself materially and
+adversely affects the operation of the network or violates the rules and
+protocols for communication across the network.
+
+ Corresponding Source conveyed, and Installation Information provided,
+in accord with this section must be in a format that is publicly
+documented (and with an implementation available to the public in
+source code form), and must require no special password or key for
+unpacking, reading or copying.
+
+ 7. Additional Terms.
+
+ "Additional permissions" are terms that supplement the terms of this
+License by making exceptions from one or more of its conditions.
+Additional permissions that are applicable to the entire Program shall
+be treated as though they were included in this License, to the extent
+that they are valid under applicable law. If additional permissions
+apply only to part of the Program, that part may be used separately
+under those permissions, but the entire Program remains governed by
+this License without regard to the additional permissions.
+
+ When you convey a copy of a covered work, you may at your option
+remove any additional permissions from that copy, or from any part of
+it. (Additional permissions may be written to require their own
+removal in certain cases when you modify the work.) You may place
+additional permissions on material, added by you to a covered work,
+for which you have or can give appropriate copyright permission.
+
+ Notwithstanding any other provision of this License, for material you
+add to a covered work, you may (if authorized by the copyright holders of
+that material) supplement the terms of this License with terms:
+
+ a) Disclaiming warranty or limiting liability differently from the
+ terms of sections 15 and 16 of this License; or
+
+ b) Requiring preservation of specified reasonable legal notices or
+ author attributions in that material or in the Appropriate Legal
+ Notices displayed by works containing it; or
+
+ c) Prohibiting misrepresentation of the origin of that material, or
+ requiring that modified versions of such material be marked in
+ reasonable ways as different from the original version; or
+
+ d) Limiting the use for publicity purposes of names of licensors or
+ authors of the material; or
+
+ e) Declining to grant rights under trademark law for use of some
+ trade names, trademarks, or service marks; or
+
+ f) Requiring indemnification of licensors and authors of that
+ material by anyone who conveys the material (or modified versions of
+ it) with contractual assumptions of liability to the recipient, for
+ any liability that these contractual assumptions directly impose on
+ those licensors and authors.
+
+ All other non-permissive additional terms are considered "further
+restrictions" within the meaning of section 10. If the Program as you
+received it, or any part of it, contains a notice stating that it is
+governed by this License along with a term that is a further
+restriction, you may remove that term. If a license document contains
+a further restriction but permits relicensing or conveying under this
+License, you may add to a covered work material governed by the terms
+of that license document, provided that the further restriction does
+not survive such relicensing or conveying.
+
+ If you add terms to a covered work in accord with this section, you
+must place, in the relevant source files, a statement of the
+additional terms that apply to those files, or a notice indicating
+where to find the applicable terms.
+
+ Additional terms, permissive or non-permissive, may be stated in the
+form of a separately written license, or stated as exceptions;
+the above requirements apply either way.
+
+ 8. Termination.
+
+ You may not propagate or modify a covered work except as expressly
+provided under this License. Any attempt otherwise to propagate or
+modify it is void, and will automatically terminate your rights under
+this License (including any patent licenses granted under the third
+paragraph of section 11).
+
+ However, if you cease all violation of this License, then your
+license from a particular copyright holder is reinstated (a)
+provisionally, unless and until the copyright holder explicitly and
+finally terminates your license, and (b) permanently, if the copyright
+holder fails to notify you of the violation by some reasonable means
+prior to 60 days after the cessation.
+
+ Moreover, your license from a particular copyright holder is
+reinstated permanently if the copyright holder notifies you of the
+violation by some reasonable means, this is the first time you have
+received notice of violation of this License (for any work) from that
+copyright holder, and you cure the violation prior to 30 days after
+your receipt of the notice.
+
+ Termination of your rights under this section does not terminate the
+licenses of parties who have received copies or rights from you under
+this License. If your rights have been terminated and not permanently
+reinstated, you do not qualify to receive new licenses for the same
+material under section 10.
+
+ 9. Acceptance Not Required for Having Copies.
+
+ You are not required to accept this License in order to receive or
+run a copy of the Program. Ancillary propagation of a covered work
+occurring solely as a consequence of using peer-to-peer transmission
+to receive a copy likewise does not require acceptance. However,
+nothing other than this License grants you permission to propagate or
+modify any covered work. These actions infringe copyright if you do
+not accept this License. Therefore, by modifying or propagating a
+covered work, you indicate your acceptance of this License to do so.
+
+ 10. Automatic Licensing of Downstream Recipients.
+
+ Each time you convey a covered work, the recipient automatically
+receives a license from the original licensors, to run, modify and
+propagate that work, subject to this License. You are not responsible
+for enforcing compliance by third parties with this License.
+
+ An "entity transaction" is a transaction transferring control of an
+organization, or substantially all assets of one, or subdividing an
+organization, or merging organizations. If propagation of a covered
+work results from an entity transaction, each party to that
+transaction who receives a copy of the work also receives whatever
+licenses to the work the party's predecessor in interest had or could
+give under the previous paragraph, plus a right to possession of the
+Corresponding Source of the work from the predecessor in interest, if
+the predecessor has it or can get it with reasonable efforts.
+
+ You may not impose any further restrictions on the exercise of the
+rights granted or affirmed under this License. For example, you may
+not impose a license fee, royalty, or other charge for exercise of
+rights granted under this License, and you may not initiate litigation
+(including a cross-claim or counterclaim in a lawsuit) alleging that
+any patent claim is infringed by making, using, selling, offering for
+sale, or importing the Program or any portion of it.
+
+ 11. Patents.
+
+ A "contributor" is a copyright holder who authorizes use under this
+License of the Program or a work on which the Program is based. The
+work thus licensed is called the contributor's "contributor version".
+
+ A contributor's "essential patent claims" are all patent claims
+owned or controlled by the contributor, whether already acquired or
+hereafter acquired, that would be infringed by some manner, permitted
+by this License, of making, using, or selling its contributor version,
+but do not include claims that would be infringed only as a
+consequence of further modification of the contributor version. For
+purposes of this definition, "control" includes the right to grant
+patent sublicenses in a manner consistent with the requirements of
+this License.
+
+ Each contributor grants you a non-exclusive, worldwide, royalty-free
+patent license under the contributor's essential patent claims, to
+make, use, sell, offer for sale, import and otherwise run, modify and
+propagate the contents of its contributor version.
+
+ In the following three paragraphs, a "patent license" is any express
+agreement or commitment, however denominated, not to enforce a patent
+(such as an express permission to practice a patent or covenant not to
+sue for patent infringement). To "grant" such a patent license to a
+party means to make such an agreement or commitment not to enforce a
+patent against the party.
+
+ If you convey a covered work, knowingly relying on a patent license,
+and the Corresponding Source of the work is not available for anyone
+to copy, free of charge and under the terms of this License, through a
+publicly available network server or other readily accessible means,
+then you must either (1) cause the Corresponding Source to be so
+available, or (2) arrange to deprive yourself of the benefit of the
+patent license for this particular work, or (3) arrange, in a manner
+consistent with the requirements of this License, to extend the patent
+license to downstream recipients. "Knowingly relying" means you have
+actual knowledge that, but for the patent license, your conveying the
+covered work in a country, or your recipient's use of the covered work
+in a country, would infringe one or more identifiable patents in that
+country that you have reason to believe are valid.
+
+ If, pursuant to or in connection with a single transaction or
+arrangement, you convey, or propagate by procuring conveyance of, a
+covered work, and grant a patent license to some of the parties
+receiving the covered work authorizing them to use, propagate, modify
+or convey a specific copy of the covered work, then the patent license
+you grant is automatically extended to all recipients of the covered
+work and works based on it.
+
+ A patent license is "discriminatory" if it does not include within
+the scope of its coverage, prohibits the exercise of, or is
+conditioned on the non-exercise of one or more of the rights that are
+specifically granted under this License. You may not convey a covered
+work if you are a party to an arrangement with a third party that is
+in the business of distributing software, under which you make payment
+to the third party based on the extent of your activity of conveying
+the work, and under which the third party grants, to any of the
+parties who would receive the covered work from you, a discriminatory
+patent license (a) in connection with copies of the covered work
+conveyed by you (or copies made from those copies), or (b) primarily
+for and in connection with specific products or compilations that
+contain the covered work, unless you entered into that arrangement,
+or that patent license was granted, prior to 28 March 2007.
+
+ Nothing in this License shall be construed as excluding or limiting
+any implied license or other defenses to infringement that may
+otherwise be available to you under applicable patent law.
+
+ 12. No Surrender of Others' Freedom.
+
+ If conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License. If you cannot convey a
+covered work so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you may
+not convey it at all. For example, if you agree to terms that obligate you
+to collect a royalty for further conveying from those to whom you convey
+the Program, the only way you could satisfy both those terms and this
+License would be to refrain entirely from conveying the Program.
+
+ 13. Remote Network Interaction; Use with the GNU General Public License.
+
+ Notwithstanding any other provision of this License, if you modify the
+Program, your modified version must prominently offer all users
+interacting with it remotely through a computer network (if your version
+supports such interaction) an opportunity to receive the Corresponding
+Source of your version by providing access to the Corresponding Source
+from a network server at no charge, through some standard or customary
+means of facilitating copying of software. This Corresponding Source
+shall include the Corresponding Source for any work covered by version 3
+of the GNU General Public License that is incorporated pursuant to the
+following paragraph.
+
+ Notwithstanding any other provision of this License, you have
+permission to link or combine any covered work with a work licensed
+under version 3 of the GNU General Public License into a single
+combined work, and to convey the resulting work. The terms of this
+License will continue to apply to the part which is the covered work,
+but the work with which it is combined will remain governed by version
+3 of the GNU General Public License.
+
+ 14. Revised Versions of this License.
+
+ The Free Software Foundation may publish revised and/or new versions of
+the GNU Affero General Public License from time to time. Such new versions
+will be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+ Each version is given a distinguishing version number. If the
+Program specifies that a certain numbered version of the GNU Affero General
+Public License "or any later version" applies to it, you have the
+option of following the terms and conditions either of that numbered
+version or of any later version published by the Free Software
+Foundation. If the Program does not specify a version number of the
+GNU Affero General Public License, you may choose any version ever published
+by the Free Software Foundation.
+
+ If the Program specifies that a proxy can decide which future
+versions of the GNU Affero General Public License can be used, that proxy's
+public statement of acceptance of a version permanently authorizes you
+to choose that version for the Program.
+
+ Later license versions may give you additional or different
+permissions. However, no additional obligations are imposed on any
+author or copyright holder as a result of your choosing to follow a
+later version.
+
+ 15. Disclaimer of Warranty.
+
+ THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
+APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
+HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
+OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
+THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
+IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
+ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
+
+ 16. Limitation of Liability.
+
+ IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
+THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
+GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
+USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
+DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
+PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
+EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGES.
+
+ 17. Interpretation of Sections 15 and 16.
+
+ If the disclaimer of warranty and limitation of liability provided
+above cannot be given local legal effect according to their terms,
+reviewing courts shall apply local law that most closely approximates
+an absolute waiver of all civil liability in connection with the
+Program, unless a warranty or assumption of liability accompanies a
+copy of the Program in return for a fee.
+
+ END OF TERMS AND CONDITIONS
+
+ How to Apply These Terms to Your New Programs
+
+ If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+ To do so, attach the following notices to the program. It is safest
+to attach them to the start of each source file to most effectively
+state the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+
+ <one line to give the program's name and a brief idea of what it does.>
+ Copyright (C) <year> <name of author>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+Also add information on how to contact you by electronic and paper mail.
+
+ If your software can interact with users remotely through a computer
+network, you should also make sure that it provides a way for users to
+get its source. For example, if your program is a web application, its
+interface could display a "Source" link that leads users to an archive
+of the code. There are many ways you could offer source, and different
+solutions will be better for different programs; see section 13 for the
+specific requirements.
+
+ You should also get your employer (if you work as a programmer) or school,
+if any, to sign a "copyright disclaimer" for the program, if necessary.
+For more information on this, and how to apply and follow the GNU AGPL, see
+<http://www.gnu.org/licenses/>.
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <meta http-equiv="content-type" content="text/html; charset=utf-8" />
+ <meta id="viewport" name="viewport" content="width=320; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
+ <title>Normal lists</title>
+ <link rel="stylesheet" href="stylesheets/iphone.css" />
+ <link rel="apple-touch-icon" href="images/apple-touch-icon.png" />
+ <script type="text/javascript" charset="utf-8">
+ window.onload = function() {
+ setTimeout(function(){window.scrollTo(0, 1);}, 100);
+ }
+ </script>
+</head>
+<body id="normal">
+
+ <div id="header">
+ <h1>Contact lists</h1>
+ <a href="normal-lists.html" id="backButton">Back</a>
+ </div>
+
+<h4>E</h4>
+
+<ul>
+ <li><a href="index.html">Elea <em>Peliche</em></a></li>
+ <li><a href="index.html">Elizabeth <em>Nogales</em></a></li>
+ <li><small>Es mi hermano</small> <a href="index.html">Emiliano <em>Martín Lafuente</em></a></li>
+ <li><a href="index.html">Enrique <em>Dans</em></a></li>
+ <li><a href="index.html">Ernesto <em>González Aro…</em></a></li>
+</ul>
+
+<h4>F</h4>
+
+<ul>
+ <li><a href="index.html">Fernández <em>Cols Aleix</em></a></li>
+ <li><a href="index.html">Fernández <em>Dominguez Alex</em></a></li>
+ <li><a href="index.html">Flavia <em>Olmedo</em></a></li>
+ <li><a href="index.html">Francesc <em>Esplugas</em></a></li>
+ <li><a href="index.html">Francisco <em>Perez Garzón</em></a></li>
+</ul>
+
+<h4>Optional List</h4>
+
+<ul>
+ <li><small>It's free</small> <a href="index.html" class="arrow">Label + minilabel</a></li>
+ <li><a href="index.html" class="arrow">Only arrow</a></li>
+ <li><small>✔</small> Only labels</li>
+ <li><small>☆</small> <a href="index.html">Only labels</a></li>
+ <li><small>★</small> <a href="index.html">Only labels</a></li>
+</ul>
+
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <meta http-equiv="content-type" content="text/html; charset=utf-8" />
+ <meta id="viewport" name="viewport" content="width=320; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
+ <title>Normal lists</title>
+ <link rel="stylesheet" href="stylesheets/iphone.css" />
+ <link rel="apple-touch-icon" href="images/apple-touch-icon.png" />
+ <script type="text/javascript" charset="utf-8">
+ window.onload = function() {
+ setTimeout(function(){window.scrollTo(0, 1);}, 100);
+ }
+ </script>
+</head>
+<body id="normal">
+
+ <div id="header">
+ <h1>Content Lists</h1>
+ <a href="index.html" id="backButton">Back</a>
+ </div>
+
+ <h4>Standard items</h4>
+
+ <ul>
+ <li><a href="index.html">Standard linked item</a></li>
+ <li><small>I'm label</small> <a href="index.html">Standard linked item with minilabel</a></li>
+ <li class="arrow"><small class="counter">33</small> <a href="index.html">Standard linked item with minilabel</a></li>
+ <li class="arrow"><small>I'm a label</small> <a href="index.html">Standard linked item with minilabel and arrow</a></li>
+ <li class="arrow"><a href="index.html">Standard linked item and arrow</a></li>
+ </ul>
+
+ <h4>Standard with content</h4>
+
+ <ul>
+ <li><a href="heheh">One example with mini-label</a> <a href="jsjd">Formed in Athens, Georgia, in 1980 by Michael Stipe (lead vocals), Peter Buck (guitar), Mike Mills (bass guitar), and Bill Berry (drums and percussion).</a><a href="ahshs">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</a></li>
+ <li><small>Not linked</small> <a href="heheh">One example with mini-label</a> <a href="heheh">Formed in Athens, Georgia, in 1980 by Michael Stipe (lead vocals), Peter Buck (guitar), Mike Mills (bass guitar), and Bill Berry (drums and percussion).</a></li>
+ <li><small>Not linked</small> <a href="heheh">One example with mini-label</a> <a href="hashs">Formed in Athens, Georgia, in 1980 by Michael Stipe (lead vocals), Peter Buck (guitar), Mike Mills (bass guitar), and Bill Berry (drums and percussion).</a><a href="hsjs">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</a></li>
+ <li class="arrow"><a href="heheh">One example with mini-label</a> <a href="jsjd">Formed in Athens, Georgia, in 1980 by Michael Stipe (lead vocals), Peter Buck (guitar), Mike Mills (bass guitar), and Bill Berry (drums and percussion).</a><a href="ahshs">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</a></li>
+ <li class="img arrow"><a href="index.html" class="img theclassyouneedtoloadinline"></a> <a href="heheh">One example with mini-label</a> <a href="jsjd">Formed in Athens, Georgia, in 1980 by Michael Stipe (lead vocals), Peter Buck (guitar), Mike Mills (bass guitar), and Bill Berry (drums and percussion).</a><a href="ahshs">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</a></li>
+ <li><small>With link</small> <a href="index.html">One example without arrow and mini-label</a></li>
+ <li class="arrow"><small>With link</small> <a href="index.html">One example with arrow and mini-label</a></li>
+ </ul>
+
+ <h4>With icons</h4>
+
+ <ul>
+ <li class="ico arrow"><span class="fortheinlinestyles"></span> Standard item list</li>
+ <li class="ico arrow"><span class="fortheinlinestyles"></span> Standard linked item</li>
+ </ul>
+
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <meta http-equiv="content-type" content="text/html; charset=utf-8" />
+ <meta id="viewport" name="viewport" content="width=320; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
+ <title>Normal lists</title>
+ <link rel="stylesheet" href="stylesheets/iphone.css" />
+ <link rel="apple-touch-icon" href="images/apple-touch-icon.png" />
+ <script type="text/javascript" charset="utf-8">
+ window.onload = function() {
+ setTimeout(function(){window.scrollTo(0, 1);}, 100);
+ }
+ </script>
+</head>
+
+<body id="normal">
+
+ <div id="header">
+ <h1>Normal lists</h1>
+ <a href="normal-lists.html" id="backButton">Back</a>
+ </div>
+
+<ul>
+ <li><a href="index.html" class="arrow">Label + minilabel <small>It's free</small></a></li>
+ <li><a href="index.html" class="arrow">Only arrow</a></li>
+ <li>Only labels <small>✔</small></li>
+ <li><a href="index.html">Only labels <small>☆</small></a></li>
+ <li><a href="index.html">Only labels <small>★</small></a></li>
+</ul>
+
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <meta http-equiv="content-type" content="text/html; charset=utf-8" />
+ <meta id="viewport" name="viewport" content="width=320; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
+ <title>Normal lists</title>
+ <link rel="stylesheet" href="stylesheets/iphone.css" />
+ <link rel="apple-touch-icon" href="images/apple-touch-icon.png" />
+ <script type="text/javascript" charset="utf-8">
+ window.onload = function() {
+ setTimeout(function(){window.scrollTo(0, 1);}, 100);
+ }
+ </script>
+</head>
+<body>
+
+ <div id="header">
+ <h1>Normal lists</h1>
+ <a href="index.html" id="backButton">Index</a>
+ </div>
+
+ <h1>Normal list with icons</h1>
+
+ <ul>
+ <li><img src="images/list-icon-1.png" class="ico" /> Example one</li>
+ <li><a href="normal-contact.html"><img src="images/list-icon-2.png" class="ico" /> Example two</a></li>
+ <li><small>new!</small> <a href="normal-contact.html"><img src="images/list-icon-3.png" class="ico" /> Example with label</a></li>
+ <li class="arrow"><a href="normal-content.html"><img src="images/list-icon-4.png" class="ico" /> Example with arrow</a></li>
+ <li><a href="normal-metal.html"><img src="images/list-icon-5.png" class="ico" /> Metal list</a></li>
+ </ul>
+
+<p><strong>Best enjoyed on a real iPhone</strong><br />This iPhone UI Framework kit is licenced under GNU Affero General Public License (<a href="http://www.gnu.org/licenses/agpl.html">GNU AGPL 3</a>)</p>
+
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <meta http-equiv="content-type" content="text/html; charset=utf-8" />
+ <meta id="viewport" name="viewport" content="width=320; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
+ <title>Normal lists</title>
+ <link rel="stylesheet" href="stylesheets/iphone.css" />
+ <link rel="apple-touch-icon" href="images/apple-touch-icon.png" />
+ <script type="text/javascript" charset="utf-8">
+ window.onload = function() {
+ setTimeout(function(){window.scrollTo(0, 1);}, 100);
+ }
+ </script>
+</head>
+<body>
+
+ <div id="header">
+ <h1>Normal lists</h1>
+ <a href="index.html" id="backButton">Index</a>
+ </div>
+
+ <h1>Normal list types</h1>
+
+ <ul>
+ <li><a href="normal-simple.html">Simple list</a></li>
+ <li><a href="normal-contact.html">Contact list</a></li>
+ <li><small>new!</small> <a href="normal-icon.html">Icon list</a></li>
+ <li><a href="normal-content.html">Content List</a></li>
+ <li><a href="normal-metal.html">Metal list</a></li>
+ </ul>
+
+<p><strong>Best enjoyed on a real iPhone</strong><br />This iPhone UI Framework kit is licenced under GNU Affero General Public License (<a href="http://www.gnu.org/licenses/agpl.html">GNU AGPL 3</a>)</p>
+
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <meta http-equiv="content-type" content="text/html; charset=utf-8" />
+ <meta id="viewport" name="viewport" content="width=320; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
+ <title>Normal lists</title>
+ <link rel="stylesheet" href="stylesheets/iphone.css" />
+ <link rel="apple-touch-icon" href="images/apple-touch-icon.png" />
+ <script type="text/javascript" charset="utf-8">
+ window.onload = function() {
+ setTimeout(function(){window.scrollTo(0, 1);}, 100);
+ }
+ </script>
+</head>
+<body id="metal">
+
+ <div id="header">
+ <h1>Metal list</h1>
+ <a href="normal-lists.html" id="backButton">Back</a>
+ </div>
+
+<ul>
+ <li class="arrow"><a href="index.html"><small>AM</small> 9:40 <em>Buenos Aires</em></a></li>
+ <li class="arrow"><a href="index.html"><small>PM</small> 19:40 <em>Singapur</em></a></li>
+ <li><a href="index.html"><small>PM</small> 22:40 <em>Japan</em></a></li>
+ <li class="arrow"><a href="index.html">11:40 <em>New York</em></a></li>
+ <li class="arrow"><a href="index.html">9:40 <em>Ontario</em></a></li>
+</ul>
+
+
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <meta http-equiv="content-type" content="text/html; charset=utf-8" />
+ <meta id="viewport" name="viewport" content="width=320; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
+ <title>Normal lists</title>
+ <link rel="stylesheet" href="stylesheets/iphone.css" />
+ <link rel="apple-touch-icon" href="images/apple-touch-icon.png" />
+ <script type="text/javascript" charset="utf-8">
+ window.onload = function() {
+ setTimeout(function(){window.scrollTo(0, 1);}, 100);
+ }
+ </script>
+</head>
+<body id="normal">
+
+ <div id="header">
+ <h1>Normal lists</h1>
+ <a href="normal-lists.html" id="backButton">Back</a>
+ </div>
+
+<ul>
+ <li><small>It's free</small> <a href="index.html" class="arrow">Label + minilabel</a></li>
+ <li><a href="index.html" class="arrow">Only arrow</a></li>
+ <li><small>✔</small> Only labels</li>
+ <li><small>☆</small> <a href="index.html">Only labels</a></li>
+ <li><small>★</small> <a href="index.html">Only labels</a></li>
+</ul>
+
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <meta http-equiv="content-type" content="text/html; charset=utf-8" />
+ <meta id="viewport" name="viewport" content="width=320; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
+ <title>Normal lists</title>
+ <link rel="stylesheet" href="stylesheets/iphone.css" />
+ <link rel="apple-touch-icon" href="images/apple-touch-icon.png" />
+ <script type="text/javascript" charset="utf-8">
+ window.onload = function() {
+ setTimeout(function(){window.scrollTo(0, 1);}, 100);
+ }
+ </script>
+ <style type="text/css" media="screen">
+ ul.minibanner li.one { background: url(images/banner-1.png) no-repeat; }
+ ul.minibanner li.two { background: url(images/banner-2.png) no-repeat; }
+ ul.bigbanner li.one { background: url(images/banner-3.png) no-repeat; }
+ </style>
+</head>
+<body id="plastic">
+
+ <div id="header">
+ <h1>Plastic Lists</h1>
+ <a href="index.html" id="backButton">Back</a>
+ </div>
+
+ <ul class="bigbanner">
+ <li class="one"><a href="index.html">Use this space as title tooltip</a></li>
+ </ul>
+
+ <ul class="minibanner">
+ <li class="one"><a href="index.html">Use this space as title tooltip</a></li>
+ <li class="two"><a href="index.html">Use this space as title tooltip</a></li>
+ </ul>
+
+ <ul>
+ <li class="arrow"><small>2,99€</small> <a href="normal-simple.html">Simple list</a></li>
+ <li class="arrow"><small>Free</small> <a href="normal-contact.html">Contact list</a></li>
+ <li class="arrow"><small>Open Source</small> <a href="normal-content.html">Content List</a></li>
+ <li class="arrow"><small>35€</small> <a href="normal-metal.html">Metal list</a></li>
+ <li class="arrow"><a href="normal-metal.html">Metal list</a></li>
+ <li class="arrow"><a href="normal-content.html">Content List</a></li>
+ <li><a href="/flash/player_net9_20080425.swf?link=594&cate=2">Download</a></li>
+ </ul>
+
+<p><strong>Best enjoyed on a real iPhone</strong><br />This iPhone UI Framework kit is licenced under GNU Affero General Public License (<a href="http://www.gnu.org/licenses/agpl.html">GNU AGPL 3</a>)</p>
+
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <meta http-equiv="content-type" content="text/html; charset=utf-8" />
+ <meta id="viewport" name="viewport" content="width=320; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
+ <title>Rounded lists</title>
+ <link rel="stylesheet" href="stylesheets/iphone.css" />
+ <script type="text/javascript" charset="utf-8">
+ window.onload = function() {
+ setTimeout(function(){window.scrollTo(0, 1);}, 100);
+ }
+ </script>
+</head>
+
+<body>
+
+ <div id="header">
+ <h1>Rounded Lists</h1>
+ <a href="index.html" id="backButton">Back</a>
+ </div>
+
+<h1>Standard items</h1>
+
+<ul>
+ <li><a href="index.html">Standard linked item</a></li>
+ <li><small>I'm label</small> <a href="index.html">Standard linked item with minilabel</a></li>
+ <li class="arrow"><small>I'm a label</small> <a href="index.html">Standard linked item with minilabel and arrow</a></li>
+ <li class="arrow"><a href="index.html">Standard linked item and arrow</a></li>
+</ul>
+
+<h1>Standard with content</h1>
+
+<ul>
+ <li><a href="heheh">One example with mini-label</a> <a href="jsjd">Formed in Athens, Georgia, in 1980 by Michael Stipe (lead vocals), Peter Buck (guitar), Mike Mills (bass guitar), and Bill Berry (drums and percussion).</a><a href="ahshs">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</a></li>
+ <li><small>Not linked</small> <a href="heheh">One example with mini-label</a> <a href="heheh">Formed in Athens, Georgia, in 1980 by Michael Stipe (lead vocals), Peter Buck (guitar), Mike Mills (bass guitar), and Bill Berry (drums and percussion).</a></li>
+ <li><small>Not linked</small> <a href="heheh">One example with mini-label</a> <a href="hashs">Formed in Athens, Georgia, in 1980 by Michael Stipe (lead vocals), Peter Buck (guitar), Mike Mills (bass guitar), and Bill Berry (drums and percussion).</a><a href="hsjs">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</a></li>
+ <li class="arrow"><a href="heheh">One example with mini-label</a> <a href="jsjd">Formed in Athens, Georgia, in 1980 by Michael Stipe (lead vocals), Peter Buck (guitar), Mike Mills (bass guitar), and Bill Berry (drums and percussion).</a><a href="ahshs">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</a></li>
+ <li class="img arrow"><a href="index.html" class="img theclassyouneedtoloadinline"></a> <a href="heheh">One example with mini-label</a> <a href="jsjd">Formed in Athens, Georgia, in 1980 by Michael Stipe (lead vocals), Peter Buck (guitar), Mike Mills (bass guitar), and Bill Berry (drums and percussion).</a><a href="ahshs">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</a></li>
+ <li class="img arrow"><a href="index.html" class="img theclassyouneedtoloadinline"></a> <small>Not linked</small> <a href="heheh">One example with mini-label</a> <a href="jsjd">Formed in Athens, Georgia, in 1980 by Michael Stipe (lead vocals), Peter Buck (guitar), Mike Mills (bass guitar), and Bill Berry (drums and percussion).</a><a href="ahshs">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</a></li>
+ <li><small>With link</small> <a href="index.html">One example without arrow and mini-label</a></li>
+ <li class="arrow"><small>With link</small> <a href="index.html">One example with arrow and mini-label</a></li>
+</ul>
+
+<h1>With icons</h1>
+
+<ul>
+ <li class="ico arrow"><span class="fortheinlinestyles"></span> Standard item list</li>
+ <li class="ico arrow"><span class="fortheinlinestyles"></span> Standard linked item</li>
+</ul>
+
+<h1>Individuals</h1>
+
+<ul>
+ <li><a href="index.html" class="arrow">Browse categories</a></li>
+</ul>
+
+<ul class="individual">
+ <li>Mensaje de texto</li>
+ <li><a href="index.html">Favoritos</a></li>
+</ul>
+
+<p><strong>Best enjoyed on a real iPhone</strong><br />This iPhone UI Framework kit is licenced under GNU Affero General Public License (<a href="http://www.gnu.org/licenses/agpl.html">GNU AGPL 3</a>)</p>
+
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+Title: Google Chrome vs el resto
+
+<p>Tenemos un nuevo navegador para disfrutar: Google Chrome, hecho, valga la redundancia por la misma gente que hace el buscador más utilizado del planeta: Google. En el diario Público leí la reseña que hicieron y me gustó todo, sólo una cosa no me terminó de cerrar: ¿por qué lo comparan con Internet Explorer 8 y no el 7? O sea, ¿el criterio es compararlo con navegadores en estado <em>beta</em> o con navegadores que tienen son lanzamientos oficiales como estables?</p>
+
+<h3>Google Chrome</h3>
+
+<p>Es un navegador rápido. Al menos, es lo que demostró funcionando en una máquina virtual que apenas emularía la velocidad de un ordenador con 700MB de RAM y 1Ghz de procesador. Se abre en un <em>plis</em> y todo va rápido. Esa es la sensación inicial.</p>
+
+<p>Necesita un Windows XP con Service Pack 2 para poder funcionar, de lo contrario, el instalador te dirá que no puedes usarlo. El instalador apenas ocupa 500KB, se baja de internet todo, y creo que es acertado el método.
+
+<p>Si fuera estables, entonces deberíamos comprar Firefox 3, Internet Explorer 7. Aunque, el verdadero problema no es ese. Ya que, Microsoft tiene dividido el uso de Internet Explorer en 6 y 7. Mis estadísticas indican que, incluso siendo un público especializados, el 7 le gana al 6 pero no tanto, y el 8 apenas es visible.</p>
+
+<p>Pero yendo al grano, me causó gracia el recuadro de pros y contras de los navegadores, lo resumiré aquí:</p>
+
+<blockquote>
+
+ <h3>Microsoft Internet Explorer 8</h3>
+
+ <p>Lo mejor:</p>
+
+ <ul>
+ <li>Es el más difundido, todas las webs funcionan correctamente con él.</li>
+ <li>Integración con Windows. Muchas aplicaciones de Windows utilizan partes del navegador para funcionar.</li>
+ <li>Extensiones, ActiveX. Los programadores pueden añadir funciones para realizar tareas especializadas.</li>
+ </ul>
+
+<p>Lo mejorable:</p>
+
+<ul>
+ <li>Vulnerabilidades, que tardan en corregirse. Como promedio, tardan unos nueve días en ser corregidos mediante una revisión o parche.</li>
+ <li>Pobre gestión de los estándares web.</li>
+ <li>Ciclo de versiones y revisiones lento, aunque la compañía ha mejorado algo en Explorer 7 y 8.</li>
+</ul>
+
+</blockquote>
+
+<p>Vayamos punto por punto:</p>
+
+<blockquote><p>Es el más difundido, todas las webs funcionan correctamente con él.</p></blockquote>
+
+<p>Esta es una apreciación bastante incorrecta. Ni es el más difundido (8 apenas tiene meses de lanzamiento) ni todas las webs funcionan correctamente. De hecho, Internet Explorer 8 funciona muy similar a Firefox, Safari y Opera ahora, al ir con modo estándar por defecto. Esto significa que, aunque navegues webs de bancos, administraciones verás los mismos problemas e incluso, algunos peores sólo por el hecho que esas webs utilizan métodos de codificación que se ajustaban a Internet Explorer 6 (casi el más difundido). En mis pruebas, la beta 2 de IE8 iba mejor que la 1 que parecía, no sé, un malware. Entrabas a Google Maps y no existían los mapas.</p>
+
+<blockquote><p>Integración con Windows. Muchas aplicaciones de Windows utilizan partes del navegador para funcionar.</p></blockquote>
+
+<p>Esta es otra apreciación bastante locuaz. La integración con el OS no es entera, de hecho, el OS no utiliza los últimos componentes, va todo con la DLL concreta para la UI que maneje Windows en ese momento. Por ejemplo, hay casos donde tienes Internet Explorer 8 rendereando varios modos de compatibilidad, y tienes abierto el Outlook Express mirando un correo electrónico usando otra versión del Internet Explorer que no es, precisamente, la 8 beta 2. Tanto Windows como Explorer usan el mismo motor pero no es la misma versión.</p>
+
+<p>Por otro lado, esto no algo apreciable, es invisible al usuario. El usuario utiliza sus aplicaciones y no tiene, se los aseguro, ni puñetera idea que está usando un interfaz montado a partir de XMLs, hojas de estilos que el motor de IE soporta en una ventana de sistema. Simplemente piensa que es una aplicación normal y corriente y no una aplicación web.</p>
+
+<blockquote><p>Extensiones, ActiveX. Los programadores pueden añadir funciones para realizar tareas especializadas.</p></blockquote>
+
+<p>Totalmente de acuerdo. De hecho, es una de las razones por las cuales, muchas empresas siguen apostando por ActiveX. Tanto porque no se quieren actualizar, como por la inconveniencia de meterse con otra cosa que no salga de una suite de programación de Microsoft. En este ámbito, las extensiones ActiveX le dan la verdadera vida al navegador, pero tampoco es la panacea. Comparar ActiveX contra, por ejemplo, las extensiones de Firefox me parecería incorrecto.</p>
+
+<blockquote><p>Vulnerabilidades, que tardan en corregirse. Como promedio, tardan unos nueve días en ser corregidos mediante una revisión o parche.</p></blockquote>
+
+<p>Aquí ya no me meto. En un año, la cantidad de vulnerabilidades que encontraron en IE6 e IE7 (separadamente hablando) fue horripilante. Más de 197 vulnerabilidades. Algunas, requirieron el lanzamiento de SP2 con premura según leía Slashdot y otros sitios que tocan el tema.</p>
+
+<blockquote><p>Pobre gestión de los estándares web.</p></blockquote>
+
+<p>Aquí Microsoft ha hecho un esfuerzo notable. En la versión 7, además de dar soporte a cosas tan indispensables como el alpha en los archivos PNG, soporte de algunos de los selectores más importantes de CSS 2. En Internet Explorer 8, el soporte de CSS 2.1 no está completo del todo, pero está casi soportado en su totalidad. La gestión de estándares no es pobre, pero tampoco es la mejor. En IE8 se aprecian incontables bugs de visualización (es una beta tirando a alpha) y todavía le quedan incontables cosas por soportar. De todo lo que podemos apreciar de este navegador es que al menos, algo de bola a los estándares le están dando.</p>
+
+<blockquote><p>Ciclo de versiones y revisiones lento, aunque la compañía ha mejorado algo en Explorer 7 y 8.</p></blockquote>
+
+<p>Bueno, el ciclo de versiones en Internet Explorer no es lento, es… casi estático. Tardaron más de 7 años en lanzar una actualización de 6 a 7, y tardarán bastante (otros 3 años más) en tener la 8. El ciclo se mueve más que nada a velocidad de caracol, y no se trata de lanzar nuevas versiones sino actualizaciones. Firefox, Safari, Opera viven lanzando actualizaciones, además de los típicos parches. Y de lo mejorcito que se puede uno esperar es eso, encontrar que la versión 3.1 soporta 3 o 4 cosas nuevas, que la versión 9.53 mejora este bug y otro, pero en IE eso no es posible. Cada parche es de seguridad, las actualizaciones que involucren mejoras y soporte a nuevas tecnologías está sujeto siempre a nuevas versiones y no actualizaciones. Por ejemplo, el soporte PNG llevó sólo 68 horas de programación y test en Internet Explorer 7 cuando llevaron más de 6 años sin ponerlo en IE6. No sé si captan la indirecta.</p>
+
+✂------✂------✂------✂------✂------✂------✂------✂------✂------✂------
+
+Main entry continued
--- /dev/null
+/*
+
+ Universal iPhone UI Kit 1.0
+ Author: Diego Martín Lafuente.
+ E-Mail: dlafuente@gmail.com
+ AIM: Minidixier
+ Licence: AGPLv3
+ date: 2008-08-09
+
+ URL: www.minid.net
+ SVN URL: http://code.google.com/p/iphone-universal/source/checkout
+ Download: http://code.google.com/p/iphone-universal/downloads/list
+
+ */
+
+
+ body {
+ background: rgb(197,204,211) url(../images/stripes.png);
+ font-family: Helvetica;
+ margin: 0 0 0 10px;
+ padding: 0;
+ -webkit-user-select: none;
+ -webkit-text-size-adjust: none;
+ }
+
+ /* standard header on body */
+
+ div#header + h1, ul + h1 {
+ color: rgb(76,86,108);
+ font: bold 18px Helvetica;
+ text-shadow: #fff 0 1px 0;
+ margin: 15px 0 0 10px;
+ }
+
+#searchForm {
+ background-color: #7ec8b2;
+}
+#nav {
+ background-color: #000;
+ height: 40px;
+ width: 100%;
+ overflow: hidden;
+ border-bottom-width: 0px;
+ border-bottom-top: 0px;
+}
+#nav li {
+ margin: 10px 5px 0 5px;
+ float: left;
+ padding: 0;
+ margin: 0;
+ list-style: none;
+ border-bottom-width: 0px;
+ border-bottom-top: 0px;
+}
+#nav a {
+ color: #fff;
+ text-transform: uppercase;
+ font-size: 10px;
+ margin-top: 0px;
+ margin-bottom: 0px;
+ margin-left: 0px;
+ vertical-align: bottom;
+ }
+
+ a {
+ text-decoration: none;
+ color: #1A4064;
+ cursor: pointer;
+ }
+
+
+
+
+ /* standard paragraph on body */
+
+ ul + p, ul.data + p + p, ul.form + p + p {
+ color: rgb(76,86,108);
+ font: 14px Helvetica;
+ text-align: center;
+ text-shadow: white 0 1px 0;
+ margin: 0 10px 17px 0;
+ }
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ /* headers */
+
+ div#header {
+ background: rgb(109,133,163) url(../images/bgHeader.png) repeat-x top;
+ border-top: 1px solid rgb(205,213,223);
+ border-bottom: 1px solid rgb(46,55,68);
+ padding: 10px;
+ margin: 0 0 0 -10px;
+ min-height: 44px;
+ -webkit-box-sizing: border-box;
+ }
+
+
+ div#header h1 {
+ color: #fff;
+ font: bold 20px/30px Helvetica;
+ text-shadow: #2d3642 0 -1px 0;
+ text-align: center;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+ overflow: hidden;
+ width: 49%;
+ padding: 5px 0;
+ margin: 2px 0 0 -24%;
+ position: absolute;
+ top: 0;
+ left: 50%;
+ }
+
+ div#header a {
+ color: #FFF;
+ background: none;
+ font: bold 12px/30px Helvetica;
+ border-width: 0 5px;
+ margin: 0;
+ padding: 0 3px;
+ width: auto;
+ height: 30px;
+ text-shadow: rgb(46,55,68) 0 -1px 0;
+ text-overflow: ellipsis;
+ text-decoration: none;
+ white-space: nowrap;
+ position: absolute;
+ overflow: hidden;
+ top: 7px;
+ right: 6px;
+ -webkit-border-image: url(../images/toolButton.png) 0 5 0 5;
+ }
+
+ div#header #backButton {
+ left: 6px;
+ right: auto;
+ padding: 0;
+ max-width: 55px;
+ border-width: 0 8px 0 14px;
+ -webkit-border-image: url(../images/backButton.png) 0 8 0 14;
+ }
+
+
+ .Action {
+ border-width: 0 5px;
+ -webkit-border-image: url(../images/actionButton.png) 0 5 0 5;
+ }
+
+
+
+ div#header ul {
+ margin-top: 15px;
+ }
+
+ div#header p {
+ color: rgb(60,70,80);
+ font-weight: bold;
+ font-size: 13px;
+ text-align: center;
+ clear: both;
+ position: absolute;
+ top: 4px;
+ left: 35px;
+ right: 35px;
+ margin: 0;
+ text-shadow: #C0CBDB 0 1px 0;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+ overflow: hidden;
+ }
+
+ div.pre {
+ height: 60px;
+ }
+
+
+ div.pre h1 {
+ top: 18px !important;
+ }
+
+ div.pre a {
+ top: 25px !important;
+ right: 6px;
+ }
+
+ div.pre a#Backbutton {
+ left: 6px !important;
+ }
+
+
+
+
+
+ /***** List (base) ******/
+
+ ul {
+ color: black;
+ background: #fff;
+ border: 1px solid #B4B4B4;
+ font: bold 17px Helvetica;
+ padding: 0;
+ margin: 15px 10px 17px 0;
+ -webkit-border-radius: 8px;
+ }
+
+
+ ul li {
+ color: #666;
+ border-top: 1px solid #B4B4B4;
+ list-style-type: none;
+ padding: 10px 10px 10px 10px;
+ }
+
+
+
+ /* when you have a first LI item on any list */
+
+ li:first-child {
+ border-top: 0;
+ -webkit-border-top-left-radius: 8px;
+ -webkit-border-top-right-radius: 8px;
+ }
+
+ li:last-child {
+ -webkit-border-bottom-left-radius: 8px;
+ -webkit-border-bottom-right-radius: 8px;
+ }
+
+
+ /* universal arrows */
+
+ ul li.arrow {
+ background-image: url(../images/chevron.png);
+ background-position: right center;
+ background-repeat: no-repeat;
+ }
+
+
+ #plastic ul li.arrow, #metal ul li.arrow {
+ background-image: url(../images/chevron_dg.png);
+ background-position: right center;
+ background-repeat: no-repeat;
+ }
+
+
+
+ /* universal links on list */
+
+ ul li a, li.img a + a {
+ color: #000;
+ text-decoration: none;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+ overflow: hidden;
+ display: block;
+ padding: 12px 10px 12px 10px;
+ margin: -10px;
+ -webkit-tap-highlight-color:rgba(0,0,0,0);
+ }
+
+ ul li.img a + a {
+ margin: -10px 10px -20px -5px;
+ font-size: 17px;
+ font-weight: bold;
+ }
+
+ ul li.img a + a + a {
+ font-size: 14px;
+ font-weight: normal;
+ margin-left: -10px;
+ margin-bottom: -10px;
+ margin-top: 0;
+ }
+
+
+ ul li.img a + small + a {
+ margin-left: -5px;
+ }
+
+
+ ul li.img a + small + a + a {
+ margin-left: -10px;
+ margin-top: -20px;
+ margin-bottom: -10px;
+ font-size: 14px;
+ font-weight: normal;
+ }
+
+ ul li.img a + small + a + a + a {
+ margin-left: 0px !important;
+ margin-bottom: 0;
+ }
+
+
+ ul li a + a {
+ color: #000;
+ font: 14px Helvetica;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+ overflow: hidden;
+ display: block;
+ margin: 0;
+ padding: 0;
+ }
+
+ ul li a + a + a, ul li.img a + a + a + a, ul li.img a + small + a + a + a {
+ color: #666;
+ font: 13px Helvetica;
+ margin: 0;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+ overflow: hidden;
+ display: block;
+ padding: 0;
+ }
+
+
+
+
+
+ /* standard mini-label */
+
+ ul li small {
+ color: #369;
+ font: 17px Helvetica;
+ text-align: right;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+ overflow: hidden;
+ display: block;
+ width: 23%;
+ float: right;
+ padding: 3px 0px;
+ }
+
+
+
+ ul li.arrow small {
+ padding: 0 15px;
+ }
+
+ ul li small.counter {
+ font-size: 17px !important;
+ line-height: 13px !important;
+ font-weight: bold;
+ background: rgb(154,159,170);
+ color: #fff;
+ -webkit-border-radius: 11px;
+ padding: 4px 10px 5px 10px;
+ display: inline !important;
+ width: auto;
+ margin-top: 2px;
+ }
+
+
+ ul li.arrow small.counter {
+ margin-right: 15px;
+ }
+
+
+
+
+ /* resize without labels */
+
+ ul li.arrow a {
+ width: 95%;
+ }
+
+ /* with labels */
+
+ ul li small + a {
+ width: 75%;
+ }
+
+ ul li.arrow small + a {
+ width: 70%;
+ }
+
+
+
+ /* images */
+
+ ul li.img {
+ padding-left: 115px;
+ }
+
+ ul li.img a.img {
+ background: url(../images/standard-img.png) no-repeat;
+ display: inline-block;
+ width: 100px;
+ height: 75px;
+ margin: -10px 0 -20px -115px;
+ float: left;
+ }
+
+
+
+ /* individuals */
+
+
+
+ ul.individual {
+ border: 0;
+ background: none;
+ clear: both;
+ height: 45px;
+ }
+
+ ul.individual li {
+ color: rgb(183,190,205);
+ background: white;
+ border: 1px solid rgb(180,180,180);
+ font-size: 14px;
+ text-align: center;
+ -webkit-border-radius: 8px;
+ -webkit-box-sizing: border-box;
+ width: 48%;
+ float:left;
+ display: block;
+ padding: 11px 10px 14px 10px;
+ }
+
+ ul.individual li + li {
+ float: right;
+
+ }
+
+
+ ul.individual li a {
+ color: rgb(50,79,133);
+ line-height: 16px;
+ margin: -11px -10px -14px -10px;
+ padding: 11px 10px 14px 10px;
+ -webkit-border-radius: 8px;
+ }
+
+ ul.individual li a:hover {
+ color: #fff;
+ background: #36c;
+ }
+
+
+
+
+ /* Normal lists and metal */
+
+ body#normal h4 {
+ color: #fff;
+ /* 002863 rgb(154,159,170) */
+ background: rgb(0,40,99) url(../images/bglight.png) top left repeat-x;
+ border-top: 1px solid rgb(0,40,99); /* rgb(165,177,186); */
+ text-shadow: #666 0 1px 0;
+ margin: 0;
+ padding: 2px 10px;
+ }
+
+
+ body#normal, body#metal {
+ margin: 0;
+ padding: 0;
+ background-color: rgb(255,255,255);
+ }
+
+ body#normal ul, body#metal ul, body#plastic ul {
+ -webkit-border-radius: 0;
+ margin: 0;
+ border-left: 0;
+ border-right: 0;
+ border-top: 0;
+ }
+
+ body#metal ul {
+ border-top: 0;
+ border-bottom: 0;
+ background: rgb(180,180,180);
+ }
+
+
+
+
+ body#normal ul li {
+ font-size: 20px;
+ }
+
+ body#normal ul li small {
+ font-size: 16px;
+ line-height: 28px;
+ }
+
+ body#normal li, body#metal li {
+ -webkit-border-radius: 0;
+ }
+
+ body#normal li em {
+ font-weight: normal;
+ font-style: normal;
+ }
+
+ body#normal h4 + ul {
+ border-top: 0px;
+ # border-top: 1px solid rgb(152,158,164);
+ border-bottom: 1px solid rgb(113,125,133);
+ }
+
+
+ body#metal ul li {
+ border-top: 1px solid rgb(238,238,238);
+ border-bottom: 1px solid rgb(156,158,165);
+ background: url(../images/bgMetal.png) top left repeat-x;
+ font-size: 26px;
+ text-shadow: #fff 0 1px 0;
+ }
+
+ body#metal ul li a {
+ line-height: 26px;
+ margin: 0;
+ padding: 13px 0;
+ }
+
+ body#metal ul li a:hover {
+ color: rgb(0,0,0);
+ }
+
+ body#metal ul li:hover small {
+ color: inherit;
+ }
+
+
+ body#metal ul li a em {
+ display: block;
+ font-size: 14px;
+ font-style: normal;
+ color: #444;
+ width: 50%;
+ line-height: 14px;
+ }
+
+ body#metal ul li small {
+ float: right;
+ position: relative;
+ margin-top: 10px;
+ font-weight: bold;
+ }
+
+
+ body#metal ul li.arrow a small {
+ padding-right: 0;
+ line-height: 17px;
+ }
+
+
+ body#metal ul li.arrow {
+ background: url(../images/bgMetal.png) top left repeat-x,
+ url(../images/chevron_dg.png) right center no-repeat;
+ }
+
+
+
+ /* option panel */
+
+ div#optionpanel {
+ background: url(../images/blackbg.png) top left repeat-x;
+ text-align: center;
+ padding: 20px 10px 15px 10px;
+ position: absolute;
+ left: 0;
+ right: 0;
+ bottom: 0;
+ }
+
+ div#optionpanel h2 {
+ font-size: 17px;
+ color: #fff;
+ text-shadow: #000 0 1px 0;
+ }
+
+
+
+
+
+ /***** BUTTONS *****/
+
+ .button {
+ color: #fff;
+ font: bold 20px/46px Helvetica;
+ text-decoration: none;
+ text-align: center;
+ text-shadow: #000 0 1px 0;
+ border-width: 0px 14px 0px 14px;
+ display: block;
+ margin: 3px 0;
+ }
+
+ .green { -webkit-border-image: url(../images/greenButton.png) 0 14 0 14; }
+ .red { -webkit-border-image: url(../images/redButton.png) 0 14 0 14; }
+
+ .white {
+ color: #000;
+ text-shadow: #fff 0px 1px 0;
+ -webkit-border-image: url(../images/whiteButton.png) 0 14 0 14;
+ }
+
+ .black { -webkit-border-image: url(../images/grayButton.png) 0 14 0 14; }
+
+
+/***** FORMS *****/
+
+/* fields list */
+
+ ul.form {
+
+ }
+
+ ul.form li {
+ padding: 7px 10px;
+ }
+
+ ul.form li.error { border: 2px solid red; }
+ ul.form li.error + li.error { border-top: 0; }
+
+ ul.form li:hover { background: #fff; }
+
+ ul li input[type="text"], ul li input[type="password"], ul li textarea, ul li select {
+ color: #777;
+ background: #fff url(../.png); /* this is a hack due the default input shadow that iphones uses on textfields */
+ border: 0;
+ font: normal 17px Helvetica;
+ padding: 0;
+ display: inline-block;
+ margin-left: 0px;
+ width: 100%;
+ -webkit-appearance: textarea;
+ }
+
+ ul li textarea {
+ height: 120px;
+ padding: 0;
+ text-indent: -2px;
+ }
+
+ ul li select {
+ text-indent: 0px;
+ background: transparent url(../images/chevron.png) no-repeat 103% 3px;
+ -webkit-appearance: textfield;
+ margin-left: -6px;
+ width: 104%;
+ }
+
+ ul li input[type="checkbox"], ul li input[type="radio"] {
+ margin: 0;
+ color: rgb(50,79,133);
+ padding: 10px 10px;
+ }
+
+ ul li input[type="checkbox"]:after, ul li input[type="radio"]:after {
+ content: attr(title);
+ font: 17px Helvetica;
+ display: block;
+ width: 246px;
+ margin: -12px 0 0 17px;
+ }
+
+
+
+ /**** INFORMATION FIELDS ****/
+
+ ul.data li h4 {
+ margin: 10px 0 5px 0;
+ }
+
+ ul.data li p {
+ text-align: left;
+ font-size: 14px;
+ line-height: 18px;
+ font-weight: normal;
+ margin: 0;
+ }
+
+ ul.data li p + p { margin-top: 10px; }
+
+
+ ul.data li {
+ background: none;
+ padding: 15px 10px;
+ color: #222;
+ }
+
+ ul.data li a {
+ display: inline;
+ color: #2E3744;
+ text-decoration: underline;
+ }
+
+
+ ul.field li small {
+ position: absolute;
+ right: 25px;
+ margin-top: 3px;
+ z-index: 3;
+ }
+
+ ul.field li h3 {
+ color: rgb(76,86,108);
+ width: 25%;
+ font-size: 13px;
+ line-height: 18px;
+ margin: 0 10px 0 0;
+ float: left;
+ text-align: right;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+ padding: 0;
+ }
+
+ ul.field li a {
+ font-size: 13px;
+ line-height: 18px;
+ overflow: visible;
+ white-space: normal;
+ display: inline-block;
+ width: 60%;
+ padding: 0;
+ margin: 0 0 0 0;
+ vertical-align: top;
+ }
+
+ ul.field li big {
+ font-size: 13px;
+ line-height: 18px;
+ font-weight: normal;
+ overflow: visible;
+ white-space: normal;
+ display: inline-block;
+ width: 60%;
+ }
+
+
+
+
+
+
+ ul.field li small {
+ font-size: 13px;
+ font-weight: bold;
+ }
+
+
+ /* this is for profiling */
+
+ ul.profile {
+ border: 0;
+ background: none;
+ clear: both;
+ min-height: 62px;
+ position: relative;
+ }
+
+ ul.profile li {
+ background: #fff url(../images/profile-user.png) no-repeat;
+ border: 1px solid #B4B4B4;
+ width: 62px;
+ height: 62px;
+ -webkit-border-radius: 4px;
+ -webkit-box-sizing: border-box;
+ float: left;
+ }
+
+ ul.profile li + li {
+ border: 0;
+ background: none;
+ width: 70%;
+ }
+
+
+ ul.profile li + li h2, ul.profile li + li p {
+ color: rgb(46,55,68);
+ text-shadow: #fff 0 1px 0;
+ margin: 0;
+ }
+
+ ul.profile li + li h2 {
+ font: bold 18px/22px Helvetica;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+ overflow: hidden;
+ }
+
+ ul.profile li + li p {
+ font: 14px/18px Helvetica;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+ overflow: hidden;
+ }
+
+
+ /* any A element inside this kind of field list will scale 62x62 */
+
+ ul.profile li a {
+ display: block;
+ width: 62px;
+ height: 62px;
+ color: transparent;
+ }
+
+
+
+ /***** PLASTIC LISTS *****/
+
+ body#plastic {
+ margin: 0;
+ padding: 0;
+ background: rgb(173,173,173);
+ }
+
+ body#plastic ul {
+ -webkit-border-radius: 0;
+ margin: 0;
+ border-left: 0;
+ border-right: 0;
+ border-top: 0;
+ background-color: rgb(173,173,173);
+ }
+
+
+ body#plastic ul li {
+ -webkit-border-radius: 0;
+ border-top: 1px solid rgb(191,191,191);
+ border-bottom: 1px solid rgb(157,157,157);
+ }
+
+
+ body#plastic ul li:nth-child(odd) {
+ background-color: rgb(152,152,152);
+ border-top: 1px solid rgb(181,181,181);
+ border-bottom: 1px solid rgb(138,138,138);
+ }
+
+
+ body#plastic ul + p {
+ font-size: 11px;
+ color: #2f3237;
+ text-shadow: none;
+ padding: 10px 10px;
+ }
+
+ body#plastic ul + p strong {
+ font-size: 14px;
+ line-height: 18px;
+ text-shadow: #fff 0 1px 0;
+ }
+
+ body#plastic ul li a {
+ text-shadow: rgb(211,211,211) 0 1px 0;
+ }
+
+ body#plastic ul li:nth-child(odd) a {
+ text-shadow: rgb(191,191,191) 0 1px 0;
+ }
+
+
+ body#plastic ul li small {
+ color: #3C3C3C;
+ text-shadow: rgb(211,211,211) 0 1px 0;
+ font-size: 13px;
+ font-weight: bold;
+ text-transform: uppercase;
+ line-height: 24px;
+ }
+
+
+
+ /**** MINI & BIG BANNERS ****/
+
+ #plastic ul.minibanner, #plastic ul.bigbanner {
+ margin: 10px;
+ border: 0;
+ height: 81px;
+ clear: both;
+ }
+
+ #plastic ul.bigbanner {
+ height: 140px !important;
+ }
+
+ #plastic ul.minibanner li {
+ border: 1px solid rgb(138,138,138);
+ background-color: rgb(152,152,152);
+ width: 145px;
+ height: 81px;
+ float: left;
+ -webkit-border-radius: 5px;
+ padding: 0;
+ }
+
+ #plastic ul.bigbanner li {
+ border: 1px solid rgb(138,138,138);
+ background-color: rgb(152,152,152);
+ width: 296px;
+ height: 140px;
+ float: left;
+ -webkit-border-radius: 5px;
+ padding: 0;
+ margin-bottom: 4px;
+ }
+
+ #plastic ul.minibanner li:first-child {
+ margin-right: 6px;
+ }
+
+
+ #plastic ul.minibanner li a {
+ color: transparent;
+ text-shadow: none;
+ display: block;
+ width: 145px;
+ height: 81px;
+ }
+
+ #plastic ul.bigbanner li a {
+ color: transparent;
+ text-shadow: none;
+ display: block;
+ width: 296px;
+ height: 145px;
+ }
+
+
+
+ /**** CHAT ****/
+
+
+ body#chat {
+ background: #DBE1ED;
+ }
+
+ body#chat div.bubble {
+ margin: 10px 10px 0 0px;
+ width: 80%;
+ clear: both;
+ }
+
+
+
+ body#chat div.right {
+ float: right;
+ }
+
+ body#chat div.left {
+ float: left;
+ }
+
+
+ body#chat div.right p {
+ border-width: 10px 20px 12px 10px;
+ }
+
+ body#chat div.left p {
+ border-width: 10px 10px 12px 20px;
+ }
+
+ /* lefties */
+
+ body#chat div.left p.lime {
+ -webkit-border-image: url(../images/chat_bubbles_lime_l.png) 10 10 13 19;
+ }
+
+ body#chat div.left p.lemon {
+ -webkit-border-image: url(../images/chat_bubbles_lemon_l.png) 10 10 13 19;
+ }
+
+ body#chat div.left p.orange {
+ -webkit-border-image: url(../images/chat_bubbles_orange_l.png) 10 10 13 19;
+ }
+
+ body#chat div.left p.aqua {
+ -webkit-border-image: url(../images/chat_bubbles_aqua_l.png) 10 10 13 19;
+ }
+
+ body#chat div.left p.purple {
+ -webkit-border-image: url(../images/chat_bubbles_purple_l.png) 10 10 13 19;
+ }
+
+ body#chat div.left p.pink {
+ -webkit-border-image: url(../images/chat_bubbles_pink_l.png) 10 10 13 19;
+ }
+
+ body#chat div.left p.graphite {
+ -webkit-border-image: url(../images/chat_bubbles_graphite_l.png) 10 10 13 19;
+ }
+
+ body#chat div.left p.clear {
+ -webkit-border-image: url(../images/chat_bubbles_clear_l.png) 10 10 13 19;
+ }
+
+
+
+
+ /*rights*/
+
+ body#chat div.right p.aqua {
+ -webkit-border-image: url(../images/chat_bubbles_aqua_r.png) 10 19 13 10;
+ }
+
+ body#chat div.right p.lemon {
+ -webkit-border-image: url(../images/chat_bubbles_lemon_r.png) 10 19 13 10;
+ }
+
+ body#chat div.right p.lime {
+ -webkit-border-image: url(../images/chat_bubbles_lime_r.png) 10 19 13 10;
+ }
+
+ body#chat div.right p.purple {
+ -webkit-border-image: url(../images/chat_bubbles_purple_r.png) 10 19 13 10;
+ }
+
+ body#chat div.right p.pink {
+ -webkit-border-image: url(../images/chat_bubbles_pink_r.png) 10 19 13 10;
+ }
+
+ body#chat div.right p.graphite {
+ -webkit-border-image: url(../images/chat_bubbles_graphite_r.png) 10 19 13 10;
+ }
+
+ body#chat div.right p.clear {
+ -webkit-border-image: url(../images/chat_bubbles_clear_r.png) 10 19 13 10;
+ }
+
+
+
+
+
+
+
+ body#chat div.bubble p {
+ color: #000;
+ font-size: 16px;
+ margin: 0;
+ }
+
+ body#chat div.bubble + p {
+ color: #666;
+ text-align: center;
+ font-size: 12px;
+ font-weight: bold;
+ margin: 0;
+ padding: 10px 0 0 0;
+ clear: both;
+ }
+
+
+
+
+
+
+ /**** image grids ****/
+
+
+ body#images {
+ background: #fff;
+ margin: 0;
+ }
+
+ body#images ul {
+ margin: 4px 4px 4px 0;
+ border: 0;
+ -webkit-border-radius: 0;
+ }
+
+ body#images ul li {
+ border: 1px solid #C0D5DD;
+ -webkit-border-radius: 0;
+ width: 73px;
+ height: 73px;
+ float: left;
+ margin: 0 0 4px 4px;
+ background: #F4FBFE url(../images/image-loading.gif) no-repeat center center;
+ padding: 0;
+ }
+
+ body#images ul li a {
+ display: block;
+ width: 100%;
+ height: 100%;
+ margin: 0;
+ padding: 0;
+ }
+
+
+ /*** BLANK PAGES ***/
+
+ body#blank {
+ background: #fff;
+ }
+
+
+ body#blank p {
+ color: #898989;
+ text-align: center;
+ margin: 250px 0 0 0;
+ }
+
+
+
+
+ /**** ICONFIED LIST ****/
+
+
+ ul li a img.ico, ul li img.ico {
+ float: left;
+ display: block;
+ margin: -4px 10px -4px -1px;
+ }
+
+
\ No newline at end of file
--- /dev/null
+/* A very simple client that shows a basic usage of the pz2.js
+*/
+
+// create a parameters array and pass it to the pz2's constructor
+// then register the form submit event with the pz2.search function
+// autoInit is set to true on default
+var usesessions = true;
+var pazpar2path = '/pazpar2/search.pz2';
+var showResponseType = '';
+var querys = {'su': '', 'au': '', 'xt': ''};
+
+if (document.location.hash == '#useproxy' || document.location.search.match("useproxy=true")) {
+ usesessions = false;
+ pazpar2path = '/service-proxy/';
+ showResponseType = 'json';
+}
+
+
+my_paz = new pz2( { "onshow": my_onshow,
+ "showtime": 500, //each timer (show, stat, term, bytarget) can be specified this way
+ "pazpar2path": pazpar2path,
+ "oninit": my_oninit,
+ "onstat": my_onstat,
+ "onterm": my_onterm_iphone,
+ "termlist": "xtargets,subject,author",
+ "onbytarget": my_onbytarget,
+ "usesessions" : usesessions,
+ "showResponseType": showResponseType,
+ "onrecord": my_onrecord } );
+// some state vars
+var curPage = 1;
+var recPerPage = 20;
+var totalRec = 0;
+var curDetRecId = '';
+var curDetRecData = null;
+var curSort = 'relevance';
+var curFilter = 'ALL';
+var submitted = false;
+var SourceMax = 16;
+var SubjectMax = 10;
+var AuthorMax = 10;
+var tab = "recordview";
+
+var triedPass = "";
+var triedUser = "";
+
+function loginFormSubmit() {
+ triedUser = document.loginForm.username.value;
+ triedPass = document.loginForm.password.value;
+ auth.login( {"username": triedUser,
+ "password": triedPass},
+ authCb, authCb);
+}
+
+function authCb(authData) {
+ if (!authData.loginFailed) {
+ triedUser = "";
+ triedPass = "";
+ }
+
+ if (authData.loggedIn == true) {
+ showhide("recordview");
+ }
+}
+
+function logOutClick() {
+ auth.logOut(authCb, authCb);
+}
+
+function loggedOut() {
+ var login = document.getElementById("login");
+ login.innerHTML = 'Login';
+}
+
+function loggingOutFailed() {
+ alert("Logging out failed");
+}
+
+function login() {
+ showhide("login");
+}
+
+function logout() {
+ auth.logOut(loggedOut, loggingOutFailed, true);
+}
+
+function logInOrOut() {
+ var loginElement = document.getElementById("login");
+ if (loginElement.innerHTML == 'Login')
+ login();
+ else
+ logout();
+}
+function loggedIn() {
+ var login = document.getElementById("login");
+ login.innerHTML = 'Logout(' + auth.displayName + ')';
+ document.getElementById("log").innerHTML = login.innerHTML;
+}
+
+function auth_check() {
+ auth.check(loggedIn, login, true);
+ domReady();
+}
+
+//
+// Pz2.js event handlers:
+//
+function my_oninit() {
+ my_paz.stat();
+ my_paz.bytarget();
+}
+
+function my_onshow(data) {
+ totalRec = data.merged;
+ // move it out
+ var pager = document.getElementById("pager");
+ pager.innerHTML = "";
+ pager.innerHTML +='<hr/><div style="float: right">Displaying: '
+ + (data.start + 1) + ' to ' + (data.start + data.num) +
+ ' of ' + data.merged + ' (found: '
+ + data.total + ')</div>';
+ drawPager(pager);
+
+ var results = document.getElementById("results");
+
+ var html = [];
+ for (var i = 0; i < data.hits.length; i++) {
+ var hit = data.hits[i];
+ html.push('<li id="recdiv_'+hit.recid+'" >'
+ /* +'<span>'+ (i + 1 + recPerPage * (curPage - 1)) +'. </span>' */
+ +'<a href="#" id="rec_'+hit.recid
+ +'" onclick="showDetails(this.id);return false;">'
+ + hit["md-title"] +'</a> ');
+ if (hit["md-title-responsibility"] !== undefined) {
+ html.push('<a href="#">'+hit["md-title-responsibility"]+'</a> ');
+ if (hit["md-title-remainder"] !== undefined) {
+ html.push('<a href="#">' + hit["md-title-remainder"] + ' </a> ');
+ }
+ }
+ if (hit.recid == curDetRecId) {
+ html.push(renderDetails_iphone(curDetRecData));
+ }
+ html.push('</div>');
+ }
+ replaceHtml(results, html.join(''));
+}
+
+function my_onstat(data) {
+ var stat = document.getElementById("stat");
+ if (stat == null)
+ return;
+
+ stat.innerHTML = '<b> .:STATUS INFO</b> -- Active clients: '
+ + data.activeclients
+ + '/' + data.clients + ' -- </span>'
+ + '<span>Retrieved records: ' + data.records
+ + '/' + data.hits + ' :.</span>';
+}
+
+function showhide(newtab) {
+ var showtermlist = false;
+ if (newtab != null)
+ tab = newtab;
+
+ if (tab == "recordview") {
+ document.getElementById("recordview").style.display = '';
+ }
+ else
+ document.getElementById("recordview").style.display = 'none';
+
+ if (tab == "xtargets") {
+ document.getElementById("term_xtargets").style.display = '';
+ showtermlist = true;
+ }
+ else
+ document.getElementById("term_xtargets").style.display = 'none';
+
+ if (tab == "subjects") {
+ document.getElementById("term_subjects").style.display = '';
+ showtermlist = true;
+ }
+ else
+ document.getElementById("term_subjects").style.display = 'none';
+
+ if (tab == "authors") {
+ document.getElementById("term_authors").style.display = '';
+ showtermlist = true;
+ }
+ else
+ document.getElementById("term_authors").style.display = 'none';
+
+ if (showtermlist == false)
+ document.getElementById("termlist").style.display = 'none';
+ else
+ document.getElementById("termlist").style.display = '';
+
+ var tabDiv = document.getElementById("loginDiv");
+ if (tab == "login") {
+ tabDiv.style.display = '';
+ }
+ else {
+ tabDiv.style.display = 'none';
+ }
+}
+
+function my_onterm(data) {
+ var termlists = [];
+
+ termlists.push('<div id="term_xtargets" >');
+ termlists.push('<h4 class="termtitle">Sources</h4>');
+ termlists.push('<ul>');
+ termlists.push('<li><a href="#" target_id="reset_xt" onclick="limitOrResetTarget(\'reset_xt\',\'All\');return false;">All</a></li>');
+ for (var i = 0; i < data.xtargets.length && i < SourceMax; i++ ) {
+ termlists.push('<li><a href="#" target_id='+data.xtargets[i].id
+ + ' onclick="limitOrResetTarget(this.getAttribute(\'target_id\'), \'' + data.xtargets[i].name + '\');return false;">'
+ + data.xtargets[i].name + ' (' + data.xtargets[i].freq + ')</a></li>');
+ }
+ termlists.push('</ul>');
+ termlists.push('</div>');
+
+ termlists.push('<div id="term_subjects" >');
+ termlists.push('<h4>Subjects</h4>');
+ termlists.push('<ul>');
+ termlists.push('<li><a href="#" target_id="reset_su" onclick="limitOrResetQuery(\'reset_su\',\'All\');return false;">All</a></li>');
+ for (var i = 0; i < data.subject.length && i < SubjectMax; i++ ) {
+ termlists.push('<li><a href="#" onclick="limitOrResetQuery(\'su\', \'' + data.subject[i].name + '\');return false;">'
+ + data.subject[i].name + ' (' + data.subject[i].freq + ')</a></li>');
+ }
+ termlists.push('</ul>');
+ termlists.push('</div>');
+
+ termlists.push('<div id="term_authors" >');
+ termlists.push('<h4 class="termtitle">Authors</h4>');
+ termlists.push('<ul>');
+ termlists.push('<li><a href="#" onclick="limitOrResetQuery(\'reset_au\',\'All\');return false;">All<a></li>');
+ for (var i = 0; i < data.author.length && i < AuthorMax; i++ ) {
+ termlists.push('<li><a href="#" onclick="limitQuery(\'au\', \'' + data.author[i].name +'\');return false;">'
+ + data.author[i].name
+ + ' ('
+ + data.author[i].freq
+ + ')</a></li>');
+ }
+ termlists.push('</ul>');
+ termlists.push('</div>');
+ var termlist = document.getElementById("termlist");
+ replaceHtml(termlist, termlists.join(''));
+ showhide();
+}
+
+var termlist = {};
+function my_onterm_iphone(data) {
+ my_onterm(data);
+ var targets = "reset_xt|All\n";
+
+ for (var i = 0; i < data.xtargets.length; i++ ) {
+
+ targets = targets + data.xtargets[i].id + "|" + data.xtargets[i].name + "|" + data.xtargets[i].freq + "\n";
+ }
+ termlist["xtargets"] = targets;
+ var subjects = "reset_su|All\n";
+ for (var i = 0; i < data.subject.length; i++ ) {
+ subjects = subjects + "su" + "|" + data.subject[i].name + "|" + data.subject[i].freq + "\n";
+ }
+ termlist["subjects"] = subjects;
+ var authors = "reset_au|All\n";
+ for (var i = 0; i < data.author.length; i++ ) {
+ authors = authors + "au" + "|" + data.author[i].name + "|" + data.author[i].freq + "\n";
+ }
+ termlist["authors"] = authors;
+ callback.send("termlist", "refresh");
+}
+
+function getTargets() {
+ return termlist['xtargets'];
+}
+
+function getSubjects() {
+ return termlist['subjects'];
+}
+
+function getAuthors() {
+ return termlist['authors'];
+}
+
+function my_onrecord(data) {
+ // FIXME: record is async!!
+ clearTimeout(my_paz.recordTimer);
+ // in case on_show was faster to redraw element
+ var detRecordDiv = document.getElementById('det_'+data.recid);
+ if (detRecordDiv) return;
+ curDetRecData = data;
+ var recordDiv = document.getElementById('recdiv_'+curDetRecData.recid);
+ var html = renderDetails_iphone(curDetRecData);
+ recordDiv.innerHTML += html;
+}
+
+function my_onrecord_iphone(data) {
+ my_onrecord(data);
+ callback.send("record", data.recid, data, data.xtargets[i].freq);
+}
+
+
+function my_onbytarget(data) {
+ var targetDiv = document.getElementById("bytarget");
+ var table ='<table><thead><tr><td>Target ID</td><td>Hits</td><td>Diags</td>'
+ +'<td>Records</td><td>State</td></tr></thead><tbody>';
+
+ for (var i = 0; i < data.length; i++ ) {
+ table += "<tr><td>" + data[i].id +
+ "</td><td>" + data[i].hits +
+ "</td><td>" + data[i].diagnostic +
+ "</td><td>" + data[i].records +
+ "</td><td>" + data[i].state + "</td></tr>";
+ }
+
+ table += '</tbody></table>';
+ targetDiv.innerHTML = table;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+////////////////////////////////////////////////////////////////////////////////
+
+// wait until the DOM is ready
+function domReady ()
+{
+ document.search.onsubmit = onFormSubmitEventHandler;
+ document.search.query.value = '';
+ document.select.sort.onchange = onSelectDdChange;
+ document.select.perpage.onchange = onSelectDdChange;
+ if (document.location.search.match("inApp=true"))
+ applicationMode(true);
+ else
+ applicationMode(false);
+}
+
+function applicationMode(newmode)
+{
+ var searchdiv = document.getElementById("searchForm");
+ if (newmode)
+ inApp = newmode;
+ if (inApp) {
+ document.getElementById("heading").style.display="none";
+ searchdiv.style.display = 'none';
+ }
+ else {
+ document.getElementById("nav").style.display="";
+ searchdiv.style.display = '';
+ document.search.onsubmit = onFormSubmit;
+ }
+ callback.init();
+}
+// when search button pressed
+function onFormSubmitEventHandler()
+{
+ resetPage();
+ document.getElementById("logo").style.display = 'none';
+ loadSelect();
+ triggerSearch();
+ submitted = true;
+ return true;
+}
+
+function onSelectDdChange()
+{
+ if (!submitted) return false;
+ resetPage();
+ loadSelect();
+ my_paz.show(0, recPerPage, curSort);
+ return false;
+}
+
+function resetPage()
+{
+ curPage = 1;
+ totalRec = 0;
+}
+
+function triggerSearch ()
+{
+ my_paz.search(document.search.query.value, recPerPage, curSort, curFilter);
+}
+
+function loadSelect ()
+{
+ curSort = document.select.sort.value;
+ recPerPage = document.select.perpage.value;
+}
+
+// limit the query after clicking the facet
+function limitQuery(field, value)
+{
+ var newQuery = ' and ' + field + '="' + value + '"';
+ querys[field] += newQuery;
+ document.search.query.value += newQuery;
+ onFormSubmitEventHandler();
+ showhide("recordview");
+}
+
+//limit the query after clicking the facet
+function removeQuery (field, value) {
+ document.search.query.value.replace(' and ' + field + '="' + value + '"', '');
+ onFormSubmitEventHandler();
+ showhide("recordview");
+}
+
+//limit the query after clicking the facet
+function limitOrResetQuery (field, value, selected) {
+ if (field == 'reset_su' || field == 'reset_au') {
+ var reset_field = field.substring(6);
+ document.search.query.value = document.search.query.value.replace(querys[reset_field], '');
+ querys[reset_field] = '';
+ onFormSubmitEventHandler();
+ showhide("recordview");
+ }
+ else
+ limitQuery(field, value);
+ //alert("limitOrResetQuerry: query after: " + document.search.query.value);
+}
+
+// limit by target functions
+function limitTarget (id, name)
+{
+ curFilter = 'pz:id=' + id;
+ resetPage();
+ loadSelect();
+ triggerSearch();
+ showhide("recordview");
+ return false;
+}
+
+function delimitTarget ()
+{
+ curFilter = 'ALL';
+ resetPage();
+ loadSelect();
+ triggerSearch();
+ return false;
+}
+
+function limitOrResetTarget(id, name) {
+ if (id == 'reset_xt') {
+ delimitTarget();
+ }
+ else {
+ limitTarget(id,name);
+ }
+}
+
+function drawPager (pagerDiv)
+{
+ //client indexes pages from 1 but pz2 from 0
+ var onsides = 6;
+ var pages = Math.ceil(totalRec / recPerPage);
+
+ var firstClkbl = ( curPage - onsides > 0 )
+ ? curPage - onsides
+ : 1;
+
+ var lastClkbl = firstClkbl + 2*onsides < pages
+ ? firstClkbl + 2*onsides
+ : pages;
+
+ var prev = '<span id="prev"><< Prev</span><b> | </b>';
+ if (curPage > 1)
+ var prev = '<a href="#" id="prev" onclick="pagerPrev();">'
+ +'<< Prev</a><b> | </b>';
+
+ var middle = '';
+ for(var i = firstClkbl; i <= lastClkbl; i++) {
+ var numLabel = i;
+ if(i == curPage)
+ numLabel = '<b>' + i + '</b>';
+
+ middle += '<a href="#" onclick="showPage(' + i + ')"> '
+ + numLabel + ' </a>';
+ }
+
+ var next = '<b> | </b><span id="next">Next >></span>';
+ if (pages - curPage > 0)
+ var next = '<b> | </b><a href="#" id="next" onclick="pagerNext()">'
+ +'Next >></a>';
+
+ predots = '';
+ if (firstClkbl > 1)
+ predots = '...';
+
+ postdots = '';
+ if (lastClkbl < pages)
+ postdots = '...';
+
+ pagerDiv.innerHTML += '<div style="float: none">'
+ + prev + predots + middle + postdots + next + '</div><hr/>';
+}
+
+function showPage (pageNum)
+{
+ curPage = pageNum;
+ my_paz.showPage( curPage - 1 );
+}
+
+// simple paging functions
+
+function pagerNext() {
+ if ( totalRec - recPerPage*curPage > 0) {
+ my_paz.showNext();
+ curPage++;
+ }
+}
+
+function pagerPrev() {
+ if ( my_paz.showPrev() != false )
+ curPage--;
+}
+
+// swithing view between targets and records
+
+function switchView(view) {
+
+ var targets = document.getElementById('targetview');
+ var records = document.getElementById('recordview');
+
+ switch(view) {
+ case 'targetview':
+ targets.style.display = "block";
+ records.style.display = "none";
+ break;
+ case 'recordview':
+ targets.style.display = "none";
+ records.style.display = "block";
+ break;
+ default:
+ alert('Unknown view.');
+ }
+}
+
+// detailed record drawing
+function showDetails (prefixRecId) {
+ var recId = prefixRecId.replace('rec_', '');
+ var oldRecId = curDetRecId;
+ curDetRecId = recId;
+
+ // remove current detailed view if any
+ var detRecordDiv = document.getElementById('det_'+oldRecId);
+ //alert("oldRecId: " + oldRecId + " " + detRecordDiv != null);
+ // lovin DOM!
+ if (detRecordDiv)
+ detRecordDiv.parentNode.removeChild(detRecordDiv);
+
+ // if the same clicked, just hide
+ if (recId == oldRecId) {
+ curDetRecId = '';
+ curDetRecData = null;
+ return;
+ }
+ // request the record
+ my_paz.record(recId);
+}
+
+function replaceHtml(el, html) {
+ var oldEl = typeof el === "string" ? document.getElementById(el) : el;
+ /*@cc_on // Pure innerHTML is slightly faster in IE
+ oldEl.innerHTML = html;
+ return oldEl;
+ @*/
+ var newEl = oldEl.cloneNode(false);
+ newEl.innerHTML = html;
+ oldEl.parentNode.replaceChild(newEl, oldEl);
+ /* Since we just removed the old element from the DOM, return a reference
+ to the new element, which can be used to restore variable references. */
+ return newEl;
+};
+
+function renderDetails(data, marker)
+{
+ var details = '<div class="details" id="det_'+data.recid+'"><table>';
+ if (marker) details += '<tr><td>'+ marker + '</td></tr>';
+ if (data["md-title"] != undefined) {
+ details += '<tr><td><b>Title</b></td><td><b>:</b> '+data["md-title"];
+ if (data["md-title-remainder"] !== undefined) {
+ details += ' : <span>' + data["md-title-remainder"] + ' </span>';
+ }
+ if (data["md-title-responsibility"] !== undefined) {
+ details += ' <span><i>'+ data["md-title-responsibility"] +'</i></span>';
+ }
+ details += '</td></tr>';
+ }
+ if (data["md-date"] != undefined)
+ details += '<tr><td><b>Date</b></td><td><b>:</b> ' + data["md-date"] + '</td></tr>';
+ if (data["md-author"] != undefined)
+ details += '<tr><td><b>Author</b></td><td><b>:</b> ' + data["md-author"] + '</td></tr>';
+ if (data["md-electronic-url"] != undefined)
+ details += '<tr><td><b>URL</b></td><td><b>:</b> <a href="' + data["md-electronic-url"] + '" target="_blank">' + data["md-electronic-url"] + '</a>' + '</td></tr>';
+ if (data["location"][0]["md-subject"] != undefined)
+ details += '<tr><td><b>Subject</b></td><td><b>:</b> ' + data["location"][0]["md-subject"] + '</td></tr>';
+ if (data["location"][0]["@name"] != undefined)
+ details += '<tr><td><b>Location</b></td><td><b>:</b> ' + data["location"][0]["@name"] + " (" +data["location"][0]["@id"] + ")" + '</td></tr>';
+ details += '</table></div>';
+ return details;
+}
+
+function renderLine(title, value) {
+ if (value != undefined)
+ return '<li><h3>' + title + '</h3> <big>' + value + '</big></li>';
+ return '';
+}
+
+function renderLineURL(title, URL, display) {
+ if (URL != undefined)
+ return '<li><h3>' + title + '</h3> <a href="' + URL + '" target="_blank">' + display + '</a></li>';
+ return '';
+}
+
+function renderLineEmail(dtitle, email, display) {
+ if (email != undefined)
+ return '<li><h3>' + title + '</h3> <a href="mailto:' + email + '" target="_blank">' + display + '</a></li>';
+ return '';
+}
+
+function renderDetails_iphone(data, marker)
+{
+ //return renderDetails(data,marker);
+
+ if (!data)
+ return "";
+ var details = '<div class="details" id="det_'+data.recid+'" >'
+/*
+ details = '<div id="header" id="det_'+data.recid+'">'
+ + '<h1>Detailed Info</h1>'
+ + '<a id="backbutton" href="hidedetail(\'det_' + data.recid + '\')">Back</a>'
+ + '</div>';
+*/
+ if (marker)
+ details += '<h4>'+ marker + '</h4>';
+ details += '<ul class="field">';
+ if (data["md-title"] != undefined) {
+ details += '<li><h3>Title</h3> <big> ' + data["md-title"];
+ if (data["md-title-remainder"] !== undefined) {
+ details += ' ' + data["md-title-remainder"] + ' ';
+ }
+ if (data["md-title-responsibility"] !== undefined) {
+ details += '<i>'+ data["md-title-responsibility"] +'</i>';
+ }
+ details += '</big>'
+ details += '</li>'
+ }
+ details
+ +=renderLine('Date', data["md-date"])
+ + renderLine('Author', data["md-author"])
+ + renderLineURL('URL', data["md-electronic-url"], data["md-electronic-url"])
+ + renderLine('Subject', data["location"][0]["md-subject"]);
+
+ if (data["location"][0]["@name"] != undefined)
+ details += renderLine('Location', data["location"][0]["@name"] + " (" +data["location"][0]["@id"] + ")");
+ details += '</ul></div>';
+ return details;
+}
+
+//EOF
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+ <title>Mobile Masterkey</title>
+ <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;"/>
+ <meta name="apple-mobile-web-app-capable" content="yes" />
+<!--
+ <meta id="viewport" name="viewport" content="width=320; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
+ -->
+
+ <script type="text/javascript" src="/mk2-ui-core/js/ui_bootstrap.js"></script>
+ <script type="text/javascript" src="/mk2-ui-core/js/state.js"></script>
+ <script type="text/javascript" src="/mk2-ui-core/js/recipe.js"></script>
+ <script type="text/javascript" src="/mk2-ui-core/js/snippet.js"></script>
+ <script type="text/javascript" src="/mk2-ui-core/js/auth.js"></script>
+ <script type="text/javascript" src="/mk2-ui-core/js/torus.js"></script>
+<!--
+ <script type="text/javascript" src="/mk2-ui-core/js/client.js"></script>
+-->
+
+
+ <script type="text/javascript" src="iphone.js" ></script>
+ <script type="text/javascript" src="/pazpar2/js/pz2.js"></script>
+ <script type="text/javascript" src="example_client.js"></script>
+ <link rel="stylesheet" href="UiUIKit/stylesheets/iphone.css" />
+ <link rel="apple-touch-icon" href="UiUIKit/stylesheets/images/apple-touch-icon.png" />
+ </head>
+
+ <body id="normal" onload="auth_check();">
+ <div id="log" name="log" style="display: none;"></div>
+ <div id="noscript">
+ <noscript>
+ <p>Your browser does not support or allow execution of scripts required by this site to work properly.</p>
+ <p>If you run Internet Explorer 6+ or FireFox 2.0+ and see this message ensure the JavaScript is enabled in your browser.</p>
+ <p>If you run Internet Explorer 7 add the site to the Trusted Sites group.</p>
+ <p>Finally, check your personal firewall settings.</p>
+ </noscript>
+ </div>
+
+ <div id="switchmenu" style="display:none" >
+ <a href="#" onclick="switchView('recordview')">Record Browser</a>
+ <span> | </span>
+ <a href="#" onclick="switchView('targetview')">Target Info</a>
+ </div>
+
+ <div id="heading">
+ <table width="100%" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+<!--
+ <td style="visibility:hidden;" height="100" align="center"><b>Pazpar2</b></td>
+-->
+ <td width="100%">
+ <form id="searchForm" name="search" style="display: none">
+ <input id="query" type="text" />
+ <input id="button" type="submit" value="go" />
+ </form>
+ </td>
+ </tr>
+ <tr>
+ <td width="100%">
+ </td>
+
+<!--
+ <td style="visibility:hidden;" >
+ <a href="http://www.indexdata.com"><img border="0" title="IndexData home page" src="indexdata_logo.png" height="98" align="right" alt="" /></a>
+ </td>
+-->
+ </tr>
+ </table>
+ <ul id="nav" style="display: none;" >
+ <!--
+ <li><a href="javascript:showhide()"></a></li>
+ -->
+ <li><a href="javascript:showhide('recordview')">Results</a></li>
+ <li><a href="javascript:showhide('xtargets')">Sources</a></li>
+ <li><a href="javascript:showhide('subjects')">Subjects</a></li>
+ <li><a href="javascript:showhide('authors')">Authors</a></li>
+ <li><a href="#" onclick="logInOrOut(); return 0;" id="login">Login</a></li>
+ </ul>
+ </div>
+
+ <div id="termlist" style="display: none" >
+ <div id="term_xtargets" style="display: none"></div>
+ <div id="term_subjects" style="display: none"></div>
+ <div id="term_authors" style="display: none"></div>
+ </div>
+
+ <div id="loginDiv" style="display:none;" >
+ <form name="loginForm" id="loginForm"
+ onsubmit="loginFormSubmit();return false;">
+ <table border="0">
+ <tbody>
+ <tr>
+ <td colspan="3">Please type in authentication credentials to login:</td>
+ </tr>
+ <tr>
+ <td class="inputFieldTag">Username</td>
+ <td>
+ <input name="username" size="30" type="text" value="">
+ </td>
+ <td>
+ </td>
+ </tr>
+ <tr>
+ <td class="inputFieldTag">Password</td>
+ <td>
+ <input name="password" size="30" type="password" value="">
+ </td>
+ </tr><tr>
+ <td>
+ <div class="actionButtons">
+ <input name="search" value="Login" type="submit" id="submit">
+ </div>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </form>
+ </div>
+ <div id="recordview">
+ <div id="ranking" style="display: none;">
+ <form name="select">
+ Sort by
+ <select name="sort" id="sort">
+ <option value="relevance" selected="selected">relevance</option>
+ <option value="title:1">title</option>
+ <option value="date:0">newest</option>
+ <option value="date:1">oldest</option>
+ </select>
+ and show
+ <select name="perpage" id="perpage">
+ <option value="10">10</option>
+ <option value="20">20</option>
+ <option value="30">30</option>
+ <option value="50" selected="selected">50</option>
+ </select>
+ per page.
+ </form>
+ </div>
+ <div id="pager" style="display: none;"></div>
+ <h4>Results by MasterKey</h4>
+ <ul id="results"></ul>
+ <img id="logo" src="IndexData_MK_logo.png"/>
+ </div>
+
+ <div id="targetview" style="display: none">
+ <div id="bytarget">
+ No information available yet.
+ </div>
+ </div>
+
+ <div id="footer" style="display: none;" >
+ <div id="stat"></div>
+ <span>Copyright © 1999-2010 by <a href="http://www.indexdata.com">Index Data</a></span>
+ </div>
+ </body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+ <head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+ <title>Pazpar2 demo client</title>
+ <link rel="stylesheet" href="styles.css"></link>
+ <script type="text/javascript" src="iphone.js"></script>
+
+</head>
+
+ <body onload="loaded()">
+ <div id="body">
+ </div>
+ <div id="callback">
+ <a href="javascript:callback.send('myapp:myfunction:record:id:value1:value2:value3');">Call back</a>
+ </div>
+ <div id="searchdiv" style="visibility:visible;">
+ <form id="search" name="search">
+ <input id="query" type="text" size="50"/>
+ <input id="button" type="submit" value="Search"/>
+ </form>
+ </div>
+ </body>
+</html>
+
--- /dev/null
+var count = 0;
+var termlist = {};
+var inApp = false;
+
+var callback = {};
+
+callback.init = function() {
+ if (!inApp) {
+ callback.type = 'browser';
+ } else {
+ callback.type = 'iphone';
+ }
+};
+
+String.prototype.replaceAll = function(stringToFind,stringToReplace) {
+ var temp = this;
+ var index = temp.indexOf(stringToFind);
+ while(index != -1){
+ temp = temp.replace(stringToFind,stringToReplace);
+ index = temp.indexOf(stringToFind);
+ }
+ return temp;
+ }
+
+callback.send = function()
+{
+ var args = [].splice.call(arguments,0);
+ for (var i = 0; i < args.length; i++) {
+ if (args[i])
+ args[i] = args[i].replaceAll(':','_');
+ else
+ alert("args was null: " + i);
+ }
+ var message = "myapp:" + args.join(":");
+ if (this.type == 'iphone')
+ document.location = message;
+ else {
+ // Debug communication with Web View
+ // document.getElementById("log").innerHTML = message;
+ }
+}
+
+
+function search(message) {
+ document.search.query.value = message;
+ onFormSubmitEventHandler();
+ return false;
+}
+
+function loaded() {
+ callback.init();
+}
+
+function onFormSubmit() {
+ return search(document.search.query.value);
+}
--- /dev/null
+html {
+ overflow-y: scroll;
+ font-size: 12px;
+}
+
+body {
+ font-family: tahoma, arial, sans-serif;
+ color: #156a16;
+}
+
+hr {
+ border: 0;
+ color: #156a16;
+ background-color: #156a16;
+ height: 1px;
+}
+
+thead {
+ font-weight: bold;
+}
+
+a {
+ color: #005701;
+ text-decoration: none;
+}
+
+a.extern {
+ color: #CC6600;
+}
+
+a:hover {
+ text-decoration: underline;
+}
+
+a.crossout:hover {
+ text-decoration: line-through;
+ font-weight: bold;
+}
+
+
+#heading {
+ background-color: #87c9af;
+ border-top: 1px solid #156a16;
+ color: #ffffff;
+ font-size: large;
+}
+
+input#button {
+ border: 3px outset #132194;
+ background-color: #132194;
+ padding: 2px;
+ width: 6em;
+ color: #FFFFFF;
+ font-weight: bold;
+ text-transform: uppercase;
+ font-size: 10px;
+ margin-left: 8px;
+ cursor: pointer;
+}
+
+input#query {
+ border: 2px inset #34cc67;
+ padding: 3px;
+ font-size: 12px;
+}
+
+div.termtitle {
+ margin: 4px;
+ font-weight: bold;
+}
+
+div.record {
+ padding: 5px;
+}
+
+div.details {
+ border: 3px dashed gray;
+ color: gray;
+ padding: 5px;
+ margin: 4px;
+}
+
+#switchmenu {
+ padding-bottom: 3px;
+ text-align: right;
+}
+
+#recordview {
+ background-color: #fafafa;
+ border-bottom: 1px solid #156a16;
+}
+
+#targetview {
+ background-color: #fafafa;
+ border-bottom: 1px solid #156a16;
+}
+
+#bytarget {
+ padding: 7px;
+}
+
+#footer {
+ padding-top: 4px;
+ color: #74c775;
+ text-align: center;
+}
+
+#stat {
+ font-weight: bold;
+}
<div id="heading">
<table width="100%" border="0" cellpadding="6" cellspacing="0">
<tr>
- <td width="250" height="100" align="center"><b>PAZPAR2</b></td>
+ <td width="250" height="100" align="center"><b>Pazpar2</b></td>
<td>
<form id="searchForm" name="search">
<input id="query" type="text" size="50"/>