From: Robert Leverington Date: Thu, 17 Apr 2008 18:13:54 +0000 (+0000) Subject: Use sitemap.org 0.9 schema instead of Google 0.84 schema. Fixes bug 13527. X-Git-Tag: 1.31.0-rc.0~48233 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22sites_tous%22%29%20.%20%22?a=commitdiff_plain;h=2a18782afcbb40ef3d89f0eec3fd1ea658372fb6;p=lhc%2Fweb%2Fwiklou.git Use sitemap.org 0.9 schema instead of Google 0.84 schema. Fixes bug 13527. --- diff --git a/maintenance/generateSitemap.php b/maintenance/generateSitemap.php index fcb9adab8d..d29f00eea8 100644 --- a/maintenance/generateSitemap.php +++ b/maintenance/generateSitemap.php @@ -2,7 +2,7 @@ define( 'GS_MAIN', -2 ); define( 'GS_TALK', -1 ); /** - * Creates a Google sitemap for the site + * Creates a sitemap for the site * * @addtogroup Maintenance * @@ -10,8 +10,8 @@ define( 'GS_TALK', -1 ); * @copyright Copyright © 2005, Jens Frank * @copyright Copyright © 2005, Brion Vibber * - * @see http://www.google.com/webmasters/sitemaps/docs/en/about.html - * @see http://www.google.com/schemas/sitemap/0.84/sitemap.xsd + * @see http://www.sitemaps.org/ + * @see http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd * * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 2.0 or later */ @@ -20,7 +20,7 @@ class GenerateSitemap { /** * The maximum amount of urls in a sitemap file * - * @link http://www.google.com/schemas/sitemap/0.84/sitemap.xsd + * @link http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd * * @var int */ @@ -29,7 +29,7 @@ class GenerateSitemap { /** * The maximum size of a sitemap file * - * @link http://www.google.com/webmasters/sitemaps/docs/en/protocol.html#faq_sitemap_size + * @link http://www.sitemaps.org/faq.php#faq_sitemap_size * * @var int */ @@ -352,7 +352,7 @@ class GenerateSitemap { * @returns string */ function xmlSchema() { - return 'http://www.google.com/schemas/sitemap/0.84'; + return 'http://www.sitemaps.org/schemas/sitemap/0.9'; } /**