MARC::Record 2.0.7 and MARC::File::XML 1.0.5 released

2017-05-23 Thread Galen Charlton
) - remove extraneous diag from a test script (Florian Schlichting) Regards, Galen -- Galen Charlton gmcha...@gmail.com

Save the date: Mashcat meeting in Atlanta, Georgia, 24 January 2017

2016-07-12 Thread Galen Charlton
cat, visit http://mashcat.info. Thanks for considering, and we hope to see you in January. -- Galen Charlton gmcha...@gmail.com

Re: identify encoding from a file

2016-02-06 Thread Galen Charlton
the original Paradox database was using the ISO-8859-7 or Windows-1253 character encoding, although whatever export routine generated the file obviously mishandled its attempt to convert it to UTF8. Regards, Galen -- Galen Charlton gmcha...@gmail.com

MARC/Perl moved to GitHub; GitHub perl4lib organization

2016-01-18 Thread Galen Charlton
elevant to libraries is welcome to use this organization as a "home" for their Git repositories. I am also seeking folks who are willing to act as co-owners of the organization; at present the owners are: * Galen Charlton * Francis Kayiwa If you are interested, please get in touch with

Re: UNIMARC example file?

2014-12-11 Thread Galen Charlton
Hi, On Thu Dec 11 2014 at 3:08:53 AM Sergio Letuche wrote: > could someone provide me with an example UNIMARC iso2709 file in order to > test a module? > > Thank you in advance > A set of UNIMARC bib records from Koha's test suite can be downloaded from http://git.koha-community.org/gitweb/?p=

MARC::File::XML 1.0.3 released

2014-01-22 Thread Galen Charlton
Hi, I have uploaded MARC::File::XML 1.0.3 to CPAN. This release fixes a test failure on Strawberry Perl. Here is the changelog: 1.0.3 Thu Jan 23 05:02:52 UTC 2014 - fix t/external-entities.t to pass on Strawberry Regards, Galen -- Galen Charlton gmcha...@gmail.com

SECURITY release: MARC::File::XML 1.0.2

2014-01-21 Thread Galen Charlton
-1.0.2 Regards, Galen -- Galen Charlton gmcha...@gmail.com

MARC::Record 2.0.6

2013-10-22 Thread Galen Charlton
MARC::Record - $field->as_string('0') now returns the contents of subfield $0 rather than the contents of all of the subfields in the field. - RT#88421: add newline after printing warnings (Jason Stephenson) - RT#85804: fix spelling glitch (Gregor Herrmann) Regards, Galen

MARC::Charset 1.35

2013-08-13 Thread Galen Charlton
Regards, Galen -- Galen Charlton gmcha...@gmail.com

Re: reading and writing of utf-8 with marc::batch [double encoding]

2013-03-27 Thread Galen Charlton
t;; # MARC record terminator my $i = 0; while (<>) { $i++; my $bytes = $_; eval { my $utf8str = Encode::decode('UTF-8', $bytes, Encode::FB_CROAK); }; if ($@) { print "Record $i is valid UTF-8\n"; } else { print "Record $i definitel

Re: reading and writing of utf-8 with marc::batch [double encoding]

2013-03-27 Thread Galen Charlton
s well. > Is it true that original.marc is not denoted correctly, but fixed.marc is > denoted correctly? > Yes. The Leader/09 must be set to 'a' if the character encoding in use is UTF-8. Regards, Galen -- Galen Charlton gmcha...@gmail.com

Re: reading and writing of utf-8 with marc::batch [terminal]

2013-03-27 Thread Galen Charlton
gt; Would you be willing to put up a link to your MARC file? I'm willing to take a quick look to see if I can reproduce the problem you're seeing. Regards, Galen -- Galen Charlton gmcha...@gmail.com

Re: reading and writing of utf-8 with marc::batch

2013-03-27 Thread Galen Charlton
numbers, e.g., Garci<81>a Ma<81>rquez, Gabriel, Regards, Galen -- Galen Charlton gmcha...@gmail.com

MARC::File::XML 1.0.1

2013-02-15 Thread Galen Charlton
concerning extracting self-closing tags from a batch. Regards, Galen -- Galen Charlton gmcha...@gmail.com

MARC::Record 2.0.5

2013-02-11 Thread Galen Charlton
Hi, I have uploaded version 2.0.5 of MARC::Record to CPAN. This is a minor bugfix release. The one change since 2.0.4 is: - fix use of qw(...) in test case so that module passes tests with Perl 5.17.x. Regards, Galen -- Galen Charlton gmcha...@gmail.com

Re: MARC::Charset 1.34

2013-02-11 Thread Galen Charlton
Hi, On Mon, Feb 11, 2013 at 12:12 PM, Leif Andersson wrote: > So - however it happend - the "corrupt" file had been gzipped twice. > > At least a partly explanation to this mystery :) > Wild. Thanks for chasing down further. Regards, Galen -- Galen Charlton gmcha...@gmail.com

Re: MARC::Charset 1.34

2013-02-11 Thread Galen Charlton
Hi, On Mon, Feb 11, 2013 at 11:52 AM, Leif Andersson wrote: > Corrupt tar file RESOLVED. > Thanks for the update. I'm inclined to agree with your guess that a mirror was corrupt. Out of curiosity, are you using ActiveState or Strawberry? Regards, Galen -- Galen Charlton gmcha...@gmail.com

Re: MARC::Charset 1.34

2013-02-11 Thread Galen Charlton
.34 via a 'cpan MARC::Charset' on a fresh Debian box, and it worked for me. Regards, Galen -- Galen Charlton gmcha...@gmail.com

MARC::Charset 1.34

2013-02-11 Thread Galen Charlton
ture and double tilde). Thanks to Thomas P. Ventimiglia for the bug report and test case. Regards, Galen -- Galen Charlton gmcha...@gmail.com

MARC::File::XML 1.0

2013-02-10 Thread Galen Charlton
the XML::SAX days, and I would appreciate feedback, particularly if folks encounter porting problems. Also, if there is anybody whose code depends on MARC::File::XML using SAX -- presumably only if you were subclassing MARC::File::SAX -- please let me know. Regards, Galen -- Galen Charlton gmcha

MARC/Perl hosting

2013-02-09 Thread Galen Charlton
nd at http://marcpm.sourceforge.net. Regards, Galen -- Galen Charlton gmcha...@gmail.com

MARC::Record 2.0.4

2013-02-09 Thread Galen Charlton
erlcritic --gentle (mostly) - remove function prototypes (see http://www.perlmonks.org/?node_id=861966) Regards, Galen -- Galen Charlton gmcha...@gmail.com

MARC::Charset 1.33 released

2011-08-04 Thread Galen Charlton
ould build cleanly on Strawberry Perl. ActiveState Perl likes MARC::Charset less as MARC::Charset depends on GDBM_File, a core Perl module that inexplicably isn't included in ActivePerl. Regards, Galen -- Galen Charlton gmcha...@gmail.com

MARC::Charset 1.32 released

2011-06-30 Thread Galen Charlton
UTF-8. Regards, Galen -- Galen Charlton gmcha...@gmail.com

MARC::File::XML 0.93

2011-02-11 Thread Galen Charlton
Makefile.PL Particular thanks to Jeff Godin for testing the MARC::Batch slurping improvement. Regards, Galen -- Galen Charlton gmcha...@gmail.com

Re: MARC-in-JSON in MARC::Record

2011-02-10 Thread Galen Charlton
n't be handled correctly by just any random JSON parser. Regards, Galen -- Galen Charlton gmcha...@gmail.com

Re: MARC-in-JSON in MARC::Record

2011-02-10 Thread Galen Charlton
p://www.mail-archive.com/perl4lib%40perl.org/msg01490.html Regards, Galen -- Galen Charlton gmcha...@gmail.com

Re: MARC-in-JSON in MARC::Record

2011-02-09 Thread Galen Charlton
); my $ini_string = MARC::File::Ini::encode($rec); Regards, Galen -- Galen Charlton gmcha...@gmail.com

Re: MARC-in-JSON in MARC::Record

2011-01-18 Thread Galen Charlton
y the number of JSON representations of MARC in actual use. Regards, Galen -- Galen Charlton gmcha...@gmail.com

Re: MARC-in-JSON in MARC::Record

