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

#26 2010-06-23 19:39:44

ScratchReallyROCKS
Scratcher
Registered: 2009-04-22
Posts: 1000+

Re: ScratcHTML

One question, I think I know the answer for it but, will this be a .image file or an actual application?


http://imageshack.us/a/img694/3806/sigmad.png

Offline

 

#27 2010-06-23 19:57:48

coolstuff
Community Moderator
Registered: 2008-03-06
Posts: 1000+

Re: ScratcHTML

ScratchReallyROCKS wrote:

One question, I think I know the answer for it but, will this be a .image file or an actual application?

I think all programs made in Squeak need to be .image files... Which are run by their respective applications, the VM.

Offline

 

#28 2010-06-23 20:07:51

ScratchReallyROCKS
Scratcher
Registered: 2009-04-22
Posts: 1000+

Re: ScratcHTML

coolstuff wrote:

ScratchReallyROCKS wrote:

One question, I think I know the answer for it but, will this be a .image file or an actual application?

I think all programs made in Squeak need to be .image files... Which are run by their respective applications, the VM.

Yeah I knew that. I just wasn't sure about Squeak's connection to HTML.


http://imageshack.us/a/img694/3806/sigmad.png

Offline

 

#29 2010-06-23 20:33:20

coolstuff
Community Moderator
Registered: 2008-03-06
Posts: 1000+

Re: ScratcHTML

ScratchReallyROCKS wrote:

coolstuff wrote:

ScratchReallyROCKS wrote:

One question, I think I know the answer for it but, will this be a .image file or an actual application?

I think all programs made in Squeak need to be .image files... Which are run by their respective applications, the VM.

Yeah I knew that. I just wasn't sure about Squeak's connection to HTML.

I think that's irrelevant.

From what I gathered, the mod simply generates a code based on your input.

Offline

 

#30 2010-06-23 21:31:32

nXIII
Community Moderator
Registered: 2009-04-21
Posts: 1000+

Re: ScratcHTML

Mind if I make an implementation of this, using my attribute/contents ideas?


nXIII

Offline

 

#31 2010-06-24 11:24:46

fuzzwuzz
Scratcher
Registered: 2008-06-24
Posts: 87

Re: ScratcHTML

billyedward wrote:

Hello, everyone!
I am here to ask for your input on a new little project that I am working on.
It is called ScratcHTML, and it turns scratch into an HTML editor.
I got the idea from jens' chirp's XML exportation feature.
Basically, each HTML element is represented by a block.
Here is a picture of scratcHTML as it currently stands:
http://img25.imageshack.us/img25/818/scratchtmlwin.jpg
This would compile to:

Code:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
    <head>
        <title>Using ScratcHTML</title>
        <link rel='stylesheet' type='text/css' href='/style.css' />
        <script>function welcomeMessage() {alert('Welcome to my page!'); }</script>
    </head>
    <body>
        <a href='/index.html'>
            <img src='/images/banner.jpg' height='100' width='650' />
        </a>
        <q href='/index.html'>
            An HTML editor in Scratch!
        </q>
        <div style='position:absolute;right:100px;top:150px;'>
            <form action='/search.php' method='get'>
                <input type='text' name='searchBox' value='' />
                <input type='submit' name='search' value='Search!' />
                <br />
                <b>
                    Search:
                </b>
                <input type='radio' name='searchWhat' value='web' />
                The Web
                <input type='radio' name='searchWhat' value='thisSite' />
                This Site
            </form>
        </div>
        ScratcHTML can:
        <ol>
            <li>
                Allow you to create HTML documents in a familiar editor
            </li>
            <li>
                Allow you to create HTML documents in a familiar editor
            </li>
        </ol>
    </body>
</html>

The reason that I am telling you so early in the development stages is to get your opinion on what it should do, what you'd like to see in it, how it should work, etc. Basically, anything that you have to say about it, go ahead!

Suggestions for extensibility are also welcome. For instance, one plan I have is to extend it to all XML types, and then to read the DTD and base the block palette off of that. But that is in the far future, at this point.

OMG!!! IVE BEEN WAITING FOR SOMETHING LIKE THIS FOR AROUND 2/3 OF MY SCRATCH CAREER NOW!!!!!! WHERE CAN I DOWNLOAD IT!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! THIS IS EPIC!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!


Ready for the next generation of scratch??? Try Jaguar!
Add grob the slime to your signature to help him take over the world! http://img709.imageshack.us/img709/3252/gobanim2.gif

Offline

 

#32 2010-06-24 11:29:15

waveOSBeta
Scratcher
Registered: 2009-12-08
Posts: 1000+

Re: ScratcHTML

It hasn't been released yet  tongue


http://internetometer.com/image/10202.png]
New signature coming soon!  smile

Offline

 

#33 2010-06-24 12:05:42

filo5
Scratcher
Registered: 2008-01-08
Posts: 1000+

Re: ScratcHTML

fullmoon wrote:

And maybe a CSS editor?

Completely doable, since CSS is essentially blocks of code already  wink

