I originally posted this on my blog at badgerfiles.com blog, but it really deserves to be here.
When I was in Columbus, a couple people asked me how to host Scratch projects on your own web server. Scratch makes it easy to share projects on the web, but for one reason or another, some people may want to host projects on a server they control.
Here is how you can host your own projects.
- Download these two files from the Scratch web site and save them to your computer:
- Create a directory on the web server. For example,
scratch
. - Upload the ScratchApplet.jar and soundbank.gm files to the directory you
just created on the web server. - Upload you Scratch project to the scratch directory you created on the web server.
- Now, we need to build an HTML page to display the project. Save the following code as scratch.html:<html>
<title>Scratch Project</title>
<body> <applet id=”ProjectApplet” style=”display:block” code=”ScratchApplet” codebase=”./” archive=”ScratchApplet.jar” height=”387″ width=”482″>
<param name=”project” value=”project- name.sb“> </param></applet> </body> </html> - In the scratch.html code, find the value attribute and change
project-name.sb to the filename and path, if necessary, of the project you uploaded to the web server.
Open a web browser and view the URL of the page you created, http://www.example.com/scratch/scratch.html.
That’s all there is to it.
thanks for the info
it worked
i have created a site based on this info to make easy upload of scratch projects and recieve comments using PHP MYSQL
http://jayadeep.uni.cc/scratch
chek it out
Why don’t you delete stale guides like this? The links to the mit java code are auth-blocked…
What a pointless page, if not kept up to date, not to mention an utter waste of time.