From 671cdb1e4e07ebf54ef2e25f9a1579f0b051cb27 Mon Sep 17 00:00:00 2001 From: Arno Kaimbacher Date: Tue, 19 May 2020 20:18:31 +0200 Subject: [PATCH] - add name columns to table 'document_licences' - add open access hints to dc and datacite (xslt) --- .../2019_08_28_105907_create_licences_table.php | 1 + public/datasetxml2oai-pmh.xslt | 11 ++++++++--- public/prefixes/oai_datacite.xslt | 8 ++++++++ 3 files changed, 17 insertions(+), 3 deletions(-) diff --git a/database/migrations/2019_08_28_105907_create_licences_table.php b/database/migrations/2019_08_28_105907_create_licences_table.php index 3b6fc28..15fbf29 100644 --- a/database/migrations/2019_08_28_105907_create_licences_table.php +++ b/database/migrations/2019_08_28_105907_create_licences_table.php @@ -25,6 +25,7 @@ class CreateLicencesTable extends Migration $table->string('link_sign', 200)->nullable(); $table->string('mime_type', 30)->nullable(); $table->string('name_long', 200); + $table->string('name', 50); $table->boolean('pod_allowed')->default(false); $table->tinyInteger('sort_order'); }); diff --git a/public/datasetxml2oai-pmh.xslt b/public/datasetxml2oai-pmh.xslt index 0950fe5..d2ba5d5 100644 --- a/public/datasetxml2oai-pmh.xslt +++ b/public/datasetxml2oai-pmh.xslt @@ -164,10 +164,10 @@ oai_datacite - http://schema.datacite.org/meta/kernel-4.3/metadata.xsd + http://schema.datacite.org/meta/kernel-4.3/metadata.xsd - http://datacite.org/schema/kernel-4 + http://datacite.org/schema/kernel-4 @@ -571,7 +571,12 @@ - + + + + info:eu-repo/semantics/openAccess + + \ No newline at end of file diff --git a/public/prefixes/oai_datacite.xslt b/public/prefixes/oai_datacite.xslt index ffd1c40..7198db4 100644 --- a/public/prefixes/oai_datacite.xslt +++ b/public/prefixes/oai_datacite.xslt @@ -349,6 +349,14 @@ + + + + info:eu-repo/semantics/openAccess + + Open Access + + \ No newline at end of file