EPrints Technical Mailing List Archive

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

Message: #09853


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

RE: [EP-tech] How to remove old subject and add new subject in eprint


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

Hi Hirak,

Do you know how your subject tree was originally configured?

 

It could have been made as a subject file, following these instructions:

https://wiki.eprints.org/w/API:bin/import_subjects

or it might have been managed in the web interface (Admin -> Config tools -> Edit subject).

 

There are two ways of editing the subjects:-

  • export into either a text or XML document; edit the document; import the document
  • use the web interface to make changes – this is normally quicker for small edits.

 

I can provide more information about how to do either of these things.

 

One thing that neither of the options does it to resolve items that have been assigned one subject, that you want to replace with a new one.

If e.g. you want to remove 'division_abc'; add 'division_xyz' and move anything that belongs to division_abc to division_xyz.

I have a script that does this – it's not fully-commented – but I can add those and share it.

 

Let me know the answer to the first question and I will help some more.

 

Cheers,

John

 

From: eprints-tech-request@ecs.soton.ac.uk <eprints-tech-request@ecs.soton.ac.uk> On Behalf Of Hirak Jyoti Hazarika
Sent: Tuesday, October 22, 2024 5:34 AM
To: eprints-tech@ecs.soton.ac.uk
Subject: [EP-tech] How to remove old subject and add new subject in eprint

 

CAUTION: External Message. Use caution opening links and attachments.

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

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

Dear Sir/ Ma'am,

I hope this message finds you well. I am currently working on updating the subject categories in our EPrints repository, and I require guidance on the following tasks:

  1. Removing an old subject from the subject list.
  2. Adding a new subject to replace or supplement the existing ones.

I would appreciate it if you could provide step-by-step instructions or direct me to any available resources or documentation that could assist with this process.

Thank you for your time and support. I look forward to your guidance.