https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38416

--- Comment #28 from Tomás Cohen Arazi (tcohen) <tomasco...@gmail.com> ---
(In reply to Tomás Cohen Arazi (tcohen) from comment #27)
> Was it too bad to just do MARCXML? This ended up a bit hacky for me.

FTR: This are the sizes for the first record in KTD in different formats [1]:

-rw-r--r-- 1 kohadev-koha kohadev-koha 1.8K Feb  4 18:40 record.b64
-rw-r--r-- 1 kohadev-koha kohadev-koha 2.3K Feb  4 18:41 record.json
-rw-r--r-- 1 kohadev-koha kohadev-koha 4.0K Feb  4 18:40 record.xml


[1] Extracted with the following commands respectively:

```shell
perl -MMIME::Base64 -MKoha::Biblios -MEncode -e 'my $b =
Koha::Biblios->new->next(); print encode_base64( encode( "UTF-8",
$b->metadata_record->as_usmarc))' > record.b64
perl -MMARC::Record::MiJ -MKoha::Biblios -e 'my $b =
Koha::Biblios->new->next(); print $b->metadata_record->to_mij' > record.json
perl -MKoha::Biblios -e 'my $b = Koha::Biblios->new->next(); print
$b->metadata_record->as_xml' > record.xml
```

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to