469,581 Members | 1,978 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,581 developers. It's quick & easy.

HTML Tidy

Hi there,

could anybody please do me a big favour and compile the latest
sourcecode of HTML Tidy (DLL and EXE)?

http://tidy.sourceforge.net/src/tidy_src.tgz
Visual C++ files are in "build\msvc"

Actually, there is no website with win32 builds :-(

Best regards from Germany,
Tobias
Jul 23 '05 #1
26 3676
Tobias Wendorff wrote:
could anybody please do me a big favour and compile the latest
sourcecode of HTML Tidy (DLL and EXE)?

http://tidy.sourceforge.net/src/tidy_src.tgz
Visual C++ files are in "build\msvc"

Actually, there is no website with win32 builds :-(


http://www.cygwin.com/setup.exe

Install that, find a Start menu item called Bash, click it, and enter
tidy --help.

Then learn Bash, which is a superior command line interface to CMD.EXE.

--
Phlip
http://www.c2.com/cgi/wiki?ZeekLand
Jul 23 '05 #2
Hi Phlip (Philip?),

Phlip wrote:
http://www.cygwin.com/setup.exe

Install that, find a Start menu item called Bash, click it, and enter
tidy --help.
tidy: command not found :-)
Then learn Bash, which is a superior command line interface to
CMD.EXE.


I already know Bash from Linux :-)

Best,
Tobias
Jul 23 '05 #3
Tobias Wendorff wrote:
tidy: command not found :-)

I already know Bash from Linux :-)


Perfect. You will never go back.

Now re-install the Setup. This time, click the little View button to change
to a flat view, then look in the Ts and turn on tidy.

--
Phlip
http://www.c2.com/cgi/wiki?ZeekLand
Jul 23 '05 #4
Tobias Wendorff wrote:
Hi Phlip (Philip?),

Phlip wrote:
http://www.cygwin.com/setup.exe

Install that, find a Start menu item called Bash, click it, and enter
tidy --help.


tidy: command not found :-)


Then you forgot to install tidy ;-)
Run the setup again and check tidy in the package list.

Jul 23 '05 #5
Tobias Wendorff wrote:
Hi there,

could anybody please do me a big favour and compile the latest
sourcecode of HTML Tidy (DLL and EXE)?

http://tidy.sourceforge.net/src/tidy_src.tgz
Visual C++ files are in "build\msvc"

Actually, there is no website with win32 builds :-(

You may download Dev-C++ and compile the program with it, if it is made with Win32 API.

--
Ioannis Vranos

http://www23.brinkster.com/noicys
Jul 23 '05 #6
Hi Ioannis,

Ioannis Vranos wrote:
You may download Dev-C++ and compile the program with it, if it is
made with Win32 API.


I already worked with MinGW32 ... really nice.
But I don't know how to use it with the source of tidy :-(

Best,
Tobias
Jul 23 '05 #7
Hi.

Phlip wrote:
Now re-install the Setup. This time, click the little View button to
change to a flat view, then look in the Ts and turn on tidy.


But is it the latest version of tidy?

Best,
Tobias
Jul 23 '05 #8
Hi,

Rolf Magnus wrote:
Tobias Wendorff wrote:
tidy: command not found :-)
Then you forgot to install tidy ;-)


Indeed :-)
Run the setup again and check tidy in the package list.


But how to run the latest version?

Best,
Tobias
Jul 23 '05 #9
Tobias Wendorff wrote:
Hi there,

could anybody please do me a big favour and compile the latest
sourcecode of HTML Tidy (DLL and EXE)?

http://tidy.sourceforge.net/src/tidy_src.tgz
Visual C++ files are in "build\msvc"

