W3C home > Mailing lists > Public > public-annotation@w3.org > August 2015

Re: [web-annotation] Dropping type from ... what?

From: Rob Sanderson via GitHub <sysbot+gh@w3.org>
Date: Thu, 27 Aug 2015 16:10:11 +0000
To: public-annotation@w3.org
Message-ID: <issue_comment.created-135480566-1440691810-sysbot+gh@w3.org>
-1 to dropping the content types and relying exclusively on media 
types.  Unless I'm out of touch (and @tilgovi @BigBlueHat please 
correct or confirm), you cannot get access to the media type of a 
resource in javascript.  To be concrete, you cannot determine (for 
example) whether an image is image/jpeg or image/png in javascript in 
the browser.

Thus 99% of clients would not be able to actually generate the format 
information at all, and thus they would not be able to render the 
target or body resources, as there would be no way to determine how to
 generate the HTML that would include them.

-- 
GitHub Notif of comment by azaroth42
See 
https://github.com/w3c/web-annotation/issues/67#issuecomment-135480566
Received on Thursday, 27 August 2015 16:10:14 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:54:39 UTC