开发者

html2text library

There is utility html2text in linux. How can i use its or similar library in my c++开发者_StackOverflow中文版 code? For example to convert html which was retrieved from any site to a readable text.


The code for html2text is open and available for free. Of course, I'd check its license to see if you're allowed to use it in your application. The source code is here.


Can you just use html2text utility in your code? Like:

string output;
output = system('html2text (...)');

Maybe it'll resolve your problem.


Definitely don't re-invent the wheel! If html2text's license says you can use its code, do it!

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