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

Reply via email to