Hello everybody!
I was tasked to prepare a script whose purpose is to faciliate import of
data from several libraries into one Invenio instance. I am quite new to
this world and so please bear with my ignorance (hat tip to Lars Nielsen).
I've stumbled upon the following problems:
We need to track to which library a record belongs. Also the record has
it's physical id and a local id which are library specific.
1. When replacing a record with marcXML without the 001 tag we need to
check whether there is a record in the invenio database with the same
library + local_id combination and if it is replace it with the marcXML
data. (This I think can be done using bibmatch.)
2. Duplicity checking should take into account library + phys_id
combination. I do not see any other way than to hack bibupload for this. Am
I missing something?
3. We would like to move marcXML files to directories OK and NOT_OK after
they are uploaded based on the result of the upload. Is there a way how a
bibtakslet can get this information or do I need to use callback machine
for that?
Best regards,
Vit Tucek