In article <Pine.LNX.4.62.0601251651010.11871@ppepc56.ph.gla. ac.uk>,
"Alan J. Flavell" <flavell@ph.gla.ac.uk> wrote:
[color=blue]
> TimBL predicted, ages back, that hand-coding would rapidly go out of
> fashion and be replaced by high-level design tools. Surely he
> couldn't, in his worst nightmares, have imagined the kind of
> preposterous HTML+CSS that would be extruded by (as far as I can see)
> all of the currently widespread commercial tools - except when they
> are in the hands of someone expert enough to keep them in check -
> which, basically, means knowing /how/ to hand-code, even when not
> actually /doing/ it.[/color]
Although there are many horrible examples of tools (and I still can't
find any tools I like except for StyleMaster), I do have the impression
that there is some gradual improvement. More important, at least some
of the people writing the tools now seem seriously interested in only
producing valid (X)HTML, and styling it with CSS. Since I don't want to
write HTML and CSS myself (and I especially don't want to write my own
CMS like I am doing at the moment), I looked through around 30 tools,
hoping to find something that gave results I liked.
On Macintosh, both Sandvox and Rapid Weaver (themes based, drag and
drop) apparently produce valid code, and it looks clean. Sandvox is
still beta, but I have great hopes for it in a few years. Rapid Weaver
has a longer history. Both produced by either one, or a few people.
More important, in OS X, the Cocoa HTML generator (and command line
textutil) that is used by default by most programs to produce HTML seems
to me to actually be improving from release to release. For instance,
you can now write a RTF document (the default) with links, lists and
tables in TextEdit (the default editor) and get clean and valid HTML
4.01 Strict output styled with CSS. It does a reasonable job with
title, keywords, description and other meta in the head. It is not
semantic, has no concept of h1, h2, etc or document outline, and a lot
of stuff is inline styles. You can't include images, voice or movies in
your HTML output (they get saved as a web archive instead of HTML). But
each version has added facilities. I can see how you could add a
post-processing step to clean and fix most of that up, and use it with
existing CSS style sheets. So I hope for continued improvement.
Mind you, I don't know why iWeb output seems such a bloated disaster ...
but even that is using CSS and will validate, which is a whole heap
better than a lot of past tools.
If the web is ever to be full of clean, lean, valid code, it will have
to come from tool makers being persuaded that that is the way their
tools need to work. Converting individuals like me (and others who
chance upon this group) is largely (alas) a waste of effort.
--
http://www.ericlindsay.com