pazpar2-moved-to-github.git
16 years agoadded target debian;
Marc Cromme [Fri, 27 Jul 2007 09:07:49 +0000 (09:07 +0000)]
added target debian;

16 years agoAdded IE/FF compatibility functions.
Jakub Skoczen [Thu, 26 Jul 2007 13:47:52 +0000 (13:47 +0000)]
Added IE/FF compatibility functions.

DOMDocument:
    newXmlDoc
    parseXmlFromString

DOMElement:
    removeFromDoc
    emptyChildren
    appendTransformResult
    appendTextNode
    setTextContent
    getTextContent

16 years agoFixed bug #1319: Pazpar2 goes to infinite loop.. Seems resolver related.
Adam Dickmeiss [Wed, 25 Jul 2007 13:27:06 +0000 (13:27 +0000)]
Fixed bug #1319: Pazpar2 goes to infinite loop.. Seems resolver related.
Routine connect_resolver_host had a brain-damaged loop structure.

16 years agoRemoved sleep/test code which was commited by mistake
Adam Dickmeiss [Wed, 25 Jul 2007 13:20:46 +0000 (13:20 +0000)]
Removed sleep/test code which was commited by mistake

16 years agoZ39.50 session/connect timeout in parameters
Adam Dickmeiss [Wed, 25 Jul 2007 11:41:32 +0000 (11:41 +0000)]
Z39.50 session/connect timeout in parameters

16 years agoRemoved unused code
Adam Dickmeiss [Wed, 25 Jul 2007 11:00:26 +0000 (11:00 +0000)]
Removed unused code

16 years agoAdded clickable facets to the jsdemo.
Jakub Skoczen [Tue, 24 Jul 2007 08:15:12 +0000 (08:15 +0000)]
Added clickable facets to the jsdemo.

16 years agoNew internal Deb package: osrting by year
Adam Dickmeiss [Mon, 23 Jul 2007 12:28:46 +0000 (12:28 +0000)]
New internal Deb package: osrting by year

16 years agoAdded note about sorting by year.
Adam Dickmeiss [Mon, 23 Jul 2007 12:27:44 +0000 (12:27 +0000)]
Added note about sorting by year.

16 years agoImplemented numeric sorting (sort by year). Bug #820.
Adam Dickmeiss [Mon, 23 Jul 2007 12:23:30 +0000 (12:23 +0000)]
Implemented numeric sorting (sort by year). Bug #820.

16 years agoAdded test for sorting of title.
Adam Dickmeiss [Mon, 23 Jul 2007 11:54:00 +0000 (11:54 +0000)]
Added test for sorting of title.

16 years agoRemoved masterkey.cfg
Adam Dickmeiss [Thu, 19 Jul 2007 17:48:18 +0000 (17:48 +0000)]
Removed masterkey.cfg

16 years agoMaking demo look nicer.
Jakub Skoczen [Wed, 18 Jul 2007 16:44:15 +0000 (16:44 +0000)]
Making demo look nicer.

16 years agoAdded OAI/DC conversion.
Adam Dickmeiss [Wed, 18 Jul 2007 14:19:03 +0000 (14:19 +0000)]
Added OAI/DC conversion.

16 years agoAdded this stylesheet. Just includes marc21.xsl.
Adam Dickmeiss [Wed, 18 Jul 2007 14:11:42 +0000 (14:11 +0000)]
Added this stylesheet. Just includes marc21.xsl.

16 years agoDefault pazpar2 invocation url path is /pazpar2/search.pz2..
Adam Dickmeiss [Wed, 18 Jul 2007 13:40:56 +0000 (13:40 +0000)]
Default pazpar2 invocation url path is /pazpar2/search.pz2..

16 years agoTest use of pz:xslt=auto
Adam Dickmeiss [Wed, 18 Jul 2007 13:39:11 +0000 (13:39 +0000)]
Test use of pz:xslt=auto

16 years agoA value of pz:xslt = auto makes pazpar2 load stylesheet with name:
Adam Dickmeiss [Wed, 18 Jul 2007 13:37:30 +0000 (13:37 +0000)]
A value of pz:xslt = auto makes pazpar2 load stylesheet with name:
value of as pz:requestsyntax followed by '.xsl'.

