RE: Homesite 4.0

by "Mario Figueiredo" <marfig(at)ebonet.net>

 Date:  Thu, 17 Dec 1998 12:38:28 -0000
 To:  <hwg-software(at)hwg.org>
 In-Reply-To:  edu
  todo: View Thread, Original
[April]
>I've discovered that when dragging an image from the Resource tab into
>my document, the height and width numbers are NOT being enclosed in
>Quotes.  I cannot find anything in the configuration where I can set
>this. I'm having to run codesweeper on all my docs just to get the
>quotes in there.  HELP?

April,
I guess there is no way of doing that.
Nevertheless you shouldn't worry about quoting those attributes. According
to W3C quotes are optional for numbered attribute's values.
*But* if you are considering XML the best thing to do it's to go to
Allaire's HomeSite Forums and propose to the developers that change. There
is a topic there exactly for proposing changes to the app. You can bet you
will have my backup. :)


[Christopher]
>What is codesweeper?  Is it part of Homesite, or a separate application.
>It sounds interesting.

Christopher,
CodeSweeper it's an integrated tool of HomeSite that enables you to format
your code after you've written it.
It's in fact very cool! Almost every aspect of your code can be changed.
Since it's fully customizable, you can, for instance, state that you want
all of your attributes quoted, that the next line after each <TABLE> must be
indented, that whitespaces must be removed on each <IMG>, that....well,
almost everything.

There is also this tool "Pretty HTML" (thanks for this one, Gantt)that
claims to do the same thing. In fact it has been here long before
CodeSweeper. I've never tested it but everybody talks wonders of it.

I guess one of the major benefits from this tools it's that they can
actually clean the mess made by WYSIWYGs. Imagine this:

Step 1 - A page created by a WYSIWYG on the fly;
Step 2 - CodeSweeper or whatever cleans up the resulting spaghetti code;
Step 3 - A fine-tuning to the code with some editor (now easier because of
the clean up);
Step 4 - Validation;
Step 5 - Hits!!

On this account I guess the bundle of Dreamweaver 2.0 (with it's almost
clean code) and HomeSite 4.0 it's a dream come true.
Maybe these two will shape a new way of web programming. Not a bad thing, on
the contrary!
Until then I will stick to the "traditional" methods :)


Regards,
Mario Figueiredo

HWG: hwg-software mailing list archives, maintained by Webmasters @ IWA