mytardis/mytardis — pull request #62 by tjdett (2012-02-27 08:16:07+00:00)
Title: Support for RIF-CS over OAI-PMH

This provides native OAI-PMH support to MyTardis, without any file writing or support from jOAI.

The current Dublin Core implementation is very half-hearted, but the RIF-CS passes ANDS checking with no errors. The RIF-CS data is pretty minimal at the moment (as it's the [bare minimum for ANDS syndication][ands_min]) but I'm hoping to expand it as time goes on. You currently get Collection and Party information, based on Experiments and Users respectively.

There's no documentation just yet, but I was hoping to get this reviewed while I work on it, as most of it will be developer documentation. To enable OAI-PMH support:

1. Add the MyTardis "oaipmh" app to `INSTALLED_APPS`.
2. Set `RIFCS_GROUP` and `RIFCS_KEY` to sensible values based on `settings_changeme.py`.
3. Start up your dev server and point it to `http://localhost:8000/apps/oaipmh/` with the following queries to test it:
* http://localhost:8000/apps/oaipmh/?verb=Identify
* http://localhost:8000/apps/oaipmh/?verb=ListMetadataFormats
* http://localhost:8000/apps/oaipmh/?verb=ListIdentifiers&metadataPrefix=rif
* http://localhost:8000/apps/oaipmh/?verb=ListRecords&metadataPrefix=rif

[ands_min]: http://www.ands.org.au/resource/metadata-content-requirements.html "Metadata Content Requirements"