Re: [tw5] Re: list tiddlers title with a delimiter (a character between items) resulting from a complex filter

2021-08-03 Thread Mohammad Rahmani
Eric, Thank you very much for clarification! Best wishes Mohammad On Tue, Aug 3, 2021 at 6:45 PM Eric Shulman wrote: > On Tuesday, August 3, 2021 at 6:29:11 AM UTC-7 Mohammad wrote: > >> <$set name="out" filter="[tag[HelloThere]] [tag[About]] [tag[Platforms]]"> >>> <$list

Re: [tw5] Re: list tiddlers title with a delimiter (a character between items) resulting from a complex filter

2021-08-03 Thread Eric Shulman
On Tuesday, August 3, 2021 at 6:29:11 AM UTC-7 Mohammad wrote: > <$set name="out" filter="[tag[HelloThere]] [tag[About]] [tag[Platforms]]"> >> <$list filter="[enlistbutlast[]]"><$link/> | >> <$list filter="[enlistlast[]] "><$link/> >> >> > > Is it possible to use *subfilter* instead of

Re: [tw5] Re: list tiddlers title with a delimiter (a character between items) resulting from a complex filter

2021-08-03 Thread Mohammad Rahmani
Very nice solution Eric! One question: Best wishes Mohammad On Mon, Aug 2, 2021 at 6:02 AM Eric Shulman wrote: > On Sunday, August 1, 2021 at 9:48:12 AM UTC-7 Atronoush wrote: > >> I am sure this has been addressed before but I cannot find it in forum >> Assume you have a complex filter

Re: [tw5] Re: list tiddlers title with a delimiter (a character between items) resulting from a complex filter

2021-08-02 Thread Atronoush Parsi
Thank you all! Many useful things to learn! @Eric, I go with the $set widget solution, for me it is simpler and as you explained seems to have the better performance! Cheers Atro On Mon, Aug 2, 2021 at 6:02 AM Eric Shulman wrote: > On Sunday, August 1, 2021 at 9:48:12 AM UTC-7 Atronoush

[tw5] Re: list tiddlers title with a delimiter (a character between items) resulting from a complex filter

2021-08-01 Thread Eric Shulman
On Sunday, August 1, 2021 at 9:48:12 AM UTC-7 Atronoush wrote: > I am sure this has been addressed before but I cannot find it in forum > Assume you have a complex filter that results in an output containing few > tiddlers. Then you want to show them with a delimiter e.g. pipe (|) > One solution

[tw5] Re: list tiddlers title with a delimiter (a character between items) resulting from a complex filter

2021-08-01 Thread TW Tones
Before you go too far I added missing ] before the last operator How do you insert the code view now in Google groups/email. > <$list filter="[all[current]!is[system]has[one]] > [all[current]!is[system]has[two]] [all[current]search:text[three]] -[last[]]"> > > <$link/> | <$list

Re: [tw5] Re: list tiddlers title with a delimiter (a character between items) resulting from a complex filter

2021-08-01 Thread
Oops, I shouldn't comment just before heading to bed. My proposed solution gives the right string but without the active links. The join operator does seem like a good place to start though… Best, R² Le dimanche 1 août 2021 à 23:23:13 UTC+2, R² a écrit : > Hi Atro, > > Thanks for posting this.

Re: [tw5] Re: list tiddlers title with a delimiter (a character between items) resulting from a complex filter

2021-08-01 Thread
Hi Atro, Thanks for posting this. The same issue has been bugging me for a while but I had never looked into the operators to solve it until now. Simply use the join operator: <$list filter="[[foo]] [[bar]] [[tw]] +[join[ | ]]"> <$link/> should give you what you're looking for, ie. foo | bar

Re: [tw5] Re: list tiddlers title with a delimiter (a character between items) resulting from a complex filter

2021-08-01 Thread Atronoush Parsi
Mario, These filters are placed inside some other *$list*, I also changed it for this question. I write the question here in a simpler way <$list filter="[tag[foo]] [tag[bar]] [tag[tw]]"><$link/> | The purpose is to generate Tid One | Tid Two | Tid Three the above code adds | to the end of

[tw5] Re: list tiddlers title with a delimiter (a character between items) resulting from a complex filter

2021-08-01 Thread PMario
Hi, I don't understand the purpose. all[current] will only return 1 title. The currentTiddler. So why do you use [last[]] here? -mario -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails