XRay, the library that I use to parse URLs to show comments, now supports parsing direct Microformats JSON, ActivityStreams 2.0, as well as finding a rel=alternate
link and parsing data from that instead!
This means I now get great results when parsing Mastodon or other ActivityPub links, and this is also the first step in what I hope will result in fixing the Microformats situation for WordPress, since a WordPress plugin will be able to generate Microformats JSON and advertise that in a rel=alternate
link.
Next up is updating Aperture to take advantage of these new features!
Just published v0.4.2 of the PHP Microformats parser! github.com/indieweb/php-mf2/releases/tag/v0.4.2 Thanks to @martijnvdven and @gregorlove for all their work on this release!
Aperture consumes the u-photo
property on posts. All 3 current Microsub clients (Monocle, Together, and Indigenous) also consume the property to display photos in the reader interfaces.