+ 6

Can you save data in Solo-Learn?

I am working in JS and would like to store data, preferably locally. I have tried several posted suggestions and none seem to work. Examples, links, suggestions all appreciated.

21st Dec 2017, 11:44 PM
Michael Simnitt
Michael Simnitt - avatar
8 Respostas
+ 9
Unfortunately in the console "Sololearn", this can not be done! You can save your data only on hosting! Hope for understanding :)
21st Dec 2017, 11:50 PM
James16
James16 - avatar
+ 3
@Michael Simnitt I don't have experience with working with files using js either. So I can't really help you with that. But I think the post I linked explains how to upload content via dropbox.
15th Mar 2018, 6:52 PM
Haris
Haris - avatar
+ 2
Well if anybody can come up with a method that actually works I will surely look into it. It would be nice for some of the apps in math programs to be able to save user data and preferences as well as for gaming.
15th Mar 2018, 6:38 PM
Michael Simnitt
Michael Simnitt - avatar
+ 2
Dropbox maybe a solution.(Not really locally but it works) https://www.sololearn.com/discuss/1054246/?ref=app
15th Mar 2018, 6:41 PM
Haris
Haris - avatar
+ 2
@Harris are you suggesting making a JavaScript API of sorts for saving data and then storing it externally and calling it from within solo learn apps? I'm brand new to JavaScript so please bear with my silly questions.
15th Mar 2018, 6:43 PM
Michael Simnitt
Michael Simnitt - avatar
+ 1
Custom codes? JavaScript in a browser should be able to read file objects. Wx you refer to local file objects depends on the object addressing. The form file:////somedir//somefile.txt may work on some systems. without specifying the file: part, it refers to the system that hosts the Js. this is from memory, take it with a grain of salt. Unless I misunderstood what you meant by "locally". You can always embed data in your .js code. Technically, that would be "local".
15th Mar 2018, 6:27 PM
JoeSponge
JoeSponge - avatar
+ 1
Yes, all custom codes. Sadly sololearn does not provide a method for this. And if they did I fear it would be exploited to troll/harass or do harm.
15th Mar 2018, 6:33 PM
Michael Simnitt
Michael Simnitt - avatar
+ 1
It's funny... I can post a response, but SL won't let me UPVOTE Michael Simnitt's comment.
15th Mar 2018, 6:35 PM
JoeSponge
JoeSponge - avatar