Documentation
¶
Overview ¶
Package marc is the MARC ingest provider (ARCHITECTURE §9): it reads an ISO 2709 MARC stream and yields each record as a resolvable ingest.Record, so an existing ILS's MARC flows through the same two-tier identity + clustering pipeline as any other provider (ingest.Run). Each record is crosswalked to BIBFRAME by libcodex's FromRecord; identity keys are drawn from that BIBFRAME plus the MARC control number. This is the modern, clustered path -- distinct from the legacy per-record bibframe.BuildMARC (which keys grains on the MARC 001 with no minted identity).
Index ¶
Constants ¶
const ProviderName = "marc"
ProviderName is the MARC provider's registry key and default provenance feed graph (feed:marc). A deployment onboarding an ILS can override the feed to name the source (e.g. feed:sierra).
Variables ¶
This section is empty.
Functions ¶
func FromCodexRecords ¶
FromCodexRecords crosswalks already-parsed MARC records to ingest records -- the same shape file ingest produces, exposed for copy cataloging (tasks/050), where records arrive from Z39.50/SRU targets or staged uploads instead of a file.
Types ¶
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
Provider reads an ISO 2709 MARC file and yields its records for ingest.Run.