Towards Forester 5.0 II: a design for canonical URLs › What is the proposal? [JVIV]

Here is the essence of the proposal:

  1. We get rid of the forest://host/addr scheme. Instead, trees are globally addressed by a canonical URL.
  2. The canonical URL of a tree can in principle be arbitrary, but in practice you will want it to be a place where that tree can be viewed — e.g. the place to which it will be uploaded and served via HTTP(S). Indeed, a default scheme will be provided so as to enable files to be rendered with names and relative locations consistent with the intended global addressing scheme; it is also possible to imagine customisation of this without disturbing the overall design.
  3. The canonical URLs are now the vertices of the graph.
  4. In Forester source code, a hyperlink like [foo](0001) would be resolved right away to [foo](https://www.jonmsterling.com/0001.xml) or something, using information supplied in the user’s forest; the same goes for transclusion.
  5. Links to trees in foreign forests must, for now, be totally explicit (but we can imagine relaxing this in the future). Importantly, this approach does not require knowing what is in the forest at evaluation-time.