Read Adding Some Context to (Web)mentions by Jan Boddez (janboddez.tech)

Triggered by Ton’s “Webmention tweaks”—or is it “Semantic Linkbacks tweaks”?—I decided to have a look at how WordPress generates its increasingly rare pingback “previews.” The resulting gist is a somewhat ugly PHP function that, given an HTML string and target URL, returns the link...