Skip to content

lcnetdev/biblio-bf2marc

Repository files navigation

Biblio-BF2MARC

Biblio::BF2MARC provides a library to manage conversion of RDF
BIBFRAME 2.0 descriptions into MARC records, using an XSLT 1.0
stylesheet such as the one provided by the bibframe2marc
(https://github.com/lcnetdev/bibframe2marc) project (included in
this distribution as a default). The converter object is built on an
RDF::Trine::Model, and so can operate on RDF graphs in memory, from a
file, or from any storage backend supported by RDF::Trine::Store. The
converter returns MARCXML as XML::LibXML objects, which can in turn be
converted into MARC::Record objects to support alternate MARC
serializations.

DEPENDENCIES

* RDF::Trine
* RDF::Query
* XML::LibXML
* XML::LibXSLT
* List::Util
* File::ShareDir

INSTALLATION

To install this module, run the following commands:

  git clone --recursive https://github.com/lcnetdev/biblio-bf2marc # this repo
  cd biblio-bf2marc
  # Optional: update XSL conversion
  git submodule update --remote
  perl Build.PL
	./Build
	./Build test
	./Build install

SUPPORT AND DOCUMENTATION

After installing, you can find documentation for this module with the
perldoc command.

    perldoc Biblio::BF2MARC

The POD documentation for this module has been converted to MarkDown
and put in the doc/ directory for convenience.

Additional information about using this distribution with Docker and
Vagrant is in the README-Docker-and-Vagrant.md file. Installation
instructions for various flavors of Linux are in README-install.md.

LICENSE AND COPYRIGHT

As a work of the United States government, this project is in the
public domain within the United States.

Additionally, we waive copyright and related rights in the work
worldwide through the CC0 1.0 Universal public domain dedication.

See https://creativecommons.org/publicdomain/zero/1.0/legalcode for
the full text of the legal code.

You can copy, modify, distribute and perform the work, even for
commercial purposes, all without asking permission.