Extension talk:Google Sitemap

$wgScriptPath or $wgHiddenPath
I'd just like to state that on a good number of wikis. That is, mostly the ones that use the trick to change domainname/index.php/articlename into domainname/wiki/articlename. Using the wgScriptPath variable like this extension is built to the link on the specialpage will actually lead to a article called sitemap.xml instead of going to the actual xml site map. If you are using this trick to make the link point to the correct spot you need to change the two occourences of "$wgScriptPath" in the includes/SpecialGooglesitemap.php file into "$wgHiddenPath" which is traditionally the variable used not for the Articles but the files. Dantman 07:28, 27 October 2006 (UTC)

allowing sitemap for spezial ip
is it possible to allow an ip to execute the site? because so i could use an cronjob quite easy. tia MIK

p.s.: if you have problems with url-rewrite that is mentioned above, simply add this line to your .htaccess RewriteRule ^sitemap.xml$ - [L]

i changed the end, so that google is notified of the new sitemap.xml
/** function wfSpecialGoogleSitemap {       list( $limit, $offset ) = wfCheckLimits; $gsitemap = new GoogleSitemapPage( $offset, $limit ); $gsitemap->initialize; $gsitemap->finalize; $handle = fopen('http://www.google.com/webmasters/sitemaps/ping?sitemap=http%3A%2F%2Fwww.yourdomain.tld%2Fsitemap.xml', 'r'); while (!feof($handle)) { $buffer = fgets($handle, 4096); #echo $buffer; }       fclose($handle); } ?>
 * Entry point.

don't forget to change the url to your own.

Special:Version
In 1.8.2 when I add this extension the Special:Version page returns blank. The extension seems to work just fine, but I have to add it to LocalSettings.php when I want to run it and then remove it so I can see the Version info. Same problem for mee too (http://www.self-qs.de) Same here on Version 1.9.0
 * Same at . --LRG 07:31, 23 March 2007 (UTC)

.htaccess redirecting
I have a redirect in my directory so that all links shows like http://domain.com/Page1. My problem is that Extension:Google Sitemap is generating a link like this http://domain.com/wiki/Page1. I need your help in order to take off this “wiki” from the generated link. Thanks a lot, mauro.

Google Authentication not described
Please add Instructions on how to enter the Meta-Tag Code to the MediaWiki Styles. There is no Info at mediawiki.org. I cant authenticate my Site on the other Filebased way.
 * You can not authenticate your site the filebased way, because any one with editing privileges on your wiki could create that page. To add the meta-tag, edit your MonoBook.php file at yoursite.com/skins/MonoBook.php (or yoursite.com/wiki/skins/MonoBook.php) to include your google verification metatag (something like ).  Insert this code just below which appears near the beginning of the file.  I hope that helps.  --LRG 07:35, 23 March 2007 (UTC)

Your Sitemap does not appear to be in a supported format
I get this error after submitting my sitemap.xml for Goole to read. Any ideas why this would be? The Sitemap is located at http://www.chesterwiki.com/sitemap.xml

I think it is because my wiki is located in my root directory (ie public_html)> Could this be why?

Is there a limit on the number of pages?
I seem to be hitting a 5000 page limit for this extension. Is there a limit built in? The site, http://www.appropedia.org is growing quite fast and we need to be able to have a sitemap larger than 5000. What are other sites doing? Thank you --LRG 07:38, 23 March 2007 (UTC)