RE: Google adds JSON-LD support to Gmail

On Thursday, May 16, 2013 11:08 AM, Manu Sporny wrote:

> Google just added JSON-LD support to Gmail. It was announced at Google
> I/O (thanks to Bob Du Charme for spotting it):

Woohoo!


> They have decided to not use a URL in the '@context'. I'm currently
> trying to find out why they did this. If they did this on purpose, we
> may have to do another LC to accept 'keywords' in the @context field.
> Ideally, we can just ask them to put 'http://' in front of the
> parameter. It's the only place that they deviated from the spec (which
> is actually pretty good).

Just a quick idea because I'm in a hurry.. Perhaps we could also use
WHATWG's URL parsing algorithm

http://url.spec.whatwg.org/#parsing

but that would probably mean that relative URLs are not supported anymore
which would be very bad!

Let's hope they add the http://



--
Markus Lanthaler
@markuslanthaler

Received on Thursday, 16 May 2013 14:43:25 UTC