Page 1 of 1

serendipity_event_google_sitemap .gz output

Posted: Wed Nov 30, 2005 12:10 pm
by raz
I'm sure that google's requirement for compressed sitemaps file format is sitemap.xml.gz and not sitemap.gz as output by s9y plugin for google_sitemap.

I have got this to work by changing line 306 in serendipity_event_google_sitemap.php from:

Code: Select all

$filename = '/sitemap.gz';
to:

Code: Select all

$filename = '/sitemap.xml.gz';
Now google seems to accept the gzipped map...

regards


raz

Re: serendipity_event_google_sitemap .gz output

Posted: Wed Nov 30, 2005 1:58 pm
by garvinhicking
Do you maybe have a URL on Google FAQ or specs where this is indicated?

Because many people have reported that their google sitemaps worked for them, so I'm not really sure if that would break things for others?

Regards
Garvin

Posted: Wed Nov 30, 2005 2:37 pm
by MySchizoBuddy
it seems to work fine. I remmenber mentioning this before, and the author of the plugin replied that that it isn't a must to have the xml.gz extention

Posted: Thu Dec 01, 2005 11:12 am
by garvinhicking
Okay, I've read https://www.google.com/webmasters/sitem ... tocol.html and it seems sitemap.xml.gz is the more appreciated name. Just committed the change, thanks guys!

Regards,
Garvin