[twdev] Re: Request for help: Packaging Stroll as a plugin

2020-05-21 Thread TonyM
Diego, Another approach is not to make a plugin (necessarily) but a bundle of tiddlers, You could use marios bundler or follow this tricky hack - Obtain the latest empty.html - Drag all tiddlers you want for stroll including plugins to the empty.html (Do not hit Import) - Once all

[twdev] Re: Request for help: Packaging Stroll as a plugin

2020-05-21 Thread Saq Imtiaz
I would recommend something like $:/tags/stroll/refs On Thursday, May 21, 2020 at 9:21:59 PM UTC+2, Diego Mesa wrote: > > Saq > > I am getting parts to work by changing [tag[refs]] from the implied > [all[tiddlers]] to [all[shadows+tiddlers]tag[refs]] as you describe -Im > just wondering if

[twdev] Re: Request for help: Packaging Stroll as a plugin

2020-05-21 Thread Diego Mesa
Saq I am getting parts to work by changing [tag[refs]] from the implied [all[tiddlers]] to [all[shadows+tiddlers]tag[refs]] as you describe -Im just wondering if this is the best way to do this. What if a user is also using the "refs" tag? How should plugins maintain their own namespace? On

[twdev] Re: Request for help: Packaging Stroll as a plugin

2020-05-21 Thread Saq Imtiaz
[tag[refs]] is equivalent to [all[tiddlers]tag[refs]] What you want is [all[shadows+tiddlers]tag[refs]] 3rd party plugins should not be packaged into a Stroll plugin. Instead a stroll file should consist of empty.html + stroll plugin + 3rd party plugins Note that most of the benefit of hosting