GithubHelp home page GithubHelp logo

Comments (4)

davidlehn avatar davidlehn commented on August 24, 2024 2

I covered up the problem by also rewriting schema.org URL without the trailing slash. A proper fix is a bit more involved: #813.

from json-ld.org.

rlzijdeman avatar rlzijdeman commented on August 24, 2024 1

Hi, could I please nudge this issue? https://dataverse.org provides "http://schema.org" in their Linked Data representation (e.g. see the header in the source code of: https://datasets.iisg.amsterdam/dataset.xhtml?persistentId=hdl:10622/XZAHCX ).

However, since the playground doesn't accept the json-ld as valid, our national heritage network argues that the Linked Data doesn't comply with json-ld standards.

from json-ld.org.

gkellogg avatar gkellogg commented on August 24, 2024

This would be something for @davidlehn to look at, I think. But, that said, our advice is that contexts be cached, and given how slowly schema.org actually changes, we should have a built-in version of that context so we're not irking DanBri more than necessary.

from json-ld.org.

davidlehn avatar davidlehn commented on August 24, 2024

I can look later, but maybe a quick fix for the common schema.org case is to just add a no trailing slash check here:
https://github.com/json-ld/json-ld.org/blob/main/playground/playground.js#L1599-L1601

Maybe the real reason is the proxy hack needs work to handle redirects, but I'd rather just see this entirely go away:
https://github.com/json-ld/json-ld.org/blob/main/playground/proxy.php

from json-ld.org.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.