Docs contents

Ping URL

A ping URL makes Publishedt check a feed the moment you call it. If you call it when your site deploys, a new post is sent within seconds instead of waiting for the next scheduled check.

Make one

  1. Open the feed and find Ping URL.
  2. Choose Create ping URL.
  3. Copy it. It's shown once, because Publishedt stores only a hash of it.

Creating a new one replaces the old one, which stops working immediately.

Call it

Send a POST, with no body and no token:

curl -X POST <ping URL>
  • It returns 202 with {"ok":true}, and Publishedt checks the feed immediately and posts its new items as usual. Any new post shows up in Activity within seconds.
  • If it returns 404 with "That ping address isn't valid.", the URL was mistyped or replaced by a newer one. Copy the current one from the feed's page, or create a new one.

The URL is the credential. Anyone who has it can make Publishedt check your feed, so keep it out of public code and create a new one if it leaks.

Limits

  • Publishedt acts on pings to the same feed at most once every 30 seconds. A ping that comes sooner still returns 202, because the check the last ping started already covers it.
  • Each IP address can ping 60 times a minute. After that, pings get a 429 that reads "Too many pings from this address. Try again in a minute.", with a Retry-After header set to how long to wait.
  • Pings work on every plan. Your plan only changes how often Publishedt checks a feed when no ping arrives.

A feed that advertises a WebSub hub doesn't need a ping. See WebSub.

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