- OAI RequestController.php: earliest publication date in format: 'Y-m-d\TH:i:s\Z'
- datasetxml2oai-pmh.xslt: Rdr_Dataset_Data -> dates in correct format - oai2_style.xslt: haeding with TETHYS OAI 2.0
This commit is contained in:
parent
6a8b27efa6
commit
fd4b0eb87d
3 changed files with 54 additions and 46 deletions
|
@ -144,10 +144,10 @@ class RequestController extends Controller
|
|||
{
|
||||
$email = "repository@geologie.ac.at";
|
||||
$repositoryName = "Tethys RDR";
|
||||
$repIdentifier = "tethys.geologie.ac.at";
|
||||
$repIdentifier = "tethys.at";
|
||||
$sampleIdentifier = "oai:" . $repIdentifier . ":27"; //$this->_configuration->getSampleIdentifier();
|
||||
$earliestDateFromDb = Dataset::earliestPublicationDate() != null ?
|
||||
Dataset::earliestPublicationDate()->server_date_published : null;
|
||||
Dataset::earliestPublicationDate()->server_date_published->format('Y-m-d\TH:i:s\Z') : null;
|
||||
|
||||
// set parameters for oai-pmh.xslt
|
||||
$this->proc->setParameter('', 'email', $email);
|
||||
|
|
Loading…
Add table
editor.link_modal.header
Reference in a new issue