[Koha-cvs] CVS: koha/marc perlmarcstructure,1.2,1.3
Paul POULAIN
tipaul at users.sourceforge.net
Wed Jun 5 15:05:21 CEST 2002
- Previous message: [Koha-cvs] CVS: koha-html/intranet-html/includes/templates/french/images acq-acq.gif,NONE,1.1 acq-cat.gif,NONE,1.1 acq-crc.gif,NONE,1.1 acq-hom.gif,NONE,1.1 acq-mem.gif,NONE,1.1 acq-rep.gif,NONE,1.1 add-biblio.gif,NONE,1.1 add-child.gif,NONE,1.1 add-item.gif,NONE,1.1 add-order.gif,NONE,1.1 arrow-down-cat.gif,NONE,1.1 arrow-long-cat.gif,NONE,1.1 arrow-long-issues.gif,NONE,1.1 arrow-right-cat.gif,NONE,1.1 arrow-right-issues.gif,NONE,1.1 background-mem.gif,NONE,1.1 biblio.html,NONE,1.1 blackdot.gif,NONE,1.1 blankdot.gif,NONE,1.1 button-add-member.gif,NONE,1.1 button-add-variable.gif,NONE,1.1 button-issues.gif,NONE,1.1 button-next-borrower.gif,NONE,1.1 button-returns.gif,NONE,1.1 button-transfers.gif,NONE,1.1 cancel-mem.gif,NONE,1.1 cancel-requests.gif,NONE,1.1 cat-acq.gif,NONE,1.1 catalogue-spot-1.gif,NONE,1.1 catalogue-spot-2.gif,NONE,1.1 cat-cat.gif,NONE,1.1 cat-cat.jpg,NONE,1.1 cat-crc.gif,NONE,1.1 cat-hom.gif,NONE,1.1 cat-mem.gif,NONE,1.1 cat-rep.gif,NONE,1.1 clear-button.gif,NONE,1.1 confirm-mem.gif,NONE,1.1 continue.gif,NONE,1.1 crc-acq.gif,NONE,1.1 crc-cat.gif,NONE,1.1 crc-crc.gif,NONE,1.1 crc-hom.gif,NONE,1.1 crc-mem.gif,NONE,1.1 crc-rep.gif,NONE,1.1 create-man-credit.gif,NONE,1.1 create-man-invoice.gif,NONE,1.1 delete-mem.gif,NONE,1.1 front-acquisitions.gif,NONE,1.1 front-admin.gif,NONE,1.1 front-arrow-purple.gif,NONE,1.1 front-circulation.gif,NONE,1.1 front-member.gif,NONE,1.1 front-mouseover-acquisition.gif,NONE,1.1 front-mouseover-acquisitions.gif,NONE,1.1 front-mouseover-admin.gif,NONE,1.1 front-mouseover-circulation.gif,NONE,1.1 front-mouseover-member.gif,NONE,1.1 front-mouseover-reports.gif,NONE,1.1 front-mouseover-search.gif,NONE,1.1 front-reports.gif,NONE,1.1 front-search.gif,NONE,1.1 holder.gif,NONE,1.1 inside-koha-bottom.gif,NONE,1.1 inside-menu-catalogue.gif,NONE,1.1 inside-menu-members.gif,NONE,1.1 inside-top-join.gif,NONE,1.1 inside-top-member.gif,NONE,1.1 inside-top-search.gif,NONE,1.1 intranet-top menu.psd,NONE,1.1 issues-spot-1.gif,NONE,1.1 issues-spot-2.gif,NONE,1.1 koha-front-background.gif,NONE,1.1 koha-front.jpg,NONE,1.1 koha-front-koha.gif,NONE,1.1 mem-acq.gif,NONE,1.1 members-spot-1.gif,NONE,1.1 members-spot-2.gif,NONE,1.1 mem-cat.gif,NONE,1.1 mem-crc.gif,NONE,1.1 mem-hom.gif,NONE,1.1 mem-mem.gif,NONE,1.1 mem-rep.gif,NONE,1.1 menu-home.gif,NONE,1.1 menu-join.gif,NONE,1.1 menu-login.gif,NONE,1.1 menu-search.gif,NONE,1.1 modify-mem.gif,NONE,1.1 modify-requests.gif,NONE,1.1 mouseover-home.gif,NONE,1.1 mouseover-join.gif,NONE,1.1 mouseover-member.gif,NONE,1.1 mouseover-search.gif,NONE,1.1 new-basket.gif,NONE,1.1 new-basket-short.gif,NONE,1.1 new-supplier.gif,NONE,1.1 numbers-cat-1.gif,NONE,1.1 numbers-cat-2.gif,NONE,1.1 numbers-cat-3.gif,NONE,1.1 numbers-issues-1.gif,NONE,1.1 numbers-issues-2.gif,NONE,1.1 numbers-issues-3.gif,NONE,1.1 numbers-mem-1.gif,NONE,1.1 numbers-mem-2.gif,NONE,1.1 numbers-mem-3.gif,NONE,1.1 numbers-mem-4.gif,NONE,1.1 ok.gif,NONE,1.1 ok-start-search.gif,NONE,1.1 overdues.jpg,NONE,1.1 pay-fines.gif,NONE,1.1 place-request.gif,NONE,1.1 reading-record.gif,NONE,1.1 receive-order.gif,NONE,1.1 receive-order-short.gif,NONE,1.1 rep-acq.gif,NONE,1.1 rep-cat.gif,NONE,1.1 rep-crc.gif,NONE,1.1 rep-home.gif,NONE,1.1 rep-mem.gif,NONE,1.1 reports-mouseover.gif,NONE,1.1 reports-mouseover.psd,NONE,1.1 rep-rep.gif,NONE,1.1 requests.gif,NONE,1.1 save-basket.gif,NONE,1.1 save-changes.gif,NONE,1.1 search-button.gif,NONE,1.1 update-renewals.gif,NONE,1.1 view-account.gif,NONE,1.1 view-basket.gif,NONE,1.1
- Next message: [Koha-cvs] CVS: koha/acqui.simple marcimport.pl,1.6.2.10,1.6.2.11
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/koha/koha/marc
In directory usw-pr-cvs1:/tmp/cvs-serv28452/marc
Modified Files:
perlmarcstructure
Log Message:
Proposing simplified perlmarcstructure. Interesting mainly for Steve
Index: perlmarcstructure
===================================================================
RCS file: /cvsroot/koha/koha/marc/perlmarcstructure,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** perlmarcstructure 29 May 2002 22:11:20 -0000 1.2
--- perlmarcstructure 5 Jun 2002 13:05:19 -0000 1.3
***************
*** 11,32 ****
$tags is a hash reference
! $tags->{1}=$tag
! $tags->{2}=$tag
! $tags->{3}=$tag
! $tag->{tag}=110
! $tag->{indicator}='04'
! $tag->{tagid}=573498
! $tag->{subfields}=$subfields
! $subfields->{1}=$subfield
! $subfields->{2}=$subfield
! $subfields->{3}=$subfield
! $subfield is a hash reference
- $subfield->{mark}='a'
- $subfield->{value}='MacDonald, John A.'
This takes care of possible repeating tags and subfields as well as ordering of
--- 11,45 ----
$tags is a hash reference
! $tags->{$tag}
! $tags->{$tag}->{$tagorder}
! $tags->{$tag}->{$tagorder}->{indicator}='04'
! $tags->{$tag}->{$tagorder}->{tagid}=573498
! $tags->{$tag}->{$tagorder}->{subfields}=$subfields
! $subfields is a hash reference
+ $subfields->{$mark}
+ $subfields->{$mark}->{$subfieldorder}
+ $subfields->{$mark}->{$subfieldorder}='MacDonald, John A.'
! Sample :
! bibid=58973,
! 110 ## $afirst text $asecond text $bthird text
! 120 ## $alast text ??
! 120 01 $nno, another text
! in perlmarcstructure, it can be writen :
! $record->{bibid}=58973
! $record->{tags}->{110}->{1}->{indicator}='##';
! $record->{tags}->{110}->{1}->->{a}->{1}='first text';
! $record->{tags}->{110}->{1}->{a}->{2}='second text';
! $record->{tags}->{110}->{1}->{b}->{1}='third text';
!
! $record->{tags}->{120}->{1}->{indicator}='##';
! $record->{tags}->{120}->{1}->{a}->{1}='last text ??';
!
! $record->{tags}->{120}->{2}->{indicator}='01';
! $record->{tags}->{120}->{2}->{n}->{1}='no, another text';
This takes care of possible repeating tags and subfields as well as ordering of
- Previous message: [Koha-cvs] CVS: koha-html/intranet-html/includes/templates/french/images acq-acq.gif,NONE,1.1 acq-cat.gif,NONE,1.1 acq-crc.gif,NONE,1.1 acq-hom.gif,NONE,1.1 acq-mem.gif,NONE,1.1 acq-rep.gif,NONE,1.1 add-biblio.gif,NONE,1.1 add-child.gif,NONE,1.1 add-item.gif,NONE,1.1 add-order.gif,NONE,1.1 arrow-down-cat.gif,NONE,1.1 arrow-long-cat.gif,NONE,1.1 arrow-long-issues.gif,NONE,1.1 arrow-right-cat.gif,NONE,1.1 arrow-right-issues.gif,NONE,1.1 background-mem.gif,NONE,1.1 biblio.html,NONE,1.1 blackdot.gif,NONE,1.1 blankdot.gif,NONE,1.1 button-add-member.gif,NONE,1.1 button-add-variable.gif,NONE,1.1 button-issues.gif,NONE,1.1 button-next-borrower.gif,NONE,1.1 button-returns.gif,NONE,1.1 button-transfers.gif,NONE,1.1 cancel-mem.gif,NONE,1.1 cancel-requests.gif,NONE,1.1 cat-acq.gif,NONE,1.1 catalogue-spot-1.gif,NONE,1.1 catalogue-spot-2.gif,NONE,1.1 cat-cat.gif,NONE,1.1 cat-cat.jpg,NONE,1.1 cat-crc.gif,NONE,1.1 cat-hom.gif,NONE,1.1 cat-mem.gif,NONE,1.1 cat-rep.gif,NONE,1.1 clear-button.gif,NONE,1.1 confirm-mem.gif,NONE,1.1 continue.gif,NONE,1.1 crc-acq.gif,NONE,1.1 crc-cat.gif,NONE,1.1 crc-crc.gif,NONE,1.1 crc-hom.gif,NONE,1.1 crc-mem.gif,NONE,1.1 crc-rep.gif,NONE,1.1 create-man-credit.gif,NONE,1.1 create-man-invoice.gif,NONE,1.1 delete-mem.gif,NONE,1.1 front-acquisitions.gif,NONE,1.1 front-admin.gif,NONE,1.1 front-arrow-purple.gif,NONE,1.1 front-circulation.gif,NONE,1.1 front-member.gif,NONE,1.1 front-mouseover-acquisition.gif,NONE,1.1 front-mouseover-acquisitions.gif,NONE,1.1 front-mouseover-admin.gif,NONE,1.1 front-mouseover-circulation.gif,NONE,1.1 front-mouseover-member.gif,NONE,1.1 front-mouseover-reports.gif,NONE,1.1 front-mouseover-search.gif,NONE,1.1 front-reports.gif,NONE,1.1 front-search.gif,NONE,1.1 holder.gif,NONE,1.1 inside-koha-bottom.gif,NONE,1.1 inside-menu-catalogue.gif,NONE,1.1 inside-menu-members.gif,NONE,1.1 inside-top-join.gif,NONE,1.1 inside-top-member.gif,NONE,1.1 inside-top-search.gif,NONE,1.1 intranet-top menu.psd,NONE,1.1 issues-spot-1.gif,NONE,1.1 issues-spot-2.gif,NONE,1.1 koha-front-background.gif,NONE,1.1 koha-front.jpg,NONE,1.1 koha-front-koha.gif,NONE,1.1 mem-acq.gif,NONE,1.1 members-spot-1.gif,NONE,1.1 members-spot-2.gif,NONE,1.1 mem-cat.gif,NONE,1.1 mem-crc.gif,NONE,1.1 mem-hom.gif,NONE,1.1 mem-mem.gif,NONE,1.1 mem-rep.gif,NONE,1.1 menu-home.gif,NONE,1.1 menu-join.gif,NONE,1.1 menu-login.gif,NONE,1.1 menu-search.gif,NONE,1.1 modify-mem.gif,NONE,1.1 modify-requests.gif,NONE,1.1 mouseover-home.gif,NONE,1.1 mouseover-join.gif,NONE,1.1 mouseover-member.gif,NONE,1.1 mouseover-search.gif,NONE,1.1 new-basket.gif,NONE,1.1 new-basket-short.gif,NONE,1.1 new-supplier.gif,NONE,1.1 numbers-cat-1.gif,NONE,1.1 numbers-cat-2.gif,NONE,1.1 numbers-cat-3.gif,NONE,1.1 numbers-issues-1.gif,NONE,1.1 numbers-issues-2.gif,NONE,1.1 numbers-issues-3.gif,NONE,1.1 numbers-mem-1.gif,NONE,1.1 numbers-mem-2.gif,NONE,1.1 numbers-mem-3.gif,NONE,1.1 numbers-mem-4.gif,NONE,1.1 ok.gif,NONE,1.1 ok-start-search.gif,NONE,1.1 overdues.jpg,NONE,1.1 pay-fines.gif,NONE,1.1 place-request.gif,NONE,1.1 reading-record.gif,NONE,1.1 receive-order.gif,NONE,1.1 receive-order-short.gif,NONE,1.1 rep-acq.gif,NONE,1.1 rep-cat.gif,NONE,1.1 rep-crc.gif,NONE,1.1 rep-home.gif,NONE,1.1 rep-mem.gif,NONE,1.1 reports-mouseover.gif,NONE,1.1 reports-mouseover.psd,NONE,1.1 rep-rep.gif,NONE,1.1 requests.gif,NONE,1.1 save-basket.gif,NONE,1.1 save-changes.gif,NONE,1.1 search-button.gif,NONE,1.1 update-renewals.gif,NONE,1.1 view-account.gif,NONE,1.1 view-basket.gif,NONE,1.1
- Next message: [Koha-cvs] CVS: koha/acqui.simple marcimport.pl,1.6.2.10,1.6.2.11
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Koha-cvs
mailing list