Story.prototype.loadMissingTiddler is probably what you want. The
RefreshTiddlerCommand plugin in every default space would also be a
good reference.

On Apr 7, 3:39 pm, teukon <[email protected]> wrote:
> I'm writing a macro for use on tiddlyspace and I'm trying to find a
> way to get the text for a tiddler.  I've tried
> {{{
> var latestText = tiddler.text;}}}
>
> but this seems to try to get the text locally (and hence the text is
> outdated).  I'd like a way of fetching the latest version of the
> tiddler from the server on tiddlyspace.com (like the refresh button
> above a tiddler does).
>
> I've looked through the source code for tiddlywiki but it didn't help
> me.  I've also tried
> {{{
> story.refreshTiddler(tiddler.title,1,true);}}}
>
> and
> {{{
> refreshAll();}}}
>
> before using tiddler.text but to no avail.
>
> Any ideas?

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.

Reply via email to