This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#26 2011-05-15 12:37:08

johnnydean1
Scratcher
Registered: 2010-02-12
Posts: 1000+

Re: Web Version of Scratch

You forgot end web script!


You can now reach me on Twitter @johnnydean1_

Offline

 

#27 2011-05-15 13:17:42

rdococ
Scratcher
Registered: 2009-10-11
Posts: 1000+

Re: Web Version of Scratch

Sidharth wrote:

This is AWESOME, except for the fact that it just opens a blank page  sad ...

Am I doing something wrong here?
http://i.imm.io/5FCI.jpeg


Hehe I forgot the <body> tag, but it still doesn't work.

You need the | end web script | block before the compile one.

Can someone upload this to SourceForge or 4shared please? My web filter blocks it.

Offline

 

#28 2011-05-15 13:19:06

johnnydean1
Scratcher
Registered: 2010-02-12
Posts: 1000+

Re: Web Version of Scratch

I will soon!


You can now reach me on Twitter @johnnydean1_

Offline

 

#29 2011-05-15 13:20:01

rdococ
Scratcher
Registered: 2009-10-11
Posts: 1000+

Offline

 

#30 2011-05-15 13:33:24

johnnydean1
Scratcher
Registered: 2010-02-12
Posts: 1000+

Re: Web Version of Scratch

Here

Last edited by johnnydean1 (2011-05-15 13:34:07)


You can now reach me on Twitter @johnnydean1_

Offline

 

#31 2011-05-15 13:53:24

johnnydean1
Scratcher
Registered: 2010-02-12
Posts: 1000+

Re: Web Version of Scratch

What do ya think!


You can now reach me on Twitter @johnnydean1_

Offline

 

#33 2011-05-15 13:58:34

johnnydean1
Scratcher
Registered: 2010-02-12
Posts: 1000+

Re: Web Version of Scratch

Ok, BTW I have done a download for Claw too.


You can now reach me on Twitter @johnnydean1_

Offline

 

#34 2011-05-17 03:35:58

s_federici
Scratcher
Registered: 2007-12-18
Posts: 500+

Re: Web Version of Scratch

johnnydean1 wrote:

You forgot end web script!

I added it, and also added the HEAD tag. I get a wrong HTML page as there are some missing characters, i.e. quotes around value of the SRC attribute of IMG tag (quotes should be always output around values of attributes) and a space after the value of the SRC attribute:

        <doc type=XHTML 1.0 Strict>
        <html >
        <head>
        <title>Test</title>
        <head>
        <body >
        <img src=http://goldprice.org/images/gold/maple-leaf.gifwidth= 10 height= 10 />
        </body >
        </html ><br />

BTW, great mod! Go ahead!

Last edited by s_federici (2011-05-17 03:36:42)

Offline

 

#35 2011-05-17 10:49:01

johnnydean1
Scratcher
Registered: 2010-02-12
Posts: 1000+

Re: Web Version of Scratch

s_federici wrote:

johnnydean1 wrote:

You forgot end web script!

I added it, and also added the HEAD tag. I get a wrong HTML page as there are some missing characters, i.e. quotes around value of the SRC attribute of IMG tag (quotes should be always output around values of attributes) and a space after the value of the SRC attribute:

        <doc type=XHTML 1.0 Strict>
        <html >
        <head>
        <title>Test</title>
        <head>
        <body >
        <img src=http://goldprice.org/images/gold/maple-leaf.gifwidth= 10 height= 10 />
        </body >
        </html ><br />

BTW, great mod! Go ahead!

Quotes have to be used as a double ' (so its ''). This is because Scratch compiles it weird.


You can now reach me on Twitter @johnnydean1_

Offline

 

#36 2011-05-17 17:05:02

s_federici
Scratcher
Registered: 2007-12-18
Posts: 500+

Re: Web Version of Scratch

johnnydean1 wrote:

Quotes have to be used as a double ' (so its ''). This is because Scratch compiles it weird.

I see. But why not to automatically add quotes to the HTML output? It would be better if, for example, the img block would already contain the double quotes, that is

<img src='' _ '' width = 10 height = 10>

so that the quotes will be added to the output without the user having to actually tyoe them.

Offline

 

#37 2011-05-18 03:29:34

johnnydean1
Scratcher
Registered: 2010-02-12
Posts: 1000+

Re: Web Version of Scratch

I already tried that and I cant get it working. Squeak uses 'string' for stings. Thus I can't use ' for blocks.


You can now reach me on Twitter @johnnydean1_

Offline

 

#38 2011-05-19 15:22:31

rdococ
Scratcher
Registered: 2009-10-11
Posts: 1000+

Re: Web Version of Scratch

johnnydean1 wrote:

I already tried that and I cant get it working. Squeak uses 'string' for stings. Thus I can't use ' for blocks.

It's '''' that makes ". '' makes ' in Squeak.

Offline

 

#39 2011-05-19 15:56:24

xIIV
New Scratcher
Registered: 2010-12-04
Posts: 72

Re: Web Version of Scratch

Hows it coming? I know I didn't really help much, but I didn't know Squeak then. I have learned.  big_smile


Helping helps others to help you.  wink

Offline

 

#40 2011-05-19 16:00:24

johnnydean1
Scratcher
Registered: 2010-02-12
Posts: 1000+

Re: Web Version of Scratch

Haven't worked on it in a while... Feel free to take over...


You can now reach me on Twitter @johnnydean1_

Offline

 

#41 2011-05-19 16:03:44

ProgrammingFreak
Scratcher
Registered: 2010-09-04
Posts: 1000+

Re: Web Version of Scratch

johnnydean1 wrote:

Haven't worked on it in a while... Feel free to take over...

Hey, since Hamachi crashed for you a while back, what are you using now?

Last edited by ProgrammingFreak (2011-05-19 16:03:52)

Offline

 

#42 2011-05-19 16:04:35

johnnydean1
Scratcher
Registered: 2010-02-12
Posts: 1000+

Re: Web Version of Scratch

ProgrammingFreak wrote:

johnnydean1 wrote:

Haven't worked on it in a while... Feel free to take over...

Hey, since Hamachi crashed for you a while back, what are you using now?

Nothing. I just use forums/Claw Chat (Claw Chat is currently down however.


You can now reach me on Twitter @johnnydean1_

Offline

 

#43 2011-05-19 16:11:32

ProgrammingFreak
Scratcher
Registered: 2010-09-04
Posts: 1000+

Re: Web Version of Scratch

johnnydean1 wrote:

ProgrammingFreak wrote:

johnnydean1 wrote:

Haven't worked on it in a while... Feel free to take over...

Hey, since Hamachi crashed for you a while back, what are you using now?

Nothing. I just use forums/Claw Chat (Claw Chat is currently down however.

Claw Chat? One for your mod? Cool.  big_smile

Offline

 

#44 2011-05-19 17:00:56

rdococ
Scratcher
Registered: 2009-10-11
Posts: 1000+

Offline

 

#45 2013-02-16 10:51:20

cool_dude_2
Scratcher
Registered: 2012-12-05
Posts: 82

Re: Web Version of Scratch

links go to "error! invalid or deleted file"


http://blocks.scratchr.org/API.php?user=cool_dude_2&amp;action=projects&amp;type=newest&amp;return=image&amp;num=1i am http://blocks.scratchr.org/API.php?user=cool_dude_2&amp;action=onlineStatus&amp;type=text

Offline

 

Board footer