Webmentions
Publishedt receives Webmentions for your site. A Webmention is a note one page sends another when it replies to, likes, or links to it. Publishedt stores each one alongside the replies, likes, and reposts it collects from Mastodon and Bluesky, so your site reads them all from one API and one webhook.
Add a site
Owners and admins can add sites. A workspace can have up to 10.
- Open Sites and choose Add a site.
- Enter your home page's address, starting with
https://. - Copy the snippet the site's page shows, and add it to the
headof your pages. - Choose Check now.
When the check finds your endpoint, the site shows Verified. If it doesn't, the page shows "Publishedt can't find your Webmention endpoint on" your host, so make sure the snippet is on your home page itself, then check again. Once mentions start arriving, the site's Mentions count goes up, and any held for approval show under Held.
The snippet advertises your endpoint, which is the address other sites send Webmentions to:
<link rel="webmention" href="https://publishedt.app/webmention/<token>">
- The endpoint shows on the site's page whenever you open it. It's public anyway, in your home page's head. A site added before Publishedt kept endpoints shows none: rotate it to see a new one.
- A site is verified when its home page advertises its exact endpoint. Publishedt checks again every week.
- Only one workspace can verify an address. If another workspace has already verified your host, the check shows "Another workspace has already verified this site."
- An unverified site rejects new mentions with "This site isn't verified yet." Its page shows Not verified. The mentions it already has remain, but it serves no public reads until it's verified again, so widgets that read it without a token show nothing. A site that misses two weekly checks becomes unverified.
- Rotate endpoint makes a new one and shows its snippet. The old endpoint stops working immediately. Put the new one in your site's link right after, then choose Check now.
What counts
Publishedt reads the page that sent the Webmention, and it counts only when that page links to yours. Its kind comes from how the page tags the link:
| Kind | The sender tags the link with |
|---|---|
| Reply | u-in-reply-to |
| Like | u-like-of |
| Repost | u-repost-of |
| Bookmark | u-bookmark-of |
| Mention | Anything else, including RSVPs |
A tag counts only when it points at your page. A page that links to you without one is a mention.
- Each mention is checked again 1, 7, 30, and 90 days after it arrives, then every 90 days, and whenever the sender sends it again.
- If the page is gone, or no longer links to you, its mention is removed. The mention appears in
deleted.jf2for 365 days. - If a check fails, the mention remains and Publishedt tries again on the schedule.
- Bridgy sends the likes, replies, and reposts from social networks. If Publishedt also collects a reply from Mastodon or Bluesky, it isn't counted twice, whichever arrives first. Publishedt uses the one it collected, and if Bridgy's arrived first, a webhook gets
response.deletedfor it. Bridgy's likes and reposts are dropped for a post Publishedt sent to a destination that collects responses, because Publishedt already has them. - Activity shows each post's counts, with bookmarks counted apart from mentions.
- A sender's words are treated as text. HTML in a reply is reduced to basic formatting. If your site shows a mention's HTML, add
rel="nofollow ugc"to the links in it.
Public reads and moderation
On a site's page:
- Public reads lets anyone read its Webmentions without a token. With it off, every read needs a token. Public reads show Webmentions only, never the replies, likes, and reposts collected from your posts.
- With Approve first-time senders on, a mention from a sender you haven't approved isn't shown until you approve it. For a Bridgy mention, the sender is its author's address. For any other mention, it's the host of the page that sent it.
- Awaiting approval on the site's page lists these mentions, with Approve and Delete mention. A mention awaiting approval is left out of every read, count, and webhook until you approve it. Show more lists older ones.
- The mentions a site shows are listed on its page too, newest first. Delete mention deletes one, and Publishedt won't accept it again. Your webhooks get
response.deletedfor it. - A deleted mention stays listed on the site's page until you unblock it. Unblock accepts it again if its page sends it again. The copy you deleted doesn't come back.
Once you approve a sender, their later mentions show up immediately.
Blocking a host
Block a sender with Block host on a mention awaiting approval, or by entering their host under Blocked hosts on the Sites page. Owners and admins can block hosts.
- A block covers the host and every host under it, on every site in the workspace. Blocking
example.comblocksblog.example.comtoo. - Its mentions are deleted. Your webhooks get
response.deletedfor each one that was showing, anddeleted.jf2lists them. - New ones are rejected with 403 and "This site doesn't accept Webmentions from that sender." An import skips them too.
- Unblock lets the host send again. Its deleted mentions return only when it sends them again.
- A block names a domain. An address such as
192.0.2.1can't be blocked. A mention awaiting approval from an address offers no Block host. - Bridgy can't be blocked. It relays mentions from many people. A Bridgy mention awaiting approval offers only Approve and Delete mention.
Moving from webmention.io
- Add your site, add the snippet, and check it. Take the
webmention.iolink out of your pages, or leave it while you move. - On the site's page, under Import from webmention.io, paste your token from webmention.io's settings and choose Import mentions. Publishedt uses the token once, for this import, and doesn't store it.
- Point whatever reads mentions at Publishedt.
Read mentions from:
https://publishedt.app/webmention/mentions.jf2?domain=<site>&token=<token>
Create the token in Settings, under API tokens, with Read mentions as its only scope. A token that can do more is rejected in a URL. One token reads every site in your workspace. The same routes also take it as Authorization: Bearer <token>, and without a token they read any site that has public reads on. See Reading mentions for every parameter.
Keep the token on a server or in your build, never in a page. It also reads the replies, likes, and reposts collected from Mastodon and Bluesky, and anyone who views a page holding it can read them too. A page can read a site with public reads on, and it needs no token for that.
About the import:
- Import skips mentions for other sites, mentions with an address Publishedt can't use, and any it already has. A reply Publishedt already collected from Mastodon or Bluesky isn't imported again. The result shows how many.
- Imported mentions send no webhook events.
- An 11ty site that reads mentions with eleventy-cache-webmentions pages only for webmention.io addresses. Add
per-page=1000to the URL so it reads every mention in one request. - Not supported: JSONP (
callback), the.atomand.htmlforms of a read, and theperPageandaccess_tokenaliases. Useper-pageandtokeninstead.rsvpisn't supported as a kind either, so it matches nothing. - A site that polls
deleted.jf2finds removals there for 365 days, so poll it at least once a year. See Reading mentions.
Limits
- 10 sites to a workspace.
- 60 Webmentions a minute to a site, in bursts of up to 20, and 20 a minute from one sender's host. Past either limit, Publishedt returns 429 with
Retry-After. - If the same source and target arrive again within 30 seconds, nothing new is queued.
- Check now works once a minute for a site, and 20 times an hour across a workspace's sites. Past either limit, it shows when to try again.
- Private Webmentions (
vouchandcode) aren't supported. - A suspended workspace, or one with no plan yet, rejects Webmentions, serves no reads, and can't add, check, or import into a site. A paused or lapsed workspace continues receiving mentions and serving reads.
To read your mentions from your site, see Reading mentions for every parameter, or have a webhook send each one as it arrives.
Something wrong on this page? Contact support@publishedt.app.