16 years agoThe record ID (recid) that Pazpar2 generates is now the merge key and not
Adam Dickmeiss [Mon, 16 Jul 2007 17:01:46 +0000 (17:01 +0000)]
The record ID (recid) that Pazpar2 generates is now the merge key and not
a dynamically generated integer. It allows us to repeat the search and
still be able to get hold of the record again. A little more persistent.

16 years agoMerge the electronic url
Adam Dickmeiss [Mon, 16 Jul 2007 16:43:45 +0000 (16:43 +0000)]
Merge the electronic url

16 years agoAdded metadata: medium, electronic-{url,text,note}
Adam Dickmeiss [Mon, 16 Jul 2007 15:21:29 +0000 (15:21 +0000)]
Added metadata: medium, electronic-{url,text,note}

16 years agoSimplify make dist hook. Omit etc/masterkey content from distribution.
Adam Dickmeiss [Mon, 16 Jul 2007 12:31:09 +0000 (12:31 +0000)]
Simplify make dist hook. Omit etc/masterkey content from distribution.

16 years agoAdded a lot more metadata for MARC21. This changes the ranking result
Adam Dickmeiss [Mon, 16 Jul 2007 09:39:55 +0000 (09:39 +0000)]
Added a lot more metadata for MARC21. This changes the ranking result
a bit. Added test for 'record' command with- and without offset.

16 years agoRephrase
Adam Dickmeiss [Mon, 16 Jul 2007 09:10:05 +0000 (09:10 +0000)]
Rephrase

16 years agoOne more record dump to be tweaked to use log file
Adam Dickmeiss [Mon, 16 Jul 2007 09:09:56 +0000 (09:09 +0000)]
One more record dump to be tweaked to use log file

16 years agoOption -d dumps records to the current log file instead of stderr.
Adam Dickmeiss [Mon, 16 Jul 2007 09:00:22 +0000 (09:00 +0000)]
Option -d dumps records to the current log file instead of stderr.

16 years agoDescribe option -h
Adam Dickmeiss [Mon, 16 Jul 2007 08:58:12 +0000 (08:58 +0000)]
Describe option -h

16 years agoA little more details on how record&offset=.. fails
Adam Dickmeiss [Fri, 13 Jul 2007 13:16:57 +0000 (13:16 +0000)]
A little more details on how record&offset=.. fails

16 years agoIf member 'handle' is specified as a param, then handle will be passed to
Anders S. Mortensen [Fri, 13 Jul 2007 10:30:36 +0000 (10:30 +0000)]
If member 'handle' is specified as a param, then handle will be passed to
callback.

16 years agoPazpar2 uses the MARC/iconv handle when genearted OPACXML. This is to
Adam Dickmeiss [Fri, 13 Jul 2007 09:25:41 +0000 (09:25 +0000)]
Pazpar2 uses the MARC/iconv handle when genearted OPACXML. This is to
ensure we encode the MARC portion according to charset rules.

16 years agorecord handler can be called with optional 3rd argument which is expected to
Anders S. Mortensen [Thu, 12 Jul 2007 11:49:20 +0000 (11:49 +0000)]
record handler can be called with optional 3rd argument which is expected to
be a hash table. If member callback exists, this will be called upon
response.

16 years agoRemoved 'Destroying orphan connection' warning.
Adam Dickmeiss [Thu, 12 Jul 2007 08:01:06 +0000 (08:01 +0000)]
Removed 'Destroying orphan connection' warning.

16 years agoFixed bug #1283: Keep un-merged metadata elements.
Adam Dickmeiss [Wed, 11 Jul 2007 19:41:40 +0000 (19:41 +0000)]
Fixed bug #1283: Keep un-merged metadata elements.

16 years agoAdded (thanks to Giannis)
Anders S. Mortensen [Wed, 11 Jul 2007 10:32:27 +0000 (10:32 +0000)]
Added (thanks to Giannis)

