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/csv2m... I have a queation, what must be the mapping file? I suppose this script adapt to several csv file, depending of the order of the fields... How can I create this mapping file. Must I put it into a specific path? does this script must have a fix name? What platfom to execute this bin? Thanks a lot for help Cheers -- Luis Diaz PIC (Port d'Informació Científica) Campus UAB, Edificio D E-08193 Bellaterra, Barcelona Tel: +34 93 581 33 08 Fax: +34 93 581 41 10 http://www.pic.es Avis - Aviso - Legal Notice: http://www.ifae.es/legal.html
On Fri, Apr 25, 2008 at 8:40 AM, Luis Diaz <luisdiaz@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/csv2m...
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
participants (2)
-
Jesse -
Luis Diaz