This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
Log of /trunk/parse_format.pm
Parent Directory
| Revision Log
Revision
678 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sun Feb 27 23:07:35 2005 UTC
(19 years, 4 months ago)
by
dpavlin
File length: 7461 byte(s)
Diff to
previous 488
Experimental support for dBase .dbf files. Usege like this in all2xml.conf:
[hda]
dbf_file=/data/drustvene/hda/ISO.DBF
type=dbf
dbf_codepage=cp852
dbf_mapping=<<_END_OF_MAP_
ID_BROJ 001
ISBN_BROJ 010
SKUPINA1 200
SKUPINA2 205
SKUPINA4 210
SKUPINA5 215
SKUPINA6 225
SKUPINA7 300
ANOTACIJA 330
PREDMET1 610
PREDMET2 610
PREDMET3 510
UDK 675
REDALICA 700
SIGNATURA 990
_END_OF_MAP_
dbf type will use <isis> tag in import_xml and dbf_codepage will
override codepage specified in import_xml file.
Small code refactoring.
Revision
488 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Sep 29 17:22:24 2004 UTC
(19 years, 9 months ago)
by
dpavlin
File length: 7318 byte(s)
Diff to
previous 384
changes to support UTF-8 encoding from
SpreadSheet::ParseExcel::FmtDefault.
You will have to modify line 69 from
return pack('C*', unpack('n*', $sTxt));
to following which returns utf-8:
return pack('U*', unpack('n*', $sTxt));
Revision
384 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Jul 7 20:58:58 2004 UTC
(19 years, 11 months ago)
by
dpavlin
File length: 7193 byte(s)
Diff to
previous 381
don't be greedy when trying to find end of eval{...}
This enables inserting { } into field after eval
Revision
381 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Jul 7 17:34:42 2004 UTC
(19 years, 11 months ago)
by
dpavlin
File length: 7192 byte(s)
Diff to
previous 297
if field in eval isn't repeatable use first value,
return eval errors
Revision
263 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Mar 12 15:06:58 2004 UTC
(20 years, 3 months ago)
by
dpavlin
File length: 7033 byte(s)
Diff to
previous 187
ported r260 from hidra branch: moved eval to parse_format.pm where it
belongs. Also changed eval format to: eval{v901^a eq "Mikrotezaurus"}
(please note same format as in ISIS formating language)
Revision
176 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon Nov 24 01:16:04 2003 UTC
(20 years, 7 months ago)
by
dpavlin
File length: 6446 byte(s)
Diff to
previous 170
fix for wierd prefixes (consisting of chars and numbers)
Revision
170 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sun Nov 23 15:42:16 2003 UTC
(20 years, 7 months ago)
by
dpavlin
File length: 6179 byte(s)
Diff to
previous 105
Re-wrote parsing for ISO-type data (isis, marc) to use in-memory cache of
format... 10% speed improvement and cleaner code. Include filter functions
just once.
Revision
105 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon Jul 14 17:08:37 2003 UTC
(20 years, 11 months ago)
by
dpavlin
File length: 4931 byte(s)
Diff to
previous 92
renamed get_sf to (isis|marc)_sf to avoid warning abouts re-definining of
function
Revision
92 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sun Jul 13 13:42:17 2003 UTC
(20 years, 11 months ago)
by
dpavlin
File length: 4931 byte(s)
Diff to
previous 90
repeatable fields in feeds are currently not supported
Revision
90 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sun Jul 13 13:22:50 2003 UTC
(20 years, 11 months ago)
by
dpavlin
File length: 4800 byte(s)
Diff to
previous 78
repeatable fields (broken when other input formats where introduced) work
again
Revision
67 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Jul 4 23:29:27 2003 UTC
(20 years, 11 months ago)
by
dpavlin
File length: 4682 byte(s)
Diff to
previous 62
implemented feed method which calls external program that returns
data line-by-line
Revision
57 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Jul 4 15:05:23 2003 UTC
(20 years, 11 months ago)
by
dpavlin
File length: 3289 byte(s)
Diff to
previous 54
don't choke on input which iconv can't convert
Revision
43 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sat Mar 22 22:43:05 2003 UTC
(21 years, 3 months ago)
by
dpavlin
File length: 2106 byte(s)
Diff to
previous 40
fixed alphabet soup -- characters encoding should really work now!
Revision
40 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sat Mar 15 21:33:36 2003 UTC
(21 years, 3 months ago)
by
dpavlin
File length: 1666 byte(s)
Diff to
previous 23
major de-mungling of different codepages: use same codepage inside perl
(as opposed to UTF-8) and in files on disk
Revision
23 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sun Feb 23 06:50:55 2003 UTC
(21 years, 4 months ago)
by
dpavlin
File length: 1512 byte(s)
Diff to
previous 22
fixed parser, added support for 'mfn' field
Revision
10 -
(
view)
(
annotate)
-
[select for diffs]
Added
Thu Jan 16 17:35:54 2003 UTC
(21 years, 5 months ago)
by
dpavlin
File length: 987 byte(s)
bunch of changes: make design more modular, implement index (partial
implementation) and other small and big changes
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.