Intent Tag Has Landed In Webkit
trac.webkit.org
trac.webkit.org
When you think about it this seems to align well with the original philosophies of the web. Exciting times.
This is huge for web apps, and is a huge blow for local file system fans.
I could, as you suggest, set a default, but if I do that then that browser owns all of my links and the only way to change it is to hunt down the setting to disable the default (which is buried in the settings UI I suppose).
So I live with the (extreme annoyance) of clicking on a link within the browser that then prompts me which browser I'd like to use to open it.
Getting the UX right on this is by far the most important part of the project.
It's less discoverable than a delay, but it is also far less annoying in the common case.
We do have an inline disposition, but it is not as in-page inline as I think you are suggesting, and even then it is up to the service how it chooses to be opened.
That right there says to me that UX is not the focus and it absolutely should be. Don't ship a feature that you haven't figured out the UX for.
For what percentage of users is this likely to be a concern?
It happens occasionally to me and I'm not a smartphone "power user".
http://android-er.blogspot.de/2011/03/pick-file-using-intent...
After switching from Android to an iPhone, I miss the powerful User Experience that Android provides.
Hopefully Google and Mozilla will put enough resources behind this that it becomes standardized on, and maybe even Microsoft will get on board.
Apple, well, probably not.
Of course, I'm open to other interpretations.
[1] http://www.wired.com/gadgetlab/2011/12/ios-revenues-vs-andro...
[2] http://www.apple.com/pr/library/2011/10/18Apple-Reports-Four...
[3] http://files.shareholder.com/downloads/AAPL/1856667914x0xS11...
[4] http://www.pcworld.com/article/226531/apples_popular_apps_no...
* Poor interoperability between apps (solved by WebIntents)
* Monetization (though services like GitHub and Flickr do this well, and there are providers like http://chargify.com/ to make it easy for developers)
And while I agree that file upload is a major, glaring omission and a constant source of pain, I still hope it's not permanent.
Mozilla web apps / web activities: https://people.mozilla.com/~anarayanan/webapps.html
http://blog.mozilla.org/labs/2011/07/web-apps-update-experim...
A overview of currently envisioned use cases: http://usecases.webintents.org/
Activity base schema (IBM, SAY, Facebook, Six Apart, Google, Microsoft, MySpace): http://activitystrea.ms/head/activity-schema.html
Web intents at w3c: http://dvcs.w3.org/hg/web-intents/raw-file/tip/spec/Overview...
Web Intents is a framework for client-side service discovery and inter-application communication. Services register their intention to be able to handle an action on the user's behalf.
var intent = new Intent("http://webintents.org/edit",
"text/uri-list;type=image/jpeg",
getImageDataURI(...));
navigator.startActivity(intent, imageEdited);
http://dvcs.w3.org/hg/web-intents/raw-file/tip/spec/Overview...You'll notice that all of the editors are Googlers.
http://dvcs.w3.org/hg/web-intents/raw-file/tip/spec/Overview...
What are the security concerns?
<a href="image.png" action="edit">
<a href="myblog.feed" action="subscribe">
<a href="rickroll.vid" action="view" target="_blank"> <a href="edit:mycat.png">
<a href="subscribe:myblog.feed">
<a href="view:rickroll.vid" target="_blank">
Browser vendors get together and implement some basic protocols and a simple UI to change them.Note though that this is something we also considering, we will be bringing in RPH and RCH into the intent declaration.
The intent tag is about the declaration of abilities that your app has so in your model this would also be possible.
Good point about returning data.
<a href="wallst.com?ticker=AAPL" action="stocks" onmessage="update(event)">
Kind of server events attached to the message event of an actionable link. Everything scriptable.You know, just throwing ideas to the wall to see if something sticks.
Seems like something you could probably already do with like an iframe and postMessage. There is a JavaScript based implementation, maybe that's how they do it.
One is about metadata and machine readability whilst the other is about linking web app capabilities.