Sitemap Plugin (was Google Sitemap Plugin)

Creating and modifying plugins.
Josh
Regular
Posts: 110
Joined: Mon Jul 18, 2005 3:02 pm
Location: Berlin
Contact:

Post by Josh »

Garvin,

I tried your first solution and it worked immediately.

Thank you soo much!
Guest

Solution #1 worked for me too!

Post by Guest »

Solution #1 worked for me too, had exact same problem.

Are there any other differences or issues that we should be aware of, regarding the the use of apache errorhandling instead of mod_rewrite?

Everything seems to be working fine after the switch.

Ditto on the Thanks! ;)

Greg
MySchizoBuddy
Regular
Posts: 340
Joined: Sun Jun 12, 2005 5:28 am

Post by MySchizoBuddy »

IS it possible to have it include a specific file everytime. For eg. Index a flash based slideshow. I want that file to be mentioned in the sitemap generator.
So It will get all the files as usual + some additional files that I can mention.

the flash based slideshow has permalinks for every image, and hence perfectly capable of being indexed. I'm not sure whether indexing the swf file will find the permalinks, or do i have to add all the permalinks myself.
Looks like a a good experiment to perform :)
Image
Jarl Nicolson
Posts: 3
Joined: Sun Jun 04, 2006 3:31 am

Post by Jarl Nicolson »

Sorry for resurrecting an old thread, but this seemed to be the most appropriate place to put a question.

I am using the Google Sitemap plugin and it works perfectly, however due to the way my network is setup, I access my Serendipity site through a local address (lets say www.local) where as everyone else would access it through an internet address.

I have Autodetect used HTTP-Host set to true, so accessing and posting works fine, but it fills the sitemap xml file with http://www.local/... etc. I was wondering if there was an easy was to force it to use a certain URL in there.

I am not a coder, so while I have been trying to figure it out, it's just confused me to no end. I was thinking that adding an option to the module config page called forceURL or something, then using that, but I can't really figure out how that is done.

Any help would be appreciated!
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

Adding such an option would be possible, but is also work that would be used very uncommonly.

Instead, why don't you just use the same URL for accessing your blog like internet users? If it is a Proxy/Lan issue, you could change your HOSTS file and enter the proper IP alias for your site into that file. This would work on both windows and unix systems.

S9y just uses the URL it has currently autodetected for the sitemap file.

HTH.,
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/
Jarl Nicolson
Posts: 3
Joined: Sun Jun 04, 2006 3:31 am

Post by Jarl Nicolson »

Thanks for the reply! And sorry for the lateness of mine.

I was hoping to avoid manually updating the hosts file, however I had a think about it, and couldn't actually figure out why I was trying to avoid it :)

If I have time after the semester is over I might look at adding something to the sitemap plugin. If only for me to learn how plugins for this great software work!

Thanks again.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

You're welcome. :)

If you get down to do some patching, it would be very welcome help. Some documentation is online on our wiki, and the most easy way to create soe code is to look into existing plugins and just trying out different things. This way is also the fun route :))

Best 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/
Gamersea
Regular
Posts: 65
Joined: Thu Jun 15, 2006 8:52 am

Post by Gamersea »

So what is so handy about this plugin? Somebody can tell me that? Then I can know or it's handfull for my website.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

The google sitemap plugin is there to help the google bot to index all of your pages. You can reduce some traffic to your site, and make the googlebot aware of all of your urls instead needing to parse it all again and again.

Best 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/
Gamersea
Regular
Posts: 65
Joined: Thu Jun 15, 2006 8:52 am

Post by Gamersea »

the google ping url just have to be http://www.google.com/webmasters/sitema ... sitemap=%s I guess?
Gamersea
Regular
Posts: 65
Joined: Thu Jun 15, 2006 8:52 am

Post by Gamersea »

Gamersea wrote:the google ping url just have to be http://www.google.com/webmasters/sitema ... sitemap=%s I guess?
Our does it have to be mysite.com/sitemap.gz and do I manually have to make a sitemap.gz file or does the plugin does that for me?
Fencer
Regular
Posts: 28
Joined: Fri Aug 11, 2006 9:26 am
Contact:

The file sitemap.gz is not created

Post by Fencer »

I've successfully installed the Google Sitemap plugin but when I post a new entry to my blog, no sitemap.gz file is created and I don't get any error message. Where exactly should the file appear?

Thanks.
Filip
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: The file sitemap.gz is not created

Post by garvinhicking »

Hi!

What output do you get when you save an entry? Does no file also get created when you post an entry without any hyperlinks, and without pinging services?

sitemap.gz should appear in your s9y root. Does your webserver have write privileges on your s9y root directory to create that file?

Best 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/
Fencer
Regular
Posts: 28
Joined: Fri Aug 11, 2006 9:26 am
Contact:

Re: The file sitemap.gz is not created

Post by Fencer »

garvinhicking wrote:Hi!

What output do you get when you save an entry? Does no file also get created when you post an entry without any hyperlinks, and without pinging services?

sitemap.gz should appear in your s9y root. Does your webserver have write privileges on your s9y root directory to create that file?

Best regards,
Garvin
Hi Garvin,
my s9y root directory has 777 attributes, so I guess there is no problem with the privileges.
I didn't tried it without hyperlinks and pinging services yet. I'll do it later today.
By the way, it would be a good feature if the sitemap.gz could be generated manually, at the Administration page.

Filip
Fencer
Regular
Posts: 28
Joined: Fri Aug 11, 2006 9:26 am
Contact:

Re: The file sitemap.gz is not created

Post by Fencer »

garvinhicking wrote:Hi!

What output do you get when you save an entry? Does no file also get created when you post an entry without any hyperlinks, and without pinging services?

Best regards,
Garvin
Well, when I create an entry without hyperlinks and pinging services, the sitemap.xml.gz file is successfully created. Strange. Is there a reason why it works only in this way?

Filip
Post Reply