-
Notifications
You must be signed in to change notification settings - Fork 25
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
284-other-attr-for-cs #297
Conversation
I tried it with |
Although I have removed Is it because I use |
No, this wasn't the problem, see https://test.skohub.io/build/?id=d824cf8f-d9d5-4dab-9659-0408aae249bf It looks like there is a problem with the HCRT file at https://github.com/acka47/testing-skohub-vocabs/blob/master/hcrt.ttl. I just copied it over from the AMB org and added |
The error was that the SEO component did not receive the new title options and therefore could not build the I also added Maybe just another thing to shortly discuss. How do you suggest the new attributes to be displayed in the JSON? "dctitle": {
"de": "Hochschulcampus Ressourcentypen",
"en": "Higher Education Resource Types",
"nl": "Brontypen voor het hoger onderwijs",
"uk": "Типи ресурсів вищої освіти"
},
"dcdescription": {
"de": "Eine Wertelliste für Typen von Lernressourcen (Learning Resource Type), entstanden im Kontext des Metadatenschemas \"LOM for Higher Education OER Repositories\" (https://w3id.org/dini-ag-kim/hs-oer-lom-profil/latest/)."
} and in the context: "dctitle": {
"@id": "http://purl.org/dc/elements/1.1/title",
"@container": "@language"
},
"dcdescription": {
"@id": "http://purl.org/dc/elements/1.1/description",
"@container": "@language"
}, which is all valid, but we did not talk about it. Is this ok for you? @acka47 |
Do we have one uniform context for all concept schemes right now? Then I am for using Compact IRIs which works like prefixes in turtle: "dc:title": {
"de": "Hochschulcampus Ressourcentypen",
"en": "Higher Education Resource Types",
"nl": "Brontypen voor het hoger onderwijs",
"uk": "Типи ресурсів вищої освіти"
},
"dc:description": {
"de": "Eine Wertelliste für Typen von Lernressourcen (Learning Resource Type), entstanden im Kontext des Metadatenschemas \"LOM for Higher Education OER Repositories\" (https://w3id.org/dini-ag-kim/hs-oer-lom-profil/latest/)."
} and in the context: {
"dc":"http://purl.org/dc/elements/1.1/",
"dct":"http://purl.org/dc/terms/",
"dc:title":{
"@id":"http://purl.org/dc/elements/1.1/title",
"@container":"@language"
},
"dc:description":{
"@id":"http://purl.org/dc/elements/1.1/description",
"@container":"@language"
}
} An even nicer approach might be to generate the context separately for each vocab, we could map |
Now everything is working fine and we'll only have to update the context as discussed above. |
Also added multiple tests.
@acka47 Implemented changes as requested. And deployed to |
...testing skohub-io/skohub-vocabs#297
The JSON looks good now but I encountered a problem with the HTML build. It is completing but the site does not work in the browser:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After deleting my browser cache it worked as expected. +1
Added attributes as proposed in #284