MARC::Crosswalk::DublinCore 0.02 review

Download
by rbytes.net on

MARC::Crosswalk::DublinCore is a Perl module that can convert data between MARC and Dublin Core. SYNOPSIS my $crosswalk

License: Perl Artistic License
File size: 7K
Developer: Brian Cassidy
0 stars award from rbytes.net

MARC::Crosswalk::DublinCore is a Perl module that can convert data between MARC and Dublin Core.

SYNOPSIS

my $crosswalk = MARC::Crosswalk::DublinCore->new;

# Convert a MARC record to Dublin Core (simple)
my $marc = MARC::Record->new_from_usmarc( $blob );
my $dc = $crosswalk->as_dublincore( $marc );

# Convert simple DC to MARC
$marc = $crosswalk->as_marc( $dc );

# Convert MARC to qualified DC instead
$crosswalk->qualified( 1 );
$dc = $crosswalk->as_dublincore( $marc );

This module provides an implentation of the LOC's spec on how to convert metadata between MARC and Dublin Core format. The spec for converting MARC to Dublin Core is available at: http://www.loc.gov/marc/marc2dc.html, and from DC to MARC: http://www.loc.gov/marc/dccross.html.

NB: The conversion cannot be done in a round-trip manner. i.e. Doing a conversion from MARC to DC, then trying to go back to MARC will not yield the original record.

Requirements:
Perl

MARC::Crosswalk::DublinCore 0.02 keywords