[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Koha-devel] Re: [Koha] 090 Fields [good news :-)]

From: paul POULAIN
Subject: Re: [Koha-devel] Re: [Koha] 090 Fields [good news :-)]
Date: Mon Sep 29 00:26:04 2003
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624

MJ Ray wrote:

These are dev questions, so moved to koha-devel.

On 2003-09-19 08:34:10 +0100 paul POULAIN <address@hidden> wrote:

To support any MARC flavour, NO MARC TAG/SUBFIELDS ARE HARDCODED into Koha.

The MARC export appears to call as_usmarc(), which needs MARC21 to be used to get valid results, doesn't it?

I spoke on Wednesday's IRC with jferraro (excuse misspelling) who was having some trouble with MARC export. Any progress?

Hi Mark,

joshua tested the exported records with screen copy/paste. As there are some non-printable characters in iso2709, the result was wrong, of course.

The as_usmarc() creates iso2709 records, not us_marc specifically ones.
Let me explain how it's used in Koha :
* the MARCgetbiblio() sub (a Koha one) builds a MARC::Record from Koha-DB. The MARC::Record in independant of the MARC flavour. * the as_usmarc() is applied on the MARC::Record object. It creates a valid iso2709 data. * some MARC::Record methods like $record->title() won't work. It returns the title that is located in 100$a in usmarc. In 100$a in UNIMARC is ... something else (don't remember). so Koha NEVER uses MARC::Record shortcuts like ->title or ->author. It uses an internal sub (MARCmarc2koha) that transforms a MARC::Record into an hash, having {title} being the title {author} being the author... Koha uses MARC parameter table to do this, so it's MARC flavour independant. * I think/am afraid extended char (é,è,à,...) are wrong. they are a pain in iso2709.


Consultant indépendant en logiciels libres
responsable francophone de koha (SIGB libre http://www.koha-fr.org)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]