Discuss Scratch

swevipere
New Scratcher
2 posts

How can I publish my script on my own website?

I Love this language, even my kid(7 year old) does.

But how can we publish our scripts on custom website?
AonymousGuy
Scratcher
1000+ posts

How can I publish my script on my own website?

Go to the “share to” link at the bottom of the page, and then copy and paste the HTML into your website.
k9lego
Scratcher
1000+ posts

How can I publish my script on my own website?

AonymousGuy wrote:

Go to the “share to” link at the bottom of the page, and then copy and paste the HTML into your website.
What he said. k9lego.
swevipere
New Scratcher
2 posts

How can I publish my script on my own website?

AonymousGuy wrote:

Go to the “share to” link at the bottom of the page, and then copy and paste the HTML into your website.
Thanks, but that way, i only Hotlink it.
cheddargirl
Scratch Team
1000+ posts

How can I publish my script on my own website?

Hi swevipere,

I'm assuming you mean the actual Scratch projects, not just the scripts itself (because that would be a simple as taking a screenshot of the scripts page and posting the pics of the scripts online ). If the plan is to upload a Scratch project on your own website without having to share it to the Scratch website, there is a way to do it but only for a Scratch 1.4 project, but I fear it may be outdated and the sources gone. But here is a copy of the old instructions in case you are interested.

nick wrote:

Hi!

There's actually a way to share scratch projects on your website or in a folder on a CD or computer without posting them to scratch.mit.edu first. To do it, you need to download the following files to the directory on your website (or a folder on your computer):

1. http://scratch.mit.edu/static/misc/ScratchApplet.jar
2. http://scratch.mit.edu/static/misc/soundbank.gm

(for soundbank.gm, if you're using firefox, right-click and select “Save Link As…” to download)

After copying these to a folder on your computer, put the .sb file in the same folder. Then, create a .htm file with the following contents:

Code:

<html>
<body>
<applet id=“ProjectApplet” style=“display:block” code=“ScratchApplet” codebase=“./” archive=“ScratchApplet.jar” height=“387” width=“482”>
<param name=“project” value=“testproject.sb”>
</applet>
</body>
</html>

replacing testproject.sb with the name of the project you want to view. This will allow you to either view scratch projects offline (in a folder) or online (on a webserver).

You can view an example of this in action here:
http://web.media.mit.edu/~nbushak/test.html

Additional methods of embedding Scratch projects are detailed here:
http://info.scratch.mit.edu/Publishing_your_Scratch_projects_on_other_websites

Also, we release new versions of ScratchApplet.jar occasionally for bug fixes. If you're using this a lot, it may be a good idea to stay updated by periodically downloading new versions of ScratchApplet.jar from the website.

Nick
dark-nano
Scratcher
29 posts

How can I publish my script on my own website?

lolwhenclicked
Corinthia
Scratcher
32 posts

How can I publish my script on my own website?

AonymousGuy wrote:

Go to the “share to” link at the bottom of the page, and then copy and paste the HTML into your website.

Oh! I never knew this so thank you.
liam48D
Scratcher
1000+ posts

How can I publish my script on my own website?

Necropost, looks like this topic has been resolved anyways.
Scratcher1002
Scratcher
1000+ posts

How can I publish my script on my own website?

dark-nano wrote:

lolwhenclicked
Please don't nercopost OR block spam.
852719
Scratcher
100+ posts

How can I publish my script on my own website?

dark-nano wrote:

lolwhenclicked
Ummm… Necro?
gdpr533f604550b2f20900645890
Scratcher
1000+ posts

How can I publish my script on my own website?

852719 wrote:

dark-nano wrote:

lolwhenclicked
Ummm… Necro?
Isn't your post a necro?

Powered by DjangoBB