ORE software libraries from Foresite

18 views
Skip to first unread message

Richard Jones

unread,
Jun 9, 2008, 11:04:09 AM6/9/08
to oai...@googlegroups.com
Apologies for cross-posting...

The Foresite [1] project is pleased to announce the initial code of two software libraries for constructing, parsing, manipulating and serialising OAI-ORE [2] Resource Maps. These libraries are being written in Java and Python, and can be used generically to provide advanced functionality to OAI-ORE aware applications, and are compliant with the latest release (0.9) of the specification. The software is open source, released under a BSD licence, and is available from a Google Code repository:

http://code.google.com/p/foresite-toolkit/

You will find that the implementations are not absolutely complete yet, and are lacking good documentation for this early release, but we will be continuing to develop this software throughout the project and hope that it will be of use to the community immediately and beyond the end of the project.

Both libraries support parsing and serialising in: ATOM, RDF/XML, N3, N-Triples, Turtle and RDFa

Foresite is a JISC [3] funded project which aims to produce a demonstrator and test of the OAI-ORE standard by creating Resource Maps of journals and their contents held in JSTOR [4], and delivering them as ATOM documents via the SWORD [5] interface to DSpace [6]. DSpace will ingest these resource maps, and convert them into repository items which reference content which continues to reside in JSTOR. The Python library is being used to generate the resource maps from JSTOR and the Java library is being used to provide all the ingest, transformation and dissemination support required in DSpace.

Please feel free to download and play with the source code, and let us have your feedback via the Google group:

fore...@googlegroups.com

All the best,

Richard Jones & Rob Sanderson

[1] Foresite project page: http://foresite.cheshire3.org/
[2] OAI-ORE specification: http://www.openarchives.org/ore/0.9/toc
[3] Joint Information Systems Committee (JISC): http://www.jisc.ac.uk/
[4] JSTOR: http://www.jstor.org/
[5] Simple Web Service Offering Repository Deposit (SWORD):
http://www.ukoln.ac.uk/repositories/digirep/index/SWORD
[6] DSpace: http://www.dspace.org/

--
=======================================================================
Richard Jones | Hewlett-Packard Limited
Research Engineer, HP Labs | registered office:
Bristol, UK | Cain Road, Bracknell,
| Berks, RG12 1HN.
| Registered No: 690597 England
eml: richard...@hp.com -------------------------------------
blg: http://chronicles-of-richard.blogspot.com/
-----------------------------------------------------------------------
The contents of this message and any attachments to it are confidential
and may be legally privileged. If you have received this message in
error, you should delete it from your system immediately and advise the
sender. To any recipient of this message within HP, unless otherwise
stated you should consider this message and attachments as "HP
CONFIDENTIAL".
========================================================================

pkeane

unread,
Jun 9, 2008, 1:59:54 PM6/9/08
to OAI-ORE
Great stuff & very helpful! Many thanks.

Is there a plan to allow passing in data to the resource map object
that'll be used by a serialization, but not by ORE? I am thinking
specifically of atom:updated.

Also, I had validation errors noted for atom:updated .
If you are interested, here's a patch that simply gets you RFC3339
timestamps (no offsets):

serialization.py

1c1
<
---
> import time
305c305,306
< e.text = now()
---
> e.text = time.strftime("%Y-%m-%dT%H:%M:%S")+'Z'
375c376,377
< e.text = now()
---
> e.text = time.strftime("%Y-%m-%dT%H:%M:%S")+'Z'


I suspect I should be posting messages such as this to the Foresite
project list (?).

--peter keane
Reply all
Reply to author
Forward
0 new messages