Creating an XML sitemap generator

2019-04-11 17:25发布

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/

1条回答
ら.Afraid
2楼-- · 2019-04-11 17:53

Here on this link you have a list of Libraries and Tool's you can use to achieve that.

You can do it with PHP or you can install an Apache module which will generate sitemap for you .

查看更多
登录 后发表回答