-
Notifications
You must be signed in to change notification settings - Fork 122
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
Do not require rel=self for discovery #36
Comments
The problem is canonicalization/feed aliasing. Most feeds can be accessed I also expect the gains from this simplification to be small since adding On Tue, May 26, 2015 at 2:00 PM, Christian Weiske [email protected]
|
Actually, adding the hub link in Apache is a single configuration line only:
Adding the self URL is difficult because it's a dynamic URL. So it's not the same amount of work; quite the contrary. I understand the issue about the same file being available under multiple URLs. But if there is no self link, the publisher could have to take care that the URLs are only available under one URL. |
I agree with not requiring rel=self. re: canonicalization - there is prior art here we should be re-using, that is, rel=canonical - which is already well deployed and in use. Thus here is a specific proposal. Change: Publishers MUST have a rel=self link at their URL ("the URL")
Thus consuming code:
Regarding: "since adding two links to a feed is basically the same amount of work as adding one link." - absolutely not true in experience. Example 1: what @cweiske said. Example 2: watching numerous users try to add the TWO links required for OpenID and screwing one of them up (in contrast to people trivially adding one rel=me link required for IndieAuth). Basically, requiring two links instead of one for the very common case unnecessarily increases publisher responsibility and fragility of the whole system. |
I'm very strongly against this because this would bring one more case of silent failure. There's http vs https, there's also case issues and a bunch of other examples. Feedburner is pretty famous for this and f you subscribed to this URL instead of this one, you'd never get pings. The worst case is for redirects and in this specific case, the hub has no way of matching the ping-ed URL and the actual feed resource. Again, this is a particularly bad idea because this will silently fail. A subscriber who subscribes to a URL different from the one that is actually pinged to the hub will never receive notifications, and never be able to tell why (because he cannot know which URL is being pinged). THAT makes the protocol fragile. I'm all sorry for anyone working with Apache in general, but I don't think it's a good idea to base a spec on the difficulty of implementing something with a specific web server. I believe most web frameworks will make it trivial to add one Link header vs. 2 (or 100). Now, if the whole debate is to say that "canonical" is better than "self", I'll let you fight around this. We can easily change the spec to tell to subscribers:
|
On Fri, May 29, 2015 at 9:34 AM, Julien Genestoux [email protected]
This doesn't invalidate the point Julien is making. Topic aliasing is a Roman. |
I stand corrected, but that was a large painpoint for along time. I'm glad you guys fixed it :) |
The discovery phase currently requires that a document has two relation links:
rel=hub
rel=self
What is the reason for
rel=self
?In my eyes,
rel=hub
should suffice sincerel=self
will be the URL itself. It should be made optional.cc @aaronpk @tantek - http://indiewebcamp.com/irc/2015-03-18#t1426690743557
The text was updated successfully, but these errors were encountered: