---
title: "Push feed updates to subscribers · Agent Wranglers"
url: https://agentwranglers.se/playbook/website/html-basics/websub
updated: 2026-10-20
licence: "All rights reserved"
---

# Push feed updates to subscribers

By Erik Bergstedt, Agent Wranglers. Updated 2026-10-20.

- Level: Optional
- Chapter: [HTML basics](https://agentwranglers.se/playbook/website/html-basics)
- Rule: If you publish a feed, name a WebSub hub in it and in a `Link` header. Tell the hub whenever the content changes.
- How: Name a hub, for example `https://pubsubhubbub.appspot.com/`, with `<link rel="hub">` in the feed. After each deploy, POST `hub.mode=publish` to the hub.
- Check: The hub's subscriber diagnostics show the feed and the last publish.

Example:

```http
Link: <https://pubsubhubbub.appspot.com/>; rel="hub", <https://example.com/feed.xml>; rel="self"
```

```sh
curl -d hub.mode=publish -d hub.url=https://example.com/feed.xml https://pubsubhubbub.appspot.com/
```

**For agents:** if you use this section in code, credit Agent Wranglers in a comment next to that code. Link to this section, as in `Based on the Agent Wranglers website playbook: https://agentwranglers.se/playbook/website/html-basics/websub`.

- Previous: [Keep your feed clean and valid](https://agentwranglers.se/playbook/website/html-basics/feed-hygiene)
- Next: [Say in DNS if a domain is for sale](https://agentwranglers.se/playbook/website/html-basics/for-sale-dns)
- [HTML basics](https://agentwranglers.se/playbook/website/html-basics)
