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 26 3903
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
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
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.
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
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
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
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
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
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
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
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
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
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
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
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 :-(
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
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
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
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
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
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
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 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 Lars Eighner |
last post: by
| | | | | | | | | | |