It looks like the Content-Type for the document is incorrect. Currently, it is set to Content-Type: text/html; charset=iso-8859-1. It should be text/xml or application/xml. In PHP, you can use header to set content type of the document. http://php.net/manual/en/function.header.php
Sidenote: I use Live HTTP Headers Add on for Firefox to view header information. https://addons.mozilla.org/en-US/firefox/addon/3829 Cheers, Ei Sabai -------- Anansi Web Development Web Design and Development | Search Engine Optimisation and Marketing | Social Media Integration | Web Application Development http://www.anansi.com.au/ -------- --- On Sun, 11/1/09, wsg@webstandardsgroup.org <wsg@webstandardsgroup.org> wrote: From: wsg@webstandardsgroup.org <wsg@webstandardsgroup.org> Subject: WSG Digest To: wsg@webstandardsgroup.org Date: Sunday, November 1, 2009, 10:06 PM ********************************************************************* WEB STANDARDS GROUP MAIL LIST DIGEST ********************************************************************* From: "Adam Smith" <adsm...@networkten.com.au> Date: Mon, 02 Nov 2009 08:58:37 +1100 Subject: Re: [WSG] [OT] Google search/index/webmaster help Actually, I think you're both right! Swami; I'll hazard a guess here and assume you're using Firefox; and you've done what I did and gone to http://maps.unimelb.edu.au/sitemap.xml, seen a mass of test on screen and saved the file to be confronted with: <html><he ad> <meta http-equiv="content-type" content="text/html; charset=ISO-8859- 1"></head><body><urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0. 9"> - at the top of the file. I almost shudder to say this, but use... internet.... explorer.... (I feel like I need a wash!) for this; and the file's true structure is seen on scr een. If some time presents today, I'll dig around and see if I can find out why there's something Firefox can't do better than IE (7 by the way) or if it's one of the plugin's I'm running. >>> On 31/10/2009 at 2:33 PM, Andrew Harris <and...@woowoowoo.com> wrote: ahh - no. I did change some stuff on the site, but not the xml file - I suspect whatever you were looking at it with the first time had to put the html tags around it just to make sense of it. On Sat, Oct 31, 2009 at 10:00 AM, Swami Neelamber <neelam...@gmail.com> wro te: > Sorry Hassan! It would seem it's been changed. > Andrew's been beavering away, as one does. > > His original "XML" file I downloaded from the same URI as you > did: <http://maps.unimelb.edu.au/sitemap.xml>, right onto my desktop (it's > still there), and I believe I probably did that a number of hours before you > looked. > Sorry for the confusion. Keep breathing. > > Swami :) > > > > www.blueskyzen.com/design > > > On Sat, Oct 31, 2009 at 4:35 AM, Hassan Schroeder <has...@webtuitive.com> > wrote: >> >> Swami Neelamber wrote: >> >>> I'm not totally sure about that <html><head> you've used top and bottom >>> of your *sitemap.xml* file? >> >> Don't know what you're looking at but there are no such tags in the >> document at <http://maps.unimelb.edu.au/sitemap.xml> >> >> -- >> Hassan Schroeder ----------------------------- has...@webtuitive.com >> webtuitive design === (+1) 408-621-3445 === http://webtui tive.com >> twitter: @hassan >> dream. code. >> >> >> ******************************************************************* >> List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm >> Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm >> Help: memberh...@webstandardsgroup.org >> ******************************************************************* >> > > > ******************************************************************* > List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm > Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm > Help: memberh...@webstandardsgroup.org > ******************************************************************* -- Andrew Harris and...@woowoowoo.com http://www.woowoowoo.com ~~~ <*))))>< ~~~ ******************************************************************* List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org ******************************************************************* Network Ten Pty Ltd ABN 91 052 515 250 Network Ten Disclaimer. This e-mail (including all attachments) is intended solely for the named addressee. If you receive it in error, please let us know by reply e-mail, delete it from your system and destroy the copies. This e-mail is also subject to copyright. No part of it should be reproduced, adapted or transmitted without the written consent of the copyright owner. E-mails may be interfered with, may contain computer viruses or other defects and may not be successfully replicated on other systems. We give no warranties in relation to these matters. If you have any doubts about the authenticity of an e-mail purportedly sent by us, please contact us immediately. ************************************************************** Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org ************************************************************** __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ******************************************************************* List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org *******************************************************************