Re:Web Intents - the future of web apps
by masklinn on Sunday July 03, 2011 @04:04AM
(#2723323)
You don't even need to add attributes for the core behavior:
Add a microformat/microdata attribute to provide a browser hint if desired (for native browser supports or browser extension) and you're done:
[ Parent
| on HN ]
In this case, the intent degrades to a link to the action URI for browsers that don't support intents. What would be at the action URI? An error message or something that tries to fulfill the intent?
> In this case, the intent degrades to a link to the action URI for browsers that don't support intents.
Or when no support library is added on the client to provide some kind of in-page UI enhancement. Yes, that's the whole point: building on existing and well-functioning technologies to avoid that things break down completely and that a segment of the population is entirely left out for no good reason.
> What would be at the action URI? An error message or something that tries to fulfill the intent?
Second case, some sort of intents picker if multiple web services can fulfill it, or a redirection to the intent handler if there is only one. An error message if there is no registered service able to handle the intent.
And it keeps the distribution of intents registrar from your proposal, which I think is a good idea.