Opportunities!

2009-01-26 Thread Mike Rylander
will be accepted until position is filled. Please send resume or c.v. with cover letter, three references and compensation requirements to care...@esilibrary.com. -- Mike Rylander | VP, Research and Design | Equinox Software, Inc. / The Evergreen Experts | phone: 1-877-OPEN-ILS (673-6457

Re: Can't parse MARC Authority XML files with mx: prefixes in their tags

2008-06-18 Thread Mike Rylander
t since the LocalName (only) change did not work for you I have suspicions about the particular XML parser that's being chosen for the SAX part on your system. The pure-perl parser (in some versions) did not support namespaces well, and expat can be quirky as well. I'll let you know w

Re: Can't parse MARC Authority XML files with mx: prefixes in their tags

2008-06-12 Thread Mike Rylander
of SAX.pm. If you don't have time to test all this that's fined, but if not would you be willing to send a couple of your problem records? Thanks Christopher, -- Mike Rylander | VP, Research and Design | Equinox Software, Inc. / The Evergreen Experts | phone: 1-877

Re: Can't parse MARC Authority XML files with mx: prefixes in their tags

2008-06-10 Thread Mike Rylander
>>A related question: When I first tried to process the subject authority >>files from the LOC (in my first example, above), the program complained >>that the "Leader must be 24 bytes long". > > Right, that comes from the MARC specification, there are 24 bytes. >

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

2008-05-13 Thread Mike Rylander
On Mon, May 5, 2008 at 10:00 PM, Mike Rylander <[EMAIL PROTECTED]> wrote: > On Wed, Apr 16, 2008 at 4:28 PM, Galen Charlton > <[EMAIL PROTECTED]> wrote: > > Hi, > > > > The attached patch adds mappings for various non-standard (per MARC-8) > >

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

2008-05-05 Thread Mike Rylander
additional > character mappings to 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 >

Re: Importing Perl package variables into a Perl script with "require"

2008-05-05 Thread Mike Rylander
use Package" since "use" runs at compile time, before > I can assign a value to it. > You can use UNIVERSAL::require to do this: use UNIVERSAL::require; use CGI; my $cgi = new CGI(); my $package = 'Language::' . $cgi->param('lang'); # say, 'Engl

Re: Stripping out Unicode combining characters (diacritics)

2008-05-05 Thread Mike Rylander
(nominally, base characters plus combining marks) instead of NFC (precombined characters) using Unicode::Normalize: use Unicode::Normalize; my $text = NFD($original); $text =~ s/\pM+//go; Hope that helps. -- Mike Rylander | VP, Research and Design | Equinox Software, Inc. / The Evergreen

Equinox Software is hiring

2007-12-01 Thread Mike Rylander
more information about Equinox and Evergreen. -- Mike Rylander | VP, Research and Design | Equinox Software, Inc. / The Evergreen Experts | phone: 1-877-OPEN-ILS (673-6457) | email: [EMAIL PROTECTED] | web: http://www.esilibrary.com

Re: MARC::Record record length and leader bug?

2007-11-20 Thread Mike Rylander
(carp) on this condition. When ever 2.0.1 comes out this will be included. I'm inclined to turn this into a hard exception (croak) if I that's the consensus. OT: Since they were right next door, I also adjusted the regrexp's that test the requested encoding to make them a little more lax about how you spell UTF-8 and MARC-8. -- Mike Rylander | VP, Research and Design | Equinox Software, Inc. / The Evergreen Experts | phone: 1-877-OPEN-ILS (673-6457) | email: [EMAIL PROTECTED] | web: http://www.esilibrary.com

Re: MARC::File::XML and parsing.

2007-10-19 Thread Mike Rylander
loading M::F::X, of course) with parameters: my $record = MARC::Record->new_from_xml( $xml, 'UTF-8', 'UNIMARC' ); Please let us know if those don't work for you. -- Mike Rylander | VP, Research and Design | Equinox Software, Inc. / The Evergreen

Re: wide character in print in MARC::File::XML

2007-09-18 Thread Mike Rylander
dule name is marc-xml. I would appreciate any testing you (or anyone on the list) can provide. Thanks in advance, folks. -- Mike Rylander Equinox Software, Inc [EMAIL PROTECTED] http://esilibrary.com/

Re: turning off MARC::Charset

2007-08-15 Thread Mike Rylander
On 8/15/07, Rina Ron <[EMAIL PROTECTED]> wrote: > Is there any way that I could turn off the translation of marc8 to utf8 > and utf8 to marc8 in MARC::Record ? All of my records are already in > utf8 format. If that's the case then the leader/09 should contain 'a', which does exactly that -- turns

Re: Removing duplicate fields with MARC::record

2007-07-30 Thread Mike Rylander
MUST ... RESIST ... URGE ... FOR ... ONEUPMANSHIP!!! AAAH!!! ;) ... while (my $record = $batch->next) { # find 'em my @m856 = $record->field('856'); # get rid of 'em $record->delete_field( $_ ) for @m856; # map to a hash for direct uniqueness %u856 = (m

Re: File::XML small improvement for unimarc guys

2007-06-22 Thread Mike Rylander
On 6/22/07, Paul POULAIN <[EMAIL PROTECTED]> wrote: Hello world, at line 503 is written : die "Unsupported UNIMARC charater encoding [$enc] for XML output"; could we set instead : die "Unsupported UNIMARC charater encoding [$enc] for XML output for $f, field 100 being ".$r->subfield(100 => 'a')

Re: MARC-XML-0.86.tar.gz Uploaded to CPAN

2007-05-10 Thread Mike Rylander
.com/koha |1(888)KohaILS -- Mike Rylander

Re: MARC::File::XML 0.85

2007-04-13 Thread Mike Rylander
On 4/13/07, Paul POULAIN <[EMAIL PROTECTED]> wrote: Mike Rylander a écrit : > On 4/13/07, Joshua M. Ferraro <[EMAIL PROTECTED]> wrote: > $parser->{ Handler }{ toMARC8 } = (lc($format) =~ /^unimarc/o || ( > $enc && lc($enc) =~ /^utf-?8$/o )) ? 0 : 1; > mmm...

Re: MARC::File::XML 0.85

2007-04-13 Thread Mike Rylander
n the changes one last time (or one first time, in this case) to make sure nothing is being overlooked. Thanks. -- Mike Rylander [EMAIL PROTECTED] GPLS -- PINES Development Database Developer http://open-ils.org

Re: utf-8 code: \xAE not map

2007-03-28 Thread Mike Rylander
F-8 if an encoding error is encountered. This, of course, assumes that the non-MARC8 encoding actually is UTF-8. Let us know if that helps! --Jackie On Wed, 28 Mar 2007, Mike Rylander wrote: > On 3/28/07, Jackie Shieh <[EMAIL PROTECTED]> wrote: >> >> I am looking at a set of 7000+

Re: utf-8 code: \xAE not map

2007-03-28 Thread Mike Rylander
is using Perl's Encode module, but my guess is that it's a very old MARC::Charset module. Can you show us a simplified example script that exhibits this behavior? TIA -- Mike Rylander [EMAIL PROTECTED] GPLS -- PINES Development Database Developer http://open-ils.org

Re: UTF-8 encoding errors

2007-03-08 Thread Mike Rylander
t the MARC (and a minimal script that fails with those records) to me ... off-list is fine if you'd rather not send it to everone. Thanks very much. Hope I can help! Ron Ron Davies Av. Baden-Powell 1 Bte 2, 1200 Brussels, Belgium Email: ron(at)rondavies.be Tel: +32 (0)2 77

Re: UTF-8 encoding errors

2007-03-07 Thread Mike Rylander
ossible test that dies reliably. Thanks very much. Ron Ron Davies Av. Baden-Powell 1 Bte 2, 1200 Brussels, Belgium Email: ron(at)rondavies.be Tel:+32 (0)2 770 33 51 GSM: +32 (0)484 502 393 -- Mike Rylander [EMAIL PROTECTED] GPLS -- PINES Development Database Developer http://open-ils.org

Re: UTF-8 encoding errors

2007-03-07 Thread Mike Rylander
d 1.39_1 and xml2marc resulted in records being output but the field containing diacritics was mangled/deleted/replaced with bad data.) Thank you for your assistance, Bryan Baldus [EMAIL PROTECTED] [EMAIL PROTECTED] http://home.inwave.com/eija -- Mike Rylander [EMAIL PROTECTED] GPLS -- PINES Development Database Developer http://open-ils.org

