I want to create a XML sitemap generator. I have a script which creates a sitemap if placed in your directory with other files.
But I want to create a generator which will work with URL. Here what I actually want to create is, get a URL from user, track all web pages from given URL, put them in a XML sitemap format and give back the same XML file to user.
Please help me in this, I am doing this as project work.
Following URLs work in same way:
http://www.xml-sitemaps.com/
http://www.web-site-map.com/
来源:https://stackoverflow.com/questions/11426300/creating-an-xml-sitemap-generator