Importing MARC 001 field into Zotero

I would like to be able to modify Zotero so that it grabs the MARC 001 field from the catalog records of my library. I have been playing around with the translator file (MARC.js) and I think I understand how it works. If, for example, I want the series information, I can add a line like:

this._associateDBField(item, "440", "a", "series");

and Zotero imports the series information. But what I really want is the data in the 001 field, with which I could construct a persistent URL. But if I do something like:

this._associateDBField(item, "001", "", "url");

I get nothing in the url field.

Any ideas?
  • Are you sure you wish to do that? 001 is a control number & there's no reason to expect it to be a URL from other sources of MARC records.
  • The application is purely for use with our local OPAC. We store a unique identifier for each item in the 001 field. That identifier can be used to create a persistent URL. The ultimate goal is to allow Zotero to produce citations that would include links to catalog records.

This is an old discussion that has not been active in a long time. Instead of commenting here, you should start a new discussion. If you think the content of this discussion is still relevant, you can link to it from your new discussion.