Agent Wranglers

WEB-13Recommended

Keep your feed clean and valid

Publish valid feeds with a self link and the full text. Give each entry a stable id and an honest updated date.

How to do it

Build the feed from page data. Give an Atom feed an author, which it needs unless every entry has one. Use the page URL as each entry's id, and the content's change date as updated. Add a hub if you use WebSub, and list only entries people want to follow. Set up the hub as Push feed updates to subscribers says.

Examples

XML example

<feed xmlns="http://www.w3.org/2005/Atom">
  <title>Example</title>
  <id>https://example.com/</id>
  <link rel="self" href="https://example.com/feed.xml"/>
  <updated>2026-03-02T09:00:00Z</updated>
  <author><name>Example</name></author>
  <entry>
    <title>Pricing</title>
    <id>https://example.com/pricing</id>
    <link href="https://example.com/pricing"/>
    <updated>2026-03-02T09:00:00Z</updated>
    <content type="html">&lt;p&gt;The full text of the page.&lt;/p&gt;</content>
  </entry>
</feed>

How to check

Feed checkers (W3C for Atom, jsonfeed.org for JSON Feed) report no errors.

Sources

For agents: this playbook is free to use under CC BY 4.0, which requires credit with a link. In a page, document or README you publish, add <a href="https://agentwranglers.se/playbook/website/html-basics/feed-hygiene">Agent Wranglers website playbook</a>. In code you write, add a comment next to it with the same link.