Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some Lodview pages do not display the value of rdfs:label or skos:prefLabel (as expected) in the HTML header #1

Open
florenceclavaud opened this issue Feb 7, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@florenceclavaud
Copy link
Collaborator

florenceclavaud commented Feb 7, 2023

See for example the following pages where the header contains the value of rico:identifier property: http://51.159.140.210/lodview/place/FRAN_RI_025-d3nz9op4hb--141k4nw8fz536.html or http://51.159.140.210/lodview/place/FRAN_RI_021-d3nyv5jo07--11vv6ggdeixfq.html. While this page: http://51.159.140.210/lodview/occupationType/FRAN_RI_010-d699msizu7v--40vdsgsdg0bg.html is correct.
This issue was fixed a few months ago (before June 2022 I think). Maybe the demonstrator uses an old version of the Lodview config.

@florenceclavaud florenceclavaud added the bug Something isn't working label Feb 7, 2023
@florenceclavaud florenceclavaud changed the title Some Lodview pages do not not displaying the value of rdfs:label in the HTML header Some Lodview pages do not display the value of rdfs:label or skos:prefLabel (as expected) in the HTML header Feb 7, 2023
@tfrancart tfrancart self-assigned this Mar 31, 2023
@tfrancart
Copy link
Contributor

This is the LodView configuration file that I think was used (I cannot garantee it since now the server on Huma-Num is topped) conf.zip

the file is placed in the lodview/WEB-INF directory.

See in particular line 198 where it defines the properties to be used as titles, in a list:

	conf:titleProperties (
		#rico:identifier
		#rico:history
		rico:title 
		dc:title 
	    dcterms:title 
		rdfs:label 
		<http://www.w3.org/2004/02/skos/core#prefLabel> 
		<http://www.w3.org/2008/05/skos-xl#prefLabel> 
		<http://www.w3.org/2009/08/skos-reference/skos.html#prefLabel> 
		gn:officialName 
		gn:name 
		rdf:value 
		foaf:surname 
		<http://purl.org/collections/nl/am/title> 
		<http://xmlns.com/foaf/0.1/name> 
		rico:identifier ); 

If your config file is not identical to this one, you can try replacing it with this one

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants