Skip to content

shape or property to suggest filename when downloading a resource #73

Description

@elf-pavlik

https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/download

The HTMLAnchorElement.download property is a string indicating that the linked resource is intended to be downloaded rather than displayed in the browser. The value, if any, specifies the default file name for use in labeling the resource in a local file system. If the name is not a valid file name in the underlying OS, the browser will adjust it.

I'm using nfo:fileName, and include it in the Description Resource for non-RDF Resources.
I don't know if we need a full shape or just one standard property, either way it would be useful to have a common way for setting such suggested filename.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions