Hi there is also Z39.50 support in Catmandu
https://metacpan.org/pod/Catmandu::Importer::Z3950
e.g. To fetch marc you can do:
$ catmandu convert Z3950 --host z3950.loc.gov --port 7090 --databaseName
Voyager --query "(title = dinosaur)" to MARC
a Perl api is included.
Patrick
_
e of control fields, the condition must contain
> > >
> > > the
> > >
> > >tag name, the starting
> > >
> > > and ending position (both 0-based), and a regular expressions for
> > >
> > > the
> > >
> > >
Hi
You can use this regular expression to see if there might be non valid UTF8
errors in a piece of text (but can’t check for correctness of the unicode)
perl -l -ne '/
^( ([\x00-\x1D]) # 1-byte pattern
|([\x1F-\x7F]) # 1-byte pattern
|([\xC2-\xDF][\x80-\xBF]) #
Hi Robin
You just might need to upgrade your Catmandu ("cpan Catmandu") to get the
fixed. You are probably using 0.9* syntax features with an older version of
Catmandu.
As for you second question. Yes, in Catmandu 0.9* all these combinations will
work:
my $fixer = Catmandu->fixer('do_this
Hi Robin
Sure
join_field("subject.*"," ");
join_field("subject","");
The first join is for concatenating all the subfields. The second join is for
all the field.
In the new Catmandu version we are enhancing the language a bit, thats why I
might have written my previous examples with the ne
Btw I've updates the Fixes cheat sheet at our Wiki to reflect your question :)
https://github.com/LibreCat/Catmandu/wiki/Fixes-Cheat-Sheet
From: Robin Sheat [ro...@catalyst.net.nz]
Sent: Friday, June 06, 2014 5:11 AM
To: perl4lib
Subject: Converting MARC fi
Hi Robin
By default all repeated subfields get joined by empty space, you can set this
with the 'join' option:
marc_map('650v','subject',join:'%%%')
gives you:
"subject","Pictorial works%%%Juvenile"
Or, if you have many 650 fields they are all joined into one string:
"subject","P
a same collection of
functions like move_field, split_field, copy_field etc etc. But I hope there
are other options also.
Cheers
Patrick
From: Klee, Carsten [carsten.k...@sbb.spk-berlin.de]
Sent: Wednesday, February 19, 2014 2:27 PM
To:
t;Carsten
>
>
>[1] <https://github.com/cKlee/marc-spec/issues>
>[2] <http://www.loc.gov/marc/specifications/specrecstruc.html#varifields>
>___
>Carsten Klee
>Abt. Überregionale Bibliographische Dienste IIE
>Staatsbiblio
Hi
Thanks for this initiative to formalise the path language for MARC
records. In Catmandu our path language is better described at:
https://metacpan.org/pod/Catmandu::Fix::marc_map. It would be an easy fix
for us to follow Carsten¹s MARC spec rules and I will gladly implement it
for our community
Hi all
LibreCat
-=-=-=-=
LibreCat is an open collaboration of the university libraries of Lund, Ghent,
and Bielefeld to create tools for library and research services. One of
the toolkits we provide is called 'Catmandu'
(http://search.cpan.org/~nics/Catmandu-0.5004/lib/Catmandu.pm) which is a s
11 matches
Mail list logo