Re: Fwd: Module update for MARC::Record

2007-01-25 Thread Mike Rylander
OK, folks, MARC::Record 2.0.0 is officially out. http://search.cpan.org/~mikery/MARC-Record-2.0.0/lib/MARC/Record.pm Give it a go, and let me know if you see anything broken. Sorry for the delay! -miker On 1/19/07, Paul POULAIN <[EMAIL PROTECTED]> wrote: Mike Rylander a écrit : >

Perl module goodness

2007-01-19 Thread Mike Rylander
support (miker) -- Mike Rylander [EMAIL PROTECTED] GPLS -- PINES Development Database Developer http://open-ils.org

Re: Module update for MARC::Record

2007-01-18 Thread Mike Rylander
On 1/18/07, Edward Summers <[EMAIL PROTECTED]> wrote: On Jan 18, 2007, at 3:24 PM, Mike Rylander wrote: > Ed, I assume that stuff is in CVS? Yes all I gave to Anne is what was in HEAD. Rock. Just as I suspected. In that case we may be able to just consider that a pre-release

Re: Fwd: Module update for MARC::Record

2007-01-18 Thread Mike Rylander
is in CVS? Anne L. Highsmith Consortia Systems Coordinator 5000 TAMU Evans Library Texas A&M University College Station, TX 77843-5000 [EMAIL PROTECTED] 979-862-4234 979-845-6238 (fax) >>> "Mike Rylander" <[EMAIL PROTECTED]> 1/18/2007 1:48 PM >>> So it is written,

Re: Fwd: Module update for MARC::Record

2007-01-18 Thread Mike Rylander
course! That was my objection too, and why I accepted the offer (push, edsu?) for maintainership. Most important to me is getting it out there un-borked. Cory Snavely University of Michigan Library IT Core Services On Thu, 2007-01-18 at 14:48 -0500, Mike Rylander wrote: > So it is writ

Fwd: Module update for MARC::Record

2007-01-18 Thread Mike Rylander
aily basis, and a x.0.0 version number implies newness. It doesn't seem too off the mark (heh...) anyway, since the name MARC::Record2 (and variants) has been bandied about quietly in the past. Thoughts/comments/sharp-sticks-in-the-eye? -- Mike Rylander [EMAIL PROTECTED] GPLS -- PINES Devel

Re: MODS => MARC21

2006-10-19 Thread Mike Rylander
an |920 North University |Ann Arbor, MI 48109-1205 |Phone: 734.936.2401 FAX: 734.615.9788 |E-mail: [EMAIL PROTECTED] -- Mike Rylander [EMAIL PROTECTED] GPLS -- PINES Development Database Developer http://open-ils.org

Re: MARC::* UNIMARC Support

2006-10-03 Thread Mike Rylander
e. :D Please test the attached version of MARC/File/XML.pm ... if all's well I will update cvs soon. -- Henri Damien LAURENT et Paul POULAIN Consultants indépendants en logiciels libres et bibliothéconomie (http://www.koha-fr.org) -- Mike Rylander [EMAIL PROTECTED] GPLS -- PINES Developme

Re: Wide character

2006-08-28 Thread Mike Rylander
is a standard i18n encoding outside the library world), though you will need to modify the LDR of records that you transcode in this way. Hope that helps! Regards, --Jackie -- Mike Rylander [EMAIL PROTECTED] GPLS -- PINES Development Database Developer http://open-ils.org

Re: [Koha-zebra] Re: Unimarc, marc21, Unicode, and MARC::File::XML

