TWC IncludePlugin alternative for TW5 ?

95 views
Skip to first unread message

julien23

unread,
Apr 29, 2020, 3:57:25 AM4/29/20
to tiddl...@googlegroups.com
Hi all
I am trying to migrate from TWC to TW5

I used to share tiddlers across TW using Abego IncludePlugin

Basically at ...\1\TW1.html startup, it fetches #TW1 tiddlers from ...\2\TW2.html ...\3\TW3.html , ...

It is a must have for me.
Totally new to TW5, What's your advice?

Related topics :

Regards

Julien

Jan

unread,
Apr 29, 2020, 3:06:49 PM4/29/20
to tiddl...@googlegroups.com
Hi Julian,
that was cool stuff, back then.
There has been a discussion a week ago on hosting a private Plugin-Library, jed developped some interesting plugins for that. Perhaps this I could be also a clue to your desire.

Greetings Jan


Am 29.04.2020 um 09:57 schrieb julien23:
Hi all
I am trying to migrate from TWC to TW5

I used to share tiddlers accross TW using Abego IncludePlugin

Basically at ...\1\TW1.html startup, it fetches #TW1 tiddlers from ...\2\TW2.html ...\3\TW3.html , ...

It is a must have for me.
Totally new to TW5, What's your advice?

Regards

Julien
--
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+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/516f11af-3bc1-4cac-beff-9af3fef3c9a4%40googlegroups.com.

Joshua Fontany

unread,
Apr 29, 2020, 7:36:13 PM4/29/20
to tiddl...@googlegroups.com

If you are running TW under Node.js, it is possible to include whole wikis in other wikis via the `tiddlywiki.info` file. It is not possible to include partial or filtered sets yet, so planning where to store which set of tiddlers can be important.

https://tiddlywiki.com/#:TiddlyWikiFolders%20%5B%5Btiddlywiki.info%20Files%5D%5D

There are options to set the imported tiddlers to Read Only, or to force saving them back under their home wiki directory. See the help above.

For example:

{
       
"plugins": [
               
"tiddlywiki/tiddlyweb",
               
"tiddlywiki/filesystem"
       
],
       
"includeWikis": [
               
{"path": "../path/to/imported/wiki", "read-only": true}
       
],
       
"build": {
               
"index": [
                       
"--rendertiddler","$:/core/save/all","index.html","text/plain"],
               
"favicon": [
                       
"--savetiddler","$:/favicon.ico","favicon.ico",
                       
"--savetiddler","$:/green_favicon.ico","static/favicon.ico"]
       
},
       
"config": {
               
"retain-original-tiddler-path": true    
       
}
}

julien23

unread,
Apr 30, 2020, 2:20:39 AM4/30/20
to TiddlyWiki
Hi Jan

Thank you for the answer

that was cool stuff, back then.
Yeah ... hard to quit on TWC once you have tailored it to your need. I must admit I have nor understood yet how TW5 will make my life better !

discussion (...) on hosting a private Plugin-Library
This thread was actually pointing out in my "sync" "import" searches  in this group, but I wasn't sure what it was about. I'll give it a closer reading. Thanks for the hint.

Regards

Julien

 

On Wednesday, April 29, 2020 at 9:06:49 PM UTC+2, Jan wrote:
Hi Julian,
that was cool stuff, back then.
There has been a discussion a week ago on hosting a private Plugin-Library, jed developped some interesting plugins for that. Perhaps this I could be also a clue to your desire.

Greetings Jan

Am 29.04.2020 um 09:57 schrieb julien23:
Hi all
I am trying to migrate from TWC to TW5

I used to share tiddlers accross TW using Abego IncludePlugin

Basically at ...\1\TW1.html startup, it fetches #TW1 tiddlers from ...\2\TW2.html ...\3\TW3.html , ...

It is a must have for me.
Totally new to TW5, What's your advice?

Regards

Julien
--
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 tiddl...@googlegroups.com.

julien23

unread,
Apr 30, 2020, 2:57:02 AM4/30/20
to TiddlyWiki
Hi Joshua

Thanks for the enlightening reading.

under Node.js;
In my structure, tiddler sync/import processing across my different projects is very common. It has to be feasible from standard web browser without action from the reader.

planning where to store which set of tiddlers
Because of folder permissions, just including remote TW  is not an option, tiddlers must be copied.

For example :
  • User1 can access
    • .../FolderA/TWA.html
    • .../FolderB/TWB.html
  • User2 can access
    • .../FolderA/TWA.html
  • User3 can access
    • .../FolderB/TWB.html
The shared tiddlers between TWA and TWB shall be visible to both User2 and 3
Shared tiddlers may be a note about a meeting, a contact card, a publication clip ... whatever is related with the project.

I understand there is no tag based IncludePlugin for TW5 right now. But do you think it is technically possible ?

Regards

Julien
Reply all
Reply to author
Forward
0 new messages