> While looking for saving methods for TW on handheld devices I've run
> into a new Webkit-based mobile browser called Zetakey. So, an idea
> blinked in my mind: as I understand TW uses special FireFox JavaScript
> interface for saving changes in TW (without TiddlySaver, right?). So,
> if this interface is a part of Webkit, this could be used in Zetakey
> too (though, a bit of coding should be needed since TW checks if the
> browser is *FireFox*).

TiddlyWiki uses XPCOM on Firefox to access various libraries that were
originally intended for use by Firefox extensions. It turns out that
Firefox allows access to these APIs for local files if the user grants
access:

https://developer.mozilla.org/en/Code_snippets/File_I%2F%2FO

These APIs are not available in WebKit, and so I wouldn't expect them
to be available on Zetakey.

> Also, a friend of mine claimed that some browsers can use the "save
> as" function to save TW since they keep the current DOM for saving
> documents. Although even in this case saving throught "save as" can
> work not with the current TW (for instance, some things can be stored
> not in the DOM elements, I guess), after some tweaking it may work.

Firefox is the only browser I know that uses a snapshot of the current
DOM for file/save. You are right that with some tweaking TiddlyWiki
could be adjusted to allow allow saving in that way.

> So, what do you think (first, it's interesting to hear what do you
> know about technical details since I can have messed the things up)?

The best approach at the moment to getting TiddlyWiki saving locally
on a mobile device seems to be to create skinny wrappers around the
platform's native webview control. There are Android, iPhone and iPad
apps that exploit this technique to let you run and save any
TiddlyWiki document:

https://market.android.com/details?id=de.mgsimon.android.andtidwiki
http://itunes.apple.com/gb/app/twmobile/id381945222?mt=8
http://itunes.apple.com/gb/app/twedit/id409607956?mt=8

Cheers

Jeremy

-- 
Jeremy Ruston
mailto:[email protected]
http://www.tiddlywiki.com

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" 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/tiddlywikidev?hl=en.

Reply via email to