/[webpac2]/trunk/lib/WebPAC/Normalize.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Log of /trunk/lib/WebPAC/Normalize.pm

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (annotate)
Sticky Revision:

Revision 1373 - (view) (annotate) - [select for diffs]
Modified Thu Aug 22 08:16:28 2013 UTC (9 years, 3 months ago) by dpavlin
File length: 18411 byte(s)
Diff to previous 1367
better error messages


Revision 1367 - (view) (annotate) - [select for diffs]
Modified Thu Dec 15 21:40:37 2011 UTC (10 years, 11 months ago) by dpavlin
File length: 18390 byte(s)
Diff to previous 1364
added _set_rec

Revision 1364 - (view) (annotate) - [select for diffs]
Modified Thu Apr 21 17:10:04 2011 UTC (11 years, 7 months ago) by dpavlin
File length: 18306 byte(s)
Diff to previous 1216
hush all warnings in normalize code

Revision 1216 - (view) (annotate) - [select for diffs]
Modified Tue Jun 2 13:17:24 2009 UTC (13 years, 6 months ago) by dpavlin
File length: 18311 byte(s)
Diff to previous 1214
fix pod example for rec_array


Revision 1214 - (view) (annotate) - [select for diffs]
Modified Tue Jun 2 13:14:59 2009 UTC (13 years, 6 months ago) by dpavlin
File length: 18309 byte(s)
Diff to previous 1210
document rec_array and fix tests


Revision 1210 - (view) (annotate) - [select for diffs]
Modified Sat May 30 15:26:25 2009 UTC (13 years, 6 months ago) by dpavlin
File length: 18230 byte(s)
Diff to previous 1206
 r1906@llin:  dpavlin | 2009-05-30 17:26:17 +0200
 added table name to row normalize command so we can create
 data in different tables directly from normalization file


Revision 1206 - (view) (annotate) - [select for diffs]
Modified Fri May 29 20:55:54 2009 UTC (13 years, 6 months ago) by dpavlin
File length: 18199 byte(s)
Diff to previous 1205
 r1898@llin:  dpavlin | 2009-05-29 22:55:52 +0200
 test rec_array and rows


Revision 1205 - (view) (annotate) - [select for diffs]
Modified Fri May 29 20:32:13 2009 UTC (13 years, 6 months ago) by dpavlin
File length: 18182 byte(s)
Diff to previous 1118
 r1896@llin:  dpavlin | 2009-05-29 22:32:12 +0200
 added rec_array and row and small example how to create
 multiple rows from single record in input file


Revision 1118 - (view) (annotate) - [select for diffs]
Modified Sun Oct 26 15:57:37 2008 UTC (14 years, 1 month ago) by dpavlin
File length: 17791 byte(s)
Diff to previous 1066
 r1747@llin:  dpavlin | 2008-10-26 16:55:31 +0100
 bug fix: don't destroy subfields values in data hash


Revision 1066 - (view) (annotate) - [select for diffs]
Modified Tue Nov 27 22:31:09 2007 UTC (15 years ago) by dpavlin
File length: 17729 byte(s)
Diff to previous 1048
 r1667@llin:  dpavlin | 2007-11-27 23:31:09 +0100
 export to as general way to set different output fields


Revision 1048 - (view) (annotate) - [select for diffs]
Modified Mon Nov 19 16:33:09 2007 UTC (15 years ago) by dpavlin
File length: 17535 byte(s)
Diff to previous 1038
 r1633@llin:  dpavlin | 2007-11-19 17:33:09 +0100
 fetch indicators with rec(900,'i1') and/or rec(900,'i2') as it should be
 (fixed bug which prevented this from working for some values like 0)


Revision 1038 - (view) (annotate) - [select for diffs]
Modified Mon Nov 12 11:57:00 2007 UTC (15 years, 1 month ago) by dpavlin
File length: 17527 byte(s)
Diff to previous 1037
 r1614@llin:  dpavlin | 2007-11-12 12:56:56 +0100
 demostrate problems with marc records returned


Revision 1037 - (view) (annotate) - [select for diffs]
Modified Mon Nov 12 11:17:19 2007 UTC (15 years, 1 month ago) by dpavlin
File length: 17593 byte(s)
Diff to previous 1036
 r1612@llin:  dpavlin | 2007-11-12 12:17:17 +0100
 fixed debug levels: now tests run with -d will display
 own diag messages, while -d -d will be 1st level of
 debug for WebPAC, and so on...


Revision 1036 - (view) (annotate) - [select for diffs]
Modified Mon Nov 12 11:10:48 2007 UTC (15 years, 1 month ago) by dpavlin
File length: 17534 byte(s)
Diff to previous 1021
 r1610@llin:  dpavlin | 2007-11-12 12:10:45 +0100
 split MARC handling routines into WebPAC::Normalize::MARC [2.31]


Revision 1021 - (view) (annotate) - [select for diffs]
Modified Sat Nov 10 11:11:16 2007 UTC (15 years, 1 month ago) by dpavlin
File length: 31988 byte(s)
Diff to previous 1019
 r1579@llin:  dpavlin | 2007-11-10 11:59:27 +0100
 Begin extraction of MARC functionality from WebPAC::Normalize to
 WebPAC::Normalize::MARC


Revision 1019 - (view) (annotate) - [select for diffs]
Modified Sat Nov 10 00:05:36 2007 UTC (15 years, 1 month ago) by dpavlin
File length: 36105 byte(s)
Diff to previous 1018
support single fields without delimiters in marc_template


