OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



SWORD with DSpace and 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.

SWORD with DSpace and OJS

Postby giovannivosloo » Thu Oct 11, 2012 6:03 am

Hi Everyone,

We have been searching far and wide for instructions on how to get SWORD on OJS to work with Dspace. We are in need of steps and plugins that are requested to enable us to deposit submissions and articles to Dspace.

Any and all information regarding our search will be of use.

Thank you in advance.

Giovanni Vosloo
From AOSIS PTY
giovannivosloo
 
Posts: 3
Joined: Fri Sep 21, 2012 1:38 am

Re: SWORD with DSpace and OJS

Postby asmecher » Thu Oct 11, 2012 8:07 am

Hi Giovanni,

A SWORD plugin ships with OJS and can be accessed from the Journal Manager's "Plugins" list under Generic Plugins. Have you explored this yet? If so, how far did you get?

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

Re: SWORD with DSpace and OJS

Postby giovannivosloo » Mon Oct 29, 2012 12:58 am

Hi Alec,

We have explored extensively with OJS and the SWORD plugin and we were unable to get any results.

We used the following:

Latest OJS install
Latest DSpace running on a local server

We then tested by doing the following
Entering the details required from SWORD on OJS and then attempting to force submit the submissions to DSpace with SWORD and also attempted the automatic article submission to DSpace, but it did not work at all.

When we user the forcing method, we only get a blank screen and no progress. Also, there is no change to dspace at all. nothing was submitted at all. We are wondering what might be the problem. Perhaps a detailed step by step instruction is what we need to fully see all the steps and see what we are missing
giovannivosloo
 
Posts: 3
Joined: Fri Sep 21, 2012 1:38 am

Re: SWORD with DSpace and OJS

Postby asmecher » Mon Oct 29, 2012 9:21 am

Hi giovannivosloo,

A blank page typically means an error was logged in your PHP log files. Please check there to see if there is any more information.

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

Re: SWORD with DSpace and OJS

Postby josekarvalho » Tue Nov 06, 2012 3:30 pm

Hi,

You can also check if your Sword interface is working on DSpace. Just access the following URL and put your DSpace login data on the window.

http://repositoryurl.com/sword/servicedocument

If you dont have any feedback here is maybe because Sword is not active on DSpace.

Hope this helps,

José Carvalho
josekarvalho
 
Posts: 3
Joined: Fri Mar 09, 2012 2:19 pm

Re: SWORD with DSpace and OJS

Postby JohnGrobler » Mon Nov 12, 2012 8:53 am

Hi Alec and José,

I'm working with Giovanni in testing the SWORD plugin on our environment:

OJS - 2.3.3.3 and 2.4.0 development release.
DSpace - public demo at http://demo.dspace.org and LibLiveCD (DSpace 1.7.0 live CD).

When we try to deposit an article via Journal Manager > Import/Export Data > SWORD Import/Export Deposit Plugin, we receive the following error:

Deposit Failed
Error parsing response entry (String could not be parsed as XML)


We are not sure about the exact deposit point URL, but we get the above error with all of the following (for the public DSpace demo):
http://demo.dspace.org
http://demo.dspace.org/sword/deposit
http://demo.dspace.org/swordv2/servicedocument

I've tested by creating a new user on the demo.dspace.org server and by using the pre-created users (see http://demo.dspace.org/jspui/).

As per José post, I've confirmed that the DSpace SWORD plugin is installed by browsing to http://demo.dspace.org/sword/servicedocument and http://demo.dspace.org/swordv2/servicedocument.

Can you please confirm if you are able to use the public DSpace server to do a test deposit via OJS and which URL we should be using during our test?

Thank you,
John Grobler
JohnGrobler
 
Posts: 51
Joined: Mon Dec 07, 2009 1:41 pm

Re: SWORD with DSpace and OJS

Postby asmecher » Tue Nov 13, 2012 10:49 am

Hi John,

The OJS plugin was written for SWORD 1.x, so you'll never use the swordv2 URL. The URL you need to supply to OJS depends on the type of deposit point you're configuring there; see the footnotes on the deposit point form.

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

Re: SWORD with DSpace and OJS

Postby JohnGrobler » Mon Nov 26, 2012 1:48 pm

Hi Alec,

Thank you very much for the assistance. We were able to deposit articles successfully from our test journal to the public DSpace server using http://demo.dspace.org/sword/servicedocument as the deposit point URL and setting Type = Manager Only.

We can see the item in DSpace, but for some reason not all fields are processed correctly. Please see "dc.identifier.citation" in the image attached.

Have you seen this issue before and do you know what the problem can be? We're using OJS 2.3.3.3.

Thanks,
John Grobler
Attachments
DSpaceItemSubmission.jpg
DSpace Item Submission via OJS Sword plugin with issue in dc.identifier.citation
DSpaceItemSubmission.jpg (103.34 KiB) Viewed 1255 times
JohnGrobler
 
Posts: 51
Joined: Mon Dec 07, 2009 1:41 pm

Re: SWORD with DSpace and OJS

Postby wilkovanhoek » Thu Feb 28, 2013 4:08 am

Hello,

currently we are trying to import data into a DSpace instance from OJS via SWORD. We managed to succesfully transfer documents and metadata to DSpace. However we ran into two problems.

Rather similiar to the post ahead, not all metadata is delivered into the DSpace internal fields. To overcome this we implemented changed to the dspace crosswalk to extract the information within the citation field. This works fine but the problem is, that volume and issue are missing. I checked it with the demo-system of OJS (http://pkp.sfu.ca/ojs/demo/testdrive) and issue/volume were missing as well.

What can we do to add both (issue and volume)to the citation field?

The second problem is the deposit point. I tried to use the href entry of <app:collection href="{Deposit-Point-URL?!?!}"> from the servicedocument. Depositing to this point fails without any error being logged in DSpace. Error message says that OJS is unable to read the responding xml. When we use the servicedocument as URL and specify the deposit point manually everything works fine.

What is the correct Deposit Point Url ?!?

Thanks a lot in advance and best regards,

Wilko van Hoek
wilkovanhoek
 
Posts: 1
Joined: Thu Feb 28, 2013 3:50 am

Re: SWORD with DSpace and OJS

Postby asmecher » Thu Feb 28, 2013 8:37 am

Hi Wilko,

The code that adapts OJS metadata into a SWORD deposit is in classes/sword/OJSSwordDeposit.inc.php; unfortunately the swordapp-php library that OJS uses for SWORD deposits has limited metadata support so you'll have to consider its options.

Depending on what kind of deposit you specify, the details of the deposit point will differ. When creating a deposit point, there are some notes about this on the page where you specify the deposit type.

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


Return to OJS Technical Support

Who is online

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