Sitemap Generation Event Plugin - Bug or Feature?

Found a bug? Tell us!!
Post Reply
User avatar
johncanary
Regular
Posts: 116
Joined: Mon Aug 20, 2007 4:00 am
Location: Spain
Contact:

Sitemap Generation Event Plugin - Bug or Feature?

Post by johncanary » Fri May 10, 2013 2:13 am

Hi there,

(1) When CATEGORIES is selected to be in the sitemap those links look like
.../categories/5-cars
.../categories/6-bikes

Now when ARCHIVES is added to the selection. Those category links disappear and are substituted with category links per month.
E.g.
http://blog.fcon21.biz/archives/2007/12/C3.html "Marketing | Entries from December 2007"
http://blog.fcon21.biz/archives/2013/05/C3.html "Marketing | Entries from December 2013" (0 entries)

Since all categories are iterated for each month this are a lot of pages to index but most of them do not return actual posts. Most return 0 entries.
This makes it not a good idea to have it in the sitemap.

But I think the more useful entries, e.g. .../categories/5-cars, should not disappear when CATEGORIES and ARCHIVES are selected.

(I therefore have deselected archives to avoid the issue)


(2) The default sites to ping with the sitemap are Goolge and ask.com. As per my research aks.com doesn't accept those pings anymore. If so for fact, it's probably a good idea to remove this default item.

Update: I also found how to submit to bing.

http://www.google.com/webmasters/sitema ... itemap.xml
http://www.bing.com/webmaster/ping.aspx ... itemap.xml


Cheers.

_________________
I am running Serendipity 1.6.2 on PHP 5.3.14
Sitemap Generator (for Crawlers) aka serendipity_event_google_sitemap version: 0.58
Yours John
: John's Google+ Profile
: John's E-Biz Booster Blog powered by Serendipity 1.7/PHP 5.3.14

User avatar
johncanary
Regular
Posts: 116
Joined: Mon Aug 20, 2007 4:00 am
Location: Spain
Contact:

Re: Sitemap Generation Event Plugin - Bug or Feature?

Post by johncanary » Wed May 15, 2013 2:22 am

It also seems that the plugin pings the configured search engines every time when a post is saved as draft.

Shouldn't it ping only when there is a change in the public content?
(I also have the mobile output plugin installed.)
Yours John
: John's Google+ Profile
: John's E-Biz Booster Blog powered by Serendipity 1.7/PHP 5.3.14

User avatar
garvinhicking
Core Developer
Posts: 30020
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Sitemap Generation Event Plugin - Bug or Feature?

Post by garvinhicking » Wed May 15, 2013 9:58 am

Hi!

Yes, the reason behind this is it could be that an entry previously was saved as a published version and is only now saved as a draft. In that case, the entry needs to be removed from the sitemap, and thus it's recreated. It would be harder to implement code to distinguish this behaviour rather than simply re-executing the sitemap on either case...

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/

User avatar
johncanary
Regular
Posts: 116
Joined: Mon Aug 20, 2007 4:00 am
Location: Spain
Contact:

Re: Sitemap Generation Event Plugin - Bug or Feature?

Post by johncanary » Thu May 16, 2013 1:57 am

garvinhicking wrote:... It would be harder to implement code to distinguish this behaviour rather than simply re-executing the sitemap on either case...
Understood.
Thanks for the reply.
Yours John
: John's Google+ Profile
: John's E-Biz Booster Blog powered by Serendipity 1.7/PHP 5.3.14

Post Reply