Ok, important question about MWS. I’m trying to decide whether to support a folder structure for recipes.
MWS is a web server, so it can serve TiddlyWiki at URL paths like the following.
https://example.com/wiki/personal/journal/secret
https://example.com/wiki/personal/family/weekly
https://example.com/wiki/work/project1/notes
Then when you want to insert a hyperlink in your secret journal to open a tiddler in the family weekly in a new tab, you would do something like <a href="../family/weekly#The week we moved" ></a>
.
There’s really nothing preventing me from going all out with this and building a full drag & drop menu arranger with indentation and so on so people can easily organize their wikis into folders, or if someone just prefers to edit the paths as text, we can easily give them that option as well.
The idea of folders has a well-defined intuition from file systems, so non-technical users should easily understand a hierarchy layout view of all their wikis, with clear formatting and easy drag and drop menu controls for reorganizing.
Each menu entry would have a title and a slug displayed, making it obvious exactly what the title of any given recipe actually is. The drag and drop editor would just split the recipe names on /
and save it in the same way, so there wouldn’t be any complicated shenanigans behind the scenes.
Is there any reason not to allow forward slash in recipe names to remain unencoded and generate a relative-linkable hierarchy of HTML pages? Note that wiki mount points already do not end with a trailing slash, so relative links work the same as they would if you were serving static single-file wikis.
The only real reason I’m even asking this question is to ask whether some users might be confused by the idea of relative linking enough that we want to remove that for everyone and just force everyone to use work_project1_notes
instead of ../../work/project1/notes
when linking to a different wiki.
- Tree (allow forward slash in URL)
- Flat (percent-encode forward slash in URL)
0 voters