Revision 1018 - (view) (annotate) - [select for diffs]
Modified Fri Nov 9 23:46:44 2007 UTC (15 years, 1 month ago) by dpavlin
File length: 36044 byte(s)
Diff to previous 1017
consider only one-char subfields (to correctly skip subfields key which
contains order of subfields), die on subfields which doesn't have
rename mapping defined


Revision 1017 - (view) (annotate) - [select for diffs]
Modified Fri Nov 9 23:41:39 2007 UTC (15 years, 1 month ago) by dpavlin
File length: 35947 byte(s)
Diff to previous 1016
better error output, skip non-existent fields in marc_template


Revision 1016 - (view) (annotate) - [select for diffs]
Modified Thu Nov 8 17:29:03 2007 UTC (15 years, 1 month ago) by dpavlin
File length: 35926 byte(s)
Diff to previous 1015
 r1573@llin:  dpavlin | 2007-11-08 18:29:03 +0100
 fix marc_template to produce correctly formatted MARC


Revision 1015 - (view) (annotate) - [select for diffs]
Modified Thu Nov 8 17:19:50 2007 UTC (15 years, 1 month ago) by dpavlin
File length: 35820 byte(s)
Diff to previous 1013
 r1571@llin:  dpavlin | 2007-11-08 18:19:49 +0100
 added frec_eq and frec_ne to work-around our parser which removes spaces


Revision 1013 - (view) (annotate) - [select for diffs]
Modified Wed Nov 7 11:54:34 2007 UTC (15 years, 1 month ago) by dpavlin
File length: 35138 byte(s)
Diff to previous 1012
 r1567@llin:  dpavlin | 2007-11-07 12:54:20 +0100
 huge dump of marc_template, a new way to specify mappings
 which is basically WebPAC v1 in a sub :-)


Revision 1012 - (view) (annotate) - [select for diffs]
Modified Wed Nov 7 09:19:29 2007 UTC (15 years, 1 month ago) by dpavlin
File length: 30980 byte(s)
Diff to previous 1011
document frec


Revision 1011 - (view) (annotate) - [select for diffs]
Modified Tue Nov 6 20:26:31 2007 UTC (15 years, 1 month ago) by dpavlin
File length: 30884 byte(s)
Diff to previous 990
added no warnings 'redefine'; so we can define subs in normalization perl
without annoying warnings.


Revision 990 - (view) (annotate) - [select for diffs]
Modified Sun Nov 4 13:27:12 2007 UTC (15 years, 1 month ago) by dpavlin
File length: 30858 byte(s)
Diff to previous 983
 r1519@llin:  dpavlin | 2007-11-04 14:27:11 +0100
 get_ds did't really fit in normalize since we have to update store also


