1177
results for "alternate"
-
And I do not know any rel values other than alternate that this is important for, so ... meh? Seems fine to use rel-urls
Zegnat
at
2020-02-12 19:38
-
<link rel="home" href="a.html"><link rel="alternate" href="a.html"> - would surely have the same limition, in that per HTML spec this is defining 2 unique “links”. Neither of them claiming that a.html is a feed for the homepage. But the mf2 output would suggest that it is.
Zegnat
at
2020-02-12 19:38
-
<link rel="stylesheet" href="style.css"><link rel="alternate" href="style.css"> makes very little sense.
Zegnat
at
2020-02-12 19:35
-
[tantek]: not according to the spec for alternate. It is very clear that it needs to be on the same element
Zegnat
at
2020-02-12 19:34
-
So the parser output makes no difference between the two links created, and the one like created with rel "alternate thing"
Zegnat
at
2020-02-12 19:29
-
<link href="a" rel="thing"><link href="a" rel="alternate"> will turn into { "a": { "rels": ["thing", "alternate"] } }
Zegnat
at
2020-02-12 19:28
-
I think rel-feed is nice in addition to rel-alternate as rel-alternate is specced to only refer to a feed together with 2 specific type-attributes. While rel-feed gets to widen this to any document type, e.g. JSON.
Zegnat
at
2020-02-12 19:20
-
Feels to me like rel-home introduces an extra case to the alternate in addition to what is already speced in the HTML spec. Seems fine to me.
Zegnat
at
2020-02-12 19:19
-
Yeah, alternate specifically defines itself as changing meaning depending on other factors: https://html.spec.whatwg.org/multipage/links.html#rel-alternate
Zegnat
at
2020-02-12 19:01
-
No. That's not how rel works. Rel values combine. E.g. rel="alternate stylesheet" has worked this way for over a decade. Rel values also combine with other attributes, e.g. use rel="alternate" media="handheld" on a link to a separate mobile-specific version of a page. Tantek 20:56, 10 August 2011 (UTC)
GWG
at
2020-02-12 18:58