-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Set up Simple OAI-PMH server on ToolForge #53
Comments
Outstanding issues
Notes
|
// Get current base URL
$baseURL = $_SERVER['HTTP_HOST'].parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH);
if (!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] != 'off') {
$baseURL = 'https://'.$baseURL;
} else {
$baseURL = 'http://'.$baseURL;
} Which results in not passing HTTPS on to XSLT and invalidating the Identify output. Unsure why |
Incremental harvesting error appears incorrect as endpoint seems to return entries correctly within date ranges, e.g. (currently)
Is it complaining because it returns no records when from and until are set to the same date? e.g. https://enkore.toolforge.org/oai_pmh/?verb=ListRecords&metadataPrefix=oai_dc&from=2022-03-23&until=2022-03-23 Maybe this is an issue with the validator as it also flags the same issue when running against the Zenodo OAI-PMH endpoint (https://zenodo.org/oai2d) |
Set up an instance of the Open Culture Consulting's OAI-PMH provider server on ToolForge.
The text was updated successfully, but these errors were encountered: