[whatwg] a rel=attachment

Tab Atkins Jr. jackalmage at gmail.com
Thu Jul 14 13:59:35 PDT 2011


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.

~TJ



More information about the whatwg mailing list