OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



Can we add more than one author for an article

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
The Public Knowledge Project Support Forum is moving to http://forum.pkp.sfu.ca

This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.

Can we add more than one author for an article

Postby sim » Wed May 18, 2011 9:35 am

Hi!!!

We are uploading the issues using the Import/export article plugin. We have articles where more than one author has contributed to the article.

When we try to insert more that one author in xml it gives an error. Is there some way to add more than one author for an article?
At present this is what we are doing, but the author information goes all haywire.
<author primary_contact="true">
<firstname>John Doe,
</firstname>
<middlename> </middlename>
<lastname>Jack Stream
</lastname>
<email> </email>
</author>
Where John Doe and Jack Stream both are authors.
sim
 
Posts: 22
Joined: Mon Sep 29, 2008 11:54 am

Re: Can we add more than one author for an article

Postby asmecher » Fri May 20, 2011 7:19 am

Hi Sim,

Use multiple "author" elements, with one for each author.

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

Re: Can we add more than one author for an article

Postby sim » Sat May 21, 2011 2:58 am

can you please elaborate on that...
we tried putting it as
<author primary_contact="true">
<firstname>John</firstname>
<middlename>G</middlename>
<lastname>Doe</lastname>
<email> </email>
</author>
<author primary_contact="true">
<firstname>Jack</firstname>
<middlename> </middlename>
<lastname>Stream</lastname>
<email> </email>
</author>
but gives an error while importing
sim
 
Posts: 22
Joined: Mon Sep 29, 2008 11:54 am

Re: Can we add more than one author for an article

Postby asmecher » Sat May 21, 2011 10:31 am

Hi Sim,

Have you validated the XML using an XML validator? That will help to identify problems. Please also include the error message when you encounter a problem.

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

Re: Can we add more than one author for an article

Postby sim » Sun May 22, 2011 4:50 am

hi thanks...

it loads the journal...but where we have added multiple authors it does not upload from that point onwards. ie incase there are two editorial and 10 articles. the Fifth article has multiple author...when uploaded The journal when shown shows only till fourth article.
sim
 
Posts: 22
Joined: Mon Sep 29, 2008 11:54 am

Re: Can we add more than one author for an article

Postby asmecher » Sun May 22, 2011 12:36 pm

Hi Sim,

Did you validate the XML? Did you get an error message during the import process?

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

Re: Can we add more than one author for an article

Postby sim » Mon May 23, 2011 9:03 am

hi thanks again!!!

no error report by the XML validator...but i guess the problem was with the email ids...we were using common email id for all the authors...we replaced it with blanks and made email id not mandatory...And it worked...
I cud that have been prb...
Also the "&" sign was giving a prb thats one more thing we replaced.
sim
 
Posts: 22
Joined: Mon Sep 29, 2008 11:54 am


Return to OJS Technical Support

Who is online

Users browsing this forum: Google [Bot], Yahoo [Bot] and 2 guests