Extension talk:DynamicWikiSitemap/Archive 01

Allowing pages from Namespaces which are Excluded
Is there any way exclude a namespace from the sitemap but allow specific pages within that namespace?

How to install Apache + MW on Windows?
I'm using Apache + MW and would like to use DynamicWikiSitemap. Where which directory should I create ".htaccess" file and anything specific setting for windows?

How do we add the require once line?
The instructions don't say how to do this. I followed all of the instructions by putting the sitemap.php and sitemap.xsl in the same folder as my LocalSettings.php file. I then added this to LocalSettings.php:

require_once("$IP/sitemap.php");

But then I get the following error page when I load a page in my site: Fatal error: Call to undefined function wfgetdb in /home/johnsmith/public_html/site.com/w/sitemap.php on line 86 The line in question is the require once statement. I'm using MediaWiki 1.16.5 --Holygamer 13:56, 4 June 2011 (UTC)

Installation
This is not the usual extension, is a separate page. No need to register the sitemap.php at LocalSettings.php(there you can only set configuration). After copying to the root directory, just open the sitemap.php page on your site (e.g. http://coding.bezslabostei.ru/sitemap.xml). --SimonLitt 05:53, 9 August 2011 (UTC)

Error loading stylesheet
I'm using MW 1.13 and can't get the php to work... it brings up a message: "Error loading stylesheet: A network error occured loading an XSLT stylesheet: (....)". Is it because of MW's version or something else? Of course, the sitemap.xsl gets empty.

Style
Hi. Sory, I have not tested the extension on older versions. However, this error is likely to occur for other reasons. Check your copy of the sitemap.xsl file or try comment following line at sitemap.php(stylesheet will be disabled): --SimonLitt 18:10, 28 October 2010 (UTC)

Please help, I think it don't work on my site
I'm a noob. So there should be a file "sitemap.xml" in the root directory of my wiki, yes? But I don't see it there. I've followed all the steps, what was wrong? --Das steinerne Herz 23:50, 8 September 2011 (UTC)
 * At the root directory of the wiki should be a "sitemap.php" file. But you can configure URL Rewriting so that when you type in the address bar "sitemap.xml" will be executed "sitemap.php" script. It is not mandatory configuration.

--SimonLitt 07:14, 9 September 2011 (UTC)

Invalid XML tag, tag not recognized
Hi there, first of all thank you for this awesome extension. I have installed it and it works great. Only thing i ran into was this in the google webmasters. It keeps saying on line 1602 and 1603 an invalid XML tag: tag was not recognized. Can you correct this bug or if it is something I can correct, would you please be kind enough to spare me some of your immense wisdom?? Error message Line 1602    Invalid XML tag         This tag was not recognized. Please fix it and resubmit. Parent tag: urlset        Tag: br                                                                                                                               1603	     Invalid XML tag             This tag was not recognized. Please fix it and resubmit. Parent tag: urlset         Tag: b


 * Hi, can you give me your wrong sitemap file?
 * Just open sitemap.php at your browser(e.g. http://your.site/sitemap.php), save it to the file and send the file by e-mail (slsoft@bk.ru).
 * --SimonLitt 19:22, 7 October 2011 (UTC)