coverting html data to text in 'c'

hi,
iam reading the webpage using curl socket.
so iam geting the data in html format
so how can convert html data to text data ,so i can move forward.
thank u,
sree

HTML is basically ASCII text with embedded tags. You can roll your own parser to find the text you are looking for or you can use something like TinyXML if your HTML is XHTML-comformant.

how it can be possible ,is there any function in c .

Hi.

Instead of using curl or wget, you might consider using lynx, it removes the tags:

or the html2text utility at html2text | mbayer.de

Best wishes ... cheers, drl