Webmastersite.net
Register Log In

Sitemap Problem
Incorrect Namespace Error from Google

Comments on Sitemap Problem

sportrow
Member

Usergroup: Customer
Joined: Feb 14, 2005
Location: Iowa

Total Topics: 20
Total Comments: 43
Posted Dec 19, 2006 - 11:20 PM:

This is the output that I am getting when I run the site map generator.

<?xml version="1.0" encoding="UTF-8" ?>
- <urlset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemaps/0.9 http://www.sitemaps.org/schemas/sitemaps/sitemap.xsd" xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">


Google suggests that it should start like this:

A Sitemap file should begin as follows:
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">

or

A Sitemap index file should begin as follows:
<?xml version="1.0 " encoding="UTF-8"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">

Thanks - Cory
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Dec 20, 2006 - 7:35 AM:

The only difference is I added in bits which validators require, removing those still gets rejected. Google isn't accepting it's own suggestion, unfortunately. Looks like I'll have to revert it to the old style google sitemaps, since I can't find any mention of sitemaps.org on google's webmaster pages and they appear to not support it.

I guess I'll add a yes/no option to switch between google and sitemaps.org, in the hope that someday they'll actually support the protocal they created, which is anyhow identical to google sitemaps in everything except the urlset declaration line. Given the lack of any google mention of sitemaps.org I guess it's not effective until some future date.
sportrow
Member

Usergroup: Customer
Joined: Feb 14, 2005
Location: Iowa

Total Topics: 20
Total Comments: 43
Posted Dec 20, 2006 - 6:55 PM:

Sounds like a plan. Thanks Cory
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



This thread is closed, so you cannot post a reply.