Cool! Someone actually created a tidy library, so I'm guessing it should be possible to make direct calls into that functionality from the module. That would make it self contained and a bit better performing.
BTW, I'm just saying this as something that might be interesting to the original poster. I'm not planning to do anything like that. I think checking validity of pages and removing unnecessary bits before they are placed on the server is a better idea. Bojan On Fri, 2002-09-27 at 07:39, Jeff Trawick wrote: > Bojan Smojver <[EMAIL PROTECTED]> writes: > > > This comment led me to another idea - how about plugging tidy > > (http://tidy.sourceforge.net/) in there instead, which will not only > > strip blanks if you tell it, but also clean the (X)HTML as well. Just a > > thought... > > This works for me (but I'm not a tidy user so I don't know how to make > it do really fancy tricks). > > ExtFilterDefine tidy-filter cmd="/dl/tidy" > > <Location /manual/mod> > SetOutputFilter tidy-filter > ExtFilterOptions LogStderr > </Location> > > (gotta have mod_ext_filter loaded) > > Since this runs tidy as an external program, this isn't a > high-performance mechanism, but it could be useful nonetheless. > > -- > Jeff Trawick | [EMAIL PROTECTED] > Born in Roswell... married an alien... >