12
edits
| Line 64: | Line 64: | ||
Perhaps it could look something like this: | Perhaps it could look something like this: | ||
* | /** | ||
* | * @param protocol The protocol to register for, e.g., "mailto" | ||
* | * @param uri Includes a %s for substituting the escaped protocol URI | ||
** | * @param title User-facing title of the web app | ||
* | */ | ||
* | registerProtocolHandler(protocol, uri, title) | ||
** "uri | |||
* | /** | ||
** | * @param feed-type Type of feed ("text", "audio", "video", "image"?... or format?) | ||
* @param uri Includes a %s for substituting the escaped protocol URI | |||
* @param title User-facing title of the web app | |||
*/ | |||
registerFeedHandler(feed-type, uri, title) | |||
/** | |||
* @param mime-type The MIME-type of the data, e.g, "application/pdf" | |||
* @param uri The URI to POST the data to | |||
* @param title User-facing title of the web app | |||
*/ | |||
registerFileHandler(mime-type, uri, title) | |||
/** | |||
* @param name The type of microformat | |||
* @param uri The URI to POST the data to | |||
* @param title User-facing title of the web app | |||
*/ | |||
registerMicroformatHandler(name,uri,title) | |||
This differs from the current WHAT WG spec in the following ways: | This differs from the current WHAT WG spec in the following ways: | ||
edits