Actually, there is no website with win32 builds :-(

The MSVC project files in this are corrupt, unfortunately.
However in the site I came across this link:

http://dev.int64.org/tidy.html
Doesn't it provide what you need?
--
Ioannis Vranos

http://www23.brinkster.com/noicys
Jul 23 '05 #10
Tobias Wendorff wrote:
Phlip wrote:

Now re-install the Setup. This time, click the little View button to
change to a flat view, then look in the Ts and turn on tidy.


But is it the latest version of tidy?


EEEEEEeeeeeeeeek!

Who cares? it Tidies!!

I could tell you:

~/phlip/riddims> tidy -version
HTML Tidy for Cygwin released on 1st September 2004

But I won't. I'm going to pull my lever, and drop the Sixteen Ton Weight of
Topicality on top of this thread. Your question is off-topic because this
newsgroup only discusses Standard C++. Tidy's written in beautiful C, and
everyone's answers are off-topic. Please go complain to Tidy's mailing list.
You can even get an ActiveX plugin that tidies!

Have a good one!

--
Phlip
http://www.c2.com/cgi/wiki?ZeekLand
Jul 23 '05 #11
Hi,

Ioannis Vranos wrote:
However in the site I came across this link:

http://dev.int64.org/tidy.html
Doesn't it provide what you need?


Nope ... totally outdated.

Best,
Tobias
Jul 23 '05 #12
Tobias Wendorff wrote:
http://dev.int64.org/tidy.html

Doesn't it provide what you need?


Nope ... totally outdated.


Now that you have CygWin, compile the latest version. Even I could do that -
I think...

--
Phlip
http://www.c2.com/cgi/wiki?ZeekLand
Jul 23 '05 #13
Phlip wrote:
Now that you have CygWin, compile the latest version. Even I could do
that - I think...


copy knowledge_phlip knowledge_tobwen

I really don't know how to do it ...
bash doesn't allow to start tidy here ... cmd.exe can start it
Jul 23 '05 #14
Tobias Wendorff wrote:
I really don't know how to do it ...
bash doesn't allow to start tidy here ... cmd.exe can start it


Get the latest Tidy source, use Bash to un-tar it, and run something like
this:

../configure && make

The configure script should detect CygWin and take it from there.

--
Phlip
http://www.c2.com/cgi/wiki?ZeekLand
Jul 23 '05 #15
Tobias Wendorff wrote:
Nope ... totally outdated.

The files are dated February 23rd, 2005.
--
Ioannis Vranos

http://www23.brinkster.com/noicys
Jul 23 '05 #16
Phlip wrote:
Get the latest Tidy source, use Bash to un-tar it, and run something
like this:

./configure && make

The configure script should detect CygWin and take it from there.


doesn't work ... gcc makes thousands of errors and ./configure
isn't existing
Jul 23 '05 #17
Tobias Wendorff wrote:
doesn't work ... gcc makes thousands of errors and ./configure
isn't existing


Send me the link to the source you are using. Everything (who is anything)
has a ./configure.

--
Phlip
http://www.c2.com/cgi/wiki?ZeekLand
Jul 23 '05 #18
Phlip wrote:
Tobias Wendorff wrote:
doesn't work ... gcc makes thousands of errors and ./configure
isn't existing


Send me the link to the source you are using. Everything (who is
anything) has a ./configure.


URL http://tidy.sourceforge.net/src/tidy_src.tgz
Jul 23 '05 #19
Phlip wrote:
Tobias Wendorff wrote:
doesn't work ... gcc makes thousands of errors and ./configure
isn't existing


Send me the link to the source you are using. Everything (who is
anything) has a ./configure.


aaah ... there was a MAKEFILE
now it works :-))

but no .dll -- only .exe :-(
Jul 23 '05 #20
Tobias Wendorff wrote:
aaah ... there was a MAKEFILE
now it works :-))

but no .dll -- only .exe :-(


Are you trying to make me hunt you down with a wiffle ball bat?

Shell to the fucker with system("") or popen("").

--
Phlip
http://www.c2.com/cgi/wiki?ZeekLand
Jul 23 '05 #21
Hi,

Phlip wrote:
Tobias Wendorff wrote:
aaah ... there was a MAKEFILE
now it works :-))

