- small changes for oai_iso19139.xslt

- oai_datacite.xslt version 3.0
This commit is contained in:
Arno Kaimbacher 2023-04-05 10:03:54 +02:00
parent 5b6f81c34d
commit cb40b2c7dc
7 changed files with 55 additions and 52 deletions

File diff suppressed because one or more lines are too long

View file

@ -216,7 +216,7 @@ export class OaiController {
}
protected handleIdentify() {
const email = process.env.OAI_EMAIL ||"repository@geosphere.at";
const email = process.env.OAI_EMAIL || "repository@geosphere.at";
const repositoryName = "Tethys RDR";
const repIdentifier = "tethys.at";
const sampleIdentifier = "oai:" + repIdentifier + ":1"; //$this->_configuration->getSampleIdentifier();

View file

@ -3,8 +3,8 @@ import DocumentXmlCache from "../models/DocumentXmlCache";
import { XMLBuilder } from "xmlbuilder2/lib/interfaces";
import Dataset from "../models/Dataset";
import Logger from "jet-logger";
import { create } from "xmlbuilder2";
import dayjs from "dayjs";
// import { create } from "xmlbuilder2";
// import dayjs from "dayjs";
/**
* This is the description of the interface
@ -107,9 +107,9 @@ export default class XmlModel {
}
public async getDomDocument() {
const dataset = this.config.model;
// const dataset = this.config.model;
let domDocument: XMLBuilder | null = await this.getDomDocumentFromXmlCache();
const domDocument: XMLBuilder | null = await this.getDomDocumentFromXmlCache();
if (domDocument) {
return domDocument;
} else {

View file

@ -255,6 +255,6 @@ export function initModels() {
Coverage: Coverage,
Subject: Subject,
License: License,
DocumentPersons: DocumentPersons
DocumentPersons: DocumentPersons,
};
}