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
Could not load remote context (http://schema.org/): %Jason.DecodeError
...
#9
Comments
I've been looking into this a bit and I found this SE answer: It seems like http://schema.org/ used to use HTTP redirection / content negotiation, but it now uses the I can give all of that a go in a bit. |
What I would do, to be clear, is refactor to allow for both redirecting and the Honestly, if those are the only two options, then it might just make sense to mock the HTTP requests for the sake of the tests. Hopefully there isn't a third standard that starts being used 😅 |
This behavior is, in fact, called for by the API LoadDocumentCallback.
|
@cheerfulstoic Your fix was just released with v0.3.7. Again, sorry, things have taken so long. I've had a bit of a whirlwind recently. |
No worries, happy that it was helpful! 😄 |
Hey!
I tried this with a few examples from articles I found online, but I was able to reproduce it with a simple example from the JSON-LD playground, so I'm going to provide that here. Here's what I tried:
I notice that in this example the
@context
is a string, whereas from yourREADME
it's an object. Should I be doing some other operation? I'm pretty new to JSON+LD.... 😅The text was updated successfully, but these errors were encountered: