Ok, I figured it out (Thanks BTC 
<https://groups.google.com/g/tiddlywiki/c/rnC8doLyI0M/m/iaKgd_oNAgAJ>)

\define prepEnlisting(nlst) 
[[[[$(macO)$]]]]
\end
\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>

Any other implementation for the same functionality?



On Tuesday, March 2, 2021 at 4:23:31 PM UTC+2 Mohamed Amin wrote:

> Hi All,
>
> I've a set of tiddlers represent my books/novels, and I'm using the 
> following Macro to filter my books by their "Category" and "Language" :
>
> \define myBooks(category lang)
> <$list filter="[all[tiddlers]tag[$category$]tag[$lang$]]"/>
> \end
>
> and when I run <<myBooks Novel EN>> I got a "LIST" of my "English Novels" 
> (which is working as expected)
>
> Now, my problem is when I try to use that Macro output as a "LIST" in 
> other part of my code (to identify other properties like Authers, Rating, 
> ...)
>
> for example, I tried the following :-
>
> <$wikify name="wkfd" text="<<myBooks Novel EN>>" >
> <$list variable="myList" filter="[enlist<wkfd>]">
> <<myList>>
> </$list>
> </$wikify>
>
> but both "wkfd" and "myList" variables are NOT "LIST" to iterate with. 
>
> so, what is the correct way to use that macro output as a list?
>
> Regards
>

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/e7278c0d-62ba-4744-bebc-d28d848892a6n%40googlegroups.com.

Reply via email to