OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



Support for two DOI prefixes?

Are you responsible for making OJS work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.

Moderators: jmacgreg, btbell, michael, bdgregg, barbarah, asmecher

Forum rules
What to do if you have a technical problem with OJS:

1. Search the forum. You can do this from the Advanced Search Page or from our Google Custom Search, which will search the entire PKP site. If you are encountering an error, we especially recommend searching the forum for said error.

2. Check the FAQ to see if your question or error has already been resolved.

3. Post a question, but please, only after trying the above two solutions. If it's a workflow or usability question you should probably post to the OJS Editorial Support and Discussion subforum; if you have a development question, try the OJS Development subforum.

Support for two DOI prefixes?

Postby spekala » Mon Apr 14, 2014 10:38 am

Hello,

The previous publisher for one of our journals assigned DOIs using their own DOI prefix. Although we transferred DOI ownership for the journal, the prefixes from the old publisher remain (see: http://help.crossref.org/#transferring_doi_ownership). What we need is for the older journal articles to display the DOIs that were transferred from the previous publisher (with their prefix), and the newer articles that we published to display the DOIs with our prefix. However, the OJS DOI plugin settings only allow you to enter a single prefix. Do you have any suggestions?

Thank you very much,
Shayna
spekala
 
Posts: 15
Joined: Thu Jan 23, 2014 7:57 am

Re: Support for two DOI prefixes?

Postby asmecher » Mon Apr 14, 2014 3:36 pm

Hi Shayna,

You can enter your old DOIs into the database directly. These are stored in the article_settings table with setting_name='pub-id::doi', setting_type='string', locale='', setting_value equal to your DOI, and article_id corresponding to the article you want to attach your DOI to.

Regards,
Alec Smecher
Public Knowledge Project Team
asmecher
 
Posts: 9058
Joined: Wed Aug 10, 2005 12:56 pm

Re: Support for two DOI prefixes?

Postby keir » Wed Apr 16, 2014 9:24 pm

Now that is the way to go. Yay!

One of our editors will be much happier.


Thankyou
keir
 
Posts: 19
Joined: Sun Aug 12, 2012 9:43 pm

Re: Support for two DOI prefixes?

Postby swing » Thu Apr 17, 2014 2:51 am

Hi Shayna,

You could use the Public Identifiers XML Plugin (import and export of public identifiers) for this.
For that you will have to create an XML file, something like this:
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pubIds SYSTEM "pubIds.dtd" >

<pubIds>
<pubId pubIdType="doi" pubObjectType="Article" pubObjectId="1">10.1234/lt.v1i1.1</pubId>
<pubId pubIdType="doi" pubObjectType="Article" pubObjectId="2">10.1234/lt.v1i1.2</pubId>
</pubIds>

The root element is "pubIds". It contains "pubId" elements -- for each article, you would like to import the DOI for, you will have to define one pubId elment.
"pubIdType" attribute has to be "doi" in your case.
"pubObjectType" is the type of the OJS object you are assigning the DOI to -- has to be "Article" in your case.
"pubObjectId" is the OJS number/id of the article.
And the value of the pubId element is the actual DOI for that article.

Best,
Bozana
swing
 
Posts: 142
Joined: Tue Oct 09, 2007 2:59 am

Re: Support for two DOI prefixes?

Postby spekala » Thu Apr 17, 2014 5:36 am

Thank you Alec and Bozana. Those are both helpful suggestions!

When using the Public Identifiers XML Plugin, is there an easy way to edit/delete the DOIs after you have imported them?
spekala
 
Posts: 15
Joined: Thu Jan 23, 2014 7:57 am

Re: Support for two DOI prefixes?

Postby swing » Thu Apr 17, 2014 5:54 am

No, unfortunately not -- they are seen/treated as already assigned i.e. final.
swing
 
Posts: 142
Joined: Tue Oct 09, 2007 2:59 am

Re: Support for two DOI prefixes?

Postby asmecher » Thu Apr 17, 2014 7:06 am

Hi spekala,

You can edit DOIs in the database directly -- see e.g. viewtopic.php?f=8&t=10141 for details.

Regards,
Alec Smecher
Public Knowledge Project Team
asmecher
 
Posts: 9058
Joined: Wed Aug 10, 2005 12:56 pm


Return to OJS Technical Support

Who is online

Users browsing this forum: No registered users and 7 guests