开发者

Build sitemap using c#

开发者 https://www.devze.com 2023-03-27 23:08 出处:网络
Does anyone know a way to build a sitemap of a website using c#. I want to be able t开发者_Python百科o point to a website and generate a full sitemap.

Does anyone know a way to build a sitemap of a website using c#.

I want to be able t开发者_Python百科o point to a website and generate a full sitemap.

Any ideas on how best to approach this?

Sp


If you want to write an app to do it, you want to write what's known as a "Web Crawler". Google it and you'll come up with tons of articles and code samples on it.

Here's one: http://www.developerfusion.com/article/84330/building-a-web-crawler/

If you want a simpler solution, you can try this: http://www.xml-sitemaps.com/


Well there is a recipe for that here http://msdn.microsoft.com/en-us/library/yy2ykkab.aspx

0

精彩评论

暂无评论...
验证码 换一张
取 消