VIVO-1039: the DOI property will now be a link that accesses the document.
This commit is contained in:
parent
2eb332c74c
commit
46695e9ba2
5 changed files with 55 additions and 2 deletions
|
@ -879,3 +879,4 @@ add_capitalized = Añadir
|
||||||
researcher_role = El papel del investigador
|
researcher_role = El papel del investigador
|
||||||
search_service_btn = Búsqueda el servicio
|
search_service_btn = Búsqueda el servicio
|
||||||
through_today = publicaciones sobre la fecha de hoy
|
through_today = publicaciones sobre la fecha de hoy
|
||||||
|
doi_link=Digital Object Identifier (DOI)
|
30
productMods/config/listViewConfig-doi.xml
Normal file
30
productMods/config/listViewConfig-doi.xml
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||||
|
<!-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
|
||||||
|
|
||||||
|
<!-- VIVO-specific default list view config file for object properties
|
||||||
|
|
||||||
|
See guidelines in vitro/doc/list_view_configuration_guidelines.txt -->
|
||||||
|
|
||||||
|
<list-view-config>
|
||||||
|
<query-select>
|
||||||
|
|
||||||
|
SELECT ?value
|
||||||
|
WHERE {
|
||||||
|
|
||||||
|
?subject ?property ?value
|
||||||
|
FILTER isLiteral(?value)
|
||||||
|
|
||||||
|
} ORDER BY ?value
|
||||||
|
</query-select>
|
||||||
|
|
||||||
|
<query-construct>
|
||||||
|
|
||||||
|
CONSTRUCT {
|
||||||
|
?subject ?property ?value
|
||||||
|
} WHERE {
|
||||||
|
?subject ?property ?value
|
||||||
|
}
|
||||||
|
</query-construct>
|
||||||
|
|
||||||
|
<template>propStatement-doi.ftl</template>
|
||||||
|
</list-view-config>
|
|
@ -0,0 +1,17 @@
|
||||||
|
<#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
|
||||||
|
|
||||||
|
<#-- VIVO-specific default data property statement template.
|
||||||
|
|
||||||
|
This template must be self-contained and not rely on other variables set for the individual page, because it
|
||||||
|
is also used to generate the property statement during a deletion.
|
||||||
|
-->
|
||||||
|
<@showStatement statement />
|
||||||
|
|
||||||
|
<#macro showStatement statement>
|
||||||
|
<a href="http://dx.doi.org/${statement.value!}" title="${i18n().doi_link}" target="_blank">${statement.value!}</a>
|
||||||
|
</#macro>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -126,4 +126,8 @@
|
||||||
<display:listViewConfigFile rdf:datatype="http://www.w3.org/2001/XMLSchema#string">listViewConfig-scopusId.xml</display:listViewConfigFile>
|
<display:listViewConfigFile rdf:datatype="http://www.w3.org/2001/XMLSchema#string">listViewConfig-scopusId.xml</display:listViewConfigFile>
|
||||||
</rdf:Description>
|
</rdf:Description>
|
||||||
|
|
||||||
|
<rdf:Description rdf:about="http://purl.org/ontology/bibo/doi">
|
||||||
|
<display:listViewConfigFile rdf:datatype="http://www.w3.org/2001/XMLSchema#string">listViewConfig-doi.xml</display:listViewConfigFile>
|
||||||
|
</rdf:Description>
|
||||||
|
|
||||||
</rdf:RDF>
|
</rdf:RDF>
|
||||||
|
|
|
@ -884,3 +884,4 @@ add_capitalized = Add
|
||||||
researcher_role = Researcher Role
|
researcher_role = Researcher Role
|
||||||
search_service_btn = Search Service
|
search_service_btn = Search Service
|
||||||
through_today = Publications through today's date
|
through_today = Publications through today's date
|
||||||
|
doi_link=Digital Object Identifier (DOI)
|
Loading…
Add table
Reference in a new issue