Bob accessing tiddlers in subdirectory

42 views
Skip to first unread message

Dave

unread,
Oct 11, 2019, 2:34:26 PM10/11/19
to TiddlyWiki
Hi Jed, this is just an information question about the mechanics of Bob:

I have a tiddler which functions normally in the TW, but when I went to access it via bash (Linux) programmatically, it wasn't being found in the normal tiddlers folder.
 
Turns out it was because Syncthing had put it in a subfolder called ".stversions".  Now that I figured that out I can fix that (separate Syncthing issue), but I'm just wondering, how is that working?  If Bob can include tiddlers from subfolders that might open up some new possibilities regarding use and maintenance.

For example, is there a mechanism by which I can have a TW using tiddlers from the parent folder plus subfolder "A" but not subfolder "B", and then later switch to "parent+B" later on?  Then include all subfolders?


There's probably something in the documents already but so could you give me a hint about what term(s) to look for?


thanks,
- Dave

Dave

unread,
Oct 11, 2019, 3:23:20 PM10/11/19
to TiddlyWiki
also, just thought of this:

 is there a way to mark that folder .../tiddlers/.stversions (or any subfolder) in such a way as its to be *excluded* from Bob, but still be in that location (functioning in this case as a syncthing trash folder)

That way I can still look there for previous file versions if needed, but not have it included in Bob's normal functioning.

Jed Carty

unread,
Oct 11, 2019, 3:38:19 PM10/11/19
to TiddlyWiki
I believe that what you are talking about is from how tiddlywiki loads tiddler folders and isn't specific to Bob. Any subfolders of the tiddlers folder should be searched for tiddlers to be included in the wiki. I am not sure if there is a mechanism for excluding folders from this, Jeremy and Mario probably know but I would have to look at the code.

Dave

unread,
Oct 11, 2019, 4:14:24 PM10/11/19
to TiddlyWiki
Thank you so much!  I think that is the clue that solves a lot of my weird little file version quirks.
Reply all
Reply to author
Forward
0 new messages