OAI-PMH server for CubicWeb
Project description
This cube registers a Pyramid route /oai against which all OAI-PMH requests should be performed.
An “admin-email” configuration option should be defined to reference the email address of an administrator of the OAI-PMH repository.
The implementation relies on selective harvesting in the sense that only entity types registering a set specifier will be visible through OAI-PMH protocol.
To register an entity type for OAI-PMH harvesting, one should implement subclasses of OAIPMHRecordAdapter adapter with a selection context and at least a concrete definition of set_definition class method. Other things like the record view or identifier attribute are configurable through this adapter.
See test/data for concrete examples of possible registrations of entity types as OAI-PMH records.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for cubicweb_oaipmh-0.8.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 827e7ae89ea80807737a449cffe982e3f1878d9207dacdc0649adf19cf634f63 |
|
MD5 | a298f3f29f406dfe93770fca6a3039c2 |
|
BLAKE2b-256 | eef18a4800c300094cc8541c4376165fd97b10b5ab89d187d7a557c0a8f801be |