Re: passing records from OAI-Harvester to MARC-Record

[email protected] ("Saiful Amin")
Newsgroups perl.perl4lib
Message-ID <[email protected]>
On Tue, Apr 22, 2008 at 1:16 AM, KREYCHE, MICHAEL <[email protected]> wrote:

> Once I've got a MARCXML record object, it seems to me there ought to be
> a simple way to turn it into a string and grab it, something like this:
>
> $results = $harvester->listAllRecords( metadataPrefix => 'marc21'
> );
> while ( my $data = $results->next() ) {
>        my $header = $data->header();
>        my $metadata = $data->metadata();
>        my $marcxml = ... missing link is here ...
>        my $record = MARC::Record->new_from_xml( $marcxml );
>        ... good stuff goes here ...
> }
>


Net::OAI::Harvester doesn't yet support MARC21 metadata format. As per the
POD:

"Net::OAI::Harvester has built in support for unqualified Dublin Core, and
has a framework for dropping in your own parser for other kinds of
metadata."

-- 
Saiful Amin
+91 9343826438

"I think we can find excuses in life or we can find inspirations. I've
always tried to find inspirations." - Andre Agassi
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.