[whatwg] JavaScript I/O

On 4/10/11, Glenn Maynard <glenn at zewt.org> wrote:
> There was a related proposal here, but it only covers data URIs; the <a
> download> approach is simpler and much more useful.
> http://lists.w3.org/Archives/Public/uri/2010Feb/0058.html
My knee-jerk reaction was: use stdin/stdout. To solve this use case we
need some way to open unnamed input and output streams, letting UAs
decide what data to pipe in and out based on acceptable Internet media
types.
This way UAs could filter applicable scripts from a large repo given
one or more input and/or output files of known type, for the user to
select from. Think: A context menu giving suggested actions for a
file, or vice versa. Oh, and this could hopefully be standardized for
programs written in other languages as well.
[/Big Words sans Code]

Received on Sunday, 10 April 2011 11:01:13 UTC