2006-03-20 Thread Mike Rylander
On 3/20/06, Pierrick LE GALL <[EMAIL PROTECTED]> wrote: > Hello Mike, > > I'll answer to the second question, since I worked with Paul on > Perl/MySQL and UTF-8... > > On Mon, 20 Mar 2006 09:59:32 -0500 > "Mike Rylander" <[EMAIL PROTECTED]> wrote: &

Re: Unimarc, marc21, Unicode, and MARC::File::XML

2006-03-20 Thread Mike Rylander
On 3/20/06, Paul POULAIN <[EMAIL PROTECTED]> wrote: > Mike Rylander a écrit : > > I tested with the record you sent Ed and me, and everything seems to > > work for me ... > > As you can see, I tested several variants of the UNIMARC flag, and > > even tested not sen

Re: Unimarc, marc21, Unicode, and MARC::File::XML

2006-03-17 Thread Mike Rylander
d not sending the encoding to new_from_xml() ... it all seems to work for me, and I'm not sure what problems you're seeing. Perhaps you just needed to set your binmode for the XML source? -miker On 3/17/06, Paul POULAIN <[EMAIL PROTECTED]> wrote: > Mike Rylander a écrit : >

Re: Unimarc, marc21, Unicode, and MARC::File::XML

2006-03-16 Thread Mike Rylander
Mea culpa ... read on. :) On 3/16/06, Mike Rylander <[EMAIL PROTECTED]> wrote: > I've updated the cvs for MARC::File::XML with what I described below, > with one caveat. The one difference from what I was planning is that, > because as_xml() is generated by MARC::Record,

Re: Unimarc, marc21, Unicode, and MARC::File::XML

2006-03-16 Thread Mike Rylander
:pserver:[EMAIL PROTECTED]:/cvsroot/marcpm login cvs -z3 -d:pserver:[EMAIL PROTECTED]:/cvsroot/marcpm co -P marc-xml Then, cd marc-xml perl Makefile.PL make make test And assuming 'make test' succeeds ... make install --- Thanks in advance, --miker

Re: Unimarc, marc21, Unicode, and MARC::File::XML

2006-03-16 Thread Mike Rylander
>* add a test to define wether we are UNIMARC or MARC21. In UNIMARC, > >title is in 200, while 200 is empty in MARC21. > >* add a parameter to ->new_as_xml($xml,'UTF-8','UNIMARC') to specify > >we are sending the parser an unimarc file. > > as a per

Re: MARC::Record & UTF-8

2006-03-08 Thread Mike Rylander
sourceforge.net/cvs/?group_id=1254 > > Regards, > > --Jackie > > |Jackie Shieh > |Special Projects & Collections Team > |Harlan Hatcher Graduate Library > |University of Michigan > |920 North University > |Ann Arbor, MI 48109-1205 > |Phone: 734.936.2401

Re: [Zebralist] MARC and utf-8 question

2006-02-14 Thread Mike Rylander
If you can get access to the actual file handle for the socket, you could use binmode() against it, but I doubt if you can reach into Perl-ZOOM for that. For more details, see the man pages for Encode, Encode::PerlIO and Encode::Supported. Hope that helps! -- Mike Rylander [EMAIL PROTECTED] GPLS -- PINES Development Database Developer http://open-ils.org

Re: MARC::Record and Unicode?

2006-01-31 Thread Mike Rylander
eForge [1]. I don't believe version 2 has been released to > > CPAN yet. > > > > [1] http://cvs.sourceforge.net/viewcvs.py/marcpm/marc-record/ > > > > I hope this helps, > > > > Bryan Baldus > > [EMAIL PROTECTED] > > [EMAIL PROTECTED] > > http://home.inwave.com/eija > -- Mike Rylander [EMAIL PROTECTED] GPLS -- PINES Development Database Developer http://open-ils.org

Re: MARC::Record, XML, Koha and utf-8

2006-01-04 Thread Mike Rylander
You might be interested in taking a look at how Evergreen is storing > MARC data. I know that they are using a modded version of > MARC::File::XML in some capacity. Mike Rylander is on this list, so > maybe he'll chime in--or otherwise you could drop into > irc://irc.freenode.net/code4li

