it bugged me that TiddlyWiki did not work for me under Chrome, so
today I started digging around and here is what I came up with.
There are 2 problems:
* The "default" icedtea-plugin does not work with TiddlySaver.jar -
it claims not being able to decode UTF-8
* By default, the TiddlySaver applet is not "shown" under chrome
Here is what I did to solve them:
* I installed the latest SUN/Oracle JDK. Sadly these are not in the
ubuntu apt-repositories anymore but I did not find a usable java
plugin in the OpenJDK packages I have installed. The manual
installation of the SUN/Oracle JDK is explained here:
http://sites.google.com/site/easylinuxtipsproject/java
* I hacked the TiddlyWiki file in vim so the applet is displayed under
Chrome
@@ -4638,7 +3727,7 @@
var pluginInfo,tiddler; // Used to pass information to plugins in
loadPlugins()
// Whether to use the JavaSaver applet
-var useJavaSaver = (config.browser.isSafari ||
config.browser.isOpera) && (document.location.toString().substr(0,4) !
= "http");
+var useJavaSaver = (config.browser.isSafari || config.browser.isOpera
|| config.browser.isChrome) &&
(document.location.toString().substr(0,4) != "http");
I did not do much testing yet, but so far everything I use seems to
work except LessBackupsPlugin. Which is fair since it uses Firefox/IE
specific code to do it's job.
Cheers,
Juergen
So installing a non-IcedTea java plugin is all it takes for Chrome
under 64-bit Ubuntu.
Cheers,
Juergen
> Did you testhttp://rumkin.com/tools/tiddlywiki/#BackupOptionsPlugin?
No, but it doesn't need any special operations so I don't see why it
would not work. Thanks for the heads up!
I just spent an evening getting LessBackupsPlugin to work. I added
file existence check / file modification time operations to the
TiddlySaver applet and used those in the plugin. Not as easy to deploy
as BackupOptionsPlugin, but with Dropbox I really like
LessBackupsPlugin with the per minute and seconds backup removed.
Kind regards,
Juergen
Could you please share these TiddlySaver mods? I'd love to see them
added to the standard distro, as I have several plugins that could
make use of them. It would also be great if you could add a "get
directory list" function as well.
thanks,
-e
Eric Shulman
TiddlyTools / ELS Design Studios
> Could you please share these TiddlySaver mods? I'd love to see them
> added to the standard distro, as I have several plugins that could
> make use of them. It would also be great if you could add a "get
> directory list" function as well.
I am a bit surprised about the interest on this, I thought this would
have a really small target audience ...
I pushed the TiddlySaver changes to my github fork. The jar is
signed, but I used a self generated certificate. Probably not good
enough for the general public.
https://github.com/grmble/tiddlywiki/tree/lessbackups_for_chrome
For illustration purposes, here is how you use the new methods:
https://github.com/grmble/MPTW/commit/02854fdfa1cca3aa3cd1a86d04030bae53f09790
The "get directory list" function should not be a problem, but it's
past my bed time, mañana ;)
Also this didn't get much testing, but it seems to work for me on 1
computer ...
Good night.
https://github.com/TiddlyWiki/tiddlywiki/pull/79
Thanks everyone for your help,
Best wishes
Jeremy
> --
> You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
> To post to this group, send email to tiddl...@googlegroups.com.
> To unsubscribe from this group, send email to tiddlywiki+...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
>
It would be good if other could also do some testing.
Note also that grmble hasn't finished working on this yet, see:
https://github.com/TiddlyWiki/tiddlywiki/issues/78#issuecomment-3254138
so we will need to do another jar sometime in the future when he has finished.
Martin