EPrints Technical Mailing List Archive

See the EPrints wiki for instructions on how to join this mailing list and related information.

Message: #10048


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

RE: [EP-tech] Contributor_types not registering on RIS import


CAUTION: This e-mail originated outside the University of Southampton.

Hi again

 

Just to follow up… I am still bewildered by this problem that the contributor type cannot be set in the import process. The namedsets and phrases, the variable definitions, all of it is working perfectly when manually entering data. But for some reason, the line in RIS.pm that assigns the contributor type seems not to work:

 

In the # secondary/tertiary authors section of RIS.pm, is:

    elsif ( grep /$type/, ('THES') )

    {

        &_names($epdata, $entry, ['A3'], 'contributors', 'thesis_advisor');

    }

 

I have tried changing ‘thesis_advsisor’ to ‘editor’

I have tried moving this line to the THES specific section of RIS.pm

 

There are no error messages when I run the import routine. But in the repository, the Contribution is always “UNSPECIFIED”. Is it simply out of the question to set a contributor_type in a bulk import?

 

I am wondering whether the problem lies in the way that an import plugin interacts with eprints.

 

Best wishes

 

Will

 

 

 

 

From: eprints-tech-request@ecs.soton.ac.uk <eprints-tech-request@ecs.soton.ac.uk> On Behalf Of Will Hughes
Sent: 15 March 2025 19:09
To: eprints-tech@ecs.soton.ac.uk
Subject: [EP-tech] Contributor_types not registering on RIS import

 

CAUTION: This e-mail originated outside the University of Southampton.

CAUTION: This e-mail originated outside the University of Southampton.

Hi

 

I wonder if anyone can help me with this problem. I have an revised version of the RIS.pm plugin, which generally is very reliable. However, it is not picking up contributor types for editors and thesis advisors. I attach my version of the plugin and the small sample metadata.ris file I am using.

 

I have been over and over this in immense detail, and I must be missing something.

 

Please let me know of you can spot what is going wrong with this import!

 

Thanks in advance

 

Best wishes

 

Will   

 

Will Hughes

Emeritus Professor of Construction Management and Economics

School of the Built Environment     

University of Reading, PO Box 219, Whiteknights

Reading, RG6 6DF, UK