manyfold icon indicating copy to clipboard operation
manyfold copied to clipboard

XRFragments microformat

Open Floppy opened this issue 3 months ago • 3 comments

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

Floppy avatar Nov 03 '25 14:11 Floppy

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)

coderofsalvation avatar Nov 04 '25 20:11 coderofsalvation

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

Floppy avatar Nov 04 '25 22:11 Floppy

OK lets go with that! I'll update the spec with that.

done: https://xrfragment.org/#XRF%20microformat

coderofsalvation avatar Nov 13 '25 14:11 coderofsalvation