httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Lavi" <ml...@sgi.com>
Subject RE: [users@httpd] Stripping white space from HTML
Date Sat, 10 Mar 2007 02:09:20 GMT
Try it out and learn to configure Tidy to your liking, don't jump to
conclusions!

- You can turn off XHTML compliance, etc.
- You might be able to process only your shopping cart directory, etc.
to limit it's scope/impact.
- You can control output with other configurations.

--Mark 
Mark Lavi, Enterprise Web Management Team @ SGI
mailto:mlavi@sgi.com || phone:+1-650-933-7707

-----Original Message-----
From: Grant [mailto:emailgrant@gmail.com] 
Sent: Friday, March 09, 2007 6:04 PM
To: users@httpd.apache.org
Subject: Re: [users@httpd] Stripping white space from HTML

> The best answer is to correct things at the source in your shopping
> cart, file a bug there!

I've mentioned it to them a couple times now with no luck.

> But in Apache2 you have other potential answers:
>
> Try http://mod-tidy.sourceforge.net/ and learn about it's parent
> project: Tidy at: http://tidy.sourceforge.net/
>
> ...and you'll get XHTML compliance as well!
>
> However, you'll also incur a performance hit on delivering pages, it
may
> not work with your setup easily, and it may also break the way some
HTML
> renders in browsers.

Yeah it doesn't sound like it's for a production environment.  A
response delay is one thing, but:

"If TidyLib detects an error, the client receives a HTML page with a
list of all found errors and warnings that prevent the input of being
a valid (X)HTML document."

Any other options?

- Grant

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server
Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message