Last modified: 2010-05-15 15:41:08 UTC
Regarding $ php generateSitemap.php --help Usage: php generateSitemap.php [host] [options] host = hostname options: --help show this message --fspath The file system path to save to, e.g /tmp/sitemap/ --path The http path to use, e.g. /wiki --compress=[yes|no] compress the sitemap files, default yes 1. Those square brackets mean optional, so I tried $ php generateSitemap.php and boy there were more error messages than .... By the way I would print the help message if no arguments were given. Also add instructions how one is to use the .xml produced as a general site map, or if this is only for the Google Corporation.
What kind of errors do you have ?
Without option, the script just generate sitemap files. Marking as 'works for me'
My problem is these sitemaps are only for Google. If one wants a sitemap for a visitor to browse, one has to make one by hand. The code doesn't mention what to do if one wants a traditional sitemap.
Well, now you know.