16 years agopazpar2.cfg.dist listens on port 9004. The Debian config pazpar2.cfg
Adam Dickmeiss [Tue, 10 Jul 2007 15:00:13 +0000 (15:00 +0000)]
pazpar2.cfg.dist listens on port 9004. The Debian config pazpar2.cfg
listens on port 8004.

16 years agoUse pz:elements. Change reference to marc21.xsl.
Adam Dickmeiss [Tue, 10 Jul 2007 13:43:07 +0000 (13:43 +0000)]
Use pz:elements. Change reference to marc21.xsl.

16 years agoFix location of pazpar2.cfg (bug introduced in previous commit)
Adam Dickmeiss [Tue, 10 Jul 2007 12:05:14 +0000 (12:05 +0000)]
Fix location of pazpar2.cfg (bug introduced in previous commit)

16 years agoDebian installed pazpar2.cfg is based on etc/pazpar2.cfg.dist with
Adam Dickmeiss [Tue, 10 Jul 2007 10:40:49 +0000 (10:40 +0000)]
Debian installed pazpar2.cfg is based on etc/pazpar2.cfg.dist with
cfg.patch applied.

16 years agoSpecify pz:elements because it is implemented
Adam Dickmeiss [Tue, 10 Jul 2007 10:20:56 +0000 (10:20 +0000)]
Specify pz:elements because it is implemented

16 years agoRemoved syntax and esn from being hard-coded, because Pazpar2 now uses
Adam Dickmeiss [Tue, 10 Jul 2007 10:17:17 +0000 (10:17 +0000)]
Removed syntax and esn from being hard-coded, because Pazpar2 now uses
pz:requestsyntax and pz:elements by default.

16 years agoRemoved / in doc install rule to avoid double-slash (cygwin)
Adam Dickmeiss [Tue, 10 Jul 2007 09:44:00 +0000 (09:44 +0000)]
Removed / in doc install rule to avoid double-slash (cygwin)

16 years agoRemoved / in doc install rule to avoid double-slash (cygwin)
Adam Dickmeiss [Tue, 10 Jul 2007 09:40:06 +0000 (09:40 +0000)]
Removed / in doc install rule to avoid double-slash (cygwin)

16 years agoDo not generate pazpar2.pid by default, i.e. only generate PID file when
Adam Dickmeiss [Tue, 10 Jul 2007 09:19:32 +0000 (09:19 +0000)]
Do not generate pazpar2.pid by default, i.e. only generate PID file when
-p is given.

16 years agoUpstream
Adam Dickmeiss [Tue, 10 Jul 2007 09:19:01 +0000 (09:19 +0000)]
Upstream

16 years agoMinor rephrase
Adam Dickmeiss [Tue, 10 Jul 2007 09:18:49 +0000 (09:18 +0000)]
Minor rephrase

16 years agoFixes for compilation on cygwin.
Adam Dickmeiss [Mon, 9 Jul 2007 20:00:41 +0000 (20:00 +0000)]
Fixes for compilation on cygwin.

16 years agoBump version to 1.0.2
Adam Dickmeiss [Mon, 9 Jul 2007 20:00:29 +0000 (20:00 +0000)]
Bump version to 1.0.2

16 years agoAdded include of sys/time.h
Adam Dickmeiss [Mon, 9 Jul 2007 19:30:35 +0000 (19:30 +0000)]
Added include of sys/time.h

16 years agoSpell fix
Adam Dickmeiss [Fri, 6 Jul 2007 20:15:06 +0000 (20:15 +0000)]
Spell fix

16 years agoFixed command=bytarget example. Added description of offset parameter for
Adam Dickmeiss [Fri, 6 Jul 2007 20:13:22 +0000 (20:13 +0000)]
Fixed command=bytarget example. Added description of offset parameter for
command=record. Added SEE ALSO section.

16 years agoAdded SEE ALSO section
Adam Dickmeiss [Fri, 6 Jul 2007 20:12:40 +0000 (20:12 +0000)]
Added SEE ALSO section

