[Koha] conversion

Jesse pianohacker at gmail.com
Sat Apr 26 09:42:19 NZST 2008


On Fri, Apr 25, 2008 at 8:40 AM, Luis Diaz <luisdiaz at pic.es> wrote:

> Hello
> I would like to convert csv file to marc.
> I have this bin program:
>
> http://lists.katipo.co.nz/pipermail/koha/attachments/20071114/922276d3/csv2marc.bin
>
> I have a queation, what must be the mapping file?


It's actually a structure in the Perl script itself. It says that field 7
(called number six in the script, since it starts at zero), for example, is
the title of the book (245 subfield $a). You'll have to change the various
fields in the first table to match the structure of your csv file.

You'll need to run it like this:

perl csv2marc.pl ItemTypeA file.csv

Replacing file.csv with the name of your actual file in the same directory.

What platfom to execute this bin?
>

Linux is best, but Windows will work, as long as you have Perl installed.

-- 
Jesse
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.katipo.co.nz/pipermail/koha/attachments/20080425/1872fd97/attachment.htm 


More information about the Koha mailing list