Re: Getting started with Z39.50

2017-04-06 Thread Patrick Hochstenbach
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

Re: identify ISSN numbers in an mrc file

2016-11-02 Thread Patrick Hochstenbach
ords and > > > > > > to > > > > > > invert the match. > > > > > >If option -c is not specified, the output format can be "line" or > > >"inline" (both human readable), > > > > > > or "marc" for MARC binary (ISO2709). For formats "line" or > > > > > > "inline", > > > > > >the -f option allows to specify > > > > > > fields to print. > > > > > >You can chain more conditions using > > > > > >./MARCGgrep.pl -o marc -e condition1 file.mrc | ./MARCGgrep.pl -e > > >condition2 - > > > > > > KNOWN ISSUES > > > > > >Performance. > > > > > >Accepts and returns only UTF-8. > > > > > >Checks are case sensitive. > > > > > > AUTHOR > > > > > >Pontificia Universita' della Santa Croce <http://www.pusc.it/bib/> > > > > > >Stefano Bargioni <bargi...@pusc.it> > > > > > > SEE ALSO > > > > > >marktriggs / marcgrep at <https://github.com/marktriggs/marcgrep> > > > > > > for > > > > > >filtering large data sets > > > > > > > > On 02 nov 2016, at 09:57, Sergio Letuche <code4libus...@gmail.com> > > > > > > wrote: > > > > Hello community, > > > > > > > > how would you treat the following? > > > > > > > > I need a way to identify all tags - subfields, that have stored an ISSN > > > > > > number in them. > > > > > > > What would you suggest as a clever approach for this? > > > > > > > > Thank you > > > > -- > The University of Edinburgh is a charitable body, registered in > Scotland, with registration number SC005336. > > Patrick Hochstenbach - digital architect University Library Ghent Sint-Hubertusstraat 8 - 9000 Ghent - Belgium patrick.hochstenb...@ugent.be +32 (0)9 264 7980

RE: Converting MARC fields with Catmandu - repeated subfields being squished together.

2014-06-09 Thread Patrick Hochstenbach
Hi Robin Sure join_field(subject.*, ); join_field(subject,br); 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 new

RE: Converting MARC fields with Catmandu - repeated subfields being squished together.

2014-06-05 Thread Patrick Hochstenbach
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:

RE: Converting MARC fields with Catmandu - repeated subfields being squished together.

2014-06-05 Thread Patrick Hochstenbach
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

RE: [librecat-dev] A common MARC record path language

2014-02-19 Thread Patrick Hochstenbach
, 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...@gymel.com'; Patrick Hochstenbach Cc: v...@gbv.de; librecat-...@mail.librecat.org

Re: AW: [librecat-dev] A common MARC record path language

2014-01-21 Thread Patrick Hochstenbach
Berlin – Preußischer Kulturbesitz Fon: +49 30 266-43 44 02 -Ursprüngliche Nachricht- Von: Patrick Hochstenbach [mailto:patrick.hochstenb...@ugent.be] Gesendet: Freitag, 20. Dezember 2013 14:06 An: v...@gbv.de; librecat-...@mail.librecat.org; perl4lib@perl.org Cc: Klee, Carsten

Catmandu and MODS::Record

2013-08-06 Thread Patrick Hochstenbach
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