Docs contents

WebSub

WebSub lets Publishedt know the moment a feed changes, and your new post goes out without waiting for the next check. There's nothing for you to set up, because Publishedt subscribes whenever a feed advertises a hub.

How it works

  1. Publishedt checks the feed and finds a hub, in a Link header or in the feed itself.
  2. It subscribes to the hub, and the hub confirms the subscription with Publishedt.
  3. When the feed changes, the hub lets Publishedt know, and Publishedt checks the feed immediately and posts its new items as usual.

While a hub has a subscription, the feed's page shows Push updates on: Yes.

If it doesn't, check that the hub's address starts with https and that the feed isn't private, because Publishedt skips a hub in either case. Publishedt only finds a hub when it checks the feed, so after you add one, choose Check now on the feed's page to look again.

The details

  • Only https hubs count. Publishedt ignores a hub on plain http.
  • Private feeds never subscribe, because the hub would get the feed's secret address.
  • Checks slow down but don't stop. While subscribed, Publishedt still checks the feed itself every 6 hours at the soonest, in case the hub misses an update.
  • A hub that misses updates is dropped. If those checks keep finding new items that the hub never announced, Publishedt stops using it. It checks the feed on its usual schedule for 7 days, then tries the hub again.
  • Subscriptions renew before they expire.
  • Push works on every plan. Your plan only changes how often Publishedt checks a feed between pushes.

Add WebSub to your own feed

Your feed needs a hub, which is a server that accepts subscriptions and sends your updates to subscribers. Once you have one:

  1. Advertise the hub, and your feed's own address, in the feed or in its Link headers:

    <link rel="hub" href="https://hub.example.com/" />
    <link rel="self" href="https://example.com/feed.xml" />
    
  2. Each time you publish, let the hub know, and it notifies Publishedt.

If you don't have a hub, a ping URL does the same job for Publishedt.

Something wrong on this page? Contact support@publishedt.app.