[Koha] Exporting MARC framework ?
Magnus Enger
magnus at enger.priv.no
Sat Aug 7 10:06:06 NZST 2010
Hej, Lars!
You can certainly export your frameworks! They live in the
marc_subfield_structure and marc_tag_structure tables in the database, so
you can dump them with something like
mysqldump --opt -u koha -p koha marc_subfield_structure marc_tag_structure >
danmarc2.sql
(Assuming your databaseuser and your database are both called "koha", of
course. )
That will give you all the frameworks, so you might have to edit
danmarc2.sql by hand to get just the danmarc2 framework, unless you delete
any existing framweorks before you enter the danmarc2 stuff.
And if you can get your hands on the danmarc2 spec in some machine readable
form it's probably much easier to transform that into SQL that you can
import into the database, rather than typing it all in "by hand". That's
what I did to get the NORMARC spec into Koha, anyway.
Depending on how similar danmarc2 is to unimarc you may find you have to do
some other changes too, to make your new framework work the way it should,
for example in the display of results and record details.
Good luck! ;-)
Magnus
libriotech.no
2010/8/6 Lars J. Helbo <lars at helbo.org>
> Hi,
>
> I keep getting funny ideas about what I would like to do :-)
>
> Here in Denmark the public libraries are using a special MARC framework. It
> is called danMARC2. It has some similarities with Unimarc but is still a
> different kind of flavour. The official definition can be found here:
>
> http://www.kat-format.dk/danMARC2/default.html
>
> I could enter this framework with all tags and subfiels in Koha
> (Administration/MARC bibliographic framework). If it should be correct with
> all details, subfields etc. it would however take "some" time. This raises
> my question: Would it be possible to export such an empty framework and use
> it on another installation of Koha? Or would I have to start all over again
> each time?
> --
> Lars J. Helbo
> Borgergade 44
> DK-8450 Hammel
>
> Tlf.: +45 8696 9315
> lars.helbo at frijsendal.dk
>
>
> www.frijsendal.dk
>
> _______________________________________________
> Koha mailing list
> Koha at lists.katipo.co.nz
> http://lists.katipo.co.nz/mailman/listinfo/koha
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.katipo.co.nz/pipermail/koha/attachments/20100807/06a01939/attachment-0001.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 20519 bytes
Desc: not available
Url : http://lists.katipo.co.nz/pipermail/koha/attachments/20100807/06a01939/attachment-0001.jpeg
More information about the Koha
mailing list