C#.net中的html解析 [英] html parsing in C#.net

查看:137
本文介绍了C#.net中的html解析的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好...

我想制作一个软件(例如" Xenu的链接搜索"之类的软件),该软件可以让您检查网站上是否有损坏的链接.意味着逐步检查网站上的所有链接.

图像链接,JavaScript链接,CSS链接,JQuery链接等链接.

我该怎么办?

我使用VS 2010,C#

谢谢您

Hi Everyone...

i want to make a software (software like "Xenu''s Link Sleuth") that will let you check that there are no broken links on the website. means to check all the links on the website step by step .

links like Image links, JavaScript links , CSS links ,JQuery links etc.

How can i do that ?

I use VS 2010 , C#

Thank You

推荐答案

HI克鲁斯纳,

我不确定从头开始这样的项目的动机.但这将是在重新发明轮子!

www.htmlagilitypack.codeplex.com [
HI Krushna,

I am not sure about the motive behind starting such project from scratch. But it will be kind of re-inventing wheel !

There is one good open source tool "HtmlAgilityPack" on codeplex at www.htmlagilitypack.codeplex.com[^]

This also contains source code in case you want to extend the functionality to suit your requirement.

Hope that helps. If it does, mark the answer as solution/upvote.

Thanks
Milind


这篇关于C#.net中的html解析的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