Dear all,

I am almost done with my re-implementation of the OAI repository part of
Invenio which will address tickets:

<http://invenio-software.org/ticket/426>
<http://invenio-software.org/ticket/300>
<http://invenio-software.org/ticket/122>

This last one, however requires we agree on certain conventions namely
in order to implement in Invenio support for:

<http://www.openarchives.org/OAI/2.0/guidelines-provenance.htm>

Currently when Invenio harvest some record, it will put the OAI id in
the same field it would use to re-export the record.

We should change this convention, and have a dedicated field where to
put the provenance information.

In my branch I propose to have:

[...]
## CFG_OAI_ID_FIELD -- OAI identifier MARC field:
CFG_OAI_ID_FIELD = 909COo

## CFG_OAI_SET_FIELD -- OAI set MARC field:
CFG_OAI_SET_FIELD = 909COp

## CFG_OAI_SET_FIELD -- previous OAI set MARC field:
CFG_OAI_PREVIOUS_SET_FIELD = 909COq
[...]

to manage the Invenio controlled identifiers and sets. 

Where shall we put instead the:

* baseURL
* identifier
* datestamp
* metadataNamespace
* originDescription
* harvestDate
* altered

of any record harvested by Invenio? Note that originDescription will be
a raw XML snippet containing recursively other origins.

Moreover I guess there is no way to know if a record has been altered
after its original harvest. So either we set this to True forever, or we
need to add some logic in bibupload to set to True this bit (which
actually seems a very sensible solution).

So what about having new MARC tag 909CP with the assignment:

* baseURL -> $u
* identifier -> $i
* datestamp -> $d
* metadataNamespace -> $m
* originDescription -> $o
* harvestDate -> $h
* altered -> $a

Cheers!
        Sam

-- 
Samuele Kaplun
Invenio Developer ** <http://invenio-software.org/>

Reply via email to