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
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.

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: Bing [Bot], Google [Bot] and 2 guests