really proud of this commit :-)
authortipaul <tipaul>
Tue, 29 Apr 2003 16:48:25 +0000 (16:48 +0000)
committertipaul <tipaul>
Tue, 29 Apr 2003 16:48:25 +0000 (16:48 +0000)
commit26543b430e1df3866f50e79fbfb724ec69a26791
tree7b3ba64cae16e419964f62cce35b830a66d655a7
parenta3c119a3567ccf6d1ec44200465d080a0a7c9b09
really proud of this commit :-)
z3950 search and import seems to works fine.
Let me explain how :
* a "search z3950" button is added in the addbiblio template.
* when clicked, a popup appears and z3950/search.pl is called
* z3950/search.pl calls addz3950search in the DB
* the z3950 daemon retrieve the records and stores them in z3950results AND in marc_breeding table.
* as long as there as searches pending, the popup auto refresh every 2 seconds, and says how many searches are pending.
* when the user clicks on a z3950 result => the parent popup is called with the requested biblio, and auto-filled

Note :
* character encoding support : (It's a nightmare...) In the z3950servers table, a "encoding" column has been added. You can put "UNIMARC" or "USMARC" in this column. Depending on this, the char_decode in C4::Biblio.pm replaces marc-char-encode by an iso 8859-1 encoding. Note that in the breeding import this value has been added too, for a better support.
* the marc_breeding and z3950* tables have been modified : they have an encoding column and the random z3950 number is stored too for convenience => it's the key I use to list only requested biblios in the popup.
16 files changed:
C4/Biblio.pm
C4/Breeding.pm
C4/Search.pm
C4/Z3950.pm
acqui.simple/addbiblio.pl
acqui.simple/marcimport.pl
admin/z3950servers.pl
koha-tmpl/intranet-tmpl/default/en/acqui.simple/addbiblio.tmpl
koha-tmpl/intranet-tmpl/default/en/acqui.simple/marcimport.tmpl
koha-tmpl/intranet-tmpl/default/en/parameters/z3950servers.tmpl
koha-tmpl/intranet-tmpl/default/en/z3950/searchresult.tmpl [new file with mode: 0644]
updater/updatedatabase
z3950/processz3950queue
z3950/search.pl [new file with mode: 0755]
z3950/z3950-daemon-launch.sh
z3950/z3950-daemon-shell.sh