You are viewing the PKP Support Forum | PKP Home Wiki

calling export as a service

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.

calling export as a service

Postby Scott » Tue Feb 13, 2007 10:16 pm


Am I able export a journal article or issue by calling the OJS export plugin as a service? For example if I wanted to obtain the journal XML as part of a workflow, if I currently use the URL (e.g. http://ojs-local.anu.edu.au/index.php/h ... ortIssue/6)
this obvously won't work due to permission restrictions. Is there a way to get around this (e.g. by passing some auth details) or how would I go about this?

Posts: 23
Joined: Thu Jun 15, 2006 7:23 pm

Postby asmecher » Wed Feb 14, 2007 10:00 am

Hi Scott,

There is another category of plugin called the gateway category; this is intended for use as a service. There are two plugins currently shipping in that category: the Google Scholar plugin and the Resolver plugin. The best way to make an export plugin run as a service is to write a simple gateway plugin as a wrapper for it; look at the READMEs and the code in each gateway plugin's directory for more information.

Alec Smecher
Open Journal Systems Team
Don't miss the First International PKP Scholarly Publishing Conference
July 11 - 13, 2007, Vancouver, BC, Canada
Posts: 10015
Joined: Wed Aug 10, 2005 12:56 pm

calling export as a service

Postby Scott » Wed Feb 14, 2007 8:29 pm

Yes, did a quick test and having export as a gateway plugin works a treat. Cheers.

Posts: 23
Joined: Thu Jun 15, 2006 7:23 pm

Return to OJS Technical Support

Who is online

Users browsing this forum: Bing [Bot] and 2 guests