Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
in Q2A Core by
First of all, I would like to say thank you for the great effort on making this great Q&A system. it's really great!

The auto sitemap feature is really great, and I have a small suggestion to make it even better.

On google's help page there is a small tutorial, describing a way to ping to google on changes in sitemap. The tutorial is here:

My suggestion is to implement a feature which will auto ping google when a new question is added to the website. The ping can be done using a simple HTTP request, to the sitemap url as a parameter to google webmasters - for example, to


This will  be great for webmasters which are using sitemaps, and do not want to manually re-submit the sitemap to google every day or so.

Will be glad to hear your thoughts,

2 Answers

+2 votes

It's kind of pointless to be suggesting to Google that they download your sitemap every time there is a new question. Perhaps once a day would work, but Google will download your sitemap often enough anyway - if you have new pages every day, Google will detect that and crawl your site faster.

Constantly pinging Google won't always make them download your sitemap faster. Plus there are no problems crawling Q2A sites so a sitemap doesn't really add that much anyway!

0 votes

If you really wanted to implement this, I think this is the sort of problem that would be quite effectively solved with the new event API, perhaps with code from this site which I found a while ago:


You could keep track of the last time you pinged in an extra database table, and ping at some (suitably long) interval when you trap the q_post event.

However, DisgruntledGoat is absolutely right; pinging too regularly is not going to make them visit you any more often. It might perhaps help with some other sitemap-consuming services, though.