I’m at the IndieWebCamp Düsseldorf right now, just learned about Webmentions and want to give the Webmentions-WordPress-Plugin by pfefferle a try with Webmention.rocks, Aaron’s helpful validator for sending Webmentions.
Webmention href is an empty string
This post has a <link> tag where the href value is an empty string, meaning the page is its own Webmention endpoint. This tests the relative URL resolver of the sender to ensure an empty string is resolved to the page’s URL.
Multiple Webmention endpoints advertised: <link>, <a>
This post advertises its Webmention endpoint in an HTML <link> tag followed by a later definition in an tag. Your Webmention client must only send a Webmention to the one in the <link> tag since it appears first in the document.
Update, 20:30: While my first Webmention had no styles because of the missing Microformats it looked like this:
I’ve updated this post multiple times to incorporate even more Webmention features by adding Microformats‘ h-entry and h-card properties. Now that they are declared correctly, the Webmention is looking like this:
A huge improvement in just a couple of minutes! (Standing on the shoulders of giants… 😅) I’m looking forward to trying out receiving Webmentions tomorrow!
Update, 01:30: Just came back from a friend’s party – perfect time to check my Webmention.rocks results. The tests #15 and #17 are failing. Maybe someone of my fellow attendees has any idea why? 🤔
In the meantime I received a Webmention from Webmention.rocks, which links back to this post. It’s styled like a regualar WordPress comment right now, but I think I’m going to optimize the presentation of the Webmentions to became more special.
Update, 12:40: Test-Webmention an. Thank you!
Update, 16:00: Tested pfefferle’s Semantic Linkbacks plugin, too. Works great, but the webmentions no longer get the correct comment type „webmentions“. Also there’s some unwanted side effects like copying the whole content of received webmentions into the comment. Which is why I deactivated the plugin shortly after.
Because of the delicate legal situation in Germany/Europe regarding copying a user’s avatar/content without his written permission, I think I’m going to show webmentions only in a „XY mentioned you on example.com“ way without a photo. Under the hood there may be a full representation for me, but not in the frontend.
I also configured Bridgy to pull comments from Twitter and send them as a webmention to the proper post. While that’s works fine in theory, the way the Webmention plugin determines the author, title and content for the comments is still problematic. There is no Microformat2 parsing happening at all, only guessing what could be the right value by looking a the HTML title and so on. I’m trying to do the parsing with php-mf2 on my own in the couple of days…