Revision 983 - (view) (annotate) - [select for diffs]
Modified Sun Nov 4 11:12:38 2007 UTC (15 years, 1 month ago) by dpavlin
File length: 30983 byte(s)
Diff to previous 982
 r1505@llin:  dpavlin | 2007-11-04 12:12:20 +0100
 renamed _set_rec to _set_ds (because it's a data_structure actually)
 and added symetric public get_ds to get whole data_structure as
 hash to manually traverse in normalization


Revision 982 - (view) (annotate) - [select for diffs]
Modified Sat Nov 3 13:35:03 2007 UTC (15 years, 1 month ago) by dpavlin
File length: 30863 byte(s)
Diff to previous 980
remove debug


Revision 980 - (view) (annotate) - [select for diffs]
Modified Sat Nov 3 13:33:19 2007 UTC (15 years, 1 month ago) by dpavlin
File length: 30864 byte(s)
Diff to previous 979
 r1499@llin:  dpavlin | 2007-11-03 14:31:44 +0100
 properly export isbn_10() and isbn_13()


Revision 979 - (view) (annotate) - [select for diffs]
Modified Sat Nov 3 12:37:43 2007 UTC (15 years, 1 month ago) by dpavlin
File length: 30855 byte(s)
Diff to previous 973
added frec which returns first occurence of record
as scalar (for eq/ne comparison and things like that)


Revision 973 - (view) (annotate) - [select for diffs]
Modified Fri Nov 2 14:59:12 2007 UTC (15 years, 1 month ago) by dpavlin
File length: 30683 byte(s)
Diff to previous 923
 r1489@llin:  dpavlin | 2007-11-02 15:59:07 +0100
 load WebPAC::Normalize::ISBN at right place


Revision 923 - (view) (annotate) - [select for diffs]
Modified Wed Oct 31 00:26:43 2007 UTC (15 years, 1 month ago) by dpavlin
File length: 30619 byte(s)
Diff to previous 915
 r1393@llin:  dpavlin | 2007-10-31 00:52:52 +0100
 added sorted to WebPAC::Normalize to define values which should go
 into sorted lists


Revision 915 - (view) (annotate) - [select for diffs]
Modified Tue Oct 30 20:27:20 2007 UTC (15 years, 1 month ago) by dpavlin
File length: 30547 byte(s)
Diff to previous 912
 r1376@llin:  dpavlin | 2007-10-30 21:27:19 +0100
 Added back tag for backwards compatiblity


Revision 912 - (view) (annotate) - [select for diffs]
Modified Tue Oct 30 17:40:13 2007 UTC (15 years, 1 month ago) by dpavlin
File length: 30446 byte(s)
Diff to previous 889
 r1370@llin:  dpavlin | 2007-10-30 18:40:02 +0100
 rename tag to search_display which makes it more clean what does it do


Revision 889 - (view) (annotate) - [select for diffs]
Modified Thu Sep 6 19:12:15 2007 UTC (15 years, 3 months ago) by dpavlin
File length: 30494 byte(s)
Diff to previous 831
make missing value in marc_fixed confess and fixed warning


Revision 831 - (view) (annotate) - [select for diffs]
Modified Wed May 23 20:03:14 2007 UTC (15 years, 6 months ago) by dpavlin
File length: 30451 byte(s)
Diff to previous 819
 r1220@llin:  dpavlin | 2007-05-20 19:29:36 +0200
 can be called for fields without subfields now...


Revision 819 - (view) (annotate) - [select for diffs]
Modified Wed Apr 11 10:09:34 2007 UTC (15 years, 8 months ago) by dpavlin
File length: 30389 byte(s)
Diff to previous 817
 r1198@llin:  dpavlin | 2007-04-11 12:09:29 +0200
 prefix, suffix and surround now work correcty with empty strings and zeros


Revision 817 - (view) (annotate) - [select for diffs]
Modified Thu Apr 5 21:50:14 2007 UTC (15 years, 8 months ago) by dpavlin
File length: 30416 byte(s)
Diff to previous 815
use debug level to, well, display debug


Revision 815 - (view) (annotate) - [select for diffs]
Modified Mon Apr 2 17:20:01 2007 UTC (15 years, 8 months ago) by dpavlin
File length: 30368 byte(s)
Diff to previous 813
 r1192@llin:  dpavlin | 2007-04-02 19:20:01 +0200
 added support for fix-length fields using marc_fixed [2.29]


Revision 813 - (view) (annotate) - [select for diffs]
Modified Sun Apr 1 21:47:47 2007 UTC (15 years, 8 months ago) by dpavlin
File length: 29293 byte(s)
Diff to previous 812
 r1184@llin:  dpavlin | 2007-04-01 23:47:04 +0200
  r1182@llin:  dpavlin | 2007-04-01 23:44:03 +0200
  marc_duplicate now correctly duplicates leader data, new _get_marc_leader to
  return leader corresponding to last _get_marc_fields call, added marc_count
  which returns number of created MARC records
 


Revision 812 - (view) (annotate) - [select for diffs]
Modified Sun Apr 1 21:47:42 2007 UTC (15 years, 8 months ago) by dpavlin
File length: 28490 byte(s)
Diff to previous 810
 r1181@llin:  dpavlin | 2007-04-01 22:47:56 +0200
  r1180@llin:  dpavlin | 2007-04-01 22:47:43 +0200
  renamed $leader to $marc_leader to be consistent with other vars
 


Revision 810 - (view) (annotate) - [select for diffs]
Modified Sun Apr 1 21:47:38 2007 UTC (15 years, 8 months ago) by dpavlin
File length: 28470 byte(s)
Diff to previous 791
 r1178@llin:  dpavlin | 2007-04-01 22:39:11 +0200
 cleanup debug output


Revision 791 - (view) (annotate) - [select for diffs]
Modified Tue Jan 30 18:21:17 2007 UTC (15 years, 10 months ago) by dpavlin
File length: 28428 byte(s)
Diff to previous 788
added count


Revision 788 - (view) (annotate) - [select for diffs]
Modified Sun Dec 10 12:56:59 2006 UTC (16 years ago) by dpavlin
File length: 28257 byte(s)
Diff to previous 786
better logging


Revision 786 - (view) (annotate) - [select for diffs]
Modified Sun Dec 10 12:45:11 2006 UTC (16 years ago) by dpavlin
File length: 28179 byte(s)
Diff to previous 785
added support for marc_remove('*') to clean whole
marc record after marc_dumplicate


Revision 785 - (view) (annotate) - [select for diffs]
Modified Wed Dec 6 23:44:36 2006 UTC (16 years ago) by dpavlin
File length: 27993 byte(s)
Diff to previous 766
added get and set to create in-memory hash


Revision 766 - (view) (annotate) - [select for diffs]
Modified Tue Oct 31 13:19:47 2006 UTC (16 years, 1 month ago) by dpavlin
File length: 27685 byte(s)
Diff to previous 752
 r1113@llin:  dpavlin | 2006-10-31 14:17:02 +0100
 cleanup normalization error message for lookups and modify tests so they don't fail anymore


Revision 752 - (view) (annotate) - [select for diffs]
Modified Sun Oct 8 18:21:26 2006 UTC (16 years, 2 months ago) by dpavlin
File length: 27683 byte(s)
Diff to previous 750
move warns to debug level


Revision 750 - (view) (annotate) - [select for diffs]
Modified Sun Oct 8 13:24:46 2006 UTC (16 years, 2 months ago) by dpavlin
File length: 27647 byte(s)
Diff to previous 741
make rec() a bit more clever about returning values [0.23]


Revision 741 - (view) (annotate) - [select for diffs]
Modified Sun Oct 8 00:38:04 2006 UTC (16 years, 2 months ago) by dpavlin
File length: 27495 byte(s)
Diff to previous 740
 r1075@llin:  dpavlin | 2006-10-08 02:30:42 +0200
 don't polute data_structure with leader (data_structure will now
 return undef as it should if matched rules didn't have any search
 or display directives)


Revision 740 - (view) (annotate) - [select for diffs]
Modified Sat Oct 7 16:33:37 2006 UTC (16 years, 2 months ago) by dpavlin
File length: 27497 byte(s)
Diff to previous 736
 r1073@llin:  dpavlin | 2006-10-07 18:30:24 +0200
 if there is only one value, lookups will return scalar and not array


Revision 736 - (view) (annotate) - [select for diffs]
Modified Thu Oct 5 12:57:51 2006 UTC (16 years, 2 months ago) by dpavlin
File length: 27446 byte(s)
Diff to previous 730
 r1065@llin:  dpavlin | 2006-10-05 14:54:48 +0200
 actually we don't need *_load_ds, but _load_row for lookups