Re: MARC-8 to UTF-8 conversion

2005-12-05 Thread Mike Rylander
heh ... edition, even. That is all. :) On 12/5/05, Mike Rylander <[EMAIL PROTECTED]> wrote: > On 12/5/05, Ed Summers <[EMAIL PROTECTED]> wrote: > > > Am I right that this amounts to less than 1Meg (EastAsian.db + > > > UTF8.db)? Depending on your system and you

Re: MARC-8 to UTF-8 conversion

2005-12-05 Thread Mike Rylander
0 lists several DBM interfaces. :) It looks like SDBM_File doesn't have any external dependancies. The man page for it doesn't list any either (the other DBM formats do). -- Mike Rylander [EMAIL PROTECTED] GPLS -- PINES Development Database Developer http://open-ils.org

Re: Matching arrays/hashes (swish-e and SQL)

2005-10-11 Thread Mike Rylander
u can try: my $sql_rows = $sth->fetchall_hashref('ID'); my @ordered_sql_rows = map { $$sql_rows{$_} } @recs; Now @ordered_sql_rows will contain a list of hashrefs, one for each record from the database, ordered by the swish-e relevance. -- Mike Rylander [EMAIL PROTECTED] GPLS -- PINES Development Database Developer http://open-ils.org

Re: Use of encode([$encoding]) in MARC-XML

2005-09-27 Thread Mike Rylander
ified version here(2). Hope that helps! > > Thanks! > > Ed Sperr > Education / Electronic Resources Librarian > New England College of Optometry > 1) http://open-ils.org/blog/?p=14 2) http://open-ils.org/cgi-bin/viewcvs.cgi/ILS/Open-ILS/src/perlmods/MARC/File/ -- Mike Rylander [E

Re: MARC::Record and UTF-8

2005-01-07 Thread Mike Rylander
ve checked the MacPerl module porters Web sites, but it doesn't appear > any binaries have been compiled since 5.6.1. > > Thank you for your assistance, > > Bryan Baldus > [EMAIL PROTECTED] > [EMAIL PROTECTED] > http://home.inwave.com/eija > -- Mike Rylander [EMAIL PROTECTED] GPLS -- PINES Development Database Developer http://open-ils.org

Re: MARC::Record and UTF-8

2005-01-07 Thread Mike Rylander
L as it is only used as an input/output format; other software, usually written in C, handles actually manipulating the data. ... Not that that applies *directly* to your question ... :) -- Mike Rylander [EMAIL PROTECTED] GPLS -- PINES Development Database Developer http://open-ils.org

Updating MARC::File::XML (was Re: Character sets - kind of solved?)

2004-12-06 Thread Mike Rylander
cannot by implicitly handled by Perl, as other encodings can be in some cases. This will be evolving, and I will do my best not to break anything and to follow the MARC standard, but IANAL(ibrarian), so be gentle. ;) Thanks for the pointers, and I'll send more updates here unless everyone wou

Re: Character sets - kind of solved?

2004-12-04 Thread Mike Rylander
t;>contains letters with diacritics. Looking at the name with a hex > editor, > > >>it gives, with hex values in curly brackets,"Bis{e5}a{f2}t{e5}i, > > >>Mu{f2}hammad." After running through MARC::Record, the name now > appears > > >>as "

Re: array references

2004-11-02 Thread Mike Rylander
On Mon, 01 Nov 2004 22:30:29 -0700, Michael McDonnell <[EMAIL PROTECTED]> wrote: > Eric Lease Morgan wrote: > > > > > How do I manipulate array references? > > > > In a package I'm writing I initialize an array reference (I think) > > through DBI like this: > > > > $self->{author_ids} = $dbh->se

patch to set encoding on XML

2004-09-22 Thread Mike Rylander
So, in the course of dumping a pile of MARC bib records to MARCXML I ran into a funky legacy record. It was 8-bit encoded (probably MARC-8), but it matched well enough with ANSI (ISO-8859-1) (which is a valid encoding for XML) that I decided to just dump it with that encoding. "But how?" one m