W3C home > Mailing lists > Public > html-tidy@w3.org > April to June 2001

Re: FW: Making HTML Tidy a supported library

From: Terry Teague <teague@mailandnews.com>
Date: Tue, 8 May 2001 00:00:55 -0700
Message-Id: <l03130300b71d429c5c58@[]>
To: Bjoern Hoehrmann <derhoermi@gmx.net>, "Reitzel, Charlie" <CReitzel@arrakisplanet.com>
Cc: ac.quick@sympatico.ca, info@sl-chat.de, ablavier@wanadoo.fr, html-tidy@w3.org, dforcier@macromedia.com
At 12:42 AM +0200 5/8/01, Bjoern Hoehrmann wrote:
>* Reitzel, Charlie wrote:
>>Any plans for these types of changes or even a maintenance release for all
>>the patches since last summer?  I didn't see a response to Bjoern's message
>>on the list.
>There were yours... :-)

I didn't respond to the earlier messages as I wanted to see what other
people's responses were first.

>>Tidy has been a tremendous help, and I'm looking to do more work with it.
>>Expat might be a good organizational model to follow.
>Yes, definitly (with the exception, that Expat is an event-based XML
>parser, HTML Tidy could be something alike, but that wouldn't be usable,
>since HTML Tidys power comes from it's ability to clean up a given tree.
>I've written, merly for an educational purpose (since I'm just a C
>rookie and an XS novice :-), an unreleased Perl module
>HTML::Parser::Tidy that uses Tidy to build a tree and then fires SAX
>events to a Perl object to rebuild the tree for XML::DOM or XML::XPath.
>While writing this module (and doing more and more ugly hacks in the
>Tidy sources), I came to the conclusion, that one could get far more
>features out of Tidy, so I've written the referenced posting to ease the
>incorporation of Tidy in other envoirments...)

Tidy in its present form causes me extra work (which I don't feel has to be
necessary - although I would say the majority of the code is very portable
to different platforms) to port to Mac OS. I was waiting for a future DOM
based Tidy to make major architectural changes to my code. Specifically I
am looking to have a single Tidy engine that I could use with multiple Mac
OS user interfaces, communicating via Apple Events (which would allow
external scripting of the engine by 3rd parties). Apple's recommended
scripting implementation is known as the Object Model - while this is not
strictly object orientated, having the guts of Tidy being separate from the
UI (which it is not now) with a defined API would help. So perhaps an
event-driven model like expat would work for me (although I haven't looked
at the expat code).

>>I'd also like to
>>contribute more updates to the Word 2000 conversion (I mailed in one bug fix
>>patch to the mailing list).  I'd also like to get all the other patches that
>>people have mailed in.
>Same for all of us.
>>A Source Forge project would make it much easier to
>>collect bug reports and patches and apply them.

Yes, I would agree. And a proper bug database would make the following

>Terry Teague already collected a lot of reported bugs, see
> * http://www.geocities.com/SiliconValley/1057/tidybugs.html and
> * http://www.geocities.com/SiliconValley/1057/tidybugs2.html
>There are actually more, since Terry stopped to collect them. Anybody
>else who kept track of bug reports and/or feature requests?

I stopped after I had released my updated versions based on the 04 Aug 2000
source, and was waiting for the mythical Mar 2001 update before updating
the bug report collection again (i.e. the pages were getting long, and I
was hoping that I could retire most of the bug reports once they had been
fixed in a maintenance release).

However... I lost my hard drive to a crash last week, including all my
html-w3 EMails. I hope to get my data recovered by a drive recovery
company. Yes, I know I can go through the online archives, but I would
rather spend my time on other things right at the moment. So the bug report
update will have to wait.

>>How do other developers of Tidy add-ons feel about this issue?
>The HTML Tidy licence allows us to modify and redistribute the given
>code, so it would be possible to start a Sourceforge project with the
>latest codebase and fix the given bugs. This would be what James Clark
>did with Expat. Dave seems to be too busy to work on Tidy, if we want to
>continue HTML Tidys development, that'd be the best thing to do, I'd
>like to hear what Dave think about that, but since he didn't reply the
>last months to my mails and mails on this list, I have small hope to
>hear from him, so I'd suggest to start the project anyways.

I agree. I would like to get involved (to help make the port more portable
and/or add Mac OS support into the base source code), but I know I am busy
too. I am just coming up to speed with cvs, but I have a lot of experience
with multi-person development teams/project on various platforms (including
open source).

Anyway, I am listening - keep the discussion going.

Regards, Terry
Received on Tuesday, 8 May 2001 03:02:00 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:38:50 UTC