2011-01-18 Thread Galen Charlton
It is already modular. Regards, Galen -- Galen Charlton gmcha...@gmail.com

Re: MARC-in-JSON in MARC::Record

2011-01-18 Thread Galen Charlton
Newline-delimited JSON has the virtue of simplicity, but isn't correct, dagnabbit! Fortunately, JSON::XS can fake a pull parser well enough for our purposes. Regards, Galen -- Galen Charlton gmcha...@gmail.com

MARC-in-JSON in MARC::Record

2011-01-17 Thread Galen Charlton
sonyamlwhatever-compatible-marc-records/ Regards, Galen -- Galen Charlton gmcha...@gmail.com

MARC::Record 2.0.3

2011-01-17 Thread Galen Charlton
->subfields() - RT#61198: let subfields return an empty array on control fields (Colin Campbell) Regards, Galen -- Galen Charlton gmcha...@gmail.com

Re: Bug in MARC::Record ?

2011-01-05 Thread Galen Charlton
ting around, please send them to me. Regards, Galen -- Galen Charlton gmcha...@gmail.com

Re: Problem with MARC::File::XML

2010-12-15 Thread Galen Charlton
r : Input is not proper UTF-8, > indicate encoding ! > With the patch you attached, are you getting the XML::LibXML error above, the XML::Parser error that Henri-Damien cited, or both? Regards, Galen -- Galen Charlton gmcha...@gmail.com

Re: Problem with MARC::File::XML

2010-12-13 Thread Galen Charlton
tp://www.loc.gov/MARC21/slim";> > >  01020nam0a2200301   4500 >   > > Has anyone ever come into such a problem ? > If so is there a workaround ? Can you supply a test case? Which SAX parser are you using? Regards, Galen -- Galen Charlton gmcha...@gmail.com

DOM parser for MARC::File::XML

2010-11-14 Thread Galen Charlton
h=refs/heads/use-dom-instead-of-sax [2] http://lists.koha-community.org/pipermail/koha-devel/2010-November/034718.html [3] http://lists.koha-community.org/pipermail/koha-devel/2010-November/034719.html Regards, Galen -- Galen Charlton gmcha...@gmail.com

Re: A library agnostic datastructure for MARC ?

2010-11-11 Thread Galen Charlton
re that is more convenient for you to deal with, you might find searching the code4lib mailing list archives for "MARC" and "JSON" to be fruitful. Regards, Galen -- Galen Charlton gmcha...@gmail.com

Re: Moose based Perl library for MARC records

2010-11-11 Thread Galen Charlton
izes that they're stuck dealing with MARC records will presumably have seen the records identified as "MARC". Regards, Galen -- Galen Charlton gmcha...@gmail.com

Re: Moose based Perl library for MARC records

2010-11-11 Thread Galen Charlton
Not from me, but I'm not sure if the CPAN folks will want yet another top-level namespace. Regards, Galen -- Galen Charlton gmcha...@gmail.com

Re: Moose based Perl library for MARC records

2010-11-10 Thread Galen Charlton
;s suggestion of MARC::Moose:: best. Regards, Galen -- Galen Charlton gmcha...@gmail.com

Re: MARC-perl: different versions yield different results

2010-10-12 Thread Galen Charlton
st where patches to MARC::* are typically discussed. Feel free to send one. Regards, Galen -- Galen Charlton gmcha...@gmail.com

Re: MARC::Field->subfields function

2010-09-09 Thread Galen Charlton
ways grab it from the Git repository: git://marcpm.git.sourceforge.net/gitroot/marcpm/marcpm Regards, Galen -- Galen Charlton gmcha...@gmail.com

MARC::Record 2.0.2 released

2010-05-04 Thread Galen Charlton
expanded copyright statement in README at Debian request - set license element in META.yml Regards, Galen -- Galen Charlton gmcha...@gmail.com

MARC::Record 2.0.1 released

2010-05-01 Thread Galen Charlton
d.t (Ed Summers) - documentation improvements (Mike Rylander and Dan Scott) - baked in minimum Perl version required: 5.8.2 Enjoy, Galen -- Galen Charlton gmcha...@gmail.com

Re: onix to marc

