473,386 Members | 1,745 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

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 4006
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Anders Eriksson | last post by:
Hello! I want to extract some info from a some specific HTML pages, Microsofts International Word list (e.g. http://msdn.microsoft.com/library/en-us/dnwue/html/swe_word_list.htm). I want to...
2
by: John Resler | last post by:
Hi all, First I want to say I am fully aware of the huge scope of the problem of parsing and correcting files of any sort. I have been using the jTidy libraries (Dave Raggett W3C, I believe) to...
3
by: Mike | last post by:
Greetings, I just used Tidy HTML for the first time. The address below contains the files need to check on Tidy's corrections. I would appreciate any feedback on the Tidy report and the...
13
by: Arie Mijnlieff | last post by:
Hi ! I have an html file (http://www.kpc.nl/home.html) which i send to the w3 validator as well as to a an online HTML tidy script. The w3 validator (validator.w3.org) claims the frameset tag...
0
by: Christoph Schneegans | last post by:
Hi! I'd like to present an easy, yet powerful approach to use the HTML Tidy program from <http://tidy.sourceforge.net/> in ASP.NET. It is similiar to...
40
by: VK | last post by:
Hi, After the response on my request from W3C I'm still unclear about Tidy vs. Validator discrepansies. That started with <IFRAME> issue, but there is more as I know. Anyway, this very basic...
2
by: Sebastian Gohres | last post by:
Hi! First: sorry for my bad english :) If I parse template files, html tidy remove all tags beginning with { for example: before: <select name="country" size="1">
1
by: Carmen Sei | last post by:
I need to parse HTML page and extract data should I use HTML Tidy DLL http://dev.int64.org/tidy.html or it's easier to use library with source code like...
0
by: tobycraftse | last post by:
any example shows how to use HTML Tidy in VC++ project? I need to parse HTML page and extract data should I use HTML Tidy DLL http://dev.int64.org/tidy.html or it's easier to use library...
0
by: Lars Eighner | last post by:
In our last episode, <004f629c$0$10265$c3e8da3@news.astraweb.com>, the lovely and talented mark4asp broadcast on comp.infosystems.www.authoring.html: I have not done this, not even on...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.