Forum Moderators: open
I have a very stupid question. I have never worked with xml and therefor dont know a thing about it.
I have however now created a xml sitemap (for google). If I click on the file sitemap.xml, it shows me the actual code in the browser. Why? How do I get it to show the sitemap in html, or how do I see the actual sitemap (links etc) and not the code. Must I somehow reference the file (sitemap.xml) in my sitemap.HTML file?
Thanks,
M
Thanks for your reply. The code/page was created by a google sitemaps program. All I want to know is how to view the page - not the code, but the actual content.
IE. I wouldn't want to have my clients see the code (whether html or xml) of the page, but the actual content, if you know what I mean!?
Thanks,
[edited by: encyclo at 6:27 pm (utc) on July 12, 2005]
[edit reason] fix sideways scroll [/edit]
The code/page was created by a google sitemaps program.
The code is only for the Google spider and not for viewing by the end user. You don't need to style it - you can leave it displaying as raw XML. Googlebot likes it that way. ;)
As I understand it you do not need to link to the XML file from any other page - you just register its presence by logging in to the Google Sitemaps interface [google.com] and adding it to your list.