开发者

html2text library

开发者 https://www.devze.com 2022-12-21 22:36 出处:网络
There is utility html2text in linux. How can i use its or similar library in my c++开发者_StackOverflow中文版 code?

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

精彩评论

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

关注公众号