On Sun, Dec 30, 2007 at 3:32 AM, Lonny <lonny(a)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-w…
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...