Hi guys.


Converting my Scratch projects to Python!

Offline

 

#34 2010-06-24 12:27:41

markyparky56
Scratcher
Registered: 2008-03-20
Posts: 1000+

Re: ScratcHTML

Me likes!  big_smile  That looks awesome!


http://j.mp/jgVnTq
Check out my game engine development site: NewDawn I'm a Level 171 Scratcher.I am http://bit.ly/nkvLNT

Offline

 

#35 2010-06-24 13:10:05

fg123
Scratcher
Registered: 2008-11-13
Posts: 1000+

Re: ScratcHTML

CAN I BETA TEST IT OR HELP??? Please? That looks so awesome!


Hai.

Offline

 

#36 2010-06-24 13:13:36

ThePCKid
Scratcher
Registered: 2009-09-16
Posts: 1000+

Re: ScratcHTML

billyedward wrote:

Hello, everyone!
I am here to ask for your input on a new little project that I am working on.
It is called ScratcHTML, and it turns scratch into an HTML editor.
I got the idea from jens' chirp's XML exportation feature.
Basically, each HTML element is represented by a block.
Here is a picture of scratcHTML as it currently stands:
http://img25.imageshack.us/img25/818/scratchtmlwin.jpg
This would compile to:

Code:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
    <head>
        <title>Using ScratcHTML</title>
        <link rel='stylesheet' type='text/css' href='/style.css' />
        <script>function welcomeMessage() {alert('Welcome to my page!'); }</script>
    </head>
    <body>
        <a href='/index.html'>
            <img src='/images/banner.jpg' height='100' width='650' />
        </a>
        <q href='/index.html'>
            An HTML editor in Scratch!
        </q>
        <div style='position:absolute;right:100px;top:150px;'>
            <form action='/search.php' method='get'>
                <input type='text' name='searchBox' value='' />
                <input type='submit' name='search' value='Search!' />
                <br />
                <b>
                    Search:
                </b>
                <input type='radio' name='searchWhat' value='web' />
                The Web
                <input type='radio' name='searchWhat' value='thisSite' />
                This Site
            </form>
        </div>
        ScratcHTML can:
        <ol>
            <li>
                Allow you to create HTML documents in a familiar editor
            </li>
            <li>
                Allow you to create HTML documents in a familiar editor
            </li>
        </ol>
    </body>
</html>

The reason that I am telling you so early in the development stages is to get your opinion on what it should do, what you'd like to see in it, how it should work, etc. Basically, anything that you have to say about it, go ahead!

Suggestions for extensibility are also welcome. For instance, one plan I have is to extend it to all XML types, and then to read the DTD and base the block palette off of that. But that is in the far future, at this point.

THAT IS SO FREAKING AWESOME!

Offline

 

#37 2010-06-24 13:18:06

Sperry
Scratcher
Registered: 2010-03-09
Posts: 500+

Re: ScratcHTML

It is amazing, I'd have never of though of that.

Although, it will be hard to include everything.


http://img709.imageshack.us/img709/3252/gobanim2.gifhttp://ls.gd/bo

Offline

 

#38 2010-06-24 13:50:26

markyparky56
Scratcher
Registered: 2008-03-20
Posts: 1000+

Re: ScratcHTML

Sperry wrote:

Although, it will be hard to include everything.

But you never know untill you try.


http://j.mp/jgVnTq
Check out my game engine development site: NewDawn I'm a Level 171 Scratcher.I am http://bit.ly/nkvLNT

Offline

 

#39 2010-06-24 14:56:56

gershmer
Scratcher
Registered: 2009-02-12
Posts: 1000+

Re: ScratcHTML

Oh my gosh. Amazing idea.


Visit my site, Gershmer.net
Leave me a voicemail at my Google Voice number, [removed]

Offline

 

#40 2010-06-24 14:58:38

gershmer
Scratcher
Registered: 2009-02-12
Posts: 1000+

Re: ScratcHTML

Also, for the <!DOCTPYE > block, it wouldn't be perfect since this is HTML5's doctype :

Code:

<!DOCTPYE html>

Visit my site, Gershmer.net
Leave me a voicemail at my Google Voice number, [removed]

Offline

 

#41 2010-06-24 15:57:50

Lucario621
Community Moderator
Registered: 2007-10-03
Posts: 1000+

Re: ScratcHTML

Wow! Awesome!

Though, how about on the right side of the program, it previews the actual web page?

Last edited by Lucario621 (2010-06-24 15:58:02)


http://i.imgur.com/WBkM2QQ.png

Offline

 

#42 2010-06-24 16:07:42

TheGameMaster1231
Scratcher
Registered: 2009-07-24
Posts: 1000+

Re: ScratcHTML

Wow. Just, Wow.

Offline

 

#43 2010-06-25 02:32:57

filo5
Scratcher
Registered: 2008-01-08
Posts: 1000+

Re: ScratcHTML

!Doctype should come in 2 flavours:
with a picklist
and the other kind.

Also, shouldn't it be able to read DTDs and stuff?