Revision 730 - (view) (annotate) - [select for diffs]
Modified Fri Sep 29 20:18:34 2006 UTC (16 years, 2 months ago) by dpavlin
File length: 27431 byte(s)
Diff to previous 729
 r1052@llin:  dpavlin | 2006-09-29 22:15:12 +0200
 don't reset lookup and config on each data_structure call


Revision 729 - (view) (annotate) - [select for diffs]
Modified Fri Sep 29 20:18:30 2006 UTC (16 years, 2 months ago) by dpavlin
File length: 27377 byte(s)
Diff to previous 725
 r1051@llin:  dpavlin | 2006-09-29 21:58:49 +0200
 make it less chatty without debug level


Revision 725 - (view) (annotate) - [select for diffs]
Modified Fri Sep 29 18:55:41 2006 UTC (16 years, 2 months ago) by dpavlin
File length: 27326 byte(s)
Diff to previous 721
 r1042@llin:  dpavlin | 2006-09-29 20:53:01 +0200
 added _set_load_ds, and load_ds_coderef to data_structure so that lookups can call
 closure to fetch records, implemented lookup based on new format generated by
 WebPAC::Parser, test to be sure that it somewhat works :-) [0.21]


Revision 721 - (view) (annotate) - [select for diffs]
Modified Fri Sep 29 12:27:47 2006 UTC (16 years, 2 months ago) by dpavlin
File length: 24040 byte(s)
Diff to previous 712
 r1035@llin:  dpavlin | 2006-09-29 14:25:03 +0200
 moved warn to debug 1


Revision 712 - (view) (annotate) - [select for diffs]
Modified Tue Sep 26 10:23:04 2006 UTC (16 years, 2 months ago) by dpavlin
File length: 24042 byte(s)
Diff to previous 711
 r1018@llin:  dpavlin | 2006-09-26 12:20:52 +0200
 correct creation of lookups (by database and input)


Revision 711 - (view) (annotate) - [select for diffs]
Modified Tue Sep 26 10:05:25 2006 UTC (16 years, 2 months ago) by dpavlin
File length: 23830 byte(s)
Diff to previous 707
 r1016@llin:  dpavlin | 2006-09-26 12:03:11 +0200
 make it less chatty


Revision 707 - (view) (annotate) - [select for diffs]
Modified Mon Sep 25 15:26:12 2006 UTC (16 years, 2 months ago) by dpavlin
File length: 23833 byte(s)
Diff to previous 669
 r1008@llin:  dpavlin | 2006-09-25 17:23:42 +0200
 lookup creation somewhat works


Revision 669 - (view) (annotate) - [select for diffs]
Modified Mon Sep 11 14:29:01 2006 UTC (16 years, 3 months ago) by dpavlin
File length: 22988 byte(s)
Diff to previous 668
 r937@llin:  dpavlin | 2006-09-11 16:26:07 +0200
 changed _pack_subfields_hash usage and document it


Revision 668 - (view) (annotate) - [select for diffs]
Modified Mon Sep 11 14:28:56 2006 UTC (16 years, 3 months ago) by dpavlin
File length: 22831 byte(s)
Diff to previous 667
 r936@llin:  dpavlin | 2006-09-11 16:06:01 +0200
 return subfields in alphabetical order


Revision 667 - (view) (annotate) - [select for diffs]
Modified Mon Sep 11 12:56:05 2006 UTC (16 years, 3 months ago) by dpavlin
File length: 22826 byte(s)
Diff to previous 661
 r934@llin:  dpavlin | 2006-09-11 14:55:01 +0200
 _pack_subfields_hash now support (legacy) structures with subfields definition


Revision 661 - (view) (annotate) - [select for diffs]
Modified Fri Sep 8 17:47:58 2006 UTC (16 years, 3 months ago) by dpavlin
File length: 22421 byte(s)
Diff to previous 642
remove recoding which doesn't fit here


Revision 642 - (view) (annotate) - [select for diffs]
Modified Wed Sep 6 21:09:30 2006 UTC (16 years, 3 months ago) by dpavlin
File length: 22575 byte(s)
Diff to previous 641
make it less chatty


Revision 641 - (view) (annotate) - [select for diffs]
Modified Wed Sep 6 20:54:47 2006 UTC (16 years, 3 months ago) by dpavlin
File length: 22593 byte(s)
Diff to previous 631
refactored _pack_subfields_hash in separate function


Revision 631 - (view) (annotate) - [select for diffs]
Modified Wed Sep 6 14:25:16 2006 UTC (16 years, 3 months ago) by dpavlin
File length: 22254 byte(s)
Diff to previous 619
 r890@llin:  dpavlin | 2006-09-06 16:24:27 +0200
 rec1 now unrolls subfields in correct order (as in source file)


Revision 619 - (view) (annotate) - [select for diffs]
Modified Fri Aug 25 12:31:06 2006 UTC (16 years, 3 months ago) by dpavlin
File length: 21681 byte(s)
Diff to previous 618
 r867@llin:  dpavlin | 2006-08-25 14:32:05 +0200
 statistics now show data before modify_records


Revision 618 - (view) (annotate) - [select for diffs]
Modified Fri Aug 25 12:31:01 2006 UTC (16 years, 3 months ago) by dpavlin
File length: 21564 byte(s)
Diff to previous 616
 r866@llin:  dpavlin | 2006-08-25 12:32:28 +0200
 finish marc_original_order and remove warning


Revision 616 - (view) (annotate) - [select for diffs]
Modified Wed Aug 23 14:29:43 2006 UTC (16 years, 3 months ago) by dpavlin
File length: 21580 byte(s)
Diff to previous 605
marc_original_order has now arguments in order marc_field, original_field to
be consistent with other directives


