(TW5) Concordance weaving in TiddlyWiki 5

99 views
Skip to first unread message

Paul Lee

unread,
Apr 22, 2015, 9:40:32 AM4/22/15
to tiddl...@googlegroups.com
I'm tagging all the important words in the Book of Enoch in order to make something like concordance in a TiddlyWiki 5 file.

I will need to manipulate my choices regarding which words to be included. I would like to be able to replicate the functionality that AutoWeavePlugin has in TiddlyWiki Classic. I think I need to add or change code to the $:/core/macros/ directory in my wiki file. I'm trying to figure out how what controls weaving functionality on a global level, but I don't know exactly where to look.

Is this something that TW5 is meant to handle without plugins? Looking at some old discussions on this group, I feel like it probably does handle global weaving, although perhaps not in an obvious way. Basically what I understood from the old discussions is, You can change the weaving functionality by using macros at the beginning of tiddlers, and you can make macros global by inserting them into shadow tiddlers. Does anyone know what shadow tiddlers I should be looking at?

Thanks.

Mark S.

unread,
Apr 23, 2015, 11:58:50 AM4/23/15
to tiddl...@googlegroups.com
Since no one has answered so far, could I ask -- what do you mean by what you mean by "weaving" ?

Thanks,
Mark

Eric Shulman

unread,
Apr 23, 2015, 3:11:48 PM4/23/15
to tiddl...@googlegroups.com
On Thursday, April 23, 2015 at 8:58:50 AM UTC-7, Mark S. wrote:
Since no one has answered so far, could I ask -- what do you mean by what you mean by "weaving" ?


what it does:

When you save a tiddler, the source text is scanned for text that matches the title of an existing tiddler.  Matching text is then automatically enclosed in [[...]] to make it a link to the corresponding tiddler.  The actual source text is modified to add the brackets.  If you later on delete the tiddler that is linked *to*, the brackets are NOT removed, so it remains as a link to a missing tiddler.  Also, if you add new tiddlers, the text in existing tiddlers is only scanned for auto-weaving when those tiddlers are later edited.

-e

Paul Lee

unread,
Apr 23, 2015, 7:10:26 PM4/23/15
to tiddl...@googlegroups.com
Thanks for explaining the TWC plug-in. We use AutoWeavePlugin in Tiddlyspace.

I don't know if "weaving" means anything apart from the specific implementation of tag adding/removal in AutoWeavePlugin and related TWC plug-ins.

Even apart from implementing my own current project, I am curious as to whether or not TW5 has the capability to connect and disconnect tag references from tiddlers on a global level, allowing addition of new tags or deletion of existing tags to be reflected in the tiddler text automatically.
Reply all
Reply to author
Forward
0 new messages