All Downloads are FREE. Search and download functionalities are using the official Maven repository.

home.templates.groups.rif.vm Maven / Gradle / Ivy

#set($defaultOnError = "&Invalid XML placeholder... prevents ANDS Harvesting records in error&")
#set($group = $systemConfig.getString($defaultOnError, "redbox.identity", "RIF-CS Group"))

##### START Identifier resolution
#set($pidProperty = $systemConfig.getString($defaultOnError, "curation", "pidProperty"))
#set ($pid = $util.getMetadata($object, $pidProperty))
#if ("$!pid" == "")
    #set ($pid = $util.get($item, "metadata", "rdf:resource"))
    #if ("$!pid" == "")
        #set ($pid = $util.get($item, "metadata", "dc.identifier"))
    #end
#end
##### END Identifier resolution


    
        $util.encodeXml($pid)
        $urlBase
        
            $util.encodeXml($pid)

            ### Name
            
                $util.encodeXml($util.get($item, "data", "Name"))
            

            
            ### Home Page
            #set ($value = $util.get($item, "data", "Homepage"))
            #if ("$!value" != "")
                
$util.encodeXml($value)
#end ### Email address #set ($value = $util.get($item, "data", "Email")) #if ("$!value" != "")
$util.encodeXml($value)
#end ### Phone Number #set ($value = $util.get($item, "data", "Phone")) #if ("$!value" != "")
$util.encodeXml($value)
#end
### Description #set ($value = $util.get($item, "data", "Description")) #if ("$!value" != "") $util.encodeXml($value) #else $util.encodeXml($util.get($item, "data", "Name")) #end ### Relations #set($valueList = $item.getJsonSimpleList("relationships")) #if($valueList) #foreach($value in $valueList) #if ($value.getBoolean(false, "isCurated")) #set($key = $value.getString("empty", "curatedPid")) #set($rel = $value.getString("hasAssociationWith", "relationship")) #if ($key != "empty") $util.encodeXml($key) #end #end #end #end




© 2015 - 2025 Weber Informatics LLC | Privacy Policy