- add name columns to table 'document_licences'
- add open access hints to dc and datacite (xslt)
This commit is contained in:
parent
35e71a13c3
commit
671cdb1e4e
|
@ -25,6 +25,7 @@ class CreateLicencesTable extends Migration
|
||||||
$table->string('link_sign', 200)->nullable();
|
$table->string('link_sign', 200)->nullable();
|
||||||
$table->string('mime_type', 30)->nullable();
|
$table->string('mime_type', 30)->nullable();
|
||||||
$table->string('name_long', 200);
|
$table->string('name_long', 200);
|
||||||
|
$table->string('name', 50);
|
||||||
$table->boolean('pod_allowed')->default(false);
|
$table->boolean('pod_allowed')->default(false);
|
||||||
$table->tinyInteger('sort_order');
|
$table->tinyInteger('sort_order');
|
||||||
});
|
});
|
||||||
|
|
|
@ -164,10 +164,10 @@
|
||||||
<xsl:text>oai_datacite</xsl:text>
|
<xsl:text>oai_datacite</xsl:text>
|
||||||
</metadataPrefix>
|
</metadataPrefix>
|
||||||
<schema>
|
<schema>
|
||||||
<xsl:text>http://schema.datacite.org/meta/kernel-4.3/metadata.xsd</xsl:text>
|
<xsl:text>http://schema.datacite.org/meta/kernel-4.3/metadata.xsd</xsl:text>
|
||||||
</schema>
|
</schema>
|
||||||
<metadataNamespace>
|
<metadataNamespace>
|
||||||
<xsl:text>http://datacite.org/schema/kernel-4</xsl:text>
|
<xsl:text>http://datacite.org/schema/kernel-4</xsl:text>
|
||||||
</metadataNamespace>
|
</metadataNamespace>
|
||||||
</metadataFormat>
|
</metadataFormat>
|
||||||
</ListMetadataFormats>
|
</ListMetadataFormats>
|
||||||
|
@ -572,6 +572,11 @@
|
||||||
<dc:rights>
|
<dc:rights>
|
||||||
<xsl:value-of select="@NameLong" />
|
<xsl:value-of select="@NameLong" />
|
||||||
</dc:rights>
|
</dc:rights>
|
||||||
|
<xsl:if test="@Name = 'CC BY' or @Name = 'CC BY-SA'">
|
||||||
|
<dc:rights>
|
||||||
|
<xsl:text>info:eu-repo/semantics/openAccess</xsl:text>
|
||||||
|
</dc:rights>
|
||||||
|
</xsl:if>
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|
||||||
</xsl:stylesheet>
|
</xsl:stylesheet>
|
|
@ -349,6 +349,14 @@
|
||||||
</xsl:attribute>
|
</xsl:attribute>
|
||||||
<xsl:value-of select="@NameLong" />
|
<xsl:value-of select="@NameLong" />
|
||||||
</rights>
|
</rights>
|
||||||
|
<xsl:if test="@Name = 'CC BY' or @Name = 'CC BY-SA'">
|
||||||
|
<rights>
|
||||||
|
<xsl:attribute name="rightsURI">
|
||||||
|
<xsl:text>info:eu-repo/semantics/openAccess</xsl:text>
|
||||||
|
</xsl:attribute>
|
||||||
|
<xsl:text>Open Access</xsl:text>
|
||||||
|
</rights>
|
||||||
|
</xsl:if>
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|
||||||
</xsl:stylesheet>
|
</xsl:stylesheet>
|
Loading…
Reference in New Issue
Block a user