16 years agoAdded content for EXAMPLES and FILES sections
Adam Dickmeiss [Fri, 6 Jul 2007 20:12:22 +0000 (20:12 +0000)]
Added content for EXAMPLES and FILES sections

16 years agoDeal with OPAC records . These are converted to XML but character
Adam Dickmeiss [Fri, 6 Jul 2007 14:31:06 +0000 (14:31 +0000)]
Deal with OPAC records . These are converted to XML but character
set is taken into account yet.

16 years agoChanged from slow to default pseudo-db
Sebastian Hammer [Thu, 5 Jul 2007 19:39:50 +0000 (19:39 +0000)]
Changed from slow to default pseudo-db

16 years agoSummarize changes
Adam Dickmeiss [Thu, 5 Jul 2007 18:48:12 +0000 (18:48 +0000)]
Summarize changes

16 years agoMinor. But previous revsion (1.13) is not related to getline. Instead
Adam Dickmeiss [Thu, 5 Jul 2007 18:46:03 +0000 (18:46 +0000)]
Minor. But previous revsion (1.13) is not related to getline. Instead
it includes changes so that the Z39.50 Pazpar2 client code honors
pz:elements setting. Is used for piggyback search, present and raw present
if syntax is omitted.

16 years agoReindent according to c-mode. Added GPL header
Adam Dickmeiss [Thu, 5 Jul 2007 18:40:24 +0000 (18:40 +0000)]
Reindent according to c-mode. Added GPL header

16 years agoUse portable fgets instead of getline.
Adam Dickmeiss [Thu, 5 Jul 2007 18:37:43 +0000 (18:37 +0000)]
Use portable fgets instead of getline.

16 years agopzHttpRequest: added synchronous load() methd.
Jakub Skoczen [Wed, 4 Jul 2007 12:33:51 +0000 (12:33 +0000)]
pzHttpRequest: added synchronous load() methd.

16 years agoLoose the query parsing so that Pazpar2 only returns error if _all_
Adam Dickmeiss [Wed, 4 Jul 2007 12:07:49 +0000 (12:07 +0000)]
Loose the query parsing so that Pazpar2 only returns error if _all_
query conversions fail (rather than _any_). This means targets that do
not support some fields are ignored in a search.

16 years agoTowards 1.0.1 PAZPAR2.1.0.1
Adam Dickmeiss [Tue, 3 Jul 2007 19:51:39 +0000 (19:51 +0000)]
Towards 1.0.1

16 years agoTowards 1.0.1.
Adam Dickmeiss [Tue, 3 Jul 2007 19:51:29 +0000 (19:51 +0000)]
Towards 1.0.1.

16 years agoAdded logrotate file.
Adam Dickmeiss [Tue, 3 Jul 2007 19:47:11 +0000 (19:47 +0000)]
Added logrotate file.

16 years agoList filter as search parameter
Adam Dickmeiss [Tue, 3 Jul 2007 13:02:32 +0000 (13:02 +0000)]
List filter as search parameter

16 years agopz:apdulog example
Adam Dickmeiss [Tue, 3 Jul 2007 11:41:22 +0000 (11:41 +0000)]
pz:apdulog example

16 years agoAdded new setting pz:apdulog which controls whether APDUs should be
Adam Dickmeiss [Tue, 3 Jul 2007 11:21:48 +0000 (11:21 +0000)]
Added new setting pz:apdulog which controls whether APDUs should be
logged for some target(s).
Fixed bug #1252: Using record&offset=.. may hang for a long time.
The problem was that a target did return a record initially but
it failed for later present requests . So it was disconnected at the
time the record&offset= was used.

16 years agoBe more informative if HTTP parsing fails
Adam Dickmeiss [Tue, 3 Jul 2007 10:10:14 +0000 (10:10 +0000)]
Be more informative if HTTP parsing fails

16 years agoreclist_rewind and reclist_read_record handles non-existing reclist
Adam Dickmeiss [Mon, 2 Jul 2007 20:55:50 +0000 (20:55 +0000)]
reclist_rewind and reclist_read_record handles non-existing reclist

