hello, how do I actually gzip my google sitemaps? I use my own script to generate the sitemaps files...... thanks
hmmmm....I'm on shared hosting for now.....is there any way I can do that including some function in the script that makes the sitemap? thanks
Since you use your own script, I assume you wish to continue to do so (and not e.g. switch to my sitemap generator program *G*) So, what script language do you use? Have you tried searching Google for e.g. PHP + GZip?
ok...I found this: http://it2.php.net/manual/en/function.gzencode.php <?php $data = implode("", file("bigfile.txt")); $gzdata = gzencode($data, 9); $fp = fopen("bigfile.txt.gz", "w"); fwrite($fp, $gzdata); fclose($fp); ?> Code (markup): do I have to do anything after saving the gzencoded data to a .xml.gz file?? thanks