Thanks Jeremy! 

I know there is a way to handle moving tiddlers upon creation 
($:/config/FileSystemPaths), but do you (or anyone) know of any way to move 
tiddlers upon *modification* (specifically, addition or removal of a tag)? 
This would solve the problem I mentioned above. 

Or even just running against all tiddlers (either manually or at startup)? 
This could be useful to change the file structure on an existing wiki - say 
I want to *now* move all system tiddlers to a subfolder for example, or I 
want to now share all existing tiddlers with a tag - Math Subject A. 

Best,
Diego


On Friday, June 8, 2018 at 11:00:00 AM UTC-5, Jeremy Ruston wrote:
>
> Hi Diego
>
> That’s an impressively cunning technique, and very useful.
>
> Best wishes
>
> Jeremy.
>
> On 8 Jun 2018, at 16:51, Diego Mesa <dieg...@gmail.com <javascript:>> 
> wrote:
>
> Hey everyone,
>
> This is a cross post from the other group. Ive brought up something like 
> the point below there in the past and it never really gets any traction, so 
> I thought I might as well post here and see what you all think.
>
> I recently tested an idea for a very simple way to share tiddlers, based 
> on node and git. I have my tiddlywiki in:
>
> ~/Downloads/testwiki/tiddlers
>
> I have a local version of a shared git repository where I keep shared .tid 
> files in:
>
> ~/source/mysharedtiddlers/
>
> From the ~/Downloads/testwiki/tiddlers directory, I can then make a *symbolic 
> link* like:
>
> ln - s ~/source/sharedTiddlers/ sharedTiddlers
>
> This creates a symbolic link in my tiddlers folder to my shared git 
> controlled folder. In my tiddlywiki, I also have a tiddler called:
>
> $:/config/FileSystemPaths
>
> which contains the following line:
>
> [tag[shared]addprefix[sharedTiddlers/]]
>
> With this setup:
>
>    - any tiddler I *create* with the shared tag gets automatically placed 
>    in that symbolic folder, and therefore in the other directory that I 
> manage 
>    with git. 
>    - I can then pull to receive any new tiddlers my friend wants to share
>    - I can then commit to share mine.
>    - Any changes we make to the same tiddlers are handled in the usual 
>    way through git (merging, etc.)
>
>
> A problem with this setup, however, is that I have no clear way to *stop* 
> sharing 
> a tiddler:
>
>    - If I remove the tag, that does not automatically move it out of the 
>    shared folder - I have to do this manually
>    - This is more annoying than anyhing, but not a deal breaker - does 
>       anyone know how to do this using node TW?
>    - Even if I manually move it out, and commit that to my friend, and he 
>    accepts that commit, the tiddler will still exist our shared git history
>       - This is a small problem, typically to using version control to 
>       share files
>    
> Also, if you want to share a tiddler after creation (ie - add share tag 
> after it was first created), you have to manually move the tid files 
> yourself. 
>
> What do you guys think?
>
> Diego
>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "TiddlyWikiDev" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to tiddlywikide...@googlegroups.com <javascript:>.
> To post to this group, send email to tiddly...@googlegroups.com 
> <javascript:>.
> Visit this group at https://groups.google.com/group/tiddlywikidev.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywikidev/bcbb52cd-9f31-46ae-bfa5-691340a794c0%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/tiddlywikidev/bcbb52cd-9f31-46ae-bfa5-691340a794c0%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 
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywikidev+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywikidev@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywikidev/87b7707d-ed80-4801-ae68-666c167c6738%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to