{"action":"created","issue":{"url":"https://api.github.com/repos/pubsubhubbub/PubSubHubbub/issues/33","labels_url":"https://api.github.com/repos/pubsubhubbub/PubSubHubbub/issues/33/labels{/name}","comments_url":"https://api.github.com/repos/pubsubhubbub/PubSubHubbub/issues/33/comments","events_url":"https://api.github.com/repos/pubsubhubbub/PubSubHubbub/issues/33/events","html_url":"https://github.com/pubsubhubbub/PubSubHubbub/issues/33","id":64261287,"number":33,"title":"Specify how publishers notify hubs","user":{"login":"cweiske","id":59036,"avatar_url":"https://avatars.githubusercontent.com/u/59036?v=3","gravatar_id":"","url":"https://api.github.com/users/cweiske","html_url":"https://github.com/cweiske","followers_url":"https://api.github.com/users/cweiske/followers","following_url":"https://api.github.com/users/cweiske/following{/other_user}","gists_url":"https://api.github.com/users/cweiske/gists{/gist_id}","starred_url":"https://api.github.com/users/cweiske/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cweiske/subscriptions","organizations_url":"https://api.github.com/users/cweiske/orgs","repos_url":"https://api.github.com/users/cweiske/repos","events_url":"https://api.github.com/users/cweiske/events{/privacy}","received_events_url":"https://api.github.com/users/cweiske/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-03-25T12:50:41Z","updated_at":"2015-05-19T10:36:42Z","closed_at":null,"body":"Version 0.4 of the spec only defines how subscribers and hubs interact with each other, but not how publishers notify the hub about updates.\r\n\r\nIt is crucial that this is specified, too - otherwise it is not possible for publishers to switch hubs without modifications to the code.\r\n\r\n----\r\nSuperfeedr uses a POST to the hub URL with `hub.mode=publish` and `hub.url=$url_that_was_updated` -  see http://documentation.superfeedr.com/publishers.html\r\n\r\nGoogle's hub does the same; https://pubsubhubbub.appspot.com/\r\n\r\n----\r\n\r\nHubs can still implement other ways of notifications, but they all should support a standardized way to be notified."},"comment":{"url":"https://api.github.com/repos/pubsubhubbub/PubSubHubbub/issues/comments/103432351","html_url":"https://github.com/pubsubhubbub/PubSubHubbub/issues/33#issuecomment-103432351","issue_url":"https://api.github.com/repos/pubsubhubbub/PubSubHubbub/issues/33","id":103432351,"user":{"login":"julien51","id":17735,"avatar_url":"https://avatars.githubusercontent.com/u/17735?v=3","gravatar_id":"","url":"https://api.github.com/users/julien51","html_url":"https://github.com/julien51","followers_url":"https://api.github.com/users/julien51/followers","following_url":"https://api.github.com/users/julien51/following{/other_user}","gists_url":"https://api.github.com/users/julien51/gists{/gist_id}","starred_url":"https://api.github.com/users/julien51/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/julien51/subscriptions","organizations_url":"https://api.github.com/users/julien51/orgs","repos_url":"https://api.github.com/users/julien51/repos","events_url":"https://api.github.com/users/julien51/events{/privacy}","received_events_url":"https://api.github.com/users/julien51/received_events","type":"User","site_admin":false},"created_at":"2015-05-19T10:36:42Z","updated_at":"2015-05-19T10:36:42Z","body":"> It is crucial that this is specified, too - otherwise it is not possible for publishers to switch hubs without modifications to the code.\r\n\r\nBut even if that happens, there *is* a change of configuration/code to be made by the publisher... so I'm not sure this needs to be part of the spec. \r\n\r\nGenerally, I believe the spec should be about one single concern: how the subscriber gets content from a resource they care about. \r\n\r\nLet's say subscriber S is able to get content from publisher P via hub H1 using the current PubSubHubbub protocol. If P switches to H2 but uses a different mechanism to notify them. It does not change *anything* for S. Then, why would the P<->H1/H2 relationship be specified (since it does not affect the end result)?\r\n"}}