[whatwg] a rel=attachment

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

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