开发者

Build sitemap using c#

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