Converting my Scratch projects to Python!

Offline

 

#44 2010-06-25 09:06:53

Harakou
Community Moderator
Registered: 2009-10-11
Posts: 1000+

Re: ScratcHTML

This would be a great intro to HTML for anyone who was new (to HTML). I support 100%!

Last edited by Harakou (2010-06-25 09:07:08)


http://www.blocks.scratchr.org/API.php?action=random&amp;return=image&amp;link1=http://i.imgur.com/OZn2RD3.png&amp;link2=http://i.imgur.com/duzaGTB.png&amp;link3=http://i.imgur.com/CrDGvvZ.png&amp;link4=http://i.imgur.com/POEpQyZ.png&amp;link5=http://i.imgur.com/ZKJF8ac.png

Offline

 

#45 2010-06-25 09:32:09

markyparky56
Scratcher
Registered: 2008-03-20
Posts: 1000+

Re: ScratcHTML

Harakou wrote:

This would be a great intro to HTML for anyone who was new (to HTML). I support 100%!

I never thought of it that way, It would be a great way!


http://j.mp/jgVnTq
Check out my game engine development site: NewDawn I'm a Level 171 Scratcher.I am http://bit.ly/nkvLNT

Offline

 

#46 2010-06-25 09:54:59

SeptimusHeap
Scratcher
Registered: 2010-02-01
Posts: 1000+

Re: ScratcHTML

markyparky56 wrote:

Harakou wrote:

This would be a great intro to HTML for anyone who was new (to HTML). I support 100%!

I never thought of it that way, It would be a great way!

You could do something like:

HTML mode - (The screenshot)

HTMLB (HTML Basic) mode - For example,  [br] would be [return] or [enter].


http://i46.tinypic.com/dw7zft.png

Offline

 

#47 2010-06-25 09:57:31

markyparky56
Scratcher
Registered: 2008-03-20
Posts: 1000+

Re: ScratcHTML

SeptimusHeap wrote:

markyparky56 wrote:

Harakou wrote:

This would be a great intro to HTML for anyone who was new (to HTML). I support 100%!

I never thought of it that way, It would be a great way!

You could do something like:

HTML mode - (The screenshot)

HTMLB (HTML Basic) mode - For example,  [br] would be [return] or [enter].

Interesting idea... HTML BASIC would be better, easier to understand the name.


http://j.mp/jgVnTq
Check out my game engine development site: NewDawn I'm a Level 171 Scratcher.I am http://bit.ly/nkvLNT

Offline

 

#48 2010-06-25 10:06:20

SeptimusHeap
Scratcher
Registered: 2010-02-01
Posts: 1000+

Re: ScratcHTML

markyparky56 wrote:

SeptimusHeap wrote:

markyparky56 wrote:


I never thought of it that way, It would be a great way!

You could do something like:

HTML mode - (The screenshot)

HTMLB (HTML Basic) mode - For example,  [br] would be [return] or [enter].

Interesting idea... HTML BASIC would be better, easier to understand the name.

Sample code:

[Title: Sep's Cool Page]
[ [Center v] Heading: Welcome!]
[ [Normal v] [Left v] Text: Welcome to my page!]
[Break]
[ [Bold v] [Left v] Text: Bold text FTW!]
[Image: www.imghere.lala.png. Link to: www.scratch.mit.edu]
[Image: www.imghere.lala.png.]
[ [Page v] Link to: Part of the page]
[ [Hot v] Link to: www.scratch.mit.edu]


http://i46.tinypic.com/dw7zft.png

Offline

 

#49 2010-06-25 10:09:35

markyparky56
Scratcher
Registered: 2008-03-20
Posts: 1000+

Re: ScratcHTML

SeptimusHeap wrote:

markyparky56 wrote:

SeptimusHeap wrote:


You could do something like:

HTML mode - (The screenshot)

HTMLB (HTML Basic) mode - For example,  [br] would be [return] or [enter].

Interesting idea... HTML BASIC would be better, easier to understand the name.

Sample code:

[Title: Sep's Cool Page]
[ [Center v] Heading: Welcome!]
[ [Normal v] [Left v] Text: Welcome to my page!]
[Break]
[ [Bold v] [Left v] Text: Bold text FTW!]
[Image: www.imghere.lala.png. Link to: www.scratch.mit.edu]
[Image: www.imghere.lala.png.]
[ [Page v] Link to: Part of the page]
[ [Hot v] Link to: www.scratch.mit.edu]

Good ideas...


http://j.mp/jgVnTq
Check out my game engine development site: NewDawn I'm a Level 171 Scratcher.I am http://bit.ly/nkvLNT

Offline

 

#50 2010-06-25 13:02:04

ironmannn
Scratcher
Registered: 2010-02-20
Posts: 42

Re: ScratcHTML

nice but the only other script type i know is lua 2.0
i learned it from roblox.com but i could use a lua maker mod ive just compiled scripts to make other scripts like the first and only talk to play song script but it broke my game so i had to do a system backup on it

Offline

 

Board footer