From: Sebastian Hammer Date: Wed, 3 Jan 2007 06:23:44 +0000 (+0000) Subject: Added XSLT support. Configuration file (e.g. etc/pazpar2.cfg) must now be specified X-Git-Tag: before.append.child~56 X-Git-Url: http://lists.indexdata.com/cgi-bin?a=commitdiff_plain;h=dde4a5914bbb5511a91e73d8ab45210b48637596;p=pazpar2-moved-to-github.git Added XSLT support. Configuration file (e.g. etc/pazpar2.cfg) must now be specified by option -f before targets are loaded with -s (this is temporary). Listener portno and proxy is still controlled from command line for now! Incoming records are normalized to intermediate format with XSLT. Added support for multiple facets -- generated dynamically from the XSLT normalization step. marc21.xsl is for MARC. --- diff --git a/PROTOCOL b/PROTOCOL index 35d1a00..8ae4a9d 100644 --- a/PROTOCOL +++ b/PROTOCOL @@ -117,3 +117,37 @@ Output: + +termlist + +Retrieves term list(s) + +parameters: + +session +name -- comma-separated list of termlist names (default "subject") + +Example: + +search.pz2?session=2044502273&command=termlist&name=author,subject + +Output: + + + + + Donald Knuth + 10 + + + Robert Pirsig + 2 + + + + + Computer programming + 10 + + + diff --git a/etc/marc21.xsl b/etc/marc21.xsl index 24d0e2c..bcb30e7 100644 --- a/etc/marc21.xsl +++ b/etc/marc21.xsl @@ -8,18 +8,20 @@ - - - - - - + title author - + + + + + + + + diff --git a/etc/pazpar2.cfg b/etc/pazpar2.cfg index a640319..e63a98c 100644 --- a/etc/pazpar2.cfg +++ b/etc/pazpar2.cfg @@ -1,5 +1,4 @@ - - +