Skip to content

Commit 9e4455c

Browse files
committed
add option to advertise endpoint in <a> tag instead of <link>
inspired by wordpress.com
1 parent 2c88531 commit 9e4455c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,12 @@ Link: <http://alice.host/webmention-endpoint>; rel="webmention"
5252
<html>
5353
...
5454
<link href="http://alice.host/webmention-endpoint" rel="webmention" />
55+
<!-- OR -->
56+
<a href="http://alice.host/webmention-endpoint" rel="webmention" />
5557
...
5658
```
5759

60+
Receivers SHOULD use the `<link>` tag or HTTP Link header, but MAY instead use an `<a>` tag when necessary. For example, [WordPress.com](http://wordpress.com/) doesn't allow custom `<link>` tags or HTTP headers.
5861

5962
### Sender Notifies Receiver
6063

0 commit comments

Comments
 (0)