Last modified: 2010-05-15 15:41:08 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T10630, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 8630 - generateSitemap.php option documentation
generateSitemap.php option documentation
Status: RESOLVED WORKSFORME
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
1.7.x
PC Linux
: Low minor (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-01-14 11:23 UTC by Dan Jacobson
Modified: 2010-05-15 15:41 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Dan Jacobson 2007-01-14 11:23:41 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.
Comment 1 Antoine "hashar" Musso (WMF) 2007-01-15 20:33:39 UTC
What kind of errors do you have ?
Comment 2 Antoine "hashar" Musso (WMF) 2007-01-20 18:18:57 UTC
Without option, the script just generate sitemap files.
Marking as 'works for me'
Comment 3 Dan Jacobson 2007-02-01 19:41:57 UTC
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.
Comment 4 Rob Church 2007-02-01 20:26:38 UTC
Well, now you know.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links