but no .dll -- only .exe :-(


Are you trying to make me hunt you down with a wiffle ball bat?

Shell to the fucker with system("") or popen("").


sorry, what does that mean exactly?

Best,
Tobias
Jul 23 '05 #22
Tobias Wendorff wrote:
sorry, what does that mean exactly?


FILE *f = popen("tidy.exe myFile.html");
fread(buff, 1001, f);

From here, you might divulge what problem you want Tidy to solve.

For example, I use Tidy to automatically test a batch of pages created by
the engine of my wiki:

http://www.c2.com/cgi/wiki?MiniRubyWiki

So each time I change the source a little, I bang <F5> in my editor, and a
batch of tests run. One of them generates a long list of pages and passes
their HTML thru Tidy. If it complains, I use Undo until it settles down.
This effort constrains my changes, so only the highest quality edits can go
online.

Note, using this system, that any number of edits could fail the tests, even
if the user would never perceive any bug. Such "hyperactive" tests should
run as often as possible, just to be on the safe side.

Now you tell what you need from Tidy.

--
Phlip
http://www.c2.com/cgi/wiki?ZeekLand
Jul 23 '05 #23
Hi,

Phlip wrote:
Tobias Wendorff wrote:
sorry, what does that mean exactly?


FILE *f = popen("tidy.exe myFile.html");
fread(buff, 1001, f);

From here, you might divulge what problem you want Tidy to solve.


aaahhh ... I know what you mean :-)
I thought, you wanted to tell me a way, how to create the DLL :-)

Best,
Tobias
Jul 23 '05 #24
Phlip wrote:
FILE *f = popen("tidy.exe myFile.html");
fread(buff, 1001, f);

From here, you might divulge what problem you want Tidy to solve.

For example, I use Tidy to automatically test a batch of pages created by
the engine of my wiki:

http://www.c2.com/cgi/wiki?MiniRubyWiki

So each time I change the source a little, I bang <F5> in my editor, and a
batch of tests run. One of them generates a long list of pages and passes
their HTML thru Tidy. If it complains, I use Undo until it settles down.
This effort constrains my changes, so only the highest quality edits can go
online.

Note, using this system, that any number of edits could fail the tests, even
if the user would never perceive any bug. Such "hyperactive" tests should
run as often as possible, just to be on the safe side.

Now you tell what you need from Tidy.

Besides this "lint" for HTML, do you happen to be aware of any free C++ (not C only) lint?
--
Ioannis Vranos

http://www23.brinkster.com/noicys
Jul 23 '05 #25
Tobias Wendorff wrote:
aaahhh ... I know what you mean :-)
I thought, you wanted to tell me a way, how to create the DLL :-)


If you confess what problem you need Tidy to solve, you will get to that
solution much quicker.

--
Phlip
http://www.c2.com/cgi/wiki?ZeekLand
Jul 23 '05 #26
Ioannis Vranos wrote:
Besides this "lint" for HTML, do you happen to be aware of any free C++

(not C only) lint?

I installed http://cccc.sourceforge.net/ once, but I couldn't bring my self
to click on it. (You can't imagine the quality of the code I was up against
at the time.)

The major problem with the free C++ lints is they pull in other free
environments (parsers, code environments, etc.), so they are an itch to just
install and shoot.

Parasoft might have evaluation copies of their style checkers:

http://www.parasoft.com/jsp/products...=310&type=1998

--
Phlip
http://www.c2.com/cgi/wiki?ZeekLand
Jul 23 '05 #27

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

8 posts views Thread by Anders Eriksson | last post: by
2 posts views Thread by John Resler | last post: by
3 posts views Thread by Mike | last post: by
13 posts views Thread by Arie Mijnlieff | last post: by
reply views Thread by Christoph Schneegans | last post: by
40 posts views Thread by VK | last post: by
2 posts views Thread by Sebastian Gohres | last post: by
1 post views Thread by Carmen Sei | last post: by
reply views Thread by tobycraftse | last post: by
reply views Thread by Lars Eighner | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.