I was wondering how can I do something similar to Facebook when a link is posted or like shortening link services that can get the title of the page and its content.
Example:

My idea is to get only the plain text from a web page, for example if the url is an article of a newspaper how can I get only the news’s text, like showed in the image. For now I have been trying to use the HtmlAgilityPack but I can never get the text clean.
Note this app is for Windows Phone 7.
You’re on the right track with
HtmlAgilityPack.If you want all the text of the website, go for the
innerTextattribute. But I suggest you go with themeta descriptiontag (if available).EDIT – Go for the
meta description. I believe that’s what Facebook is doing:Facebook link sample
Site source