[Isis-users] Import RIS Files using MX

spinaker spinaker at adinet.com.uy
Sat Mar 10 14:41:14 CET 2018


I will send a script later this evening Ernesto Spinak 


Enviado desde mi smartphone Samsung Galaxy.
-------- Mensaje original --------De: De Smet Egbert <egbert.desmet at uantwerpen.be> Fecha: 10/3/18  08:42  (GMT-03:00) A: Piet De Keyser <piet.dekeyser at ucll.be>, Adagilson Batista Bispo da Silva <adagilson at cpqam.fiocruz.br>, 'isis-users' <isis-users at iccisis.org> Asunto: Re: [Isis-users] Import RIS Files using MX 
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) "...
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.

Egbert de Smet
Universiteit Antwerpen
________________________________________
From: Piet De Keyser <piet.dekeyser at ucll.be>
Sent: Friday, March 9, 2018 11:38 PM
To: De Smet Egbert; Adagilson Batista Bispo da Silva; 'isis-users'
Subject: Re: Import RIS Files using MX

Dear colleague,

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.

Piet de Keyser
Belgium

Text from here was by Ernesto Spinak:

Process
Create a gizmo with all labels declared in your source file
in this case, we prepared a text (take care of spaces) to create a gizmo named glabel
NMN |!v001!
DES: |!v002!
DIM: |!v003!
DOBN: |!v004!
DON: |!v005!
LOC: |!v006!
1) mx seq=labels.txt create=glabel now

2) read the source file into a database
   mx seq=CCH2.txt lw=8000 create=xxx now -all tell=100

3) mxcp xxx create=xxx1 clean   (get rid of extra spaeces and garbage)

4) create an ID text with cisis labels
mx xxx1 gizmo=glabel "pft=if s(v1):'!v001!' then '!ID 000000'/ v1 else v1 fi/" lw=8000 now > xxx2.txt

5) ID2I xxx2.txt create=final

6) retag your final mst

Result
mfn=     1
  1  «J 2»
  2  «Insignia (cockade) worn by member of German Schutztruppe; round rosette-shaped; red, white, black»
  5  «Mr Borg, 1956»
  6  «Alte Feste, Store Room»
..
mfn=     2
  1  «J 5 (a, b)»
  2  «Medals û Herero-Land, Gross-Namaland»
  5  «Sergeant-Major A. Bok, 1956»
  6  «Alte Feste, Store Room»
..
mfn=     3
  1  «J 6 (a, b)»
  2  «Medals 1904-1908, 1914-1918»
  5  «Sergeant-Major A. Bok, 1956»
  6  «Alte Feste, Store Room»


applause, drums and horns!!!!

Enjoy it
Ernesto Spinak
________________________________________
Van: isis-users <isis-users-bounces+piet.dekeyser=ucll.be at iccisis.org> namens De Smet Egbert <egbert.desmet at uantwerpen.be>
Verzonden: vrijdag 9 maart 2018 22:24
Aan: Adagilson Batista Bispo da Silva; 'isis-users'
Onderwerp: Re: [Isis-users] Import RIS Files using MX

Hi,
the RIS format actually is a 'tagged text' file, with the tag being 2 characters, a space, a hyphen and a space, e.g.
AU - Dostojevski

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!
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.

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.
search : AU -
replace with : !ID 000000
                        AU -

Well, I have never tried it but it should work in principle.
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.

Egbert de Smet
Universiteit Antwerpen
________________________________________
From: isis-users <isis-users-bounces+egbert.desmet=ua.ac.be at iccisis.org> on behalf of Adagilson Batista Bispo da Silva <adagilson at cpqam.fiocruz.br>
Sent: Friday, March 9, 2018 9:15 PM
To: 'isis-users'
Subject: [Isis-users] Import RIS Files using MX

Hello,

I wonder if I can import RIS files using MX. Is it possible?



Eu gostaria de saber se há como importar arquivos RIS para uma base CDS/ISIS usando MX. É possível?



Adagilson Silva

Instituto Aggeu Magalhães

Pesquisa na Biblioteca

http://bvsfiocruz.fiocruz.br/
Repositório Institucional ARCA
https://www.arca.fiocruz.br/​
Teses Fiocruz
http://teses.icict.fiocruz.br/
_______________________________________________
isis-users mailing list
isis-users at iccisis.org
To manage your own subscription options go to: http://lists.iccisis.org/listinfo/isis-users
Or contact Henk Rutten: hlrutten at xs4all.nl
_______________________________________________
isis-users mailing list
isis-users at iccisis.org
To manage your own subscription options go to: http://lists.iccisis.org/listinfo/isis-users
Or contact Henk Rutten: hlrutten at xs4all.nl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.iccisis.org/pipermail/isis-users/attachments/20180310/8c48bc58/attachment.html>


More information about the isis-users mailing list