Revision
678 -
(
show annotations)
Sun Feb 27 23:07:35 2005 UTC
(19 years, 3 months ago)
by
dpavlin
Original Path:
trunk/hash_sf.pm
File size: 576 byte(s)
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.