what's the current state of a TW5 version of include / load tiddlers?

87 views
Skip to first unread message

Dave

unread,
Aug 8, 2016, 6:39:46 PM8/8/16
to TiddlyWiki
I think I can probably achieve what I want in nodejs/TW5 (not sure of details), but I was just wondering if 
TW5 has the ability yet to automatically load / import on startup a list of tiddlers from another TW file
, say all tagged with "include" or something like that.

Here's the use-case:

TW files A through Z have a bunch of tiddlers with various things in them.
TW file called "Master" has all the "front end" stuff like styling and menu items and macros etc to work with all the tiddlers of each file,
so if I have an idea and change the Master TW5, when I open TW5 "J" the new front end is showing the changes.


Can this be done yet with TW5 somehow as it currently stands?

Jeremy Ruston

unread,
Aug 9, 2016, 5:02:03 AM8/9/16
to tiddl...@googlegroups.com
Hi Dave

I think I can probably achieve what I want in nodejs/TW5 (not sure of details), but I was just wondering if 
TW5 has the ability yet to automatically load / import on startup a list of tiddlers from another TW file
, say all tagged with "include" or something like that.

The situation here is quite stable, and unlikely to change further: since around 2010, all modern browsers prevent or severely limit network access by HTML files loaded from a file:// URI, and severely limit network access by http:// hosted files.

There are a few narrow use cases that can be made to work in tightly defined situations, but the good old days of circa 2007 are gone forever. (See the current implementation of external tiddlers for an example of the brittle current solutions).

TW files A through Z have a bunch of tiddlers with various things in them.
TW file called "Master" has all the "front end" stuff like styling and menu items and macros etc to work with all the tiddlers of each file,
so if I have an idea and change the Master TW5, when I open TW5 "J" the new front end is showing the changes.

You can do this kind of thing with Node.js using the ability to link wikis together with the “includeWikis” property of the tiddlywiki.info file.

Best wishes

Jeremy.



Can this be done yet with TW5 somehow as it currently stands?

--
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 post to this group, send email to tiddl...@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/fe1fea08-d554-4c87-9833-b59370d0e45e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Dave

unread,
Aug 9, 2016, 2:12:08 PM8/9/16
to TiddlyWiki
 Thank you.  Time to dive in to node.js!

Dave

unread,
Aug 9, 2016, 2:15:37 PM8/9/16
to TiddlyWiki
Oh, one more thing...

Is what I'm talking about possible in tiddlydesktop (seeing as it's based on node.js)?
Reply all
Reply to author
Forward
0 new messages