2010-04-21 Thread Galen Charlton
he ISO2709 serialization, the program could continue as follows: my $marcxml = $xslt->toString; use MARC::Record; use MARC::File::XML; my $marcrec = MARC::Record->new_from_xml($marcxml, 'UTF-8'); print $marcrec->as_usmarc(); Regards, Galen -- Galen Charlton gmcha...@gmail.com

Re: MARC::Record bug

2010-03-29 Thread Galen Charlton
Hi, 2010/3/27 Frédéric DEMIANS : > I found and fix a bug in MARC::Record. > >  https://rt.cpan.org/Public/Bug/Display.html?id=55993 I've applied your fix (and a test case). Thanks! Regards, Galen -- Galen Charlton gmcha...@gmail.com

Re: MARC::Record bug

2010-03-29 Thread Galen Charlton
release of MARC::Record. Regards, Galen -- Galen Charlton gmcha...@gmail.com

Re: Moving to Google Code/svn (was Re: [Patch] Escape marc tag/code/indicators in Marc::File::XML)

2010-03-22 Thread Galen Charlton
Hi, On Tue, Mar 16, 2010 at 11:13 PM, Galen Charlton wrote: > If there are no major objections, in a week's time I plan to make the > CVS repo read-only and we'll move forward with Git. I've now removed write access to the CVS repository, and will disable CVS entirely once

Re: Moving to Google Code/svn (was Re: [Patch] Escape marc tag/code/indicators in Marc::File::XML)

2010-03-16 Thread Galen Charlton
getting started with Git - drop me a line or ping me on #code4lib. If there are no major objections, in a week's time I plan to make the CVS repo read-only and we'll move forward with Git. Regards, Galen -- Galen Charlton gmcha...@gmail.com

Re: Moving to Google Code/svn (was Re: [Patch] Escape marc tag/code/indicators in Marc::File::XML)

2010-01-26 Thread Galen Charlton
or Git. [1] http://code.google.com/p/tortoisegit/ Regards, Galen -- Galen Charlton gmcha...@gmail.com

Moving to Google Code/svn (was Re: [Patch] Escape marc tag/code/indicators in Marc::File::XML)

2010-01-26 Thread Galen Charlton
p on this thread, I'm prepared to go ahead this weekend and get MARC/Perl moved to SVN on Google Code, to give us a modern VCS and a better host while meeting Bryan's request for a VCS that has a Windows front-end. +1/-1? Regards, Galen -- Galen Charlton gmcha...@gmail.com

MARC::File::XML 0.92 released

2009-07-31 Thread Galen Charlton
close RT tickets #48334 and #48333 filed by Jonathan from Debian world. - added license string to META.yml so that CPAN can pick it up Thanks to Jonathan from Debian for the bug report and Ed Summers for doing most of the fixes. Share and enjoy, Galen -- Galen Charlton

MARC::File::XML 0.91 released

2009-07-30 Thread Galen Charlton
- MARC::File::SAX also can build up multiple records now, for use in other SAX contexts like Net::OAI::Harvester. This required a few changes in MARC::File::XML as well. Committers and patch contributors to this release are Galen Charlton Bill Erickson Jeff Godin Mike Rylander

Ready for MARC::File::XML release? (was [Patch] Escape marc tag/code/indicators in Marc::File::XML)

2009-07-26 Thread Galen Charlton
Hi, On Wed, Jul 22, 2009 at 5:04 PM, Dan Scott wrote: > It would be nice to see the 0.91 release get pushed out the door, in > any case. 0.88 was a long time ago. Any objections to my pushing out 0.91 as a bugfix release? I've applied Bill's patch and addressed the one CPAN bug against 0.88. An

Re: [Patch] Escape marc tag/code/indicators in Marc::File::XML

2009-07-26 Thread Galen Charlton
Hi, On Wed, Jul 22, 2009 at 5:04 PM, Dan Scott wrote: > Was it decided that Bill's escaping output patch would be dropped? I > don't see it in CVS yet. I've committed Bill's patch and a test case based on the sample file he sent. Thanks, Bill! Regards, Galen

Re: [Patch] Escape marc tag/code/indicators in Marc::File::XML

