Commit graph

9 commits

Author SHA1 Message Date
tipaul
26543b430e 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.
2003-04-29 16:48:25 +00:00
wolfpac444
168ecb752c Changed images into text buttons 2003-04-26 03:54:51 +00:00
wolfpac444
43ae7c2259 Fixed problems with Javascript and newlines 2003-04-22 23:09:46 +00:00
wolfpac444
72f32f7ff7 *** empty log message *** 2003-04-13 05:54:18 +00:00
wolfpac444
546c670788 Changed "data recorded" to "Data recorded" 2003-04-12 01:37:21 +00:00
tipaul
75dd1d77f5 fix for 231 2003-04-09 09:43:27 +00:00
tipaul
0af3339336 fixed typo (#221) 2003-04-09 09:21:50 +00:00
wolfpac444
6419ed7c78 Added "toggle" color functionality to the templates 2003-04-05 03:35:09 +00:00
wolfpac444
2810acfb2a Templating... 2003-04-05 01:36:06 +00:00