[Koha] Importing items problem

Željko Puškarić zpuskaric at sabor.hr
Sat Nov 30 03:53:11 NZDT 2013


Hi everyone,

I am trying to solve a problem of importing biblio records into Koha. 
the problem is that after import there aren't any items created. Biblios 
and biblioitems get created.
Based on a record that I created in Koha which looks like (MARCXML format):

<?xml version="1.0" encoding="UTF-8"?>
<record
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     xsi:schemaLocation="http://www.loc.gov/MARC21/slim 
http://www.loc.gov/standards/marcxml/schema/MARC21slim.xsd"
     xmlns="http://www.loc.gov/MARC21/slim">

   <leader>007910000a22003250004500</leader>
   <controlfield tag="001">21414</controlfield>
   <datafield tag="010" ind1=" " ind2=" ">
     <subfield code="a">9536160-09-9</subfield>
   </datafield>
   <datafield tag="090" ind1=" " ind2=" ">
     <subfield code="a">21414</subfield>
   </datafield>
   <datafield tag="100" ind1=" " ind2=" ">
     <subfield code="a">20131126              frey50 </subfield>
   </datafield>
   <datafield tag="101" ind1=" " ind2=" ">
     <subfield code="a">hrv</subfield>
   </datafield>
   <datafield tag="102" ind1=" " ind2=" ">
     <subfield code="a">HR</subfield>
   </datafield>
   <datafield tag="200" ind1=" " ind2=" ">
     <subfield code="a">Bogovi, elite, narodi</subfield>
     <subfield code="e">studija</subfield>
     <subfield code="f">Vjeran Katunari&#x107;</subfield>
   </datafield>
   <datafield tag="210" ind1=" " ind2=" ">
     <subfield code="a">Zagreb</subfield>
     <subfield code="c">Izdanja Antibarbarusa</subfield>
     <subfield code="d">1994</subfield>
   </datafield>
   <datafield tag="215" ind1=" " ind2=" ">
     <subfield code="a">225 str.</subfield>
     <subfield code="c">20 cm</subfield>
   </datafield>
   <datafield tag="225" ind1=" " ind2=" ">
     <subfield code="a">Biblioteka Electa</subfield>
   </datafield>
   <datafield tag="320" ind1=" " ind2=" ">
     <subfield code="a">Bibliografije: str. 247-254 i uz tekst</subfield>
   </datafield>
   <datafield tag="610" ind1=" " ind2=" ">
     <subfield code="a">Kultura i civilizacija</subfield>
   </datafield>
   <datafield tag="610" ind1=" " ind2=" ">
     <subfield code="a">Elite</subfield>
   </datafield>
   <datafield tag="610" ind1=" " ind2=" ">
     <subfield code="a">Religija</subfield>
   </datafield>
   <datafield tag="610" ind1=" " ind2=" ">
     <subfield code="a">Dr&#x17E;ava</subfield>
   </datafield>
   <datafield tag="610" ind1=" " ind2=" ">
     <subfield code="a">Etatizam</subfield>
   </datafield>
   <datafield tag="700" ind1=" " ind2=" ">
     <subfield code="3">000407</subfield>
     <subfield code="a">Katunari&#x107;</subfield>
     <subfield code="b">Vjeran</subfield>
   </datafield>
   <datafield tag="801" ind1=" " ind2=" ">
     <subfield code="a">HR</subfield>
     <subfield code="b">NSB</subfield>
     <subfield code="g">HR PPIAK</subfield>
   </datafield>
   <datafield tag="901" ind1=" " ind2=" ">
     <subfield code="6">M</subfield>
   </datafield>
   <datafield tag="908" ind1=" " ind2=" ">
     <subfield code="4">FND</subfield>
   </datafield>
   <datafield tag="942" ind1=" " ind2=" ">
     <subfield code="c">BK</subfield>
   </datafield>
   <datafield tag="946" ind1=" " ind2=" ">
     <subfield code="1">000000</subfield>
   </datafield>
   <datafield tag="990" ind1=" " ind2=" ">
     <subfield code="a">C-114</subfield>
   </datafield>
   <datafield tag="991" ind1=" " ind2=" ">
     <subfield code="6">1</subfield>
     <subfield code="b">24267</subfield>
   </datafield>
   <datafield tag="998" ind1=" " ind2=" ">
     <subfield code="a">941107004</subfield>
   </datafield>
   <datafield tag="995" ind1=" " ind2=" ">
     <subfield code="f">0</subfield>
     <subfield code="0">0</subfield>
     <subfield code="9">6707</subfield>
     <subfield code="c">Sabor</subfield>
     <subfield code="2">0</subfield>
     <subfield code="k">C-114</subfield>
     <subfield code="5">1994-11-07</subfield>
     <subfield code="o">0</subfield>
     <subfield code="r">BK</subfield>
     <subfield code="b">Sabor</subfield>
     <subfield code="a">Sabor</subfield>
   </datafield>
</record>

I created import records as follows (one example, text format, UNIMARC 
used to import to Koha):

001     000003
010     ^a953-6213-00-1
090     ^a000003
100     19941113
101     ^ahrv
102     ^aHR
200     ^aNačela politike i drugi spisi^fBenjamin Constant^gpriredio 
Radule Knežević ; prevela Radmila Zdjelar
210     ^aZagreb^cPolitička kultura^d1993
215     ^a204 str.^d21 cm
225     ^aBiblioteka Minerva
610     ^aPolitika
610     ^aSuverenitet
610     ^aMonarhija, ustavna
610     ^aZastupnici
610     ^aParlament
610     ^aSloboda
610     ^aVlasništvo
610     ^aFrancuska
610     ^aDržavno uređnje
700     ^3001939^aConstant^bBenjamin
702     ^3001940^aKnežević^bRadule
801     ^aHR^bNSB^gHR PPIAK
900     000003
901     ^6M
908     ^4FND
909     1
942     ^cBK
946     ^1000000
980     HDS
990     ^aD-618
991     ^61^b24269
995     ^00^20^51994-11-13^aSabor^bSabor^cSabor^f0^j24269^kD-618^rBK
998     ^a941113001

but after import there are no items created in  Koha. My rationale was 
that field 995 needs to be populated for items to get created but it 
does not work.
Am I doing something wrong or items need to be imported in some other way?
Extra 9xx fields (900, 901, 909, 946, 980, 990, 991 and 998) are from 
the old programm.

With Best Regards,

Željko Puškarić


More information about the Koha mailing list