I’ve been playing around with AP lately and I have a simple proposal:
Why not embed JSON data inside the profile page?
Currently in order to get a machine readable profile, there are a number of steps and moving parts. You go from a user to a user id in a specific way. You then do the webfinger dance and then get some json data back. You then follow that JSON data and get a machine readable JSON profile.
There’s lots of historical reasons for these choices, but what if there was a simpler way?
What if you could just embed the JSON inside your profile using a SCRIPT tag?
This pattern is being deployed now on millions of websites and is growing fast. It’s typically done for SEO but there’s no reason at all why it shouldnt be extended beyond that. Here’s a few links explaining how the so-called “data island” pattern works
The advantage of doing so would be that AP profiles could interact with more systems. For example it would then be much easier for AP and Solid to interact, share apps, share developers etc.
Curious if anyone has had any thoughts along these lines. I would be tempted to try and patch a server to include this simplification.