serendipity_event_google_sitemap

Creating and modifying plugins.
Post Reply
Bizmal
Regular
Posts: 23
Joined: Tue Jul 24, 2007 8:54 pm

serendipity_event_google_sitemap

Post by Bizmal »

serendipity_event_google_sitemap. How does this plugin work? Where does it drop the site map file? Can anyone help me out?
Anyting Goes But Cheats...
stm999999999
Regular
Posts: 1531
Joined: Tue Mar 07, 2006 11:25 pm
Location: Berlin, Germany
Contact:

Post by stm999999999 »

as I know, it drops the sitemap at the root of your domain

http://blog.example/sitemap.xml.gz

and then it makes a ping to google, so google can fetch it.
Ciao, Stephan
chickens
Regular
Posts: 192
Joined: Wed Dec 06, 2006 12:15 am
Location: Vegas
Contact:

Post by chickens »

stm999999999 wrote:as I know, it drops the sitemap at the root of your domain

http://blog.example/sitemap.xml.gz

and then it makes a ping to google, so google can fetch it.
In the sitemap options there is the ability to have it gzipped or not (.gz). If I am not mistaken the default is just sitemap.xml, I would assume because many servers out there do not support .gz by default. For example, IIS.

In this case the sitemap would be located at

http://blog.example/sitemap.xml

I would suggest turning on gzip in the plugin's settings so that you ca save yourself a bit of bandwidth.
Bizmal
Regular
Posts: 23
Joined: Tue Jul 24, 2007 8:54 pm

Thanks

Post by Bizmal »

I see no sitemap. In the Config panel it says

URLs for pingbacks (%s is replaced with the sitemap-URL, seperate multiple entries with ';' (semicolon), if you need to enter a ; use '%3B').

Then in that box it says

http://www.google.com/webmasters/tools/ ... sitemap=%s

So does it want to me to add the link to my sitemap file like this?

http://www.google.com/webmasters/tools/ ... sitemap=%s

Also I still don't see the sitemap file in my root? Thanks for your help.
Anyting Goes But Cheats...
chickens
Regular
Posts: 192
Joined: Wed Dec 06, 2006 12:15 am
Location: Vegas
Contact:

Post by chickens »

This is your sitemap: http://wayofthegamer.com/serendipity/sitemap.xml

It will automatically ping those services for you without having to change anything. %s is automatically replaced with your sitemap. There is no need to change those links at all.

The plugin will automatically ping both google and ask.com when you post a new topic on your site. There is no need to change anything, it will do almost all of the work for you. I would suggest enabling gzip to save bandwidth, but this is not needed.
Bizmal
Regular
Posts: 23
Joined: Tue Jul 24, 2007 8:54 pm

Wow

Post by Bizmal »

Hey thanks alot!
Anyting Goes But Cheats...
Boris

Post by Boris »

chickens wrote:It will automatically ping those services for you without having to change anything.
Only if you have this option enabled, if not you should to click the links.
I don't think the automatic ping-service is useful. It's meant to be a one-time ping, not after every sitemap-change. So it's most likely, that the services don't care if you ping after every new entry.
chickens wrote:I would assume because many servers out there do not support .gz by default.
The plugin checks if gzip is supported. If not it will not use, even if it's enabled. So it should always be safe to have it enabled.

Since Sitemap v 0.9 there's the possibility to add

Code: Select all

Sitemap: http://www.example.com/sitemap.xml.gz
to your robots.txt. But this is a non-standard-addition to the file (if you consider robots.txt as a real standard :twisted:)
http://www.sitemaps.org/protocol.php#informing
Post Reply