EPrints Technical Mailing List Archive

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

Message: #00054


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

[EP-tech] Re: FW: Re: Changing "Deposited By" for items?

  • To: Alex Birchall <a.birchall@mdx.ac.uk>
  • Subject: [EP-tech] Re: FW: Re: Changing "Deposited By" for items?
  • From: Yuri <yurj@alfa.it>
  • Date: Wed, 29 Feb 2012 15:42:28 +0100

Il 29/02/2012 15:35, Alex Birchall ha scritto:
Hi Yuri,

Thanks for that, but it is not immediately clear to me how this could be achieved using ep3xml.  I have exported a set of records in ep3xml format, but cannot see any reference in the file as to the identity of the depositor.

Please could you give me a little more guidance?

I think you can specify it at command line:

http://wiki.eprints.org/w/API:bin/import


     *--user USERID/USERNAME*

For eprint datasets only. (not user or subject).

Sets the userid/username of the user in the system who will own the imported records.

Usually required for importing EPrint records. This may not be required if the import format contains the userid value, eg. an import in the EPrints 3 XML format.

If this is an integer then it is assumed to be the userid of the user, otherwise it is assumed to be the username.

You may wish to create one or more "bulk import" users and make imported eprint records belong to them.

====

I've tried to do an export, and I get the userid as:

<userid><the userid number></userid>