67 points · by telemachos · 15y ago · 21 comments
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.
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/