Importing MARC file with the corresponding PDF

edited April 26, 2017
HI! I'm using Zotero since five years now, and I have a little library of around 2000 entries and approximatively 600 PDF. But now, in prevision of my master in university, I got a big source of data of 10 000 documents in PDF. All of them are accompagned with their MARC file with all their bibliographic infos. So, my question is : is there a way to import them, all PDF, in my Zotero library, and making a match with the corresponding MARC entries/infos ?

I need Zotero for many reason, and I really want to import them in. Maybe a Python, Bash script or any other script can do this?

The .mrc files and the PDFs don't have the same name.

Ex.:
lettertowilliaml00doug_meta.mrc
39999066767938.pdf
  • And just to let you know, all the .mrc files have the field of the PDF name. So, maybe we have a way to make them match by this way ... ?
  • If you know some javascript, you could look at adding file import support for the MARC translator in Zotero.
    You'd need all the files in a single folder and then this should work pretty well with basic scripting.
    The MARC translator is at in the translators folder in your Zotero data directory:
    https://www.zotero.org/support/zotero_data

    Genderal translator coding tips are here:
    https://www.zotero.org/support/dev/translators/coding

    I think MODS might be a good sample for you to look at for file import.

    That's really the only viable route I can think of.
  • oh great! I'm not so familiar with javascript but I think I can try it!
  • humm, I dont know if somebody can help me to modify the MARCXML.js to make it possible to match them (MARCXML infos and PDFs). I try hard... but I'm absolutely better in history than programming! :/
Sign In or Register to comment.