๐ฒ
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 wanted to chime in here again to say that my implementation now also includes a rel=alternate
link to the ActivityStreams JSON representation of the page.
e.g.
https://aaronparecki.com/2018/07/12/10/indieauth
<link rel="alternate" type="application/activity+json"
href="https://aaronparecki.com/2018/07/12/10/indieauth.as2" />
That brings this up to at least 3 implementations that support it, making it a good candidate to incorporate into the spec.
I just read the GitPub 0.1 draft, which was the only actual text I could find. I feel I'd prefer if everything it does were instead via some lightweight microformat annotations in the HTML that all these web-based repository browsers are producing anyway, plus WebMention for signaling between sites. A good start would be @joeyh's https://joeyh.name/rfc/rel-vcs/ specโฆ