Adding code to make link to rdf/xml of entity page.
This commit is contained in:
parent
822ad3b159
commit
c90d286d8f
3 changed files with 13 additions and 1 deletions
|
@ -216,6 +216,11 @@ public class EntityController extends VitroHttpServlet {
|
|||
css += customCss;
|
||||
}
|
||||
|
||||
if( indiv.getURI().startsWith( vreq.getWebappDaoFactory().getDefaultNamespace() )){
|
||||
vreq.setAttribute("entityLinkedDataURL", indiv.getURI() + "/" + indiv.getLocalName() + ".rdf");
|
||||
}
|
||||
|
||||
|
||||
// generate link to RDF representation for semantic web clients like Piggy Bank
|
||||
// BJL 2008-07-16: I'm temporarily commenting this out because I forgot we need to make sure it filters out the hidden properties
|
||||
// generate url for this entity
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue