OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



DOI Handling in 2.4

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.

DOI Handling in 2.4

Postby kreissaege » Thu Aug 01, 2013 3:19 am

Hello,

I have installed for testing purposes a OJS 2.4.1 system.
For some data export I need to find out the DOI for an article.
As the DOI (or generally) public identifiers are set in the article_settings table as "setting_name" pub-id::doi

1) How can I now retrive the DOI for a article (if I have the article_id)
2) When will generated the DOI entry in the article_settings table - only after the article is published or before?

Thanks for any help!
Katrin
kreissaege
 
Posts: 24
Joined: Thu Nov 05, 2009 4:14 am

Re: DOI Handling in 2.4

Postby asmecher » Thu Aug 01, 2013 7:40 am

Hi Katrin,

Have you seen the DOI documentation in the wiki? See http://pkp.sfu.ca/wiki/index.php/DOIPluginsDocumentation.

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

Re: DOI Handling in 2.4

Postby kreissaege » Mon Aug 19, 2013 1:39 am

Hello Alex,

thanks for the tip.
So I understand correct, that the DOI is only generated when we do a Crossref-Export to register the issue by Crossref ?
It seems that we cannot compare the DOI in XML-Exportfile and and in article-metadata before the article is published.

Regards Katrin
kreissaege
 
Posts: 24
Joined: Thu Nov 05, 2009 4:14 am

Re: DOI Handling in 2.4

Postby swing » Sun Sep 01, 2013 6:30 am

Hi Katrin,

The DOIs are permanently saved in the article_settings table first time when they are used, i.t. when the article is published and when
-- using an export (not only CrossRef but also some others e.g. OJS native),
-- viewing the article or
-- harvesting via OAI.
As journal editor you can preview a DOI (before publishing the article) in the article metadata (article summary view > edit metadata) and thus see how it will look like when the article is published.

To retrieve an article DOI you will first have to get the article object, using the article_id. Then:
-- if you would like to retrieve the stored DOI, you would use $article->getStoredPubId('doi'); For this the DOI plug-in doesn't have to be enabled.
-- if you would like to generate DOI without permanently saving it, i.e. if you would just like to preview it, you would use $article->getPubId('doi', true); For this the DOI plug-in has to be enabled.
-- if you would like to generate DOI and to permanently save it, you would use $article->getPubId('doi'); For this the DOI plug-in has to be enabled.

I hope this helps.
Best,
Bozana
swing
 
Posts: 121
Joined: Tue Oct 09, 2007 2:59 am


Return to OJS Technical Support

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 9 guests