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

前端 未结 3 1452
梦如初夏
梦如初夏 2021-01-28 17:24

Is there any way to extract data from url like facebook does?

I refered many links but this is using php code. This- http://www.99points.info/2010/07/facebook-like-extra

相关标签:
3条回答
  • 2021-01-28 17:44

    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.

    0 讨论(0)
  • 2021-01-28 17:54

    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.

    0 讨论(0)
  • 2021-01-28 17:55

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

    0 讨论(0)
提交回复
热议问题