Home  
Login
Username:

Password:

Remember me



Lost Password?

Register now!
Sections
Who's Online
72 user(s) are online (59 user(s) are browsing Forums)

Members: 1
Guests: 71

orgin, more...
Support us!
Recent OS4 Files
OS4Depot.net





Odyssey enabling java & local storage
Just can't stay away
Joined:
2009/2/9 19:32
From Brussels Belgium
Posts: 1082
tiddlywiki
seems to be the reference when it comes to oading, editing & saving files. from the browser, without any webserver.

Under Odyssey it works fine, even when downloaded & used offline.
You have to rename the weird name proposed in the file requester, or the file to be saved (every time) but you don't have to use use tha borwsers save as
Under chrome & firefox Saving as wanted is more straightforward.: the filename of the loaded file is proposed when saving.
The doc states
Cofiguring browser to permit saves to disk


"The TiddlySaver Java applet allows TiddlyWiki to save changes in a local version (from a file:// URL) of Safari, Opera and other browsers. It is a small file named TiddlySaver.jar" that must be placed in the same directory as your TiddlyWiki file. As of August 2008, when an empty TiddlyWiki file is downloaded using either Safari or Opera, it is bundled with a copy of the TiddlySaver.jar file in a zip file - both files must be in the same directory whenever the TiddlyWiki file is opened in order to work."


Clicking on the .jar link giv however:
"404 Not Found: TiddlySaver.jar not found via bag, no suitable bag for TiddlySaver.jar"
Probably too old a version of safari?
Java not enabled?


I have installed & launched jamiga

Can i enable Odyssey for java ?
Will the download of tiddlysaver.jar work after that ?



I do find following guidelines:

https://java.com/en/download/help/enable_browser.xml"Safari
Click on Safari and select Preferences
Choose the Security option
Select Allow Plug-ins, then click on Manage Website Settings
Click on the Java item, select an option (Ask, Allow or Allow Always) from the pulldown list When visiting other websites
Click Done, then close the Safari Preferences window"

Allow Plug-Ins : spotted a Settings/Plugins item & set it to enable
The closest thing to "manage website settings" is windows/URL preferences.
only http:www.google.be was present there with all checkboxes marked
including "local storage"
no "java item"


Anybody looked into "enabling java" allready


   Report Go to top

Re: Odyssey enabling java & local storage
Not too shy to talk
Joined:
2006/12/5 22:11
From Lecco, Italy
Posts: 287
Unfortunately actually there is no java for Odyssey
maybe you can find something that use javascript

   Report Go to top

Re: Odyssey enabling java & local storage
Just can't stay away
Joined:
2009/2/9 19:32
From Brussels Belgium
Posts: 1082
@pvanni


i have looked at javascript in the first place. till now not with the expected success. I always end up having to save the modified file using (proposed with a strange name "blob:weirdstring" in a new tab.) from th browser's "Save As" menu.

My ambition is to develop loong html pages divided in
, in which i i embed an "auto-editor"..selecting the
to edit
It should work offline and not need a (local)webserver.
As soon as the html5 "download" attribute to the "
I wonder what java feature is used in the .jar file above (that i cannot download) to achieve. Can it be copied with an other avaliable languag?
I hope so



Edited by JosDuchIt on 2015/8/5 17:18:33
Edited by JosDuchIt on 2015/8/5 17:19:59
Edited by JosDuchIt on 2015/8/5 17:21:43
   Report Go to top

Re: Odyssey enabling java & local storage
Just can't stay away
Joined:
2009/2/9 19:32
From Brussels Belgium
Posts: 1082
opdate:

i did find TiddlySaver.jar here https://github.com/PVHL/tiddlywiki/blo ... /TiddlySaver.jar?raw=true & downloaded it (hit "view raw" link

   Report Go to top

Re: Odyssey enabling java & local storage
Not too shy to talk
Joined:
2006/12/5 22:11
From Lecco, Italy
Posts: 287
@JosDuchIt
a jar file contains a pre-compiled code, not source code
so it's almost impossible to know what it does,
java sources have .java extension

   Report Go to top

Re: Odyssey enabling java & local storage
Just popping in
Joined:
2007/7/30 21:55
From Sweden
Posts: 180
@JosDuchIt
Currently Jamiga doesn't support Java web applets.
Java applets require AWT support (I.e. GUI and graphics), and even if Jamiga had that (which it doesn't), there are some glue libraries required.

So, no Java applets for now. :(

It might be possible to execute the jar file by itself, but I doubt you'll find anything interesting, since the functionality you want (reading/writing local files from the web browser) won't be reachable from within the web browser when executing it outside.

   Report Go to top

Re: Odyssey enabling java & local storage
Just can't stay away
Joined:
2009/2/9 19:32
From Brussels Belgium
Posts: 1082
@pvanni
@jaokim

thanks for clarifications
@jaokim
Amigans learned to be patient & gratefull to those who bring us new experiences & possibilities.(4.1FE, odyssey, java, python,.MUI4 .)


I have been diving into html5, javascript, java& even if i don't get where i want to go , the trip was fascinating
I notably learned that python has a simple webserver on its own, that you launch from CLI.
http://www.linuxjournal.com/content/t ... simple-http-server-python
It was nice to see the html pages i develop locally on my SAM460 from my IPad.

.
Hoping for a new wersion of Odyssey with latest html5 support.

   Report Go to top





[Advanced Search]


Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project