[librecat-dev] MARC to JSON, mapping 952 data field

Jason Loeffler j at minorscience.com
Wed Oct 26 20:39:53 CEST 2016


Just noticed that my local version was slightly out of date.

Upgrading to 1.0303 resolved the issue.

On Wed, Oct 26, 2016 at 2:35 PM, Jason Loeffler <j at minorscience.com> wrote:

> Hi Johann,
>
> Two records here:
>
> https://gist.github.com/minorscience/63dc61fa01e0383694431f0c0f5ca4bf
> https://gist.github.com/minorscience/0cbac214d87e0eca3428813508174ef2
>
> For the latter record, the following fix:
>
> marc_map(100,'foo')
> marc_map(952o,'bar')
> remove_field('_id')
> remove_field('record')
>
> returns:
>
> [{
>    "foo" : "Des Granges, H."
> }]
>
> Catmandu version here:
>
> Catmandu
> -------------------------------------------------------------------------
> (no description)
> N/NI/NICS/Catmandu-1.0303.tar.gz
> /Users/jason/perl5/lib/perl5/Catmandu.pm
> Installed: 1.0302
> CPAN:      1.0303  Not up to date
> Nicolas Steenlant (NICS)
> nicolas.steenlant at ugent.be
>
> Best, Jason
>
> On Wed, Oct 26, 2016 at 5:43 AM, Johann Rolschewski <rolschewski at gmail.com
> > wrote:
>
>> Hi Jason,
>>
>> could you please provide some test records?
>>
>> Thanks,
>>
>> Johann
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.uni-bielefeld.de/mailman2/unibi/public/librecat-dev/attachments/20161026/2d76926e/attachment.html>


More information about the librecat-dev mailing list