Thanks a lot Mat for your notes/pointers, I really appreciate it.
Regarding the "4 brackets"; actually I got it from this conversation
<https://groups.google.com/g/tiddlywiki/c/rnC8doLyI0M/m/iaKgd_oNAgAJ> , and
it works OK with me, and if I used only 2 brackets, the "enlist" doesn't
split the input variable.
Thanks again for your time here
On Wednesday, March 3, 2021 at 11:32:34 AM UTC+2 Mat wrote:
> Instead of
>
> <$list variable="myList" filter="[enlist<wkfd>]">
> Auther of : <<myList>> is {{{[<myList>get[auther]]}}}<br>
> </$list>
>
> you don't need a variable
>
> <$list filter="[enlist<wkfd>]">
> Auther of :<$link/> or <$view field=title/> is {{!!auther}}<br>
> </$list>
>
> <:-)
>
> On Wednesday, March 3, 2021 at 10:27:31 AM UTC+1 Mat wrote:
>
>> OK this is just to give some pointers. I did not test your (nor my) code
>> so maybe you had good reasons for exactly how you did it and my suggestions
>> don't work.
>>
>> \define prepEnlisting(nlst)
>>> [[[[$nlst$]]]]
>>> \end
>>>
>>
>> Not sure why you're using all those brackets. You can probably write it
>> in a single row like:
>>
>> \define prepEnlisting() [[$(nlst)$]]
>>
>> \define myBooks(category lang)
>>> <$list filter="[all[tiddlers]tag[$category$]tag[$lang$]]"
>>> variable="macO">
>>> <$macrocall $name="prepEnlisting" nlst=<<macO>> />
>>> </$list>
>>> \end
>>>
>>
>> Put triple quotes around the filters when there's a chance some item has
>> a quote character in its name.
>>
>> \define myBooks(category lang)
>> <$list filter="""[all[tiddlers]tag[$category$]tag[$lang$]]"""
>> variable="macO">
>> <<prepEnlisting>>
>> </$list>
>> \end
>>
>>
>>
>>> <$wikify name="wkfd" text="<<myBooks Novel EN>>" >
>>> <$list variable="myList" filter="[enlist<wkfd>]">
>>> Auther of : <<myList>> is {{{[<myList>get[auther]]}}}<br>
>>> </$list>
>>> </$wikify>
>>>
>>
>> So the wikifywidget is supposedly very resource demanding so it is to be
>> avoided when possible. I'd guess it works with a setwidget:
>>
>> <:-)
>>
>>
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/410f775c-7142-4d39-aa80-4c64bba0c6a3n%40googlegroups.com.