Just checked back here and saw all of this -- thanks everyone! This all 
looks helpful. Saq helped me solve my most immediate problem by providing 
me with a modification of the anywords hint that he had done, but I am 
hoping to continue experimenting with customizing TiddlyWiki, so this will 
all be really helpful. 

On Sunday, May 10, 2020 at 9:45:15 AM UTC-4, Arlen Beiler wrote:
>
> To get the list of tiddler titles, you should probably use a filter and 
> get the filter from a tiddler. This is standard practice in the core so you 
> or users can exclude or include tiddler titles in the list. 
>
> To get the functions you can call, you probably want to use the global $tw 
> variable. 
>
> If you want to get the exports of an individual Javascript tiddler, you 
> should probably load it into a proper type checker and get the types from 
> there. 
>
> Just my thoughts. I'm sure there's more than one way to skin the cat.
>
> Arlen
>
> On Sun, May 10, 2020 at 8:53 AM Jed Carty <inmy...@gmail.com <javascript:>> 
> wrote:
>
>> To get a tiddler in javascript you use the function 
>> $tw.wiki.getTiddler('tiddler title'), it returns a json object with the 
>> from:
>>
>> {
>>   fields: {
>>     title: "tiddler title",
>>     other_field: "field contents"
>>   },
>>   cache{}
>> }
>>
>> so to get the text of a tiddler you could use:
>>
>> var text = $tw.wiki.getTiddler('tiddler title').fields.text
>>
>> there have been a few efforts to make full documentation for the 
>> tiddlywiki internals, but no one has succeeded yet.
>>
>> -- 
>> 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 tiddly...@googlegroups.com <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/tiddlywikidev/c7a0d8c0-7939-4ec7-9cf0-4eccb7733a76%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/tiddlywikidev/c7a0d8c0-7939-4ec7-9cf0-4eccb7733a76%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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 tiddlywikidev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywikidev/8a689fba-b009-4810-ab44-fd16d54243d5%40googlegroups.com.

Reply via email to