XRFragments microformat
Add a link to the entrypoint URL in HTML of each Model URI.
<link rel="me" href="/model/abc/main.xrf.glb" type="model/gltf+binary" />
@coderofsalvation is rel=me the right thing to use here? That's more for identity, would a custom rel value be better? https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Attributes/rel/me
agreed.
Initially I came up with the rel="me" for a personal homespace..but it might even be better for an avatar or something.
Perhaps rel="spatial" or rel="3D" is better here..will think about it a bit more (any feedback welcome)
How about this? Feels maybe a bit more in line with the intent of the spec:
<link rel="alternate" as="spatial-entrypoint" href="/model/abc/main.xrf.glb" type="model/gltf+binary">
Feels like it's saying "This link is an alternative representation of this page, and you can use it as a spatial entrypoint if you understand binary GLTF"
- https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Attributes/rel#alternate
- https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/link#as
OK lets go with that! I'll update the spec with that.
done: https://xrfragment.org/#XRF%20microformat