gmail - Invalid JSON-LD? -
i have been playing json-ld while , wondering usage correct? shouldn't @context contain url? validator seems accept both.. playground on json-ld.org strangely neither. returns following error:
{"name":"jsonld.invalidurl","message":"derefencing url did not result in valid json-ld object. possible causes inaccessible url perhaps due same-origin policy (ensure server uses cors if using client-side javascript), many redirects, or non-json response.","details":{"url":"http://schema.org","cause":{"name":"jsonld.loadcontexterror","message":"url not dereferenced, error occurred.","details":{"url":"http://schema.org","cause":""}}}}
thanks, sam
the context schema.org
correctly understood google , decision drop http://
made in order simplify developers' lives.
check w3c thread complete discussion implementation: http://lists.w3.org/archives/public/public-rdf-wg/2013may/0183.html
Comments
Post a Comment