cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torsten Curdt <tcu...@dff.st>
Subject Re: Renaming HTMLGenerator to TidyGenerator?
Date Fri, 23 May 2003 13:29:47 GMT
Carsten Ziegeler wrote:
> Torsten Knodt wrote:
> 
>>Yes, I'd like to. HTMLGenerator also uses tidy. For new users, 
>>this would be 
>>hard to understand. And providing a deprecated HTMLGenerator 
>>which maps to 
>>TidyGenerator wouldn't be the problem. Also the naming would be 
>>consistent 
>>between Generator and Serializer.
>>
> 
> You could also name your Serializer HTMLSerializer :)
> 
> Now, speaking about names: it's an implementation detail that
> jtidy is used inside the htmlgenerator and doesn't play a role
> for the name of the component. The name of the generator
> is choosen by the task it does and that is reading html and
> producing xhtml out of it. So I think HTMLGenerator is a good
> choice.

+1 for HTMLGenerator

If it also uses tidy - what's the big difference?

If it's better couldn't we make it as compatible as possible
and *replace* the old one?

We could rename the original one to OldHtmlGenerator for the
transition. But maybe we should have a look first ;)

cheers
--
Torsten


Mime
View raw message