Homepage | Jon Tillman

Webmention Validation

Some tests to validate compliance with Webmention standards

Jon Tillman | Filed Under: IndieWeb | Tagged: publishing
First Published: 2025-02-05| Last Updated: 2024-05-07
Status: stub| Audience: web publishers| Confidence: amateur

This note exists entirely to allow me to test whether or not I have properly implemented the webmention standard on this website. It is made possible by the fine people at webmention.rocks and the code at WebMention Test Pinger.

Webmention Validation Tests

  • Test 1 - HTTP Link header, unquoted rel, relative URL
  • Test 2 - HTTP Link header, unquoted rel, absolute URL
  • Test 3 - HTML link tag, relative URL
  • Test 4 - HTML link tag, absolute URL
  • Test 5 - HTML a tag, relative URL
  • Test 6 - HTML a tag, absolute URL
  • Test 7 - HTTP Link header with strange casing
  • Test 8 - HTTP Link header, quoted rel
  • Test 9 - Multiple rel values on a link tag
  • Test 10 - Multiple rel values on a Link header
  • Test 11 - Multiple Webmention endpoints advertised: Link, link, a
  • Test 12 - Checking for exact match of rel=webmention
  • Test 13 - False endpoint inside an HTML comment
  • Test 14 - False endpoint in escaped HTML
  • Test 15 - Webmention href is an empty string
  • Test 16 - Multiple Webmention endpoints advertised: a, link
  • Test 17 - Multiple Webmention endpoints advertised: link, a
  • Test 18 - Multiple HTTP Link headers
  • Test 19 - Single HTTP Link header with multiple values
  • Test 20 - Link tag with no href attribute
  • Test 21 - Webmention endpoint has query string parameters
  • Test 22 - Webmention endpoint is relative to the path
  • Test 23 - Webmention target is a redirect and the endpoint is relative
  • Update Test 1 - Simple update