You are here: Re: Clean html editor desperately wanted! « HTML « IT news, forums, messages
Re: Clean html editor desperately wanted!

Posted by Gιrard Talbot on 11/03/06 04:46

tracymar55 wrote :
> GΓ©rard Talbot wrote:
>> tracymar55 wrote :
>>> I've been handcoding html for 12 years and have over 1500 pages on my
>>> websites,
>> Yes...
>>
>> I have checked several websites you did and none of them had a single
>> webpage without markup errors. None. Zero. In fact, none of them had a
>> single valid doctype declaration, most of them had dozens and dozens of
>> <font> everywhere, hundreds of &nbsp;, etc
> ----------
>
> You are absolutely right. My pages are a mess. That's my point. The
> ones I hand coded for years were just about perfect, but since I write
> and put up at least 500 pages of my own a year, and several thousand
> photos, in addition to working more than fulltime, I try to write,
> design, optimize all photography for and do the html for each page in
> about an hour a page......

[snipped]

> THAT is why I am asking for suggestions about editors with the cleanest
> code.

You talk about "clean code" - and we don't really know what you're
talking about; none of your webpages uses valid markup code to begin
with. *_Valid_* markup code. Starting with a valid doctype declaration.

For years, I was writing clean code (really I was! I even teach
> people how to write clean html!). But I stay away from the newest
> developments in html, since some of my audience is in third world
> countries or using community college computers with browsers like
> Netscape 4!)

I suggest you talk to them and ask them to replace NS 4 with Firefox
2.0. Firefox 2.0 is smaller in size, faster, more
web-standards-compliant, more secure, etc. than NS 4

and I absolutely don't want to use an editor that will
> triple

You're exaggerating here. You're talking about a 300% increase.

the length of my code with all sorts of style sheet
> gobbledygood.

When there is a clear separation of content from presentation thanks to
an implementation of CSS, then the combined filesize of the .html
webpage and the .css file is usually smaller than an original webpage
filled with spacer.gif, <font>, &nbsp;, etc. In some cases, the gain is
over 50%.

(I had a cleanly coded page of about 6 paragraphs and
> doing some quick NVU editing on it increased the file size of the from
> 3kb to 30kb!)


Use the markup cleaner in Nvu. In Nvu, Tools/markup cleaner.

As I said, I recommend HandCoder 0.3.4
http://fabiwan.kenobi.free.fr/HandCoder/
in Nvu (you may want to prefer KompoZer 0.77 here, over Nvu 1.0;
KompoZer has several bug fixes over Nvu 1.0) and then I recommend you
get the latest Tidy from
http://dev.int64.org/tidy.html

tidy-060405-exe.zip

and then link it to HandCoder 0.3.4
To understand all/each of Tidy's parameters (how to configure Tidy to
meet your goals), you must visit

http://tidy.sourceforge.net/docs/quickref.html

Use a strict DTD, not a transitional DTD: you first must choose the
doctype declaration carefully. Don't use the doctype as chosen in many
of your HTML webpages:

Using lowercase letters in a DOCTYPE
http://www.htmlhelp.com/tools/validator/problems.html.en#doctype-case

I recomment HTML 4.01 strict.

I recommend
Using Web Standards in Your Web Pages
http://www.mozilla.org/docs/web-developer/upgrade_2.html

For upgrading your webpages and validating your webpages:
http://arealvalidator.com/
If you handcode as many webpages as you say you have for so many years,
then you certainly won't mind spending some $25US dollars on a fine,
excellent true SGML validator like "A real validator". It works offline
and can validate a batch of documents.

GΓ©rard
--
remove blah to email me

 

Navigation:

[Reply to this message]


УдалСнная Ρ€Π°Π±ΠΎΡ‚Π° для программистов  •  Как Π·Π°Ρ€Π°Π±ΠΎΡ‚Π°Ρ‚ΡŒ Π½Π° Google AdSense  •  England, UK  •  ΡΡ‚Π°Ρ‚ΡŒΠΈ Π½Π° английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Π‘Π°ΠΉΡ‚ ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ Π² Π‘Ρ‚ΡƒΠ΄ΠΈΠΈ Π’Π°Π»Π΅Π½Ρ‚ΠΈΠ½Π° ΠŸΠ΅Ρ‚Ρ€ΡƒΡ‡Π΅ΠΊΠ°
ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ΠΈΠ΅ ΠΈ ΠΏΠΎΠ΄Π΄Π΅Ρ€ΠΆΠΊΠ° Π²Π΅Π±-сайтов, Ρ€Π°Π·Ρ€Π°Π±ΠΎΡ‚ΠΊΠ° ΠΏΡ€ΠΎΠ³Ρ€Π°ΠΌΠΌΠ½ΠΎΠ³ΠΎ обСспСчСния, поисковая оптимизация