serendipity_event_google_sitemap .gz output

Creating and modifying plugins.
Post Reply
raz

serendipity_event_google_sitemap .gz output

Post 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
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: serendipity_event_google_sitemap .gz output

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
MySchizoBuddy
Regular
Posts: 340
Joined: Sun Jun 12, 2005 5:28 am

Post 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
Image
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply