OJS METS Plugins and Draft Profile

OJS development discussion, enhancement requests, third-party patches and plug-ins.

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.
Posts: 23
Joined: Thu Jun 15, 2006 7:23 pm

OJS METS Plugins and Draft Profile

Postby Scott » Tue Feb 19, 2008 3:36 pm

Hi PKP-ers,

Attached is a METS export plugin and gateway plugin for OJS. Also included is a draft OJS Journal METS Profile. The profile is based on the Australian METS Profile and Australian Journal METS Profile, both published profiles available on the Library of Congress web site (see http://www.loc.gov/standards/mets/mets- ... files.html). The architecture for the METS Profile is a three-tier model moving from a single parent generic profile (the Australian METS Profile) to domain-based profiles each of which inherits the rules of the generic profile; the Australian Journal METS Profile is an example of one of these. An implementation profile then inherits rules from its domain profile and is a profile specific to an application or an expressed contract between institutions; the draft OJS profile included is an example of an implementation profile.

The advantage of publishing this profile as part of the plugin work is that the OJS Profile (once agreed upon) is based on published standards and can be evolved over time with the OJS community.

While this work is a tidy-up of one of our last year's projects, we are hopeful that this work is of interest and relevance to PKP as we would like to see the METS feature included in a future OJS release and would be happy to collaborate on making it better. We would be interested in following this up once the PKP-ers have had a chance to test out the code and examine the profile. If possible, it would be great if each plugin plus the profile could be published on the OJS plugins page as early as convenient (feedback can be directed to us if required).

Regarding the distribution itself, the same dom and xml generation code is used in each plugin - we did not want to interfere in the core OJS code in case the code is not incorporated into a future version of OJS. Should the code be accepted for a future OJS release, we'd suggest the common DOM/XML modules be moved into the source code tree ratther than be duplicated in each plugin. Each plugin currently stands alone and either or both can be deployed on an OJS instance. Several config options are available which are outlined in the readme file included with the distro.

METS Gateway Plugin, METS Export Plugin, Draft OJS METS Profile
(59.31 KiB) Downloaded 82 times

Site Admin
Posts: 304
Joined: Fri Mar 26, 2004 9:32 am
Location: Toronto, Canada

Re: OJS METS Plugins and Draft Profile

Postby mj » Wed Feb 20, 2008 1:19 am

Hi Scott,

As always, wonderful work and thank you for a great contribution to OJS! Like the OCS METS plugin, this will definitely be something we'll consider very seriously in the next little while for inclusion in the upcoming releases of OJS and OCS. I can't guarantee that they'll be in OJS 2.2.1 or OCS 2.1, but you have my word that I'll try. From a personal standpoint, I haven't had a chance to look too deeply at the Australian METS profile, although I have been working with METS recently and have been intending to read the full spec. It is definitely a profile we'd like to support and grow whichever way it benefits the PKP community.

As for the DOM/XML approach, you've taken the preferred method, so as a developer, thank you for that. We have been discussing new ways to modularize the code better, including improving the plugin system for both gateway and XML import/export plugins, so rest assured that we share your goal of removing the DOM duplication across plugins. It's definitely something we want to improve in future releases as soon as possible.

Once again, thanks for your strong contribution to OJS!


Return to “OJS Development”

Who is online

Users browsing this forum: No registered users and 3 guests