I have a question on Sitemap.
I am able to access Sitemap of my site at http://www.mysite.com/sitemap but when I open http://www.mysite.com/sitemap.xml This URL also opens list of items in sitemap, but without the inclusion of XSL file in that.
My question is: Is http://www.mysite.com/sitemap.xml a valid URL. If so why doesn't it open properly. If no why does it open at all?
Comments
Comment #1
avpadernoXML Sitemap doesn't have any menu callbacks that reply to sitemap which is probably handled by Site map.
XML Sitemap doesn't use anymore the XSL style sheet because there is not reason to use it, as a XML site map is not thought to be shown to human eyes.
Comment #2
manishaneja commentedThanks kiam for your reply, I will now look into the Sitemap section for my answers.
Anyone please if can help me.
Thanks.
Comment #3
manishaneja commentedEven at the demo URL on the Sitemap project page if I try to open http://xdeb.org/sitemap.xml the page lists the links on the sitemap, again without any XSLT. Can someone please let me know what is this for and why does it give an XML parsing error on my side?
Comment #4
avpadernoThe report is now passed to a different project, which doesn't handle an XML site map.
Comment #5
manishaneja commentedI think I am doing something wrong. Kiam can you please let me know how should I take the issue to appropriate place? Should I create a new issue at Sitemap project? or What is the most appropriate place to ask my question?
Comment #6
avpadernoI corrected the referring project, as the question was about XML Sitemap.
Like I said, the project doesn't use anymore a XSLT, that is the reason you don't see any XSLT.
If you then ask why you can see something at http://example.com/sitemap, I can answer you that XML Sitemap doesn't handle that URL; xmlsitemap.module handles only URLs like http://example.com/sitemap.xml, or http://example.com/sitemapN.xml where N is a number.
Comment #7
manishaneja commentedOK, Kiam. Now its clear to me the whole thing. Thanks for Good Explanation. One last question, When I open following URL of mysite http://www.mysite.com/sitemap.xml I get the following error:
XML Parsing Error: no element found
Line Number 1, Column 1:
[Followed by the Carrot Sign: ] ^
What could be the cause of this. Is there something in the content that conflicts to change the XML returned? because it was working fine on my local server before adding some more content.
Comment #8
avpadernoWhat is the address of the web site where you are seeing this issue?
Comment #9
manishaneja commentedKiam I can't mention here the Name of the Site. Just if you have seen such an error and could give me some idea, it would be great.
Comment #10
avpadernoThe error message is too vague, and I cannot answer you if I don't try to access the site map.
Without to know more, I would suggest you to uninstall the project modules, be sure the database tables are really removed, and remove the content of the directory containing the XML Sitemap modules; reinstall then the modules.
If this doesn't work, I cannot help you without to see what happens if I try to access the site map.
Comment #11
manishaneja commentedThanks Kiam, I will just follow the steps and let you know if this solves the problem.
Comment #12
Anonymous (not verified) commented@manishaneja: Have you tried different browsers? Have you tried clearing the browser cache?
Comment #13
avpadernoI am setting this report to fixed as it has not received any feedbacks from about two weeks.