[Koha] Batch modification: Possibility to copy subfield content to another field's fixed positions?

Bruns, Anke Anke.Bruns at gwdg.de
Mon Feb 28 21:25:25 NZDT 2022


Hi Lauren,

thanks a lot! I was just about to ask the MarcEdit forums, but now I'll try this first.

Regards,
Anke

> -----Ursprüngliche Nachricht-----
> Von: Lauren Denny <lauren_denny at sil.org>
> Gesendet: Donnerstag, 24. Februar 2022 21:23
> An: Bruns, Anke <Anke.Bruns at gwdg.de>
> Cc: Elaine Bradtke <eb at efdss.org>; koha at lists.katipo.co.nz
> Betreff: Re: [Koha] Batch modification: Possibility to copy subfield content to
> another field's fixed positions?
> 
> Hi Anke,
> 
> Try this site:
> https://marcedit.reeset.net/edit-subfield-append-prepend-and-change-subfield-
> functions under Moving Subfield Data:
> 
> 
> I just tried it on some of our records in the MarcEdit 7.5 and it worked.
> 
> 
> Lauren
> 
> On Thu, Feb 24, 2022 at 9:26 AM Bruns, Anke <Anke.Bruns at gwdg.de
> <mailto:Anke.Bruns at gwdg.de> > wrote:
> 
> 
> 	Hi Elaine,
> 
> 	this is a very interesting hint, thank you.
> 
> 	The solution would require using MarcEdit's delimited text translator.
> However, I tried, but either this feature wasn't integrated at the time or for
> whatever reason, it doesn't work as expected. I just see the bracketed field and
> subfield numbers instead of the content of 260$c.
> 	Maybe I did something wrong?
> 	I tried round, square and curly brackets, as in the video I couldn't quite
> see which ones were used.
> 
> 	Best regards,
> 	Anke
> 
> 
> 
> 
> 	--
> 	Anke Bruns M.A. (LIS)
> 	Arbeitsgruppe "Anwendungs- und Informationssysteme"
> 	E-Mail: anke.bruns at gwdg.de <mailto:anke.bruns at gwdg.de>
> 	---------------------------------------
> 	Achtung! Neue Kontaktdaten!
> 
> 	Gesellschaft für wissenschaftliche Datenverarbeitung mbH Göttingen
> (GWDG)
> 	Burckhardtweg 4, 37077 Göttingen, URL: https://gwdg.de
> 
> 	Support: Tel.: +49 551 39-30000, URL: https://gwdg.de/support
> 	Sekretariat: Tel.: +49 551 39-30001, E-Mail: gwdg at gwdg.de
> <mailto:gwdg at gwdg.de>
> 
> 	Geschäftsführer: Prof. Dr. Ramin Yahyapour
> 	Aufsichtsratsvorsitzender: Prof. Dr. Norbert Lossau
> 	Sitz der Gesellschaft: Göttingen
> 	Registergericht: Göttingen, Handelsregister-Nr. B 598
> 	---------------------------------------
> 	Zertifiziert nach ISO 9001
> 	---------------------------------------
> 
> 
> 
> 
> 
> 	> -----Ursprüngliche Nachricht-----
> 	> Von: Elaine Bradtke <eb at efdss.org <mailto:eb at efdss.org> >
> 	> Gesendet: Dienstag, 22. Februar 2022 19:13
> 	> An: Bruns, Anke <Anke.Bruns at gwdg.de
> <mailto:Anke.Bruns at gwdg.de> >
> 	> Cc: Stowasser Rainer <rainer.stowasser at zamg.ac.at
> <mailto:rainer.stowasser at zamg.ac.at> >; koha at lists.katipo.co.nz
> <mailto:koha at lists.katipo.co.nz>
> 	> Betreff: Re: [Koha] Batch modification: Possibility to copy subfield
> content to
> 	> another field's fixed positions?
> 	>
> 	> My best guess would be export the data  and use MarcEdit to do it
> there.
> 	> Here's an old video that discusses a feature under development in
> 2011.
> 	> https://www.youtube.com/watch?v=dhx_hpdPZFI
> 	> Elaine
> 	> VWML <https://vwml.org>
> 	>
> 	>
> 	>
> 	> On Mon, Feb 21, 2022 at 12:25 AM Bruns, Anke
> <Anke.Bruns at gwdg.de <mailto:Anke.Bruns at gwdg.de>
> 	> <mailto:Anke.Bruns at gwdg.de <mailto:Anke.Bruns at gwdg.de> > >
> wrote:
> 	>
> 	>
> 	>       Hi,
> 	>
> 	>       thanks for the replies! As I understand, we should, instead of
> 	> "physically" copying the content to the fixed field, map the search
> index
> 	> differently.
> 	>
> 	>       Personally, I would prefer a copy possibility, as probably the year
> index
> 	> was meant by Koha developers to search 008 for a reason (wasn't
> it?). And
> 	> wouldn't a change of the index be overwritten with a new Koha
> upgrade?
> 	>
> 	>       The copy possibility into specified positions of fixed fields would
> come
> 	> in handy for some other purposes as well, so is there really no way to
> do it?
> 	>
> 	>       Have a good week,
> 	>       Anke
> 	>
> 	>
> 	>
> 	>       --
> 	>       Anke Bruns M.A. (LIS)
> 	>       Arbeitsgruppe "Anwendungs- und Informationssysteme"
> 	>       E-Mail: anke.bruns at gwdg.de <mailto:anke.bruns at gwdg.de>
> <mailto:anke.bruns at gwdg.de <mailto:anke.bruns at gwdg.de> >
> 	>       ---------------------------------------
> 	>       Achtung! Neue Kontaktdaten!
> 	>
> 	>       Gesellschaft für wissenschaftliche Datenverarbeitung mbH
> Göttingen
> 	> (GWDG)
> 	>       Burckhardtweg 4, 37077 Göttingen, URL: https://gwdg.de
> 	>
> 	>       Support: Tel.: +49 551 39-30000, URL: https://gwdg.de/support
> 	>       Sekretariat: Tel.: +49 551 39-30001, E-Mail: gwdg at gwdg.de
> <mailto:gwdg at gwdg.de>
> 	> <mailto:gwdg at gwdg.de <mailto:gwdg at gwdg.de> >
> 	>
> 	>       Geschäftsführer: Prof. Dr. Ramin Yahyapour
> 	>       Aufsichtsratsvorsitzender: Prof. Dr. Norbert Lossau
> 	>       Sitz der Gesellschaft: Göttingen
> 	>       Registergericht: Göttingen, Handelsregister-Nr. B 598
> 	>       ---------------------------------------
> 	>       Zertifiziert nach ISO 9001
> 	>       ---------------------------------------
> 	>
> 	>
> 	>
> 	>
> 	>
> 	>       > -----Ursprüngliche Nachricht-----
> 	>       > Von: Stowasser Rainer <rainer.stowasser at zamg.ac.at
> <mailto:rainer.stowasser at zamg.ac.at>
> 	> <mailto:rainer.stowasser at zamg.ac.at
> <mailto:rainer.stowasser at zamg.ac.at> > >
> 	>       > Gesendet: Freitag, 18. Februar 2022 13:04
> 	>       > An: Bruns, Anke <Anke.Bruns at gwdg.de
> <mailto:Anke.Bruns at gwdg.de>
> 	> <mailto:Anke.Bruns at gwdg.de <mailto:Anke.Bruns at gwdg.de> > >
> 	>       > Cc: Thomas Klausner <domm at plix.at <mailto:domm at plix.at>
> <mailto:domm at plix.at <mailto:domm at plix.at> > >;
> 	> koha at lists.katipo.co.nz <mailto:koha at lists.katipo.co.nz>
> <mailto:koha at lists.katipo.co.nz <mailto:koha at lists.katipo.co.nz> >
> 	>       > Betreff: Re: [Koha] Batch modification: Possibility to copy
> subfield
> 	> content to
> 	>       > another field's fixed positions?
> 	>       >
> 	>       > Dear Anke
> 	>       >
> 	>       > same answer ;-)
> 	>       >
> 	>       > but a little more work
> 	>       >
> 	>       >
> 	>       > https://wiki.koha-
> community.org/wiki/Understanding_Zebra_indexing
> 	>       >
> 	>       > Kind regards
> 	>       >
> 	>       > Hofrat Mag. Rainer Stowasser
> 	>       > Head of Library and Archives ZAMG
> 	>       >
> 	>       >
> 	>       >       Am 18.02.2022 um 12:34 schrieb Bruns, Anke
> 	> <Anke.Bruns at gwdg.de <mailto:Anke.Bruns at gwdg.de>
> <mailto:Anke.Bruns at gwdg.de <mailto:Anke.Bruns at gwdg.de> >
> 	>       > <mailto:Anke.Bruns at gwdg.de <mailto:Anke.Bruns at gwdg.de>
> <mailto:Anke.Bruns at gwdg.de <mailto:Anke.Bruns at gwdg.de> > > >:
> 	>       >
> 	>       >       Hi,
> 	>       >
> 	>       >       thanks! However, alas, we are on Zebra.
> 	>       >
> 	>       >       Good luck with your solution!
> 	>       >
> 	>       >       Regards,
> 	>       >       Anke
> 	>       >
> 	>       >
> 	>       >
> 	>       >
> 	>       >
> 	>       >
> 	>       >               -----Ursprüngliche Nachricht-----
> 	>       >               Von: Koha <koha-bounces at lists.katipo.co.nz
> <mailto:koha-bounces at lists.katipo.co.nz>  <mailto:koha- <mailto:koha->
> 	> bounces at lists.katipo.co.nz <mailto:bounces at lists.katipo.co.nz> >
> <mailto:koha- <mailto:koha->  <mailto:koha- <mailto:koha-> >
> 	>       > bounces at lists.katipo.co.nz <mailto:bounces at lists.katipo.co.nz>
> <mailto:bounces at lists.katipo.co.nz <mailto:bounces at lists.katipo.co.nz> > > >
> 	> Im Auftrag von Thomas Klausner
> 	>       >               Gesendet: Freitag, 18. Februar 2022 12:31
> 	>       >               An: koha at lists.katipo.co.nz
> <mailto:koha at lists.katipo.co.nz>  <mailto:koha at lists.katipo.co.nz
> <mailto:koha at lists.katipo.co.nz> >
> 	> <mailto:koha at lists.katipo.co.nz <mailto:koha at lists.katipo.co.nz>
> <mailto:koha at lists.katipo.co.nz <mailto:koha at lists.katipo.co.nz> > >
> 	>       >               Betreff: Re: [Koha] Batch modification: Possibility to
> copy
> 	>       > subfield content to
> 	>       >               another field's fixed positions?
> 	>       >
> 	>       >               Hi!
> 	>       >
> 	>       >               On Fri, Feb 18, 2022 at 11:12:22AM +0000, Bruns, Anke
> 	> wrote:
> 	>       >
> 	>       >
> 	>       >
> 	>       >                       in order to be able to use the search index for
> 	>       > publication year, the year
> 	>       >                       must to my knowledge be mentioned in 008,
> positions
> 	>       > 7-10.
> 	>       >                       Is there a way to populate this with the content
> from
> 	>       > 264$c which, in my
> 	>       >                       case, is always a yyyy? In the templates for batch
> 	>       > operations I can only
> 	>       >                       find ways to copy into fields with subfields, not into
> 	>       > fixed fields.
> 	>       >
> 	>       >
> 	>       >
> 	>       >               If you're using ElasticSearch, you could change the
> 	>       > Elasticsearch
> 	>       >               mappings to use 264$c for date-of-publication (instead
> of the
> 	>       > default
> 	>       >               008_/7-10). Though I haven't tested that yet, but we've
> just
> 	> had
> 	>       > a
> 	>       >               meeting where we decided to try it this way... :-)
> 	>       >
> 	>       >               Not really an answer to your question, but if you're only
> 	> asking
> 	>       > the
> 	>       >               question to get the data searchable, it should be still
> usable.
> 	>       >
> 	>       >               Greetings,
> 	>       >               domm
> 	>       >
> 	>       >               --
> 	>       >               #!/usr/bin/perl                             https://domm.plix.at
> 	>       >               for(ref bless{},just'another'perl'hacker){s-:+-$"-
> 	> g&&print$_.$/}
> 	>       >
> _______________________________________________
> 	>       >
> 	>       >               Koha mailing list  http://koha-community.org
> 	>       >               Koha at lists.katipo.co.nz
> <mailto:Koha at lists.katipo.co.nz>  <mailto:Koha at lists.katipo.co.nz
> <mailto:Koha at lists.katipo.co.nz> >
> 	> <mailto:Koha at lists.katipo.co.nz <mailto:Koha at lists.katipo.co.nz>
> <mailto:Koha at lists.katipo.co.nz <mailto:Koha at lists.katipo.co.nz> > >
> 	>       >               Unsubscribe:
> https://lists.katipo.co.nz/mailman/listinfo/koha
> 	>       >
> 	>       >
> 	>       >       _______________________________________________
> 	>       >
> 	>       >       Koha mailing list  http://koha-community.org <http://koha-
> 	>       > community.org/ <http://community.org/>
> <http://community.org/> >
> 	>       >       Koha at lists.katipo.co.nz <mailto:Koha at lists.katipo.co.nz>
> <mailto:Koha at lists.katipo.co.nz <mailto:Koha at lists.katipo.co.nz> >
> 	> <mailto:Koha at lists.katipo.co.nz <mailto:Koha at lists.katipo.co.nz>
> <mailto:Koha at lists.katipo.co.nz <mailto:Koha at lists.katipo.co.nz> > >
> 	>       >       Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
> 	>       >       EXTERNAL EMAIL: Do not click any links or open any
> attachments
> 	> unless
> 	>       > you trust the sender and know the content is safe.
> 	>       >
> 	>
> 	>       _______________________________________________
> 	>
> 	>       Koha mailing list  http://koha-community.org
> 	>       Koha at lists.katipo.co.nz <mailto:Koha at lists.katipo.co.nz>
> <mailto:Koha at lists.katipo.co.nz <mailto:Koha at lists.katipo.co.nz> >
> 	>       Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
> 	>
> 
> 	_______________________________________________
> 
> 	Koha mailing list  http://koha-community.org
> 	Koha at lists.katipo.co.nz <mailto:Koha at lists.katipo.co.nz>
> 	Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
> 



More information about the Koha mailing list