Open bootsa opened 2 years ago
/public_html/
folder~/.local/bin
and added to PATH environment variable (may not persist)oai_pmh/Configuration/Main.php
Blocked loading mixed active content
of XSLT formatter (minor) - app seems to serve XSLT via http which conflicts with toolforge's httpssource ~/.bashrc
index.php
fails to recognise HTTPS in section:
// 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 $_SERVER['HTTPS']
is returning null so have just commented out the offending lines for the moment.
Successfully got minimum DC entries recognised on our dataset :tada:
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.