<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></head><body><div>I will send a script later this evening </div><div>Ernesto Spinak </div><div><br></div><div><br></div><div><br></div><div id="composer_signature"><div style="font-size:85%;color:#575757" dir="auto">Enviado desde mi smartphone Samsung Galaxy.</div></div><div><br></div><div style="font-size:100%;color:#000000"><!-- originalMessage --><div>-------- Mensaje original --------</div><div>De: De Smet Egbert <egbert.desmet@uantwerpen.be> </div><div>Fecha: 10/3/18  08:42  (GMT-03:00) </div><div>A: Piet De Keyser <piet.dekeyser@ucll.be>, Adagilson Batista Bispo da Silva <adagilson@cpqam.fiocruz.br>, 'isis-users' <isis-users@iccisis.org> </div><div>Asunto: Re: [Isis-users] Import RIS Files using MX </div><div><br></div></div>Yes, this is the same idea, only using mx with gizmo to create the tag-replacements. That is for real ISIS-aficionados like Ernesto : 'ISIS for always and for all (purposes/people) "...<br>But the nice thing about his solution - contrary to mine - is that you can put it in a script of mx-commands (and finally the retag command) and therefore run at any time with just the script launching command. If the conversion has to be done regularly that is a clear advantage.<br><br>Egbert de Smet<br>Universiteit Antwerpen<br>________________________________________<br>From: Piet De Keyser <piet.dekeyser@ucll.be><br>Sent: Friday, March 9, 2018 11:38 PM<br>To: De Smet Egbert; Adagilson Batista Bispo da Silva; 'isis-users'<br>Subject: Re: Import RIS Files using MX<br><br>Dear colleague,<br><br>Let me quote here from a mail put on this list by Ernesto Spinak in January 2017, where he explains how to convert tagged files into an ISIS database using MX. It seems rather complex at first fight, but I can asure you it works fine.<br><br>Piet de Keyser<br>Belgium<br><br>Text from here was by Ernesto Spinak:<br><br>Process<br>Create a gizmo with all labels declared in your source file<br>in this case, we prepared a text (take care of spaces) to create a gizmo named glabel<br>NMN |!v001!<br>DES: |!v002!<br>DIM: |!v003!<br>DOBN: |!v004!<br>DON: |!v005!<br>LOC: |!v006!<br>1) mx seq=labels.txt create=glabel now<br><br>2) read the source file into a database<br>   mx seq=CCH2.txt lw=8000 create=xxx now -all tell=100<br><br>3) mxcp xxx create=xxx1 clean   (get rid of extra spaeces and garbage)<br><br>4) create an ID text with cisis labels<br>mx xxx1 gizmo=glabel "pft=if s(v1):'!v001!' then '!ID 000000'/ v1 else v1 fi/" lw=8000 now > xxx2.txt<br><br>5) ID2I xxx2.txt create=final<br><br>6) retag your final mst<br><br>Result<br>mfn=     1<br>  1  «J 2»<br>  2  «Insignia (cockade) worn by member of German Schutztruppe; round rosette-shaped; red, white, black»<br>  5  «Mr Borg, 1956»<br>  6  «Alte Feste, Store Room»<br>..<br>mfn=     2<br>  1  «J 5 (a, b)»<br>  2  «Medals û Herero-Land, Gross-Namaland»<br>  5  «Sergeant-Major A. Bok, 1956»<br>  6  «Alte Feste, Store Room»<br>..<br>mfn=     3<br>  1  «J 6 (a, b)»<br>  2  «Medals 1904-1908, 1914-1918»<br>  5  «Sergeant-Major A. Bok, 1956»<br>  6  «Alte Feste, Store Room»<br><br><br>applause, drums and horns!!!!<br><br>Enjoy it<br>Ernesto Spinak<br>________________________________________<br>Van: isis-users <isis-users-bounces+piet.dekeyser=ucll.be@iccisis.org> namens De Smet Egbert <egbert.desmet@uantwerpen.be><br>Verzonden: vrijdag 9 maart 2018 22:24<br>Aan: Adagilson Batista Bispo da Silva; 'isis-users'<br>Onderwerp: Re: [Isis-users] Import RIS Files using MX<br><br>Hi,<br>the RIS format actually is a 'tagged text' file, with the tag being 2 characters, a space, a hyphen and a space, e.g.<br>AU - Dostojevski<br><br>So one way to deal with it would be to use the CISIS-utility 'ID2I' (also part of ABCD in the cgi-bin folder), which however expects the tag to be in the format of : !vXXX!<br>So you would need to process the input RIS-file with a 'search and replace' action (available in most text-editors) to change AU- to v001! to put the authors in v1, and so on.<br><br>This also requires all records to start with the same tag, so as to allow adding a 'record separator' with the same 'search and replace' tool, e.g.<br>search : AU -<br>replace with : !ID 000000<br>                        AU -<br><br>Well, I have never tried it but it should work in principle.<br>In ABCD itself (utilities/import) there is a way of defining a table for conversion of text-input into ISIS-records, with the possibility to define tag-texts and the destination fields for each tag.<br><br>Egbert de Smet<br>Universiteit Antwerpen<br>________________________________________<br>From: isis-users <isis-users-bounces+egbert.desmet=ua.ac.be@iccisis.org> on behalf of Adagilson Batista Bispo da Silva <adagilson@cpqam.fiocruz.br><br>Sent: Friday, March 9, 2018 9:15 PM<br>To: 'isis-users'<br>Subject: [Isis-users] Import RIS Files using MX<br><br>Hello,<br><br>I wonder if I can import RIS files using MX. Is it possible?<br><br><br><br>Eu gostaria de saber se há como importar arquivos RIS para uma base CDS/ISIS usando MX. É possível?<br><br><br><br>Adagilson Silva<br><br>Instituto Aggeu Magalhães<br><br>Pesquisa na Biblioteca<br><br>http://bvsfiocruz.fiocruz.br/<br>Repositório Institucional ARCA<br>https://www.arca.fiocruz.br/​<br>Teses Fiocruz<br>http://teses.icict.fiocruz.br/<br>_______________________________________________<br>isis-users mailing list<br>isis-users@iccisis.org<br>To manage your own subscription options go to: http://lists.iccisis.org/listinfo/isis-users<br>Or contact Henk Rutten: hlrutten@xs4all.nl<br>_______________________________________________<br>isis-users mailing list<br>isis-users@iccisis.org<br>To manage your own subscription options go to: http://lists.iccisis.org/listinfo/isis-users<br>Or contact Henk Rutten: hlrutten@xs4all.nl<br></body></html>