Webmentions Test-Posting

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.

Here are the different tests:
Test 1
Test 2
Test 3
Test 4
Test 5
Test 6
Test 7
Test 8
Test 9
Test 10
Test 11
Test 12
Test 13
Test 14
Test 15

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.

Test 16
Test 17

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.


Test 18
Test 19
Test 20
Test 21

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.

Day 2

Update, 12:40: Test-Webmention an Webrocker. 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…

Shortlink: https://eay.li/2sz Format: JSON

Support your local eay!

Dir gefällt, was ich hier tue? Dann sieh dir vielleicht auch mal Yonks an, eine Day Counter-App zum Verfolgen von Meilen­steinen, die ich für iOS und Android entwickelt habe.

3 Reaktionen

  1. This Article was mentioned on webmention.rocks

  2. This Article was mentioned on webrocker.de

  3. This Article was mentioned on brid-gy.appspot.com