This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# uses http://www.infrae.com/download/OAI/pyoai | |
from oaipmh.client import Client | |
from oaipmh.metadata import MetadataRegistry, oai_dc_reader | |
URL = 'http://researchcommons.waikato.ac.nz/dspace-oai/request' | |
registry = MetadataRegistry() | |
registry.registerReader('oai_dc', oai_dc_reader) | |
client = Client(URL, registry) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## WARNING THIS IS NOT YET IN PRODUCTION. IT SEEMS TO WORK IN TESTING THOUGH | |
<VirtualHost *:80> | |
ServerName test.dspacedirect.org | |
## Logging Settings ## | |
ErrorLog ${APACHE_LOG_DIR}/test.dspacedirect.org-error.log | |
CustomLog ${APACHE_LOG_DIR}/test.dspacedirect.org-access.log combined | |
# Possible values include: debug, info, notice, warn, error, crit, | |
# alert, emerg. |