Over the years of using TiddlyWiki I have used a single file TW for each of
a number of work projects - they are my "engineering notebooks" for those
efforts. Having used the Node.js TW5 server version for a couple of months
for my general purpose daylog I would like to evolve my usage and have just
one Projects server; or one general purpose + projects server. My plan
would be to convert the individual single project files into separate sets
of tiddlers using tiddlywiki -- load. Ideally I'd like to make each into a
TiddlyWikiFolder to maintain some ability to separate/organize them. A
brute force test sort of does what I want:
mkdir Projects
tiddlywiki Projects --init server
mkdir FirstProject
tiddlywiki FirstProject --init server
tiddlywiki FirstProject --load FirstProject.html
mv FirstProject Projects
mkdir SecondProject
tiddlywiki SecondProject --init server
tiddlywiki SecondProject --load SecondProject.html
mv SecondProject Projects
mkdir ThirdProject
tiddlywiki ThirdProject --init server
tiddlywiki ThirdProject --load ThirdProject.html
mv ThirdProject Projects
edit Projects/tiddlywiki.info and add
"includeWikis": [
"FirstProject",
"SecondProject",
"ThirdProject"
],
tiddlywiki Projects --server 8888
But I have some questions:
1. Is there some way from the browser to differentiate which wiki the
tiddlers belong to? Ideally I'd like to browse to
http://localhost:8888/FirstProject for FirstProject's content;
http://localhost:8888/SecondProject would have the next, etc. For the
server as a whole I can set up a pathprefix; I'd like to be able to do that
per TiddlyWikiFolder along with the associated $:/config/tiddlyweb/host
tiddler. But those don't seem to be documented options for
TiddlyWikiFolder's tiddlywiki.info files.
2. Related, if I have tiddlers with the same title, journal entries for
example, can I differentiate/access them?
3. Is there some way to have a default-tiddler-location associated with
each project? I know that seems like a stretch; but perhaps a
default-tiddler-location associated with each pathprefix.
4. Alternately, if the separate projects TiddlyWikiFolders is not going
to work I suppose I could tag each tiddler to identify which wiki it
originally belonged with and sort / present them post-creation by tag if
need be. Any suggestions for how to accomplish that initial bulk tagging as
I tiddlywiki --load them into separate tiddlers? (Hmm; maybe I need to
explore tiddlywiki --setfield.)
Or maybe I am missing the intended use case for TiddlyWikiFolders? I don't
think my JavaScript abilities are up to implementing these so I am hoping
they align with someone's existing notions of using TW5.
Thanks for you suggestions!
Jonathan
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/1c9ba554-2465-4d0c-b1e2-1f59383712b8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.