16 years agoFunction 'record' takes optional 2nd parameter which is offset - for
Adam Dickmeiss [Mon, 2 Jul 2007 20:55:07 +0000 (20:55 +0000)]
Function 'record' takes optional 2nd parameter which is offset - for
raw retrieval.

16 years agotermlist parameters in variablelist.
Adam Dickmeiss [Mon, 2 Jul 2007 20:02:48 +0000 (20:02 +0000)]
termlist parameters in variablelist.

16 years agoFixed record example output.
Adam Dickmeiss [Mon, 2 Jul 2007 20:00:21 +0000 (20:00 +0000)]
Fixed record example output.

16 years agoRemoving array pushes.
Jakub Skoczen [Mon, 2 Jul 2007 12:52:03 +0000 (12:52 +0000)]
Removing array pushes.

16 years agoStylesheet fetched in async mode.
Jakub Skoczen [Mon, 2 Jul 2007 10:16:46 +0000 (10:16 +0000)]
Stylesheet fetched in async mode.

16 years agoAdded parameter clear=1 for init command which makes the session not use
Adam Dickmeiss [Thu, 28 Jun 2007 09:36:10 +0000 (09:36 +0000)]
Added parameter clear=1 for init command which makes the session not use
predefined databases from configuration.

16 years agoCopy settings/*.xml to /etc/pazpar2/settings - including defaults.xml
Adam Dickmeiss [Thu, 28 Jun 2007 08:53:25 +0000 (08:53 +0000)]
Copy settings/*.xml to /etc/pazpar2/settings - including defaults.xml

16 years agoHandle timeout for Z39.50 connections. For connect phase there is a
Adam Dickmeiss [Tue, 26 Jun 2007 13:03:46 +0000 (13:03 +0000)]
Handle timeout for Z39.50 connections. For connect phase there is a
timeout of 30 seconds. Problem is that some targets connect OK, but init
will hang (forever). For idle connections, the timeout is 3 minutes.

16 years agoURL decode variable names. Not just values. If not, things will break
Adam Dickmeiss [Tue, 26 Jun 2007 13:01:07 +0000 (13:01 +0000)]
URL decode variable names. Not just values. If not, things will break
badly if a target includes a blank in the database name.

16 years agoFixed usesessions=false mode. The initStatusOK was not set to true.
Adam Dickmeiss [Mon, 25 Jun 2007 07:23:56 +0000 (07:23 +0000)]
Fixed usesessions=false mode. The initStatusOK was not set to true.

16 years agoFixed several spellings. Indentation is 1 (as given in Emacs locals)
Adam Dickmeiss [Fri, 22 Jun 2007 13:18:23 +0000 (13:18 +0000)]
Fixed several spellings. Indentation is 1 (as given in Emacs locals)

16 years agoSpell fixes
Adam Dickmeiss [Fri, 22 Jun 2007 12:45:28 +0000 (12:45 +0000)]
Spell fixes

16 years agoSpell Pazpar2 consistently
Adam Dickmeiss [Fri, 22 Jun 2007 10:54:59 +0000 (10:54 +0000)]
Spell Pazpar2 consistently

16 years agoExample client specifies usesessions=true
Adam Dickmeiss [Fri, 22 Jun 2007 10:54:46 +0000 (10:54 +0000)]
Example client specifies usesessions=true

16 years agoAllow pz2 parameter usesession=boolean. Default value is true in
Adam Dickmeiss [Fri, 22 Jun 2007 10:52:09 +0000 (10:52 +0000)]
Allow pz2 parameter usesession=boolean. Default value is true in
which case pz2 defines sessions on its own or is told to via method
'init'. For usesession=false, the object does not use ping and
sessions are not sent to the non-pazpar2 service behind it.

16 years agoMethod pzHttpRequest.{get,post} takes URL params as array of object rather
Adam Dickmeiss [Thu, 21 Jun 2007 14:05:41 +0000 (14:05 +0000)]
Method pzHttpRequest.{get,post} takes URL params as array of object rather
than object. This allow us to build the params.

16 years agojsdemo now uses /pazpar2/search.pz2 for searches
Adam Dickmeiss [Thu, 21 Jun 2007 09:45:03 +0000 (09:45 +0000)]
jsdemo now uses /pazpar2/search.pz2 for searches

16 years agoexample moved to jsdemo
Adam Dickmeiss [Thu, 21 Jun 2007 09:44:17 +0000 (09:44 +0000)]
example moved to jsdemo

16 years agoAdded new parameter for pz2 object: pazpar2path which sets Pazpar2 path.
Adam Dickmeiss [Thu, 21 Jun 2007 09:42:46 +0000 (09:42 +0000)]
Added new parameter for pz2 object: pazpar2path which sets Pazpar2 path.
Default value is "search.pz2".

16 years agoPut files for Debian package pazpar2-test1 and pazpar2-jsdemo in
Adam Dickmeiss [Wed, 20 Jun 2007 19:27:18 +0000 (19:27 +0000)]
Put files for Debian package pazpar2-test1 and pazpar2-jsdemo in
/usr/share/pazpar2/test1 and /usr/share/pazpar2/jsdemo respectively.
This makes our package only use one Apache2 config rather than one for
each UI. The ProxyPass rule(s) are only specified in pazpar2-apache2.

16 years agoReload apache2 in configure mode (install/upgrade)
Adam Dickmeiss [Wed, 20 Jun 2007 19:24:43 +0000 (19:24 +0000)]
Reload apache2 in configure mode (install/upgrade)

16 years agojsdemo included in distribution. It illustrates the use of the js/pz2.js
Adam Dickmeiss [Wed, 20 Jun 2007 14:11:41 +0000 (14:11 +0000)]
jsdemo included in distribution. It illustrates the use of the js/pz2.js
JavaScript library. Added Debian package pazpar2-jsdemo .

16 years agoExample client moved to jsdemo. There are other examples and jsdemo
Adam Dickmeiss [Wed, 20 Jun 2007 14:03:15 +0000 (14:03 +0000)]
Example client moved to jsdemo. There are other examples and jsdemo
illustrates the use of the pz2.js library.

16 years agoPackage pazpar2-apache now makes /usr/share/pazpar2 available as /pazpar2.
Adam Dickmeiss [Wed, 20 Jun 2007 13:43:14 +0000 (13:43 +0000)]
Package pazpar2-apache now makes /usr/share/pazpar2 available as /pazpar2.
JavaScript library pz2.js is therefore available as /pazpar2/js/pz2.js in
the installation.

16 years agoAdded these. PAZPAR2.1.0.0
Adam Dickmeiss [Wed, 20 Jun 2007 08:43:34 +0000 (08:43 +0000)]
Added these.

16 years agoVersion 1.0.0
Adam Dickmeiss [Wed, 20 Jun 2007 08:38:56 +0000 (08:38 +0000)]
Version 1.0.0

16 years agoAdd a little on option -t in test1 example. Make installation
Adam Dickmeiss [Wed, 20 Jun 2007 08:37:10 +0000 (08:37 +0000)]
Add a little on option -t in test1 example. Make installation
requirement on a C99 compliant compiler.

16 years agoURL link to MARCXML
Adam Dickmeiss [Wed, 20 Jun 2007 08:25:58 +0000 (08:25 +0000)]
URL link to MARCXML

16 years agoAdded a section about how to install a Pazpar2 interface test1.
Adam Dickmeiss [Wed, 20 Jun 2007 08:22:13 +0000 (08:22 +0000)]
Added a section about how to install a Pazpar2 interface test1.

16 years agoAnd port is 8004
Adam Dickmeiss [Wed, 20 Jun 2007 08:05:11 +0000 (08:05 +0000)]
And port is 8004

16 years agoThe template dist config proxy to localhost:80
Adam Dickmeiss [Wed, 20 Jun 2007 08:02:20 +0000 (08:02 +0000)]
The template dist config proxy to localhost:80

16 years agoUse product name Pazpar2 consistently. Fixed about a dozen typos.
Adam Dickmeiss [Wed, 20 Jun 2007 07:41:58 +0000 (07:41 +0000)]
Use product name Pazpar2 consistently. Fixed about a dozen typos.