MARCspec icon indicating copy to clipboard operation
MARCspec copied to clipboard

Referring to multiple specs for a given mapping/output

Open anarchivist opened this issue 11 years ago • 2 comments

Hi there, is there recommended way to define a combination of MARCspecs to indicate multiple applicable matches? Solrmarc and Traject both use a colon to delimit multiple specs.

Examples:

  • If I wanted to refer to both fields 506 and 540, it would be nice to be able to do something like 506:540.
  • A slightly more complex example, using subSpecs: 650$z:650$a:034{LDR/6=\e}:255{LDR/6=\e}

anarchivist avatar Nov 10 '14 22:11 anarchivist

Hi! I'm not sure if this should be described by the spec or leave it to the application. I mean why determine such a delimiter and not leave it to the flavor of the application (colon, pipe, whitespace are all possible). On the other hand there may be some use cases for exchanging such combinations. So why not if this is a real requirement. Are you planing to implement MARCspec?

cKlee avatar Nov 17 '14 21:11 cKlee

Yes, we are considering building a MARCspec implementation, perhaps based upon Traject and ruby-marc. I'd also be interested in perhaps contributing a Python implementation.

anarchivist avatar Nov 26 '14 03:11 anarchivist