On Mar 21, 2007, at 10:10 AM, Caitlin Dempsey wrote:
I've been trying to find a way to create a Google friendly sitemap for my wiki. The few solutions I have found that are specific to Wikimedia haven't worked on my wiki.
I found this page which has an extension that worked on my wiki: http://www.mediawiki.org/wiki/Extension:Google_Sitemap
There seems to be two problems with http://www.mediawiki.org/wiki/Extension:Google_Sitemap 1. In newer MW installations, this extension breaks Special:Version. 2. There seems to be a 5000 entry limit.
Is anyone using the maintenance/generateSitemap.php that is included in MediaWiki 1.6 and above? If so, how are you combining the outputed gz files into one sitemap.xml?
Thank you, Lonny
On 3/21/07, Caitlin Dempsey editor@gislounge.com wrote:
On Mar 21, 2007, at 10:10 AM, Caitlin Dempsey wrote:
I've been trying to find a way to create a Google friendly sitemap for my wiki. The few solutions I have found that are specific to Wikimedia haven't worked on my wiki.
I found this page which has an extension that worked on my wiki: http://www.mediawiki.org/wiki/Extension:Google_Sitemap
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Alright, I know it is months later, but I finally figured this out (with lots of help). It turns out you can use the MediaWiki sitemap maintenance script to create an index xml and sitemap xml.gz's, which can be read as a sitemap (i.e. there is no reason to make one file, as I had erroneously assumed). See http://forums.appropedia.org/blog/making-sitemap-opensource-documentation-wi... the specifics.
Thank you all, Lonny
On Apr 17, 2007 10:59 AM, Lonny lonny@appropedia.org wrote:
There seems to be two problems with http://www.mediawiki.org/wiki/Extension:Google_Sitemap
- In newer MW installations, this extension breaks Special:Version.
- There seems to be a 5000 entry limit.
Is anyone using the maintenance/generateSitemap.php that is included in MediaWiki 1.6 and above? If so, how are you combining the outputed gz files into one sitemap.xml?
Thank you, Lonny
On 3/21/07, Caitlin Dempsey editor@gislounge.com wrote:
On Mar 21, 2007, at 10:10 AM, Caitlin Dempsey wrote:
I've been trying to find a way to create a Google friendly sitemap for my wiki. The few solutions I have found that are specific to Wikimedia haven't worked on my wiki.
I found this page which has an extension that worked on my wiki: http://www.mediawiki.org/wiki/Extension:Google_Sitemap
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
On Sun, Dec 30, 2007 at 3:32 AM, Lonny lonny@appropedia.org wrote:
Alright, I know it is months later, but I finally figured this out (with lots of help). It turns out you can use the MediaWiki sitemap maintenance script to create an index xml and sitemap xml.gz's, which can be read as a sitemap (i.e. there is no reason to make one file, as I had erroneously assumed). See
http://forums.appropedia.org/blog/making-sitemap-opensource-documentation-wi... the specifics.
Another long delayed reply....
It appears the "fix" scripts on the site above might not be necessary... You can accomplish the same thing with command line arguments to generateSitemap.php
% generateSitemap.php --help Usage: php generateSitemap.php [options] --help show this message
--fspath=<path> The file system path to save to, e.g /tmp/sitemap/
--server=<server> The protocol and server name to use in URLs, e.g. http://en.wikipedia.org. This is sometimes necessary because server name detection may fail in command line scripts.
--compress=[yes|no] compress the sitemap files, default yes
Now if I could limit which namespaces it emitted without mangling the script...
SD> Usage: php generateSitemap.php [options]
SD> Now if I could limit which namespaces it emitted without mangling the SD> script...
Note https://bugzilla.wikimedia.org/buglist.cgi?content=sitemap Especially https://bugzilla.wikimedia.org/show_bug.cgi?id=9563
mediawiki-l@lists.wikimedia.org