Changes to the OAI interface

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Changes to the OAI interface

Àlex Magaz
Hello,

I've been recently looking for a way to harvest our OpenCourseWare courses from DSpace, but the way eduCommons exports them through OAI-PMH didn't quite fit our needs, so I finally decided to make some modifications. They basically consist in mapping courses to records and divisions to sets. You can see it under production here:

http://ocw.udl.cat/oai

If anyone is interested I can post the code.

Cheers,
Àlex
Reply | Threaded
Open this post in threaded view
|

Re: Changes to the OAI interface

blambert
Hello Àlex,

This sounds like great work. How generalized is this solution? I would love to hear more about how you are integrating with Dspace. If it makes sense and you are willing, I would be happy to roll these changes back into a future version of eduCommons.

Also I had a look at the link below, but it appears to be broken.

Brent

----- Original Message -----
From: "Àlex Magaz [via eduCommons]" <[hidden email]>
To: "blambert" <[hidden email]>
Sent: Wednesday, April 20, 2011 6:40:13 AM
Subject: Changes to the OAI interface

Hello,

I've been recently looking for a way to harvest our OpenCourseWare courses from DSpace, but the way eduCommons exports them through OAI-PMH didn't quite fit our needs, so I finally decided to make some modifications. They basically consist in mapping courses to records and divisions to sets. You can see it under production here:

http://ocw.udl.cat/oai 

If anyone is interested I can post the code.

Cheers,
Àlex




If you reply to this email, your message will be added to the discussion below: http://educommons.2416974.n2.nabble.com/Changes-to-the-OAI-interface-tp6290555p6290555.html 
To start a new topic under eduCommons, email [hidden email]
To unsubscribe from eduCommons, click here .

--
--
Brent Lambert
Owner/Consultant
enPraxis
http://enpraxis.net
435.757.6054
Reply | Threaded
Open this post in threaded view
|

Re: Changes to the OAI interface

Àlex Magaz
Hello Brent,

This solution is adapted to work only with eduCommons, I'll explain. The oaiintercom version shipped with eduCommons exports folders as OAI sets and all other published objects as records. This way, you get an OAI set for each course subfolder and a record for each of its elements (HTML pages, PDFs, ...). I guess it was meant to work with any Plone site instead of being limited to eduCommons, but this makes it difficult to harvest from DSpace in the way we want. The idea is to have for each course in eduCommons an item in DSpace with all its metadata and a link to the its main page. To make this easy, I only export courses and divisions, as OAI records and OAI sets respectively. Then I create in DSpace a collection for each division in eduCommons from which I harvest all of its courses.

I've done the development into a local Bazaar repository, so I'm attaching it to make it easier to review the changes. The "upstream" branch is a checkout of the oaiintercom's Subversion repository trunk. The changes have been made in "trunk", which is a branch of "upstream". This is my first approach to Zope/Plone development so I'm sure there are a lot of things to improve. Also, I've tried to keep changes to a minimum, so If you think it's ok to include it in next eduCommons version, I would be happy to help you with it.

About the link, it's the base OAI address, you have to specify a verb to get something useful from it. For example:

ListRecords
ListSets
ListRecords

Anyway it should have given an error message instead of crashing. It's fixed now :-)

Cheers,
Àlex
Reply | Threaded
Open this post in threaded view
|

Re: Changes to the OAI interface

Àlex Magaz
Sorry, I don't know why but I can't get the attachment right, so I leave it here instead:

repo-oaiintercom.tar.gz