RE: HTML tidy and Win 2000

There's something on Dave's web pages about configuring registry entries so
that when you drop a file on Tidy it will fire up a browser window
containing the Tidied output.  You can then use File|Save As... to save the
output.

Have a look and post back if you don't find it.  I haven't tried it myself
yet.

I have played w/ creating batch files some.  It turns out that if you drop a
file onto a batch file, it gets the 8.3 form of the filename, which is
fairly useless.

I think the timeout would be a Star Treck solution...

Charlie



-----Original Message-----
From: Larry W. Virden [mailto:lvirden@cas.org]
Sent: Saturday, July 21, 2001 6:16 AM
To: html-tidy@w3.org
Subject: Re: HTML tidy and Win 2000



From: Bjoern Hoehrmann <derhoermi@gmx.net>

> * hannah nichols wrote:
> >I've tried based on the instructions on the wc3 page. 
> >but it just sits there, doing nothing!
> 
> Hm, I guess you simply clicked on tidy.exe in the 
> windows explorer. Tidy is a command line utility, you 
> have to supply command line arguments if you want tidy 
> to do something. Tidy is not just sitting there and does
> nothin, it waits for input from stdin. Try open a 
> DOS-Box (or whatever it is called in US-English Windows 
> 2000 Envoirements) and type e.g.
> 
>   C:\WINDOWS\DESKTOP> c:\tidy\tidy.exe -h


I suspect that instructions more along these lines - including how to find
'a dos-box' , etc. would be helpful since many Windows apps are strictly gui
based.

I wonder if there is a way to set up tidy.exe so that it automatically
starts a dos window and then runs.  If someone then somehow (don't know
enough windows to supply the missing details here) tells windows to run tidy
with a specific html file, it would produce output in said window.
Unfortunately, not a lot to be done about tidy with no arguments producing
no output as long as it is going to be set up to read stdin for data ...
unless someone adds a 'timeout' for initial input on the windows platform...
-- 
Never apply a Star Trek solution to a Babylon 5 problem.
Larry W. Virden <mailto:lvirden@cas.org> <URL:
http://www.purl.org/NET/lvirden/>
Even if explicitly stated to the contrary, nothing in this posting should 
be construed as representing my employer's opinions.
-><-

Received on Monday, 23 July 2001 15:17:15 UTC