June 11, 2005

WhatWg and HTML 5 <event-source>

From the Ajaxian Blog: HTML 5 vs. XHTML 2:

Event Sources: <event-source src='/some/path' onevent='process(event)'/> rather than a lot of JavaScript and iframes.

To specify an event source in an HTML document authors use a new (empty) element event-source, with an attribute src="" that takes a URI (or IRI) to open as a stream and, if the data found at that URI is of the appropriate type, treat as an event source.


Whoa! I expected cool things from WhatWG, but 'event-source' with a URI as the source? I haven't seen anyone mention that since the KnowNow days... dang, I hope this really makes it out to the public!

No comments: