[Date Index][Thread Index]
[Date Prev][Date Next][Thread Prev][Thread Next]

Re: How to use tidy?



Jan Holler schrieb am Dienstag, den 07. März 2000:

> > My problem is, that I don't know how to tell wml to use tidy
> > (maybe after pass 9) to correct/detect all mistakes, I introduced
> > in the HTML code before...

> why don't you use the -E option of wml

As I wrote in my initial message, the -E option doesn't seem to be a
real filter (which writes the output to the generated html file), but
both the generated HTML code (on stdout) as well the error messages of
tidy (on stderr) are written on the screen.  So the changes of tidy
doesn't have any effect on the generated HTML code and I cannot read
the error messages of tidy, because most of the screen is filled with
the HTML code.

> or write a shell-script around wml and tidy and process your files
> this way.

This won't be trivial when I try to use "Shebang Line Support"
(#!wml at the top of the WML file) for multiple language support.

Anyway, I could do something like this, but tidy is bundled with WML
as wml_aux_tidy, so I thought, that there would be a cleaner way to
combine tidy and wml.  And that was the center of my question...

Tschoeeee

        Roland

-- 
 * roland@spinnaker.de * http://www.spinnaker.de/ *
______________________________________________________________________
Website META Language (WML)                www.engelschall.com/sw/wml/
Official Support Mailing List                   sw-wml@engelschall.com
Automated List Manager                       majordomo@engelschall.com