Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Convert HTML to Plain Text using c++

Tags:

c++

html

text

I am doing mail parsing application which required to convert the HTML file to Plain Text. regarding this i have found some scripts which does conversion. I want to do same thing in C++.

So please suggest me any Cross platform and open source C++ libraries for converting HTML to Plain Text.

Thanks in advance Regards Subbi

like image 767
Subbi Reddy K Avatar asked Oct 18 '25 14:10

Subbi Reddy K


1 Answers

After trying out a few options, I think the easier way to do it with large scale is to use elinks.

in ubuntu:

sudo apt-get install elinks
elinks -dump a.html > a.txt
like image 172
formatjam Avatar answered Oct 21 '25 05:10

formatjam