W3C home > Mailing lists > Public > whatwg@whatwg.org > July 2011

[whatwg] a rel=attachment

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Thu, 14 Jul 2011 13:59:35 -0700
Message-ID: <CAAWBYDCHFmWJ_kBLVWi_QC5PxMgihVmqdTO7u0_v1CggyfymPw@mail.gmail.com>
On Thu, Jul 14, 2011 at 1:32 PM, Tantek ?elik <tantek at cs.stanford.edu> wrote:
> Indeed, and has been pointed out, already specified (since 2005) and
> implemented as well for HTML:
> http://microformats.org/wiki/rel-enclosure
> re-using the "enclosure" term from the Atom format (thus minimal bikeshedding)

"enclosure" is a completely opaque name.  I have no idea how it is
meant to refer to "download the linked resource instead of navigating
to it".  If I think about it in terms of Atom I can *kinda* imagine
it, but it feels like a bad term there, and it would be an even worse
term in HTML.

A boolean @download attribute is much clearer and more direct.  If
you're using @download to name the file as well, then adding a @rel
value is unneeded.

Received on Thursday, 14 July 2011 13:59:35 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:34 UTC