[Koha] bulk BiblioAddsAuthorities?

Stefano Bargioni bargioni at pusc.it
Tue Mar 8 05:41:19 NZDT 2011


Very strange that 001 in authority records is no autogetenerated.
Is this correct in Koha? Or is this a bug in Koha 325? In my Koha 323, bulkmarcimport -a generates 001.

Pete, maybe you can try a test: add manually some 001s editing the xml file, import, rebuild_zebra -a, link your bibs, rebuild_zebra -b, and search for authors related to 001s.
If this works, the problem is how to generate 001s.
Please, note that each auth record I prepared for import contains an empty 001
≤controlfield tag="001"≥≤/controlfield≥
Perhaps it triggers the generation of the value...
Stefano

On Mar 7, 2011, at 15:32 , pete huerter wrote:

> Hi Stefano,
> 
> We are using 3.2-5.  
> 
> We have neither 001, nor 003 present in either biblio or auth records.  I am working on explicitly adding these to both biblio and auth records.  001, and 003 might be added automatically when a Marc record is edited, but not when bulkmarcimport is used.  I was really surprised to see that Koha is not automatically generating 001, and 003.
> 
> So basically I am going to add 001, and 003 info to both biblio and auth records, then try your method again.
> 
> Thanks for sticking with me :)
> 
> Pete.
> 
> On Fri, Mar 4, 2011 at 5:46 AM, Stefano Bargioni <bargioni at pusc.it> wrote:
> The main difference between your marcxml auth record and my records is the absence of the 001 controlfield.
> In my opinion, this make impossibile to link your auth record with biblio ones.
> Here I compare one of my records with yours (I used a trick to avoid stripping out of xml tags using ≤...≥ delimiters).
> My record was constructed by a tool I prepared and than imported with bulkmarcimport.pl in a Koha 323.
> To explain the absence of the 001, maybe we need to know which Koha version you are working on.
> Regards. Stefano
> 
> ≤?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≥00243nz  a2200121n  4500≤/leader≥
>  ≤controlfield tag="001"≥65536≤/controlfield≥
>  ≤controlfield tag="003"≥USC≤/controlfield≥
>  ≤controlfield tag="005"≥20101109120000.0≤/controlfield≥
>  ≤controlfield tag="008"≥101109|| aca||aabn           | a|a     d≤/controlfield≥
>  ≤datafield tag="040" ind1=" " ind2=" "≥
>   ≤subfield code="a"≥USC≤/subfield≥
>  ≤/datafield≥
>  ≤datafield tag="100" ind1="1" ind2=" "≥
>   ≤subfield code="a"≥Sacchetta, Sergio.≤/subfield≥
>  ≤/datafield≥
>  ≤datafield tag="942" ind1=" " ind2=" "≥
>   ≤subfield code="a"≥PERSO_NAME≤/subfield≥
>  ≤/datafield≥
>  ≤datafield tag="999" ind1=" " ind2=" "≥
>   ≤subfield code="c"≥≤/subfield≥
>   ≤subfield code="d"≥≤/subfield≥
>  ≤/datafield≥
> ≤/record≥
> 
> ≤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≥00229nz##a2200097o##4500≤/leader≥
>  ≤controlfield tag="003"≥OPIACS≤/controlfield≥
>  ≤controlfield tag="005"≥20110301130115.0≤/controlfield≥
>  ≤controlfield tag="008"≥110301000000|ge|dz||aaan|||||||||||||||c|||||d≤/controlfield≥
>  ≤datafield tag="040" ind1=" " ind2=" "≥
>   ≤subfield code="a"≥OPIACS≤/subfield≥
>   ≤subfield code="b"≥eng≤/subfield≥
>   ≤subfield code="c"≥OPIACS≤/subfield≥
>  ≤/datafield≥
>  ≤datafield tag="100" ind1=" " ind2=" "≥
>   ≤subfield code="a"≥Zimmerman, Linda≤/subfield≥
>  ≤/datafield≥
>  ≤datafield tag="942" ind1=" " ind2=" "≥
>   ≤subfield code="a"≥PERSO_NAME≤/subfield≥
>  ≤/datafield≥
> ≤/record≥
> On Mar 3, 2011, at 16:17 , Peter Huerter wrote:
> 
> > The XML in the last post is being automatically processed away, so here it is
> > in a text file attachment:
> >
> > http://koha.1045719.n5.nabble.com/file/n3408083/mymarc.txt mymarc.txt
> >
> > Cheers,
> > Pete.
> >
> > --
> > View this message in context: http://koha.1045719.n5.nabble.com/bulk-BiblioAddsAuthorities-tp3378000p3408083.html
> > Sent from the Koha - Discuss mailing list archive at Nabble.com.
> > _______________________________________________
> > Koha mailing list  http://koha-community.org
> > Koha at lists.katipo.co.nz
> > http://lists.katipo.co.nz/mailman/listinfo/koha
> >
> 
> _______________________________________________
> Koha mailing list  http://koha-community.org
> 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/20110307/8a839626/attachment.htm 


More information about the Koha mailing list