Webmention endpoint discovery in Haskell. Probably the best function ever written :-)
This is how I search for it in HTML.
listToMaybe $ unsafePerformIO $ runX $ htmlDoc //> hasAttrValue "rel" isWebmentionRel >>> getAttrValue "href"
unsafePerformIO? Because there’s no reason for HTML parsing to depend on IO, but they’ve implemented parsing strings as parsing files with the
Post your response
If you write a response on your website, mark it up with h-entry and let me know the URL: