Commit Graph

5 Commits

Author SHA1 Message Date
kados f7011833bc Much better error handling, will now save broken records to a dump
file. Will also display warnings provided by the MARC::Record package
2006-05-26 04:17:29 +00:00
kados 1db0b9c1a4 fixing 'file' option 2006-05-25 21:25:12 +00:00
kados 23cf479017 reformatting 2006-05-25 21:23:39 +00:00
kados dc54b34a91 Exports bibliographic data from Koha to an ISO2709 or MARCXML file.
OPTIONS:
 -format <format>    MARC, MARCXML [MARC]
 -e <encoding>       MARC-8 or UTF-8 [UTF-8]
 -ignoreerrors       Ignore encoding errors
 -assumeunicode      Assume Unicode when unsure of encoding
 -file <filename>    Filename to store dump [koha.mrc]
 -h                  This file

EXAMPLES:
\$ ./export.pl --format=MARCXML --encoding=UTF-8 -file=2005-05-23-koha.mrc --ignoreerrors

Once I'm able, I'll include unicode support in this script, or if
someone else has time, feel free. I'd suggest using the new code
in MARC::File::XML for dealing with encoding in UNIMARC
2006-05-23 18:22:58 +00:00
kados 7e864ca038 Permits exporting bib data as MARC from the command line 2006-03-31 18:07:44 +00:00