You are viewing the PKP Support Forum | PKP Home Wiki

Possible change for OAI data

Are you an Editor, Author, or Journal Manager in need of help? Want to talk to us about workflow issues? This is your forum.

Moderators: jmacgreg, michael, vgabler, John

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.

Possible change for OAI data

Postby osborne » Tue Mar 21, 2006 8:23 pm

I asked the DOAJ folks to harvest the metadata for my journal and they (a) noticed that we are using OJS and (b) suggested a change in the code to improve the listing. (They suggested an exact change, with the file, line number, and code change. Very impressive!!)

Their suggestion: include the page numbers of articles in the dc:source field. (I had noticed they were absent in our TSpace listing, but the TSpace folks didn't know how to fix the problem.)

Here's the suggested change: in ojs-2.0.2-1, edit the script classes/oai/ojs/OAIDAO.inc.php; after line number 275, which is
Code: Select all
$record->source = $row['journal_title'] . '; ' .

Code: Select all
if ($row['pages']) {
     $record->source .= ', pages ' . $row['pages'];

I know pretty much nothing about OAI, but I'm passing on the suggestion in case it's useful either to other users or to the development team.
Posts: 77
Joined: Mon Jun 07, 2004 1:24 pm
Location: Toronto, Canada

Postby asmecher » Wed Mar 22, 2006 12:09 pm

Hi Martin,

Excellent idea, but it breaks the consistency of some OAI feed formats e.g. RFC 1807. I'll try to include an improved implementation in the next incremental release of OJS. Feel free to sign yourself up on the CC list at http://pkp.sfu.ca/bugzilla/show_bug.cgi?id=2119.

Alec Smecher
Open Journal Systems Team
Last edited by asmecher on Wed Dec 13, 2006 12:22 pm, edited 1 time in total.
Posts: 10015
Joined: Wed Aug 10, 2005 12:56 pm

Postby osborne » Wed Mar 22, 2006 3:02 pm

Thanks---I've signed myself up.
Posts: 77
Joined: Mon Jun 07, 2004 1:24 pm
Location: Toronto, Canada

Return to OJS Editorial Support and Discussion

Who is online

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