OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



Using DOI's with OJS

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.

Using DOI's with OJS

Postby AndyP » Tue Jan 23, 2007 11:08 am

How do I add DOIs to articles in OJS?
AndyP
 
Posts: 57
Joined: Wed Mar 22, 2006 8:21 am

Postby asmecher » Tue Jan 23, 2007 12:36 pm

Hi Andy,

The current release of OJS (2.1.1) only supports DOIs as part of the CrossRef export plugin; the next release will generate DOIs as part of the article metadata, given a journal DOI prefix.

Regards,
Alec Smecher
Open Journal Systems Team
---
Don't miss the First International PKP Scholarly Publishing Conference
July 11 - 13, 2007, Vancouver, BC, Canada
http://ocs.sfu.ca/pkp2007/
asmecher
 
Posts: 8815
Joined: Wed Aug 10, 2005 12:56 pm

Postby AndyP » Mon Jan 29, 2007 4:15 am

Hi Alex

Is the DOI automatically generated for each article using the journal DOI as a starting point or do we need to enter this in the public identifier section for each article.

Thanks

Andy
AndyP
 
Posts: 57
Joined: Wed Mar 22, 2006 8:21 am

Postby asmecher » Mon Jan 29, 2007 10:18 am

Hi Andy,

The DOI is generated automatically, given a DOI prefix; we may be adding support for user-entered DOIs or alternate DOI generation schemes in a future release.

Regards,
Alec Smecher
Open Journal Systems Team
---
Don't miss the First International PKP Scholarly Publishing Conference
July 11 - 13, 2007, Vancouver, BC, Canada
http://ocs.sfu.ca/pkp2007/
asmecher
 
Posts: 8815
Joined: Wed Aug 10, 2005 12:56 pm

Postby AndyP » Mon Jan 29, 2007 10:26 am

thanks
AndyP
 
Posts: 57
Joined: Wed Mar 22, 2006 8:21 am

Postby Chris_A » Fri Feb 02, 2007 1:45 pm

Thanks from me also.

Chris A
Chris_A
 
Posts: 23
Joined: Wed Apr 12, 2006 3:21 pm
Location: UK

Postby AndyP » Mon Feb 05, 2007 5:41 am

what's the difference in Setup:Details between journal initials and journal abbreviation - is one of these used in generating the DOI?
AndyP
 
Posts: 57
Joined: Wed Mar 22, 2006 8:21 am

Postby asmecher » Mon Feb 05, 2007 11:40 am

Hi Andy,

The initials are used for generating the prefix; the abbreviated title appears in the CrossRef export as the "abbrev_title". (The abbreviated title is not used elsewhere, so we may consider using the initials there as well.)

Regards,
Alec Smecher
Open Journal Systems Team
---
Don't miss the First International PKP Scholarly Publishing Conference
July 11 - 13, 2007, Vancouver, BC, Canada
http://ocs.sfu.ca/pkp2007/
asmecher
 
Posts: 8815
Joined: Wed Aug 10, 2005 12:56 pm

Postby Chris_A » Sun Feb 11, 2007 12:26 pm

Am I right in thinking that with the current version of OJS, that there is no way to configure the format of the generated doi?

For example, a doi is generated using the <item-number> to give

10.1558/blth.v4i2.689

Ideally I'd like to use the starting page number of the article instead of the item number. Could this be done using PHP?

Or will this be a possibility in a future release?
Chris_A
 
Posts: 23
Joined: Wed Apr 12, 2006 3:21 pm
Location: UK

Postby asmecher » Sun Feb 11, 2007 10:42 pm

Hi Chris,

We'll hopefully be adding more flexibility in a future release. For the current release, you'll need to modify the CrossRef plugin (plugins/importexport/crossref) to change the way a DOI is generated; if you need more details, I can provide.

Regards,
Alec Smecher
Open Journal Systems Team
---
Don't miss the First International PKP Scholarly Publishing Conference
July 11 - 13, 2007, Vancouver, BC, Canada
http://ocs.sfu.ca/pkp2007/
asmecher
 
Posts: 8815
Joined: Wed Aug 10, 2005 12:56 pm

Postby Chris_A » Tue Feb 13, 2007 8:47 am

Hi Alec,

If you could supply the details for modifying the plugin, that would be great.

My concern is that the page numbers are stored in the format 00-00. Is there a way of distinguishing between the start page of an article and the final page, so that the doi number that is generated ends with the start page number as the last "node" of the doi.
Chris_A
 
Posts: 23
Joined: Wed Apr 12, 2006 3:21 pm
Location: UK

Postby asmecher » Tue Feb 13, 2007 11:38 am

Hi Chris,

In OJS 2.1.1, the DOI is generated in plugins/importexport/crossref/CrossRefExportPlugin.inc.php in the generateDOI function:
Code: Select all
function generateDOI(&$journal, &$issue, &$section, &$article) {
    return $journal->getSetting('doiPrefix').'/'.strtolower($journal->getSetting('journalInitials')).'.v'.$issue->getVolume().'i'.$issue->getNumber().'.'.$article->getArticleId();
}
You can modify this by adding a page number fetch using the $article->getPages call.

Regards,
Alec Smecher
Open Journal Systems Team
---
Don't miss the First International PKP Scholarly Publishing Conference
July 11 - 13, 2007, Vancouver, BC, Canada
http://ocs.sfu.ca/pkp2007/
asmecher
 
Posts: 8815
Joined: Wed Aug 10, 2005 12:56 pm

Re: Using DOI's with OJS

Postby istoyanov » Mon Jul 07, 2008 7:32 am

... In OJS 2.1.1, the DOI is generated in plugins/importexport/crossref/CrossRefExportPlugin.inc.php in the generateDOI function


I am trying to remove the ".v" and "i" part of the assigned DOI and would be grateful for any hints where this function (or equivalent) is located in OJS 2.2.
istoyanov
 
Posts: 44
Joined: Mon Oct 29, 2007 6:04 am

Re: Using DOI's with OJS

Postby istoyanov » Tue Jul 15, 2008 12:14 am

I suppose that the code of the CrossRef import-export plug-in has significantly changed since February 2007 and I was unable to locate any of the mentioned functions in the files, so I'd greatly appreciate any pointers on this issue. The goal is to have a quick hack to completely remove the issue part (including the associated character "i") and the "v" character (but not the volume number and the dot between it and the journal abbreviation) from the automatically generated DOI.
istoyanov
 
Posts: 44
Joined: Mon Oct 29, 2007 6:04 am

Re: Using DOI's with OJS

Postby asmecher » Tue Jul 15, 2008 8:50 am

Hi istoyanov,

The getDOI() function is currently located in classes/article/PublishedArticle.inc.php. (It was previously located in the CrossRef plugin.)

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

Next

Return to OJS Technical Support

Who is online

Users browsing this forum: Bing [Bot], meinbrodt and 8 guests