Revision 605 - (view) (annotate) - [select for diffs]
Modified Sun Jul 30 14:23:23 2006 UTC (16 years, 4 months ago) by dpavlin
File length: 21353 byte(s)
Diff to previous 604
 r846@llin:  dpavlin | 2006-07-30 14:27:35 +0200
 better checking for subfield definition (for now, supported by just
 Biblio::Isis) and warn if missing (as opposed to die)


Revision 604 - (view) (annotate) - [select for diffs]
Modified Sun Jul 30 14:19:54 2006 UTC (16 years, 4 months ago) by dpavlin
File length: 21244 byte(s)
Diff to previous 603
 r844@llin:  dpavlin | 2006-07-30 14:24:04 +0200
 first cut at marc_original_order


Revision 603 - (view) (annotate) - [select for diffs]
Modified Sun Jul 23 20:19:56 2006 UTC (16 years, 4 months ago) by dpavlin
File length: 19443 byte(s)
Diff to previous 601
 r842@llin:  dpavlin | 2006-07-23 22:23:52 +0200
 append subfields


Revision 601 - (view) (annotate) - [select for diffs]
Modified Sun Jul 23 17:33:11 2006 UTC (16 years, 4 months ago) by dpavlin
File length: 19296 byte(s)
Diff to previous 595
added _debug(2) output to rec2(...)


Revision 595 - (view) (annotate) - [select for diffs]
Modified Mon Jul 10 10:16:11 2006 UTC (16 years, 5 months ago) by dpavlin
File length: 19231 byte(s)
Diff to previous 592
 r827@llin:  dpavlin | 2006-07-10 12:17:16 +0200
 add config() and id() to WebPAC::Normalize


Revision 592 - (view) (annotate) - [select for diffs]
Modified Sun Jul 9 15:22:30 2006 UTC (16 years, 5 months ago) by dpavlin
File length: 17647 byte(s)
Diff to previous 589
 r822@llin:  dpavlin | 2006-07-09 17:14:07 +0200
 prefix doesn't die if first parametar is undef


Revision 589 - (view) (annotate) - [select for diffs]
Modified Fri Jul 7 21:48:09 2006 UTC (16 years, 5 months ago) by dpavlin
File length: 17684 byte(s)
Diff to previous 586
 r817@llin:  dpavlin | 2006-07-07 23:48:50 +0200
 support repeatable subfields from Biblio::Isis 0.20


Revision 586 - (view) (annotate) - [select for diffs]
Modified Thu Jul 6 10:31:13 2006 UTC (16 years, 5 months ago) by dpavlin
File length: 17610 byte(s)
Diff to previous 583
better _debug(2) output


Revision 583 - (view) (annotate) - [select for diffs]
Modified Wed Jul 5 00:12:08 2006 UTC (16 years, 5 months ago) by dpavlin
File length: 17538 byte(s)
Diff to previous 579
rec and join_with now return '' if there are no results, so they are safe to
use inside marc_compose


Revision 579 - (view) (annotate) - [select for diffs]
Modified Tue Jul 4 11:08:43 2006 UTC (16 years, 5 months ago) by dpavlin
File length: 17355 byte(s)
Diff to previous 574
 r798@llin:  dpavlin | 2006-07-04 13:08:44 +0200
 changed _get_marc_fields to return arrayref, tests and fix for marc_remove(field)


Revision 574 - (view) (annotate) - [select for diffs]
Modified Mon Jul 3 21:08:07 2006 UTC (16 years, 5 months ago) by dpavlin
File length: 17340 byte(s)
Diff to previous 572
added marc_duplicate and marc_remove


Revision 572 - (view) (annotate) - [select for diffs]
Modified Mon Jul 3 14:32:40 2006 UTC (16 years, 5 months ago) by dpavlin
File length: 13726 byte(s)
Diff to previous 571
fix warning with fields < 10


Revision 571 - (view) (annotate) - [select for diffs]
Modified Mon Jul 3 14:30:22 2006 UTC (16 years, 5 months ago) by dpavlin
File length: 13689 byte(s)
Diff to previous 568
marc() now supports fields < 10 which don't have indicators and subfields


Revision 568 - (view) (annotate) - [select for diffs]
Modified Sun Jul 2 21:30:00 2006 UTC (16 years, 5 months ago) by dpavlin
File length: 13440 byte(s)
Diff to previous 566
 r779@llin:  dpavlin | 2006-07-02 23:30:17 +0200
 more tuning of debug logging


Revision 566 - (view) (annotate) - [select for diffs]
Modified Sun Jul 2 21:17:54 2006 UTC (16 years, 5 months ago) by dpavlin
File length: 13421 byte(s)
Diff to previous 565
test split_rec_on corner cases, and fix one


Revision 565 - (view) (annotate) - [select for diffs]
Modified Sun Jul 2 20:33:13 2006 UTC (16 years, 5 months ago) by dpavlin
File length: 13359 byte(s)
Diff to previous 564
skip empty values in marc_compose


Revision 564 - (view) (annotate) - [select for diffs]
Modified Sun Jul 2 20:14:21 2006 UTC (16 years, 5 months ago) by dpavlin
File length: 13397 byte(s)
Diff to previous 562
 r772@llin:  dpavlin | 2006-07-02 22:14:37 +0200
 rough implementation of marc_leader (not tested enough)


Revision 562 - (view) (annotate) - [select for diffs]
Modified Sun Jul 2 16:14:41 2006 UTC (16 years, 5 months ago) by dpavlin
File length: 13107 byte(s)
Diff to previous 554
added marc_compose to specify manually subfield order in MARC and
split_rec_on to split single field into parts based on regex


