Si,

Thanks for sharing! Love all the remixing that's going on here with 
TiddlyRemember and other information systems.

This is the coolest thing about TW IMO…it's not as polished as all these 
other tools out of the box, but then within a few weeks of one of these new 
features becoming popular, someone spends a weekend hacking in TiddlyWiki 
and it's available there too. :-)

On Saturday, January 16, 2021 at 2:08:54 PM UTC-6 si wrote:

> For some reason I could make my OP with an attachment, so here is the code 
> from the tid file. Just create a tiddler and copy it in.
>
> \define showAncestors()
> <$list filter="[enlist<mylist>first[]]">
>     <ul><li>
> <$list 
> filter="[<currentTiddler>!match<bottom-tiddler>then<currentTiddler>]">
> <$list filter="[<currentTiddler>has[parent]then{!!text}else{!!title}]">
> <<currentTiddler>>
> </$list>
> </$list>
> <$list filter="[<currentTiddler>match<bottom-tiddler>]">
> <$vars 
> question={{{ [{!!text}splitbefore[::]addprefix['']addsuffix['']] }}}>
> <<question>>
> </$vars>
> </$list>
>     <$set name="mylist" filter="[enlist<mylist>rest[1]]">
>             <<showAncestors>>
>     </$set>
>     </li></ul>
> </$list>
> \end
>
> \define getAncestors()
> <$list filter="[all[current]get[parent]!is[blank]]" emptyMessage="""<$set 
> name="mylist" 
> filter="[enlist<mylist>reverse[]]"><<showAncestors>></$set>""">
>     <$set name="mylist" filter="[enlist<mylist>] [<currentTiddler>]">
>             <<getAncestors>>
>     </$set>
> </$list>
> \end
>
> \define thing()
> <$set name="mylist" filter="[<currentTiddler>]">
> <$vars bottom-tiddler=<<currentTiddler>> >
> <<getAncestors>>
> </$vars>
> </$set>
> \end
>
> <$list filter="[search:text[::]!is[system]!<currentTiddler>]">
> <$macrocall $name=rememberq id={{!!created}}
> question=<<thing>>
> answer={{{ [<currentTiddler>get[text]split[::]last[]] }}}
> />
> </$list>
>

-- 
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/c8750ee4-4756-4a45-9a77-5c369cdec97fn%40googlegroups.com.

Reply via email to