how to extract data from url like facebook in asp.net mvc3?

…衆ロ難τιáo~ 提交于 2019-12-02 12:05:53

Take a look at this open-source project:

http://nalgorithm.wordpress.com/2011/12/05/embedded-url-representation/

It is actually a class library, which is called by an MVC application client by using JQuery and its AJAX features.

It uses AgilityPack beneath but there are so many other issues you have to handle, like encoding.

The link on the page I posted before was unfortunately dead but it is fixed now.

http://nalgorithm.wordpress.com/2011/12/05/embedded-url-representation/

As I stated there, I am working on the service version of this tool so that other webapps can make use of it just by (jquery) and a service call.

For parsing HTML I would recommend you taking a look at HTML Agility Pack.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!