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

Re: wysiwyg html editor



Karsten M. Self <kmself@ix.netcom.com> wrote:

KMS>    $ apt-get install tidy
KMS>    $ man tidy
KMS>    $ lynx -source -dump http://www.debian.org | tidy -

KMS> ...note that tidy will read from a file (or stdin) but not from a URL,
KMS> hence the lynx dump.

lynx -source http://www.debian.org | tidy -e 2>&1 | most

..or to validate from within lynx itself put the following line
in lynx.cfg

  EXTERNAL:http:lynx -source %s | tidy -e 2>&1 | most:TRUE
  EXTERNAL:file:lynx -source %s | tidy -e 2>&1 | most:TRUE

and then hit "," (comma) to validate the current page or hit
"." (dot) to validate a link.



Regards,

Morten

-- 
"If work was a good thing the rich would have it all and not let you do it."
                                                          (Elmore Leonard)




Reply to: