file/dataset add schema.org#332
Conversation
mapping file class elts to schema.org
dataset elts mapping to schema.org; needs some struct formatting, and will drop d+m at the end
|
It still needs a little formatting, eg. for authour.. I had this under a branch called schema.org, but this 1st cut only has metadata from those 2 classes |
start of method to see license url only now, as json-ld
use new method for license as json-ld
MiniUser to_jsonld but has problems with embedded quotes, will fix soon
call Miniuser to_jsonld which has an embedded quote problem also removed test elts that shouldn't go in the final page
misspelling in context
construct as one JsObject but even replaceAll isn't getting rid of the " s yet
@html(dataset.author.to_jsonld()) keeps as unescaped html
don't need replace, will @html(dataset.author.to_jsonld()) in the call
import play.api.libs.json._ ;rm un-needed vars
file.author miniUser also to_jsonld
335 Changelog update, but not sure for which release
|
No sitemap generation in this go, but do have File and Dataset attributes mapped to schema.org predicates and embedded in each of those pages as ld+json that can be parsed by https://validator.schema.org More in #335 |
…fault licsense url
lmarini
left a comment
There was a problem hiding this comment.
I'll play a bit more with it in the next couple of days, but I wanted to leave a couple of quick comments. Thanks!
Description file/dataset add schema.org
Review Time Estimate
Types of changes
Checklist: