You are viewing the PKP Support Forum | PKP Home Wiki

SWORD from OJS to DSpace

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.

SWORD from OJS to DSpace

Postby josipkp » Tue May 08, 2012 2:51 pm


We updated to OJS 2.3.7 and tried to use SWORD to export articles from OJS to DSpace.
The process completed, but in DSpace, the metadata dc.subject, dc.date.issued, dc.identifier.url (created here to avoid to use dc.identifier.uri) and dc.relation.ispartof are inside dc.identifier.citation:

@article{, author = {Ingryd Felipe e Antonio Gomes}, title = { A abordagem do álcool no contexto do ensino fundamental: a reconstrução socioimaginária dos docentes }, journal = {Revista Latino-Americana de Enfermagem}, year = {2010}, keywords = { Consumo de Bebidas Alcoólicas;Educação em Saúde;venção Primária;Saúde Escolar }, abstract = { O consumo de álcool [...] pedagógicas. }, url = {http://[...]/ojs/index.php/rlae/article/view/4241} }

The mets.xml exported by OJS don't have some similar to
epdcx:propertyURI="http://purl.org/dc/elements/1.1/subject" and so.

I read about other institutions doing this exchange without problem.
I'm doing something wrong or it is necessary to change the code?

Thank in advance,
Josi Perez
Posts: 61
Joined: Fri Jun 27, 2008 8:51 am

Re: SWORD from OJS to DSpace

Postby asmecher » Wed May 09, 2012 7:20 am

Hi Josi,

The SWORD extract is generated using the swordapp-php library; see classes/sword/OJSSwordDeposit.inc.php for the code that maps an OJS article into the swordapp-php library. (There are details on the library itself at http://php.swordapp.org/). It's possible that either 1) the mapping from OJS needs to be improved (in OJSSwordDeposit.inc.php) or the library itself needs new options to be made available for the extracted XML. We'd be happy to take contributions for improving the mapping, and the author of that library is also very receptive.

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

Return to OJS Technical Support

Who is online

Users browsing this forum: Yahoo [Bot] and 1 guest