Web Intents
webintents.org
webintents.org
There seems to have been little if any change since then.
"mailto:" is a protocol that is interpreted by the user agent, to launch the user's preferred mail client. We could also have "share:", to launch the user's preferred way of sharing things.
So why not this?
<a href="share:http://sample.com/url/">Share this</a>
It's a bit odd to have the protocol wrapping what looks like another protocol, but it's legal. One might even have the convention that an empty share means the current url. Then it would be just <a href="share:">Share this</a>.The URL could point to an image, a movie, a web page, JSON, etc. The only thing it does not make easy/practical is passing large data chunks inline.
As to the latency: if large data isn't available locally, someone will have to take a hit. I do not see why severing this to the provider would be problematic.
If it is available locally, I would hope that the intent provider can retrieve it from cache.
Also, deferring the loading enables optimizations. Suppose I see an image on example.com that I want to share using Flickr. If I send the URL to Flickr, it can retrieve the image from example.com using its fat Internet pipe. If, instead, I have to send the image, I have much more upstream data. Even at home, that can be problematic. Mobile, things are worse.
Here's a few ways that makes this promising:
- Using a common set of standard services makes communication application-agnostic
- It reduces dependencies across applications - applications can change, but the services remain the same
- Innovation will be driven by features, not by adoption of one application's API vs. another application's API - this plays into Google's philosophy that innovation should ultimately prevail
Interesting stuff.
(I would also like to see browsers more closely support e.g. the big JS libraries like jQuery (UI) et al by having a local copy you can opt in to using instead of having the user download them yet again, but that's a separate dream.)
Wait, why stop there? Aren't there all kinds of actions that should be handled by the user-agent? There are N verbs that we could get excited about wiring up, across M potential service providers. Woo hoo!
Of course, once the enthusiasm for the shiny wears off, we don't really want to have to experience the web this way. Do we?
[1] http://webintents.org/
[2] http://www.webintents.org/
[3] http://www.webintents.com/