Revision 554 - (view) (annotate) - [select for diffs]
Modified Sat Jul 1 10:19:29 2006 UTC (16 years, 5 months ago) by dpavlin
File length: 11273 byte(s)
Diff to previous 551
 r756@llin:  dpavlin | 2006-07-01 12:17:24 +0200
 pod improvements, added _debug


Revision 551 - (view) (annotate) - [select for diffs]
Modified Fri Jun 30 20:43:09 2006 UTC (16 years, 5 months ago) by dpavlin
File length: 10822 byte(s)
Diff to previous 550
 r750@llin:  dpavlin | 2006-06-30 22:34:44 +0200
 check if marc_record has values


Revision 550 - (view) (annotate) - [select for diffs]
Modified Fri Jun 30 18:48:33 2006 UTC (16 years, 5 months ago) by dpavlin
File length: 10735 byte(s)
Diff to previous 548
 r748@llin:  dpavlin | 2006-06-30 20:48:29 +0200
 re-implement magic again (so that it actually work in all cases consistant).
 Depend on Data::Dump to enable nice output.


Revision 548 - (view) (annotate) - [select for diffs]
Modified Thu Jun 29 23:29:02 2006 UTC (16 years, 5 months ago) by dpavlin
File length: 8870 byte(s)
Diff to previous 547
 r744@llin:  dpavlin | 2006-06-30 01:31:00 +0200
 don't chew indicators with 0 value, removed debugging warning


Revision 547 - (view) (annotate) - [select for diffs]
Modified Thu Jun 29 23:19:26 2006 UTC (16 years, 5 months ago) by dpavlin
File length: 8948 byte(s)
Diff to previous 544
 r742@llin:  dpavlin | 2006-06-30 01:21:24 +0200
 added marc_repetable_subfield and marc_indicators, renamed marc21 to marc [2.23]


Revision 544 - (view) (annotate) - [select for diffs]
Modified Thu Jun 29 21:52:51 2006 UTC (16 years, 5 months ago) by dpavlin
File length: 7737 byte(s)
Diff to previous 543
 r736@llin:  dpavlin | 2006-06-29 23:54:24 +0200
 oh, another bit of magic missing...


Revision 543 - (view) (annotate) - [select for diffs]
Modified Thu Jun 29 21:19:08 2006 UTC (16 years, 5 months ago) by dpavlin
File length: 7678 byte(s)
Diff to previous 542
 r732@llin:  dpavlin | 2006-06-29 23:20:46 +0200
 document magic (that is how WebPAC detects repeatable fields) and fix it to actually work :-)


Revision 542 - (view) (annotate) - [select for diffs]
Modified Thu Jun 29 21:18:59 2006 UTC (16 years, 5 months ago) by dpavlin
File length: 7406 byte(s)
Diff to previous 541
 r731@llin:  dpavlin | 2006-06-29 23:02:08 +0200
 implement magic to create fields and repeatable fields (which might be broken for some cases).


Revision 541 - (view) (annotate) - [select for diffs]
Modified Thu Jun 29 21:18:50 2006 UTC (16 years, 5 months ago) by dpavlin
File length: 6895 byte(s)
Diff to previous 540
 r730@llin:  dpavlin | 2006-06-29 21:33:48 +0200
 use MARC::Record 2.0 to support utf-8 encoding in MARC
 http://marcpm.sourceforge.net/


Revision 540 - (view) (annotate) - [select for diffs]
Modified Thu Jun 29 15:29:41 2006 UTC (16 years, 5 months ago) by dpavlin
File length: 6608 byte(s)
Diff to previous 538
 r726@llin:  dpavlin | 2006-06-29 17:31:13 +0200
 add marc21 to normalize and create MARC file from those data [2.22]


Revision 538 - (view) (annotate) - [select for diffs]
Modified Thu Jun 29 15:29:19 2006 UTC (16 years, 5 months ago) by dpavlin
File length: 5692 byte(s)
Diff to previous 536
 r722@llin:  dpavlin | 2006-06-26 21:29:56 +0200
 make private funtions with _


Revision 536 - (view) (annotate) - [select for diffs]
Modified Mon Jun 26 16:39:51 2006 UTC (16 years, 5 months ago) by dpavlin
File length: 5409 byte(s)
Diff to previous 436
 r719@llin:  dpavlin | 2006-06-26 18:40:57 +0200
 big refacture: depriciate and remove all normalisation formats except .pl sets (but
 old code is still available in WebPAC::Lookup::Normalize because lookups use it) [2.20]


Revision 436 - (view) (annotate) - [select for diffs]
Modified Sun Apr 30 12:17:19 2006 UTC (16 years, 7 months ago) by dpavlin
File length: 18199 byte(s)
Diff to previous 433
 r531@llin:  dpavlin | 2006-04-30 14:18:00 +0200
 fix warning on undef vars


Revision 433 - (view) (annotate) - [select for diffs]
Modified Mon Apr 17 16:01:12 2006 UTC (16 years, 7 months ago) by dpavlin
File length: 18168 byte(s)
Diff to previous 397
 r524@llin:  dpavlin | 2006-04-17 18:01:04 +0200
 added all_tags() to get sorted list of all tags in input xml


Revision 397 - (view) (annotate) - [select for diffs]
Modified Wed Feb 15 15:54:12 2006 UTC (16 years, 9 months ago) by dpavlin
File length: 17757 byte(s)
Diff to previous 375
 r458@llin:  dpavlin | 2006-02-15 17:01:53 +0100
 fix warnings


Revision 375 - (view) (annotate) - [select for diffs]
Modified Sun Jan 8 22:21:24 2006 UTC (16 years, 11 months ago) by dpavlin
File length: 17693 byte(s)
Diff to previous 373
 r417@llin:  dpavlin | 2006-01-08 23:21:35 +0100
 fixed another corner-case


Revision 373 - (view) (annotate) - [select for diffs]
Modified Sun Jan 8 22:09:33 2006 UTC (16 years, 11 months ago) by dpavlin
File length: 17678 byte(s)
Diff to previous 372
 r414@llin:  dpavlin | 2006-01-08 23:09:49 +0100
 and finally fix for all wired cases (I hope) [2.10]


Revision 372 - (view) (annotate) - [select for diffs]
Modified Sun Jan 8 21:50:34 2006 UTC (16 years, 11 months ago) by dpavlin
File length: 17619 byte(s)
Diff to previous 371
 r412@llin:  dpavlin | 2006-01-08 22:50:49 +0100
 more refactoring: joined paste_to_arr and fill_in_to_arr to _rec_to_arr


Revision 371 - (view) (annotate) - [select for diffs]
Modified Sun Jan 8 21:16:27 2006 UTC (16 years, 11 months ago) by dpavlin
File length: 17970 byte(s)
Diff to previous 368
 r409@llin:  dpavlin | 2006-01-08 22:16:39 +0100
 collect record sizes


Revision 368 - (view) (annotate) - [select for diffs]
Modified Sun Jan 8 20:32:06 2006 UTC (16 years, 11 months ago) by dpavlin
File length: 17529 byte(s)
Diff to previous 364
 r403@llin:  dpavlin | 2006-01-08 21:31:43 +0100
 refactor and better document get_data


Revision 364 - (view) (annotate) - [select for diffs]
Modified Sun Jan 8 20:27:11 2006 UTC (16 years, 11 months ago) by dpavlin
File length: 17136 byte(s)
Diff to previous 346
 r393@llin:  dpavlin | 2006-01-08 20:50:40 +0100
 better logging and minor fix to fill_arr


Revision 346 - (view) (annotate) - [select for diffs]
Modified Sat Jan 7 03:28:10 2006 UTC (16 years, 11 months ago) by dpavlin
File length: 16982 byte(s)
Diff to previous 344
fixed warning


Revision 344 - (view) (annotate) - [select for diffs]
Modified Sat Jan 7 02:05:55 2006 UTC (16 years, 11 months ago) by dpavlin
File length: 16958 byte(s)
Diff to previous 340
 r356@llin:  dpavlin | 2006-01-07 01:05:14 +0100
 fix failing test


Revision 340 - (view) (annotate) - [select for diffs]
Modified Mon Jan 2 10:58:26 2006 UTC (16 years, 11 months ago) by dpavlin
File length: 16945 byte(s)
Diff to previous 333
 r349@llin:  dpavlin | 2006-01-02 12:02:07 +0100
 fixed s999 fields


Revision 333 - (view) (annotate) - [select for diffs]
Modified Sat Dec 31 13:42:11 2005 UTC (16 years, 11 months ago) by dpavlin
File length: 16778 byte(s)
Diff to previous 317
try to fix infinite loop (not working)


Revision 317 - (view) (annotate) - [select for diffs]
Modified Fri Dec 23 21:37:05 2005 UTC (16 years, 11 months ago) by dpavlin
File length: 16678 byte(s)
Diff to previous 312
 r12234@llin:  dpavlin | 2005-12-23 23:38:41 +0100
 bug fix to skip delimiter before first occurence of field in format


Revision 312 - (view) (annotate) - [select for diffs]
Modified Tue Dec 20 23:31:37 2005 UTC (16 years, 11 months ago) by dpavlin
File length: 16447 byte(s)
Diff to previous 295
 r343@athlon:  dpavlin | 2005-12-21 00:32:50 +0100
 fixed error output


Revision 295 - (view) (annotate) - [select for diffs]
Modified Mon Dec 19 15:34:47 2005 UTC (16 years, 11 months ago) by dpavlin
File length: 16454 byte(s)
Diff to previous 268
 r11795@llin:  dpavlin | 2005-12-19 16:35:30 +0100
 fix regex filter, moved development version to real one [2.07]


Revision 268 - (view) (annotate) - [select for diffs]
Modified Fri Dec 16 21:09:42 2005 UTC (16 years, 11 months ago) by dpavlin
File length: 16452 byte(s)
Diff to previous 261
 r11742@llin:  dpavlin | 2005-12-17 01:26:41 +0100
 cleanup


Revision 261 - (view) (annotate) - [select for diffs]
Modified Fri Dec 16 16:00:18 2005 UTC (16 years, 11 months ago) by dpavlin
File length: 16517 byte(s)
Diff to previous 260
 r11729@llin:  dpavlin | 2005-12-16 21:00:26 +0100
 warn about non-defined filters just once


Revision 260 - (view) (annotate) - [select for diffs]
Modified Fri Dec 16 14:40:55 2005 UTC (16 years, 11 months ago) by dpavlin
File length: 16436 byte(s)
Diff to previous 253
 r11727@llin:  dpavlin | 2005-12-16 19:41:08 +0100
 added filter{regex(s/foo/bar/)} [2.00_5]


Revision 253 - (view) (annotate) - [select for diffs]
Modified Thu Dec 15 17:01:10 2005 UTC (16 years, 11 months ago) by dpavlin
File length: 15631 byte(s)
Diff to previous 252
 r11712@llin:  dpavlin | 2005-12-15 21:01:03 +0100
 lookups now work [2.00_3]


Revision 252 - (view) (annotate) - [select for diffs]
Modified Thu Dec 15 17:01:04 2005 UTC (16 years, 11 months ago) by dpavlin
File length: 15631 byte(s)
Diff to previous 219
 r11711@llin:  dpavlin | 2005-12-15 20:02:16 +0100
 varios tweaks to make lookups work


