Can anyone offer suggestions on the best way to compress php output of svg? Does the example below compress all the the svg including what is outside of the php tags? Will the content of php require_once("php/map.php"); get compressed also? Thank you.
--Sean <?php ob_start("ob_gzhandler");?> <?php header("Content-type: image/svg+xml"); @session_start; require_once("php/lib/pg_connect.php"); ?> <?="<?xml version=\"1.0\" encoding=\"iso-8859-1\"?>"?> <svg id="master" x="0" y="0" width="100%" height="100%" viewBox="0 0 1003 594" zoomAndPan="disable" preserveAspectRatio="xMinYMin meet"> <defs> <script name="skip" type="text/ecmascript" xlink:href="JavaScript/addGeom.js"> </script> <script name="skip" type="text/ecmascript" xlink:href="JavaScript/WebCore.js"> </script> </defs> <?php require_once("php/map.php");?> <rect x="151" y="55" width="688" height="509" style="fill:none;stroke:black;stroke-width:1;"/> </svg> ----- To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click "edit my membership" ---- Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/