[Koha] how to automate adding of items.
Alex King
alex at king.net.nz
Wed Nov 22 11:26:06 NZDT 2006
I'm needing some assistance with adding (biblios & items) into koha
automatically.
The biblio data is (for the most part) already in the reservoir.
I have a list of matched ISBNs and barcodes, and I need to "create" a
biblio from data in the reservoir and add an item.
I can do this easily enough through the web UI, but there has to be a
better way to enter the data automatically, given that I have the list
of ISBNs and barcodes already in a text file.
I am comfortable enough with scripting and accessing the mysql tables
directly. I'm not though familiar enough with the koha database to know
what to do there. I know it's not simply a matter of adding records in
a single table.
Can anyone point me to any scripts I can start from or suggest better
ways to achieve what I'm trying to do? My thinking is to look at the
cgi scripts and see what they are doing behind the scenes and write
non-interactive scripts that do the same thing. My guess is they
probably call library routines in the "C4" directory, and I could hook
into the same library routines.
Cheers,
Alex
More information about the Koha
mailing list