Opened 9 years ago
Last modified 7 years ago
#35435 new feature request
Support Webmentions
Reported by: | dshanske | Owned by: | |
---|---|---|---|
Milestone: | Future Release | Priority: | normal |
Severity: | normal | Version: | |
Component: | Pings/Trackbacks | Keywords: | needs-patch needs-unit-tests |
Focuses: | Cc: |
Description (last modified by )
Webmention is now a W3C Recommendation as of January 12, 2017. https://www.w3.org/TR/webmention/ . Previous linkback protocols(trackback and pingback) did not achieve this status.
The Webmention is a simplified evolution of the Pingback. It drops XML-RPC in favor of simple form encoding. The recommendation calls for asynchronous processing to prevent DoS attacks.
There is already a webmention plugin for WordPress in the repository. https://wordpress.org/plugins/webmention/ and this could be used as a basis for a feature plugin to merge into core.
Trackbacks and Pingbacks both have their unique problems. The idea of linkbacks in general remains a good one, spoiled by less robust implementations. To go to the logical extreme, suggesting that adoption of webmentions be concurrent with the disabling by default of the earlier and less secure protocols.
Finally, no feature should be adopted in WordPress unless it has users...the pingback implementation in WordPress displays pingbacks in a way that does not convey useful meaning.
Current implementations of Webmention parse the HTML to generate a comment or other richer forms of response that are more useful to a site than what is currently available. The proof of concept for this is in the Semantic Linkbacks plugin https://wordpress.org/plugins/semantic-linkbacks .
Part of the big problem with implementing per the spec is the asynchronous processing by the receiver, however without it, you lose some of the advantages. This needs to be very carefully thought out to avoid it becoming a liability.
This is what I have so far trying to break the specification down. A webmention is sent to the endpoint...
There are opportunities to break this into pieces to make it more manageable. But there is no specific urgency for a webmention to be displayed immediately upon its receipt. The queue could process it 2 seconds later, or 5 minutes later.