Add rdf link to individual page
This commit is contained in:
parent
7874d600b9
commit
86b6d57fcf
2 changed files with 10 additions and 1 deletions
|
@ -77,6 +77,12 @@ public class IndividualTemplateModel extends BaseTemplateModel {
|
|||
return uri.startsWith(defaultNamespace) ? uri + "/" + getLocalName() + ".rdf" : null;
|
||||
}
|
||||
|
||||
// RY Used for the rdf link on the individual page. Is it correct that this is not the same
|
||||
// as getLinkedDataUrl()?
|
||||
public String getRdfUrl() {
|
||||
return getProfileUrl() + "/" + getLocalName() + ".rdf";
|
||||
}
|
||||
|
||||
public String getEditUrl() {
|
||||
return urlBuilder.getPortalUrl(Route.INDIVIDUAL_EDIT, "uri", getUri());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue