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

deterministic order of title properties #36

Open
KonradHoeffner opened this issue Dec 9, 2019 · 1 comment
Open

deterministic order of title properties #36

KonradHoeffner opened this issue Dec 9, 2019 · 1 comment

Comments

@KonradHoeffner
Copy link
Contributor

I use multiple title properties and I want LodView to always prioritize a property early in the list to one later in the list. For example, in the example below, it should always use rdfs:label when present and only fall back on skos.prefLabel when that is not available.

conf:titleProperties dc:title , dcterms:title, rdfs:label , skos:prefLabel, skos:altLabel

As you can see on the screenshot below, the skos:altLabel is used as title even though the rdfs:label value is present. To further complicate the issue, this error does not always occur and is thus hard to confirm. When it is shown correctly, even reloading multiple times does not show the error, maybe it is cached.

lodviewerror

@tfrancart
Copy link

I strongly support this evolution. The list of title and description properties should be ordered in the configuration. LodView should test these properties in order and use the first value it finds.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants