What is the code used to upload projects to scratch? I need that so I can let people upload to my website. So what is the code in squeak for it?
Offline
Its not as easy as that. You need to know networking and php to get it to work properly.
Offline
dav09 wrote:
Its not as easy as that. You need to know networking and php to get it to work properly.
I already do.
Offline
I don't know if it is necessary to mention:
# you cannot implement the ability to upload projects to any MIT Scratch website (currently, http://scratch.mit.edu),
( from The Scratch Source Code License )
So, I don't think it would apply, and I think you would be allowed to know how it works but just not allowed to implement it for sharing to the scratch site.
Since the source code removes the sharing features, I think you'd have to hack into scratch itself to find that part... It is one of the more difficult things.
sorry I haven't helped at all technically, but I am unable to help with this topic...
Offline
Help?
Offline
IDK php, but I know some things you can look at:
These are the places we will need to go when making the project upload to your site, looks like you need a special HML for it:
Scratch-UI-Dialogs » ScratchUploadProgressDialog » checkServerResponce:
Scratch-UI-Dialogs » ScratchUploadProgressDialog » createRequest
Offline