2009-07-22 Thread Galen Charlton
door, in > any case. 0.88 was a long time ago. > > Dan > > 2009/4/14 Galen Charlton : >> Hi, >> >> On Tue, Apr 14, 2009 at 3:57 PM, Dan Scott wrote: >>> 2008/10/29 Bill Erickson : >>> Is anyone planning on applying this patch? It would be a s

Re: ERROR : "\xF9" does not map to Unicode

2009-07-13 Thread Galen Charlton
Hi Jordi On Mon, Jul 13, 2009 at 4:34 AM, Jordi Pallares wrote: > I try to process some records obtained frommy ILS system (Millennium) in > UTF-8 characterset and I obtain this error: > > utf8 "\xF9" does not map to Unicode at > /usr/lib/perl5/5.10.0/i386-linux-thread-multi/Encode.pm line 162. S

Re: [Patch] Escape marc tag/code/indicators in Marc::File::XML

2009-04-14 Thread Galen Charlton
egards, Galen -- Galen Charlton VP, Research & Development, LibLime galen.charl...@liblime.com p: 1-888-564-2457 x709 skype: gmcharlt

Re: some weird unicode display problem

2009-04-08 Thread Galen Charlton
n OS X. Is the character in question coming from a MARC bib record that was loaded into Koha? If so, it might help if you sent that record. Regards, Galen -- Galen Charlton VP, Research & Development, LibLime galen.charl...@liblime.com p: 1-888-564-2457 x709 skype: gmcharlt

Re: How to convert from ANSEL/MARC-8 to UTF-8?

2009-01-07 Thread Galen Charlton
rt of doing it by hand with lots of s/// > for at least the most common > combinations? You can use NFC() from Unicode::Normalize to do this (after using MARC::Charset to do the conversion to UTF-8). Regards, Galen -- Galen Charlton VP, Research & Development, LibLime galen.charl...

Re: History of MARC/Perl

2008-11-06 Thread Galen Charlton
Hi Bill, On Wed, Nov 5, 2008 at 9:10 PM, <[EMAIL PROTECTED]> wrote: > I have no problems contributing what I have around. I may have to do a > little digging since some of the stuff is on an older laptop I no longer use > regularly. But I did archive all the correspondence including examples and

History of MARC/Perl

2008-11-05 Thread Galen Charlton
t are no longer available on CPAN or SourceForge. Thanks, Galen Charlton [EMAIL PROTECTED]

Position announcement - Koha application developer (US or Canada)

2008-09-08 Thread Galen Charlton
http://liblime.com/about/careers/software_engineer_koha HOW TO APPLY Send a resume and cover letter to [EMAIL PROTECTED] -- Galen Charlton VP, Research & Development, LibLime [EMAIL PROTECTED] p: 1-888-564-2457 x709 skype: gmcharlt

Re: How convert data from USMARC to MARCXML using MARC::Record and it's derivatives? MARC.pm vs. MARC::Record.pm

2008-09-02 Thread Galen Charlton
ecord into a MARC::Record object (e.g., $marc), then using the output of $marc->as_xml() or $marc->as_xml_record(). Regards, Galen -- Galen Charlton VP, Research & Development, LibLime [EMAIL PROTECTED] p: 1-888-564-2457 x709 skype: gmcharlt

[PATCH] Support III "extended" characters in MARC::Charset

2008-04-16 Thread Galen Charlton
o share or can point me to a complete public list of them, I would greatly appreciate it. Regards, Galen -- Galen Charlton Koha Application Developer LibLime [EMAIL PROTECTED] p: 1-888-564-2457 x709 marc-charset-iii-characters.patch Description: Binary data

Re: Which MARC record field identifies the originating server?

2008-04-08 Thread Galen Charlton
Hi, On Tue, Apr 8, 2008 at 3:56 PM, Christopher Morgan <[EMAIL PROTECTED]> wrote: > Does every MARC record contain a field/subfield that identifies the library > the record came from? There is no way to reliably determine which Z39.50 server a MARC record came from just by inspecting the record

Re: Help for utf-8 output

2008-02-21 Thread Galen Charlton
wever, during the print to your output filehandle, Perl automatically converts the MARC blob string from ISO-8859-1 to UTF-8 because the output filehandle is binmode :utf8, resulting in the discrepancy between Leader/00-04 and the length of the output MARC blob. Regards, Galen -- Galen Charlton Koha