Warmly welcome Luis!

¿How can I access to the content of the caller tiddler in a javascript or 
> text macro?
>

WikiText filters exracts the text with the get filter operator, like so 
get[text]

Example:

<$list filter="[[Foo]get[text]]">

</$list>


You can also use a transclusion {{Foo}} which, when used in a filter omits 
the outer curls:

<$list filter="[{Foo}]">

</$list>

To extract the headlines you can use filter operator splitbefore - or, 
probably better, some of Tobias Beer split operator variants.

I made the CherryPicker <http://cherrypicker.tiddlyspot.com/> plugin (and 
the followup variant @ttention <http://attention.tiddlyspot.com/> which 
might be less relevant here) that has many similarities to this. It is done 
in pure WikiText. But it is possibly not the best implementation. For one 
thing, Cherrypicker was made before I knew of Tobias' variants.

If you find TW cool, make sure to tell your friends so they get happy too 
;-)


<:-)

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywikidev/ac8b2967-ec72-46bc-85c2-0f4f1a15fa88%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to