Revision 219 - (view) (annotate) - [select for diffs]
Modified Mon Dec 5 17:48:08 2005 UTC (17 years ago) by dpavlin
File length: 15470 byte(s)
Diff to previous 217
 r11541@llin:  dpavlin | 2005-12-05 16:47:44 +0100
 added prefix [0.04]


Revision 217 - (view) (annotate) - [select for diffs]
Modified Mon Dec 5 17:47:51 2005 UTC (17 years ago) by dpavlin
File length: 15189 byte(s)
Diff to previous 209
 r11536@llin:  dpavlin | 2005-12-05 15:29:47 +0100
 change on load_ds and save_ds which not accept ONLY hash (and optional
 database name if not specified when calling new WebPAC::Store)


Revision 209 - (view) (annotate) - [select for diffs]
Modified Mon Dec 5 17:46:57 2005 UTC (17 years ago) by dpavlin
File length: 15183 byte(s)
Diff to previous 125
 r11518@llin:  dpavlin | 2005-12-04 19:43:29 +0100
 renamed WebPAC::DB to WebPAC::Store


Revision 125 - (view) (annotate) - [select for diffs]
Modified Thu Nov 24 11:47:15 2005 UTC (17 years ago) by dpavlin
File length: 15176 byte(s)
Diff to previous 74
 r9089@llin:  dpavlin | 2005-11-24 12:47:02 +0100
 fixed for new Webpac::DB 0.02


Revision 74 - (view) (annotate) - [select for diffs]
Modified Sun Nov 20 20:13:39 2005 UTC (17 years ago) by dpavlin
File length: 15659 byte(s)
Diff to previous 70
 r8988@llin:  dpavlin | 2005-11-20 20:46:12 +0100
 added real implementation for WebPAC::Output::Estraier along with run.pl
 script which run test indexing (which will in one point move to
 WebPAC::Simple or something like that)


Revision 70 - (view) (annotate) - [select for diffs]
Modified Sat Nov 19 23:48:24 2005 UTC (17 years ago) by dpavlin
File length: 15658 byte(s)
Diff to previous 64
 r8980@llin:  dpavlin | 2005-11-20 00:49:22 +0100
 implement data_structure that returns HASH and not ARRAY.
 
 Little explanation for this rationale:
 
 Array was needed back in WebPAC v1 because order of tags in import_xml was
 important. However, since we are no longer depending on order of tags in
 input/*.xml, hash is much better choice.


Revision 64 - (view) (annotate) - [select for diffs]
Modified Tue Nov 15 16:56:44 2005 UTC (17 years ago) by dpavlin
File length: 15574 byte(s)
Diff to previous 39
 r8894@llin:  dpavlin | 2005-11-15 17:56:56 +0100
 fixed WebPAC::Normalize::get_data to work when called with subfield which
 doesn't exist, added tests


Revision 39 - (view) (annotate) - [select for diffs]
Modified Sat Nov 12 21:31:47 2005 UTC (17 years, 1 month ago) by dpavlin
File length: 15540 byte(s)
Diff to previous 38
check for current_filename and die if need (needs more work)


Revision 38 - (view) (annotate) - [select for diffs]
Modified Sat Nov 12 21:21:50 2005 UTC (17 years, 1 month ago) by dpavlin
File length: 15397 byte(s)
Diff to previous 31
added ForceContent so that tags without attributes work, added strict checking


Revision 31 - (view) (annotate) - [select for diffs]
Modified Sun Jul 24 15:03:11 2005 UTC (17 years, 4 months ago) by dpavlin
File length: 15304 byte(s)
Diff to previous 29
re-worked logging, added no_log option to disable logging


Revision 29 - (view) (annotate) - [select for diffs]
Modified Sun Jul 24 11:17:44 2005 UTC (17 years, 4 months ago) by dpavlin
File length: 14636 byte(s)
Diff to previous 22
some logging improvements and sample configuration file


Revision 22 - (view) (annotate) - [select for diffs]
Modified Sun Jul 17 22:48:25 2005 UTC (17 years, 4 months ago) by dpavlin
File length: 14443 byte(s)
Diff to previous 18
beginning of unit testing and various fixes


Revision 18 - (view) (annotate) - [select for diffs]
Modified Sun Jul 17 14:53:37 2005 UTC (17 years, 4 months ago) by dpavlin
File length: 14441 byte(s)
Diff to previous 15
first cut into WebPAC::DB


Revision 15 - (view) (annotate) - [select for diffs]
Modified Sun Jul 17 10:42:23 2005 UTC (17 years, 4 months ago) by dpavlin
File length: 16320 byte(s)
Diff to previous 14
WebPAC::Common cleanup, most code moved to WebPAC::Normalize. Added
documentation about order of data mungling when normalising data.


Revision 14 - (view) (annotate) - [select for diffs]
Modified Sun Jul 17 00:04:25 2005 UTC (17 years, 4 months ago) by dpavlin
File length: 11728 byte(s)
Diff to previous 13
small fixes


Revision 13 - (view) (annotate) - [select for diffs]
Modified Sat Jul 16 23:56:14 2005 UTC (17 years, 4 months ago) by dpavlin
File length: 11714 byte(s)
Diff to previous 10
data_source seems to work


Revision 10 - (view) (annotate) - [select for diffs]
Added Sat Jul 16 20:35:30 2005 UTC (17 years, 4 months ago) by dpavlin
File length: 643 byte(s)
ISIS input is finished, low_mem option has code (and not only documentation :-)


This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

  ViewVC Help
Powered by ViewVC 1.1.26