Re: Linked Data and a new Browser API event

2015-06-26 Thread Jonas Sicking
On Fri, Jun 26, 2015 at 5:37 PM, Benjamin Francis wrote: > On 26 June 2015 at 08:00, Anne van Kesteren wrote: >> >> Is the idea to just keep adding events for each bit of >> information we might need from a document? > > That is how the Browser API works. I don't think that we should be terribly

Re: Linked Data and a new Browser API event

2015-06-26 Thread Benjamin Francis
On 26 June 2015 at 08:00, Anne van Kesteren wrote: > Is the idea to just keep adding events for each bit of > information we might need from a document? > That is how the Browser API works. Ben ___ dev-platform mailing list dev-platform@lists.mozilla.

Re: Linked Data and a new Browser API event

2015-06-26 Thread Jonas Sicking
On Thu, Jun 25, 2015 at 7:19 PM, Benjamin Francis wrote: > and JSON-LD (because it supports Gaia's more complex use cases). Hi Ben, My only concern here is that if you pin a contact, it seems to me that it would be good if the name and picture of that homescreen UI should be quickly updated if t

Re: Linked Data and a new Browser API event

2015-06-26 Thread Benjamin Francis
On 26 June 2015 at 08:29, Karl Dubost wrote: > Maybe there is a way to start small. Iterate. Look at the results. And > push further in the direction which appears to be meaningful. > Exactly, I'm looking for a solid MVP that we can iterate on. More detailed response to Ted's post coming...

Re: Linked Data and a new Browser API event

2015-06-26 Thread Karl Dubost
Le 26 juin 2015 à 08:00, Anne van Kesteren a écrit : > What you outlined still seems like a rather giant hack to get this one > thing working. Is the idea to just keep adding events for each bit of > information we might need from a document? Maybe there is a way to start small. Iterate. Look at

Re: Linked Data and a new Browser API event

2015-06-26 Thread Anne van Kesteren
Removing dev-webapi since it's (near) dead. On Thu, Jun 25, 2015 at 7:19 PM, Benjamin Francis wrote: > Unless there's a really good reason not to do so, I'm going to file the bugs > and look towards getting this implemented on the Browser API as soon as > possible. What you outlined still seems

Re: Linked Data and a new Browser API event

2015-06-25 Thread Benjamin Francis
To follow up on this, there is resistance against implementing the more complex Microdata or RDFa specifications in Gecko. We definitely now need some form of Linked Data support for Firefox OS 2.5 so I'm suggesting the following: We should support Open Graph (because of its wide usage by existing

Re: Linked Data and a new Browser API event

2015-06-04 Thread Benjamin Francis
On 3 June 2015 at 19:42, Benjamin Francis wrote: > This is what I'd really like to get more of, particularly usage data. > I've reached out to a few people at Yahoo, Google and a couple of universities and have managed to turn up a few studies with useful data [1][2][3][4]. My conclusions so fa

Re: Linked Data and a new Browser API event

2015-06-04 Thread Robin Berjon
On 04/06/2015 12:34 , Benjamin Francis wrote: On 4 June 2015 at 03:27, Michael[tm] Smith wrote As came up in some off-list discussion with Anne, is the “Manifest for a web application” spec at https://w3c.github.io/manifest/ not relevant here? (Nothing to reverse engineer, since it has an actua

Re: Linked Data and a new Browser API event

2015-06-04 Thread Benjamin Francis
On 4 June 2015 at 03:27, Michael[tm] Smith wrote > As came up in some off-list discussion with Anne, is the “Manifest for a > web application” spec at https://w3c.github.io/manifest/ not relevant > here? > (Nothing to reverse engineer, since it has an actual spec—with defined > processing require

Re: Linked Data and a new Browser API event

2015-06-03 Thread Michael[tm] Smith
[re-sending with Marcos actually Cc’ed this time] Marcos, if you’ve not been following along already, full context starts at https://lists.mozilla.org/pipermail/dev-platform/2015-May/010149.html Anne van Kesteren , 2015-06-02 08:31 +0900: > On Sun, May 31, 2015 at 5:09 AM, Jonas Sicking wrote: >

Re: Linked Data and a new Browser API event

2015-06-03 Thread Michael[tm] Smith
[cc’ing Marcos] Marcos, if you’ve not been following along already, full context starts at https://lists.mozilla.org/pipermail/dev-platform/2015-May/010149.html Anne van Kesteren , 2015-06-02 08:31 +0900: > On Sun, May 31, 2015 at 5:09 AM, Jonas Sicking wrote: > > We should use whatever formats p

Re: Linked Data and a new Browser API event

2015-06-03 Thread Michael[tm] Smith
Benjamin Francis , 2015-06-03 19:42 +0100: ... > Open Graph is quite primitive in comparison to other formats in terms of > what can be expressed (and it's not clear to me whether it validates as > either valid HTML5 or valid RDFa) It’s not valid HTML(5), because the HTML spec doesn’t allow the me

Re: Linked Data and a new Browser API event

2015-06-03 Thread Benjamin Francis
Thanks for all the responses so far! Comments inline... On 30 May 2015 at 21:09, Jonas Sicking wrote: > We should use whatever formats people are using to mark up pages. If that > is microdata we should use that. If it's RDF we should use that. If its > JSONLD we should use that. > Agree, that's

Re: Linked Data and a new Browser API event

2015-06-02 Thread Tantek Çelik
Gordan has the right general idea to approaching this problem space. On Mon, Jun 1, 2015 at 5:42 PM, Gordon Brander wrote: > On June 1, 2015 at 17:34:48 , Jonas Sicking (jo...@sicking.cc) wrote: >> I think we're already talking about reverse-engineering what search >> engines and twitter/facebook

Re: Linked Data and a new Browser API event

2015-06-01 Thread Gordon Brander
On June 1, 2015 at 17:34:48 , Jonas Sicking (jo...@sicking.cc) wrote: > I think we're already talking about reverse-engineering what search > engines and twitter/facebook/etc do. >  > But I'm still all for proper standardization. Including driving > towards good technical solutions. Yup. We’re rea

Re: Linked Data and a new Browser API event

2015-06-01 Thread Jonas Sicking
On Mon, Jun 1, 2015 at 4:31 PM, Anne van Kesteren wrote: > On Sun, May 31, 2015 at 5:09 AM, Jonas Sicking wrote: >> We should use whatever formats people are using to mark up pages. If that is >> microdata we should use that. If it's RDF we should use that. If its JSONLD >> we should use that. >>

Re: Linked Data and a new Browser API event

2015-06-01 Thread Karl Dubost
Benjamin, Le 30 mai 2015 à 21:35, Benjamin Francis a écrit : > But Microdata is only one of the formats widely used on the web today. I'd > like to see some evidence-based discussion on which format(s) we should > support to get the most possible value out of what already exists on the > web. The

Re: Linked Data and a new Browser API event

2015-06-01 Thread Anne van Kesteren
On Sun, May 31, 2015 at 5:09 AM, Jonas Sicking wrote: > We should use whatever formats people are using to mark up pages. If that is > microdata we should use that. If it's RDF we should use that. If its JSONLD > we should use that. > > The API that is used to extract the data is irrelevant. That

Re: Linked Data and a new Browser API event

2015-05-30 Thread Gordon Brander
We should consider a series of fallbacks for this internal API. The metadata story for things like icon, title, description, hero images, is complicated. Implementation in the follows real-world use cases like posting rich snippets to Facebook or getting an image to show up on Twitter, rather t

Re: Linked Data and a new Browser API event

2015-05-30 Thread Jonas Sicking
We should use whatever formats people are using to mark up pages. If that is microdata we should use that. If it's RDF we should use that. If its JSONLD we should use that. The API that is used to extract the data is irrelevant. That will be an internal API anyway. Effectively we should think of t

Re: Linked Data and a new Browser API event

2015-05-30 Thread Benjamin Francis
On 30 May 2015 at 00:56, Anne van Kesteren wrote: > We've bitten ourselves before going down the RDF rathole (see > extensions et al). Not sure we should so rapidly start again. Why > can't you use the Microdata API? > Is this already supported in Gecko? I can't find it documented anywhere, exce

Re: Linked Data and a new Browser API event

2015-05-29 Thread Anne van Kesteren
On Fri, May 29, 2015 at 2:55 AM, Benjamin Francis wrote: > Actually what might make more sense is a getLinkedData() method on the API > which returns a Promise that resolves with the JSON data, as I think we're > also going to need a getManifest() method which could work in a similar way. We've b

Re: Linked Data and a new Browser API event

2015-05-28 Thread Benjamin Francis
On 28 May 2015 at 18:13, Benjamin Francis wrote: > For the real implementation I suggest we investigate supporting one or > more formats for Linked Data in web pages (based on level of adoption) and > surface them to Gaia through a linkeddatachange event on the Browser API. I > propose that the p