I've done it, and it works fairly well. Just takes a few seconds to start the server.
https://gist.github.com/Arlen22/bbd852f68e328165e49f On Mon, Oct 10, 2016 at 12:44 PM, Tobias Beer <beertob...@gmail.com> wrote: > Hi Jonathan, > > 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. >> > > I think the only way to serve different wiki folders at the same time is > by using multiple --server commands on different ports via tiddlywiki.info. > Otherwise you have to serve them one by one. Perhaps, TiddlyDesktop can > handle multiple wiki folders simultaneously. > > >> 2) 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. >> > > Simply start your server right from the edition folder via commandline, > then you don't need to specify full paths. > > 3) Related, if I have tiddlers with the same title, journal entries for >> example, can I differentiate/access them? >> > > Depending on your inclusion pattern, only one will survive. Currently, > afaik, the simple node.js server cannot handle multiple instances of the > same tiddler (title), unfortunately... and show you that for wiki folder A) > you have this version and for wiki folder B) another. > > 4) 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. >> > > Simply create a *$:/DefaultTiddlers* tiddler somewhere in the tiddlers > folder of your edition. > > 5) 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. >> > > I would not use tagging but rather some otherwise hidden field called > "origin" and then set that for all tiddlers that don't have it when > importing each wiki via a some button, a list widget and action-setfield. > > Best wishes, > > Tobias. > > -- > 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 tiddlywiki+unsubscr...@googlegroups.com. > To post to this group, send email to tiddlywiki@googlegroups.com. > 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/477e006a-54a2-4fdb-b688-547237dc4aa6%40googlegroups.com > <https://groups.google.com/d/msgid/tiddlywiki/477e006a-54a2-4fdb-b688-547237dc4aa6%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- 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 tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. 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/CAJ1vdSRjZTqAtq8-9LQcKjHL%3DjuNmWj3DMmmPmK2aC8PsStN6w%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.