[tw5] Re: WikiLabs plugin update + New plugins

2021-09-23 Thread PMario
On Thursday, September 23, 2021 at 10:49:03 PM UTC+2 Stobot wrote: > @pmario - I know this is an old post, but I had a need again for the > keyvalues plugin and it is a LIFE SAVER. One of my wikis is dedicated to a > scrape of my companies ActiveDirectory and I had it setup one tiddler per >

[tw5] Just a Filtering Code Pattern

2021-09-23 Thread Charlie Veniot
Me and my interest in brain age games, I couldn't help but play around with a filter to find all tiddlers that have all four specified tags, but only those four tags. You'll find three tiddlers in the attached json. Download the file, and drag into some TiddlyWiki instance (TiddlyWiki.com !)

Re: [tw5] Re: Filter tiddlers with exactly one tag.

2021-09-23 Thread Eric Shulman
On Thursday, September 23, 2021 at 3:57:35 PM UTC-7 thor...@gmail.com wrote: > How might I make this searching tiddler more robust in the presence of > "tags with spaces", since I also use spaces to delimit tags in the > `edit-text`? > The problem is the use of `<$set name="tagList"

Re: [tw5] Re: Filter tiddlers with exactly one tag.

2021-09-23 Thread Eric Shulman
> > On Thursday, September 23, 2021 at 6:07:22 PM UTC-4 thor...@gmail.com > wrote: > >> I just learned that list widgets can be nested; why does the above list >> return "the titles of the 10 tiddlers with the appropriate tags rather than >> printing the string "playground,rust,test,two words"

[tw5] Re: Stroll: No longer have second story river

2021-09-23 Thread David Gifford
Hi Merv, glad you like Stroll! You already tried re-installing Stroll, and that didn't work, so you don't seem to have any Stroll tiddlers untagged or missing. What other plugins are you using? there might be a conflict there. Also, did you try doing adjustments in the Stroll config tab? ( $:/

[tw5] Stroll: No longer have second story river

2021-09-23 Thread mrv...@gmail.com
I have been using Stroll for some time. It is a great addition to my wikis. I did something, I don't know what, that has shut down the second story river on one of my computers, on one of my wikis. (I have more than one wiki that uses Stroll, and I sync several computers through Dropbox.

Re: [tw5] Re: Filter tiddlers with exactly one tag.

2021-09-23 Thread thor...@gmail.com
Based on our discussion so far, I've created a tiddler for doing "exact tag matches". Unfortunately, it seems to fall over tags with multiple words/spaces in it. How might I make this searching tiddler more robust in the presence of "tags with spaces", since I also use spaces to delimit tags

Re: [tw5] Re: Filter tiddlers with exactly one tag.

2021-09-23 Thread thor...@gmail.com
``` <$list filter="[all[]]"> <$list filter="[enlist{!!tags}sort[]join[,]match[playground,rust,test,two words]]" variable="has_matching_tags"> <$link/> ``` So, this list does what I want and thus answers the question. However, I think I misunderstand something fundamental about

Re: [tw5] Counting specific words

2021-09-23 Thread Jean-Pierre Rivière
actually, https://tiddlywiki.com/#Macro%20Definitions%20in%20WikiText is very confusing! It took me a lot of time to make any sense out of it for the special case like using <<< and after my own tests, I have failed to see that as useful. Your code is actual code and it would be good to use it

[tw5] Re: WikiLabs plugin update + New plugins

2021-09-23 Thread Stobot
@pmario - I know this is an old post, but I had a need again for the keyvalues plugin and it is a LIFE SAVER. One of my wikis is dedicated to a scrape of my companies ActiveDirectory and I had it setup one tiddler per user (all 26,000 of us) and searching was painful. I instead dumped the same

[tw5] Re: List not working anymore when I enter // into the text

2021-09-23 Thread 'heusmich' via TiddlyWiki
Thank you all for your responses, now it´s working! Best regards heusmich PMario schrieb am Donnerstag, 23. September 2021 um 11:54:43 UTC+2: > Hi, > > Try this > > \rules except italic > > * https://example.com > > The \rules except italic will disable the wikitext to render //italic// > text

Re: [tw5] Counting specific words

2021-09-23 Thread Jeremy Ruston
Hi Jean-Pierre > You made an error in your macro, Jeremy. You should have used $arg$ instead > of . It's actually not an error: it's an alternative way to access the parameters of macros. It avoids the problem that otherwise the code would fail with a tiddler title containing a closing square

Re: [tw5] Counting specific words

2021-09-23 Thread Jean-Pierre Rivière
You made an error in your macro, Jeremy. You should have used $arg$ instead of . Thus your code would be \define count-words(title,word) <$text text={{{ [[$title$]get[text]split[$word$]count[]subtract[1]] }}}/> \end But it is false nonetheless because it would, for example, cut word "totem"

Re: [tw5] Counting specific words

2021-09-23 Thread Jeremy Ruston
Another technique is to use the “split” operator to split the string by the word: \define count-words(title,word) <$text text={{{ [<__title__>get[text]split<__word__>count[]subtract[1]] }}}/> \end <> Using the splitregexp operator instead allows would allow splitting case insensitively, which

[tw5] Re: Counting specific words

2021-09-23 Thread Jean-Pierre Rivière
Here it is. ``` \define count-word(word, tid) {{{ [[$tid$]get[text]search-replace:gi:regexp[\b$word$\b],[þ]dump:v[first]search-replace:g:regexp,[]dump:v[final]length[]] }}} \end <> ``` I use a char that should never be within the tiddler, þ in my example. You can use another rare character

[tw5] Re: List not working anymore when I enter // into the text

2021-09-23 Thread PMario
Hi, Try this \rules except italic * https://example.com The \rules except italic will disable the wikitext to render //italic// text for that tiddler. But it will allow you to easily work with URL paths -mario -- You received this message because you are subscribed to the Google Groups

[tw5] Re: How to increase the line height of content in editor?

2021-09-23 Thread Chunxuan
Thanks so much! It just works without further conig! On Wednesday, September 22, 2021 at 5:15:22 PM UTC+2 strikke...@gmail.com wrote: > As you can see in the image, I created a tiddler and tagged it > $:/tags/Stylesheet. In the tiddler you write: > > ``` > .tc-tiddler-edit-frame

Re: [tw5] "I moved to Discourse" - add your name too?

2021-09-23 Thread Jean-Pierre Rivière
Mee too. I've done the transition. The interface is much akin to the present groups than that of common forums, if only silgthly, but decisively. Plus the wiki syntax is (mostly?) kept, which is very nice! Le mardi 31 août 2021 à 11:00:45 UTC+2, Werner a écrit : > Same here, also notoriously