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">
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.
Comments on Sitemap Problem
Member
Usergroup: Customer
Joined: Feb 14, 2005
Location: Iowa
Total Topics: 20
Total Comments: 43
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
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
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.
Member
Usergroup: Customer
Joined: Feb 14, 2005
Location: Iowa
Total Topics: 20
Total Comments: 43
Sounds like a plan. Thanks Cory