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

[whatwg] a rel=attachment

From: Bjartur Thorlacius <svartman95@gmail.com>
Date: Thu, 14 Jul 2011 21:55:32 +0000
Message-ID: <CAOKKrgOqcVg2rh-4r0Rz0g6zd4nCeBTo=bAv_k8h3=yb8EpEmQ@mail.gmail.com>
On 7/14/11, Karl Dubost <karld at opera.com> wrote:
> what about adding
>
> <a href="foo.pdf" target="_download">Save a Tree, Eat a beaver</a>
>
This seems like the best solution to me. A filename hint has two use
cases: a suggestion for a local identifier, and providing a filename
extension for systems that use them to identify file types with
incomplete or nonexistent /etc/mime.type media type mappings. I'll
only name so many pictures "pic.jpg", so I suggest using the
descriptive (and thus verbose) value of the title attribute. The worst
problem will be encoding the name on filesystems such as FAT.

<a href="//samplecdn.example/pix/2011/7/14/party/cake"
title="S?kkula?ikaka me? ?s" target="_download">Afm?liskaka m?n</a>
Received on Thursday, 14 July 2011 14:55:32 UTC

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