W3C home > Mailing lists > Public > whatwg@whatwg.org > June 2012

Re: [whatwg] register*Handler and Web Intents

From: Bjartur Thorlacius <svartman95@gmail.com>
Date: Sun, 3 Jun 2012 19:04:35 +0000
To: Ian Hickson <ian@hixie.ch>
Message-ID: <20120603190404.GA1943@strappi>
Cc: whatwg@whatwg.org
On Mon, Apr 02, 2012, Ian Hickson wrote:
> On Tue, 21 Feb 2012, Bjartur Thorlacius wrote:
> >
> > Windows Explorer (the file manager) does for example offer users to edit 
> > images upon right-click. I worry that if URI scheme handlers need not 
> > only take care of fetching but also of presentation, other actions than 
> > view will be unnecessarily hard to implement. Thus I figure retrieval 
> > and presentation must be separated.
> 
> I don't really see how you would tell the browser what the action is.
> 
Users can select actions from context menus. The context menus are populated with the registered actions applicable for the context resource (filtered using the media type as a criterion).

Example (just skip it if the above is clear):
	1. An UA registers an intent (e.g. as found in an <intent> tag)
	2. The UA embeds an image in an interactive document rendering for an user
	3. The user opens a menu of actions pertaining to the image:
		* view (in original resolution)
		* share (on Flickr, via email, or using Bittorrent and an entry in The Pirate Bay)
		* edit (using either Photoshop or Gimp)
	4. The user selects the edit menu, and thereunder Photoshop.

	The only attribute of network protocols that is of concern to most users is authentication. Many also care about encryption. Everything else is a technical detail that should be completely transparent, both to users and composers and viewers.
Received on Sunday, 3 June 2012 19:05:08 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:09:13 UTC