[whatwg] a rel=attachment

Alexey Proskuryakov ap at webkit.org
Fri Jul 15 09:08:57 PDT 2011


14.07.2011, в 13:59, Tab Atkins Jr. написал(а):

>> 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.


What meaning will this attribute have on a platform that simply doesn't expose the notion of a file?

I think that this attribute could be quite confusing, and it will likely become more confusing with time, as more platforms arise that have creative ways of presenting data to users. 

It also doesn't naturally help understanding that it's just poor man's Content-Disposition:attachment. From this point of view, I like Ian's original proposal (rel=attachment) more.

- WBR, Alexey Proskuryakov




More information about the whatwg mailing list