Frédéric Demians

NAME

MARC::Moose::Formater - Base class to format Marc record

VERSION

version 1.0.31

DESCRIPTION

A Marc formater is used by any writer to transform a Marc record into something undestandable by human (text readable format) or by machine (standartized format like ISO2709 or MARCXML).

A formater surclass this base class 3 methods to format a set of Marc records.

METHODS

begin

Prior to formating a set of records one by one calling format method, a writer may need an header which is returned by this method.

end

A the end of formating a set of records, it may be required by a writer to finished its stream of date by a footer.

format

Returns something (a string, another object) containing a representation of a MARC record.

  # $formater type is Marc::Formater subclass
  # $record type Marc::Record or any subclass
  my $formatted_string = $formater->format( $record );

SEE ALSO

AUTHOR

Frédéric Demians <f.demians@tamil.fr>

COPYRIGHT AND LICENSE

This software is copyright (c) 2016 by Frédéric Demians.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
https://metacpan.org/pod/MARC::Moose::Formater
metacpan.org
crawl=CC-MAIN-2016-22
49725
application/http; msgtype=response
sha1:ERUOXL3TVHMXAQ2LMKPDWUDUBIYX4ARR
<urn:uuid:27a0edda-bc47-4d29-bc1d-b740c4911589>
2016-05-31T18:47:33Z
23.235.37.143
sha1:IU5GVZWBSXOW4PMIH4H76SJJLPDCKGAQ
<urn:uuid:f2f81ec6-67ed-4733-bef0-23f66f2d0941>
https://metacpan.org/pod/MARC::Moose::Formater
length
response
<urn:uuid:2285703d-3bca-4582-8762-ff3cdd3bd626>
robots: classic
hostname: ip-10-185-217-139.ec2.internal
software: Nutch 1.6 (CC)/CC WarcExport 1.0
isPartOf: CC-MAIN-2016-22
operator: CommonCrawl Admin
description: Wide crawl of the web for May 2016
publisher: CommonCrawl
format: WARC File Format 1.0
conformsTo: http://bibnum.bnf.fr/WARC/WARC_ISO_28500_version1_latestdraft.pdf