While importing several marc records I've began to notice that the call number is not completely capturing all information and I'm wondering why that is. I don't know much about library technology so I may have missed something. Here is an example:

Tornado Alert QC955 .B73 1988
biblio imports as QC955 without the remaining characters. I've tried this MARC records from different sources also. Anyone know why?

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

rjerome’s picture

The missing data may be in different fields. I would need to see the file to figure out why it doesn't work. If you can post it here, I'll take a look.

Ron.

daengo’s picture

thank you Ron.
I've attached an exported MARC record, and screenshots of the MARC view, what biblio shows after importing the MARC record and what our Voyager system shows for the record.

I just noticed also that the ISBN number didn't completely import either for that item and that I have other records like that.
I hope you can help. I really like this module and was planning to use it next semester since nobody in my group is a real librarian.

thanks,
dan

rjerome’s picture

Hi Dan,

As I suspected, the missing data was in sub-fields which I was not accessing. The call number issue is fixed, but the ISBN one is a bit trickier since there are multiple ISBNs attached to that record, but Biblio only has a single ISBN field. Do you have any suggestions... I could concatenate them (separated with a semi-colon) or just keep one of them.

FYI, while I can parse all the fields of a MARC file, the field and sub-field mapping back to Biblio fields is still somewhat incomplete, so you may find other anomalies, but given the detailed data that you provided they are usually easy to fix.

Ron.

daengo’s picture

Oh, I'm fine with the single ISBN field and I understand about the anomalies. Where you mention the call number issue being fixed, is there somewhere we could download a patch to the module?
thanks for your investigation.

Dan

rjerome’s picture

The fix is in the -dev version, you can see a diff here

Basically line 638 in biblio.import.export.inc changed from

 $node['biblio_call_number'] = $field->subfield('a');

to...

 $node['biblio_call_number'] = $field->subfield('a') .' '. $field->subfield('b');

Ron.

daengo’s picture

Thanks Ron!
It works now. I'm going to re-import all of my MARCs to see if I have any other problems. We can do with the ISBN the way it is but the concatenation would be a nice feature also.

dan

daengo’s picture

FileSize
264 bytes
20.32 KB
16.02 KB

here is another

daengo’s picture

Nevermind that one. I see that our MARC record is incomplete when I reference the LOC site.
sorry.

Liam Morland’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

This version is no longer maintained. If this issue is still relevant to the Drupal 7 version, please re-open and provide details.