Opened 8 years ago

Closed 4 years ago

#1387 closed enhancement (fixed)

Grab note fields from MARC records (including table of contents)

Reported by: tjowens Owned by: ajlyon
Priority: major Milestone:
Component: translators Version: future
Keywords: Cc:

Description (last modified by karnesky)

The MARC translator should import various notes fields as Zotero notes:
http://www.loc.gov/marc/bibliographic/bd5xx.html
http://forums.zotero.org/discussion/5133/

This includes the 505 field (table of contents):
http://forums.zotero.org/discussion/5790/

Change History (5)

comment:1 Changed 8 years ago by dstillman

If we're going to save this, we should probably either create a Table of Contents field or put it into a note. Extra is a pretty meaningless field that we should probably remove so that we don't keep using it. Notes don't have any inherent meaning, either, of course, but at least they don't pretend to.

comment:2 Changed 8 years ago by tjowens

  • Description modified (diff)

Changed the ticket to suggest creating a note instead of using the Extra field. I don't see enough value added to create new a item field for it but, when available, it's nice for search.

comment:3 Changed 7 years ago by karnesky

  • Description modified (diff)
  • Summary changed from Grab table of contents field from MARC records to Grab note fields from MARC records (including table of contents)

I've made the ticket more general: we don't grab the contents of any MARC note fields & it'd certainly be nice to have more than just the ToC (per forum discussion, linked to in the description).

comment:4 Changed 5 years ago by ajlyon

  • Owner changed from mcburton to ajlyon
  • Status changed from new to accepted
  • Version changed from 1.0 to future

Proposed fix: https://github.com/ajlyon/translators/commit/5f30bee25b8c3e32f2eae529aa8f3d9dc0c5f212

                // Extract note fields
                // http://www.loc.gov/marc/bibliographic/bd5xx.html
                // general note
                this._associateNotes(item, "500", "a");
                // formatted contents (table of contents)
                this._associateNotes(item, "505", "art");
                // summary
                this._associateNotes(item, "520", "ab");
                // biographical or historical data
                this._associateNotes(item, "545", "ab");

There are lots of possible notes-- these four seem most likely to be needed. Others can be added if necessary, but I don't want to flood libraries with unneeded notes.

comment:5 Changed 4 years ago by adamsmith

  • Resolution set to fixed
  • Status changed from accepted to closed

this has been implemented.

Note: See TracTickets for help on using tickets.