-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add link type(s) for UI(s) #87
Comments
Alternate link type might help here. Example: {
"@context": [ "https://www.w3.org/2019/wot/td/v1"],
"links": [{
"rel": "alternate",
"href": "https://servient.example.com/things/lampUI",
"type": "application/html"
}]
...
} |
Not sure if this word is semantically correct, I would expect an alternative to the TD, like one for a local network served by a proxy/gateway. At the same time, I don't know of a perfect one since the link relation types are "created" for HTML documents that already are the user interface. I think |
Should discuss link types here and make PRs against https://github.com/w3c/wot-architecture/blob/master/REQUIREMENTS/link-relation-types.md to capture them. |
Agree it is not a super fit. However, the However, UI is not only HTML. What about a phone application? we could have a link to that as well. We can:
|
Coming from w3c/wot-testing#87, this PR adds two possible link types to point towards WebThing UIs. See [my comment](w3c/wot-testing#87 (comment))
We should in general, if possible, try to use existing IANA link relation types if they are appropriate, otherwise we should define new ones. Existing IANA types are documented here: https://www.iana.org/assignments/link-relations/link-relations.xhtml |
Note also the cross-linked issue in architecture above. |
I only just spotted this issue as it's in the wot-testing repo. Could be added to the Thing Description specification as a recommended way for a web thing to provide its own web UI? The example @relu91 gave is exactly what WebThings currently does. See the example in https://webthings.io/api/#links-member
By my understanding of the |
See map use case. Edit: also possibly relevant to Accessibility.
The text was updated successfully, but these errors were encountered: