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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywikidev/c7a0d8c0-7939-4ec7-9cf0-4eccb7733a76%40googlegroups.com.