JTidy Filter
For those folks looking for pretty HTML when doing a "view-source", they might want to check out the JTidy Filter. I tried to integrate this into AppFuse, but no dice. It never prettied up the HTML - maybe it's a SiteMesh conflict or something, who knows. I doubt I'll add this to AppFuse. Mostly because no customer/project has ever asked for this and because I couldn't get it to work (failed the 10 minute test, but I actually spent an hour on it).
Posted by Ugo Cei on February 09, 2005 at 11:19 AM MST #
Posted by Matt Raible on February 09, 2005 at 12:10 PM MST #
Posted by Ahmed Mohombe on February 09, 2005 at 04:11 PM MST #
Posted by Jason Barker on February 09, 2005 at 04:38 PM MST #
Most of the stuff in AppFuse is stuff I've found truly useful. The recent addition of Acegi Security seems like a bit bloat of to me, but that's because I didn't need 2 JARs, 4 filter-mappings and one XML file before I added it. That being said, I think it adds value, but it'd be nice if it's configuration was as easy as dropping in a JAR, maybe overriding some default beans and configuring a single filter and its mapping.
Posted by Matt Raible on February 09, 2005 at 04:47 PM MST #
Matt,
For me, I don't think JTidy's strength is in beautifying the generated HTML but in validating (and correcting) it.
I use it to validate HTML entered by users, to ensure that the HTML output will validate as XHTML,
Posted by Carl Fooks on February 09, 2005 at 06:55 PM MST #
Posted by Michael Slattery on February 09, 2005 at 07:34 PM MST #
Posted by Neil Griffin on July 21, 2005 at 06:41 PM MDT #
Posted by Olaf Kossak on May 25, 2007 at 08:13 AM MDT #