284
results for "alternate"
-
So should more people do rel-home alternate on feeds?
GWG
at
2020-02-12 18:42
-
Yes, from mf2 it looks like feed for the homepage, because mf2 might think there was a link to a.html with the rels "home alternate" on it at once
Zegnat
at
2020-02-12 18:39
-
alternate does not mean feed all by itself
[tantek]
at
2020-02-12 18:38
-
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 18: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 18:38
-
<link rel="stylesheet" href="style.css"><link rel="alternate" href="style.css"> makes very little sense.
Zegnat
at
2020-02-12 18: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 18: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 18:29
-
<link href="a" rel="thing"><link href="a" rel="alternate"> will turn into { "a": { "rels": ["thing", "alternate"] } }
Zegnat
at
2020-02-12 18: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 18:20