-1

Possible Duplicate:
How do you convert Html to plain text?

I want to show some Rss feeds in my application. But I do not want to show whole description. I just want to show first couple of sentence of rss description.

Since lots of Rss feeds are coming as html, I want to convert to plain text and get sub string out of it.

Is there any way to html -> plain text in C#?

Thanks.

Community
  • 1
  • 1
Teoman shipahi
  • 47,454
  • 15
  • 134
  • 158

1 Answers1

1

Please see filbys answer on How do you convert Html to plain text? for how to do this. You should also see Judah Himango's answer on the same question link. He basically says that you should use the HtmlAgilityPack which will do it for you.

Hope this helps!

Community
  • 1
  • 1
Liam McInroy
  • 4,339
  • 5
  • 32
  • 53